Google Imagen4 Fast is the fast variant of Google's Imagen 4 flagship text-to-image model for high-quality image generation. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Idle

$0.018per run·~55 / $1

Portrait of a 1920s flapper girl with pearl necklace and bob haircut, vintage film grain, muted colors20

A floating castle above the clouds, glowing waterfalls falling into the sky, dreamy lighting, painterly fantasy style

Still life of sunflowers in a ceramic vase, 19th-century oil painting style, thick brush strokes, warm tones

Elf warrior standing in a glowing forest, silver armor and long white hair, cinematic lighting, detailed environment

Portrait of an old man with a weathered face, wearing a fur coat, Rembrandt lighting, realistic oil painting

Children’s book style: a little fox baking cookies in a cozy woodland kitchen, soft lines, pastel palette

Human face made of clouds, eyes closed, blending into a starry sky, poetic surrealism

Pixel art city at dusk, small characters walking, animated clouds, 16-bit retro game aesthetic

A futuristic robot cat on a neon-lit Tokyo street. Its body is made of shiny metal and transparent panels, with curious eyes. Cyberpunk style, close-up shot, cinematic quality.

An abstract painting composed of liquid gold, deep blue ink, and white feathers. Flowing textures and shapes, with light radiating from the center, creating a calm and mysterious feeling. Surrealism, close-up shot.
Imagen 4 Fast is the high-speed, cost-efficient variant of Google’s Imagen 4 image generation model. It delivers near-identical visual fidelity to the standard version but at significantly higher speed and lower cost — ideal for creative iteration, social content, and rapid prototyping.
Input: text prompt
Resolution: up to 2048 × 2048 px
Compatible with descriptive prompts such as:
“A futuristic city at sunrise, glowing glass towers and flying cars in the distance.”
“A close-up portrait of a woman in soft studio lighting, ultra-realistic detail.”
Please ensure your prompts comply with Google’s Safety Guidelines. If an error occurs, review your prompt for restricted content, adjust it, and try again.
Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/google/imagen4-fast with your input as JSON. The endpoint returns a prediction id; poll the prediction endpoint until status flips to completed, then read the output URL from data.outputs[0]. Examples for Imagen4 Fast below.
# Submit the prediction
curl -X POST "https://api.wavespeed.ai/api/v3/google/imagen4-fast" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WAVESPEED_API_KEY" \
-d '{
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"aspect_ratio": "1:1",
"num_images": 1,
"negative_prompt": "blurry, low quality, distorted",
"seed": 0,
"enable_base64_output": false
}'
# Response includes a prediction id. Poll for the result:
curl -X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
-H "Authorization: Bearer $WAVESPEED_API_KEY"
# When status is "completed", read the output from data.outputs[0].// npm install wavespeed
const WaveSpeed = require('wavespeed');
const client = new WaveSpeed(); // reads WAVESPEED_API_KEY from env
const result = await client.run("google/imagen4-fast", {
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"aspect_ratio": "1:1",
"num_images": 1,
"negative_prompt": "blurry, low quality, distorted",
"seed": 0,
"enable_base64_output": false
});
console.log(result.outputs[0]); // → URL of the generated output# pip install wavespeed
import wavespeed
output = wavespeed.run(
"google/imagen4-fast",
{
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"aspect_ratio": "1:1",
"num_images": 1,
"negative_prompt": "blurry, low quality, distorted",
"seed": 0,
"enable_base64_output": false
}
)
print(output["outputs"][0]) # → URL of the generated outputImagen4 Fast is a Google model for image generation, exposed as a REST API on WaveSpeedAI. Google Imagen4 Fast is the fast variant of Google's Imagen 4 flagship text-to-image model for high-quality image generation. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID; poll the prediction endpoint until status flips to "completed", then read the output URL from the result. The playground generates a ready-to-paste code sample in Python, JavaScript, or cURL for whatever inputs you've set. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/google/google-imagen4-fast.
Imagen4 Fast starts at $0.018 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
Key inputs: `prompt`, `aspect_ratio`, `seed`, `negative_prompt`, `enable_base64_output`, `num_images`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/google/google-imagen4-fast.
Average end-to-end generation time on WaveSpeedAI is around 8 seconds per request — measured across recent runs. Queue time scales with global demand; live status is visible in the prediction record.
Commercial usage rights depend on the model's license, set by its provider (Google). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.