Models / Text to image

Imagen 4 Fast - API, Playground & Pricing

Google Imagen 4 Fast is the quickest, lowest-cost Imagen 4 tier: realistic images from a prompt, up to four per run at 1K or 2K. Run it in the playground, call its API, or let Claude Code, Codex or Cursor run it through one FlyMy.AI MCP. No Google API key: runs are billed to your FlyMy.AI balance.

Provider
Google
Category
Text to image / Text to image
Price
$0.02 / run ($0.02 at the defaults)
Resolution
1K, 2K
Aspect ratio
1:1, 3:4, 4:3, 9:16, 16:9
Results per run
up to 4
Returns
images
Commercial use
Allowed
Model ID
flymyai/imagen-4-fast
Imagen 4 Fast by Google: text to image sample, quick realistic images
Imagen 4 Fast sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude CodeCodexCursorAny agent

Use Imagen 4 Fast in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

Read https://flymy.ai/skill.md and https://flymy.ai/models/imagen-4-fast.md. Help me connect the FlyMy.AI MCP to this assistant, then run Imagen 4 Fast (flymyai/imagen-4-fast) for this task: Generate a 9:16 product photo of a matte black headphone set floating on a purple gradient with Imagen 4 Fast at 2K.
Open FlyMy.AIDownload brief

What Imagen 4 Fast does

Imagen 4 Fast trades a little detail for speed and price, which suits drafts, thumbnails and large batches. It takes the same inputs as Imagen 4: number_of_images, image_size, aspect_ratio and person_generation. Images carry Google's SynthID watermark.

Imagen 4 Fast inputs

Every input of flymyai/imagen-4-fast as its live schema lists them. Returns images (file).

InputType, values and default
# prompt
string required
# number_of_images
integer optional Allowed: 1 to 4 Default: 1
# image_size
string optional Allowed: 1K, 2K
# aspect_ratio
string optional Allowed: 1:1, 3:4, 4:3, 9:16, 16:9
# person_generation
string optional Allowed: dont_allow, allow_adult

Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

“Generate a 9:16 product photo of a matte black headphone set floating on a purple gradient with Imagen 4 Fast at 2K.”runs flymyai/imagen-4-fast
“Make three versions of a poster for a yoga class in the park with Imagen 4 Fast in one run and send me the links.”runs flymyai/imagen-4-fast
“Create a risograph illustration of a fox running through fresh snow at sunrise with Imagen 4 Fast.”runs flymyai/imagen-4-fast

Imagen 4 Fast price

$0.02 per run. A run at the default settings costs $0.02. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

Imagen 4 Fast vs similar models

Popular text to image models beside it, with prices from billing and settings from each live schema.

ModelProviderKindPriceDefault runResolutionAspect ratio
Imagen 4 FastGoogleText to image$0.02 / run$0.021K, 2K1:1, 3:4, 4:3, 9:16, 16:9
Seedream 5.0 ProByteDanceText and image to imagefrom $0.045 / run$0.09
Seedream 5.5ByteDanceText and image to imagefrom $0.02 / run$0.035
Nano Banana 2.1GoogleText and image to imagefrom $0.0336 / image$0.03361K, 2K, 4K1:1, 2:3, 3:2, 3:4, 4:3, 4:5 and 8 more

Imagen 4 Fast API

The same model from your own code or from an agent. Send your FlyMy.AI API key in the X-API-KEY header; get a key in your account.

cURL

Form fields, not JSON; files go as uploads or public URLs. The answer is a prediction_id; read the result at https://api.flymy.ai/api/v1/flymyai/imagen-4-fast/predict/async/result/?request_id=<prediction_id>.

curl -X POST https://api.flymy.ai/api/v1/flymyai/imagen-4-fast/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=A ceramic mug on a sunlit kitchen counter, product photo'

Python

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

# pip install flymyai
import os

from flymyai import client

fma = client(apikey=os.environ["FLYMYAI_API_KEY"])
response = fma.predict(
    model="flymyai/imagen-4-fast",
    payload={
        "prompt": "A ceramic mug on a sunlit kitchen counter, product photo"
    },
)
print(response.output_data)

JavaScript / TypeScript

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

// npm install flymyai-js-client
import { FlyMyAI } from "flymyai-js-client";

const client = new FlyMyAI({ apiKey: process.env.FLYMYAI_API_KEY });
const response = await client.predict(
  {
    "prompt": "A ceramic mug on a sunlit kitchen counter, product photo"
  },
  "flymyai/imagen-4-fast",
);
console.log(response.output_data);

MCP

Your agent calls get_model_schema, then run_model with:

{
  "endpoint_id": "flymyai/imagen-4-fast",
  "input": {
    "prompt": "A ceramic mug on a sunlit kitchen counter, product photo"
  }
}

Questions about Imagen 4 Fast

Do I need a Google API key for Imagen 4 Fast?

No. Imagen 4 Fast runs on FlyMy.AI's account, so you need no Google key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

How much does Imagen 4 Fast cost?

$0.02 per run. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-18.

Can I try Imagen 4 Fast before I write code?

Yes. Open Imagen 4 Fast in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/imagen-4-fast, fill in its inputs and run it; the same run is one API call later, billed the same way.

How do I use Imagen 4 Fast in Claude Code, Codex or Cursor?

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Generate a 9:16 product photo of a matte black headphone set floating on a purple gradient with Imagen 4 Fast at 2K." Your agent reads the inputs with get_model_schema and runs flymyai/imagen-4-fast with run_model.

What does Imagen 4 Fast need as input?

Imagen 4 Fast requires prompt; it also takes 4 optional inputs, each listed on this page with its allowed values and default.

Can I call Imagen 4 Fast from my own code?

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/imagen-4-fast/predict/async/ with your FlyMy.AI API key in the X-API-KEY header.

Go to the source

From the FlyMy.AI model catalog of 2026-11-18: inputs from each model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.