Image · Google

Imagen 4

Photorealistic text-to-image with precise typography, broad style range, and up to 2K resolution.

Operational · 4 variants · から $0.040
# Works with Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents
npx skills add runapi-ai/imagen-4 -g
The -g flag installs globally so every project picks it up.
Or paste this prompt to your AI agent:
Install the Imagen 4 skill for me:

1. Clone https://github.com/runapi-ai/imagen-4
2. Copy the skills/imagen-4/ directory into your
   user-level skills directory (e.g. ~/.claude/skills/
   for Claude Code, ~/.codex/skills/ for Codex).
3. Verify that SKILL.md is present.
4. Confirm the install path when done.
概要

Imagen 4 is Google's photorealistic image generation model with strong typography rendering and support for resolutions up to 2K. It produces detailed, true-to-life images with accurate color and lighting.

  • Installable agent skill
  • Unified API key
  • SDK examples included
  • 失敗した生成は課金されません
バリアント

バリアント

Variant Billing From
imagen-4 call $0.080 見る →
imagen-4-fast call $0.040 見る →
imagen-4-pro-remix-image call $0.180 見る →
imagen-4-ultra call $0.120 見る →
AGENT USAGE

Use this model from your agent

Prompt + SDK example
# User prompt to the agent
"Generate a product hero image of a matte-black water bottle on a beige stone surface, soft side light, 4K."
// Code generated by the agent via @runapi.ai/imagen-4
import { Imagen4Client } from '@runapi.ai/imagen-4';

const client = new Imagen4Client();
const result = await client.textToImage.run({
  model: 'imagen-4',
  prompt: 'Generate a product hero image of a matte-black water bottle on a beige stone surface, soft side light, 4K.',
});
@runapi.ai/imagen-4 npm
仕組み

How to call this model

01

Install the skill

Add the model skill to your agent or install the SDK package.

02

Authenticate once

Use your RunAPI key for every supported model.

03

Send a request

Use the unified schema for the endpoint you need.

04

Receive output

Poll by task ID or handle the callback when the generation completes.

SDK QUICKSTART

SDK quickstart

runapi.ai
curl -X POST https://runapi.ai/api/v1/imagen_4/text_to_image \
  -H "Authorization: Bearer $RUNAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "imagen-4",
  "prompt": "Generate a product hero image of a matte-black water bottle on a beige stone surface, soft side light, 4K."
}'
import { Imagen4Client } from "@runapi.ai/imagen-4";

const client = new Imagen4Client();
const result = await client.textToImage.run({
    model: "imagen-4",
    prompt: "Generate a product hero image of a matte-black water bottle on a beige stone surface, soft side light, 4K.",
});
require "runapi/imagen_4"

client = RunApi::Imagen4::Client.new
result = client.text_to_image.run(
    model: "imagen-4",
    prompt: "Generate a product hero image of a matte-black water bottle on a beige stone surface, soft side light, 4K."
)
@runapi.ai/imagen-4 v1
背景

Where Imagen 4 fits

Imagen 4 is Google's latest text-to-image model, delivering photorealistic results with broad style support. Through RunAPI, all Imagen 4 variants — standard, fast, ultra, and pro — share one API key.

Provider
Google
Modality
Image
RUNAPI を選ぶ理由

Why use Imagen 4 through RunAPI

One API key

Use the same credentials across models and providers.

Agent-ready

Installable skills include docs and schema for tool calls.

Predictable billing

Usage-based pricing is visible before you call.

FAQ

Frequently asked questions

How do I call this model?

Use the RunAPI SDK, CLI, or REST endpoint shown on this page.

Do failed generations cost money?

失敗した生成は課金されません

Can agents use it directly?

Yes. Install the model skill and your agent gets the docs, schema, and examples.

今すぐ開始

Start building with Imagen 4.