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.