Imagen 4 Fast API
by Google
Google DeepMind's speed-optimized tier in the Imagen 4 family (May 2025), built for rapid, high-volume, and interactive image generation at the lowest cost in the lineup.
- ~5s
- Avg. generation
- 2 credits
- From
Image · example Playground
Try Imagen 4 Fast right here.
Advanced settings
Your output lands here. Hit generate to run this request in Studio.
Pricing
Simple per-generation pricing.
2 credits per generation ≈ $0.02
- You only pay for successful generations. Failed jobs are refunded automatically.
- One credit balance across every model on Apiframe, no per-model plans.
- Start with free credits. No subscription required.
- Volume discounts on larger plans.
Specs
At a glance.
Quickstart
How to call the Imagen 4 Fast API.
Send one POST /v2/images/generate request with your API key. The call returns a jobId you can poll, or pass a webhook_url and the result is pushed to you the moment it's ready.
Swap imagen-4-fast for any other model and nothing else changes.
const response = await fetch("https://api.apiframe.ai/v2/images/generate", {
method: "POST",
headers: {
"X-API-Key": "afk_your_api_key_here",
"Content-Type": "application/json",
},
body: JSON.stringify({
"prompt": "a sleek silver sports car on a coastal highway at sunset, hyper-realistic",
"model": "imagen-4-fast",
"imagenParams": {
"image_size": "1K",
"output_format": "jpg"
}
}),
});
const { jobId } = await response.json();
console.log(jobId); Input schema
Every field Imagen 4 Fast accepts, with types and defaults. The full reference lives in the docs.
| Field | Type | Description |
|---|---|---|
| prompt required | string | Text description of what to generate. |
| model required | string | The model identifier for this endpoint. Default:"imagen-4-fast" · "imagen-4-fast" |
| imagenParams.image_size | string | Resolution Default:"1K" · "1K", "2K" |
| imagenParams.output_format | string | Output format Default:"jpg" · "jpg", "png" |
Imagen versions
Every Imagen image model on Apiframe. Switch with one parameter.
Imagen 4 Fast questions
What teams ask before shipping with Imagen 4 Fast. Everything else lives in the docs.
What is Imagen 4 Fast?
The speed-optimized tier of Google's Imagen 4 family, released in May 2025 for rapid, high-volume generation.
How fast and how cheap is it?
About 2.7 seconds per image at 3 credits ($0.03) each, up to 10 times faster than Imagen 3.
What resolution does it produce?
Up to 1408x768, lower than the 2K output of Standard and Ultra.
What is it best for?
Rapid prototyping, high-volume and batch jobs, and interactive features that need near-real-time results.
How is it different from Standard and Ultra?
It prioritizes speed and cost over maximum detail, while sharing the same endpoint and prompt structure.
Where can you access it?
Through Apiframe, as well as the Gemini API, Google AI Studio, and Vertex AI.
Related models
All image modelsFlux 2 Max
by Black Forest Labs
Highest-quality Flux 2 tier.
View modelMidjourney
by Midjourney
Iconic stylised, cinematic look.
View modelNano Banana 2
by Google
Next-gen Nano Banana with refined detail.
View modelSeedream 5.0 Pro
by ByteDance
Flagship ByteDance model with sharp 1K/2K output and up to 10 reference images.
View model9,800+
developers & companies
Official partner of
Power your next AI product with Apiframe.
Instant access to 70+ media models through a single API. Start free and scale when you're ready.