VARIANTE · Google / Imagen 4

Imagen 4 imagen-4-fast API

A model variant exposed through RunAPI's unified AI API.

Operational · image · Commercial use supported
# 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.
Switch variant
RESUMEN

Imagen 4 imagen-4-fast is available through the same RunAPI auth, SDKs, and agent skill workflow.

  • Unified endpoint
  • SDK snippets
  • Agent install path
  • Las generaciones fallidas no se cobran
PRECIOS

PRECIOS

Las generaciones fallidas no se cobran
Text to image
$0.04 / image
FICHA TÉCNICA

FICHA TÉCNICA

Model ID imagen-4-fast
Proveedor Google
Modalidad image
Task type asynchronous
Facturación call
Endpoint /api/v1/imagen_4/text_to_image
Commercial Yes
Status Operational
INICIO RÁPIDO

Quickstart — imagen-4-fast

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-fast",
  "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-fast",
    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-fast",
    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
CÓMO FUNCIONA

How to use imagen-4-fast

01

Choose endpoint

Pick the endpoint and copy the SDK snippet.

02

Pass model ID

Use this variant ID in the request body.

03

Run task

Submit the request and store the returned task ID.

04

Collect output

Poll or receive the callback when the task finishes.

DIFERENCIAS

How imagen-4-fast compares

VS IMAGEN-4

~2.7s generation; rapid iteration and drafts

Balanced quality and speed; recommended default

VS IMAGEN-4-PRO-REMIX-IMAGE

~2.7s generation; rapid iteration and drafts

Prompt-guided remix variant; source images to styled output

VS IMAGEN-4-ULTRA

~2.7s generation; rapid iteration and drafts

Maximum photorealism and prompt adherence; brand/marketing grade

CASOS DE USO

Where to use this variant

Image generation

Create visual assets from text prompts.

Editing

Transform existing images with prompt guidance.

Batch creative work

Use SDKs for repeatable generation.

FAQ

Frequently asked questions about imagen-4-fast

How do I select imagen-4-fast?

Pass the model ID shown in the quickstart.

Is pricing usage-based?

Yes. Pricing is metered per call or unit.

EMPEZAR

Start with Imagen 4 today.