Giảm 50% mô hình Vidu Q3 & Q3 Pro · Chỉ trên WaveSpeedAI | 20/5 – 2/6

Imagen4 Fast

google /

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.

text-to-image
Input
If enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API.

Idle

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

$0.018per run·~55 / $1

Next:

ExamplesView all

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

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

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

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

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

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

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

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

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.

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.

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.

Related Models

README

Google Imagen 4 Fast

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.

⚡ Why it stands out

  • 10× Faster Generation Creates high-quality images in a fraction of the time, enabling instant visual feedback for creators.
  • Cost-Effective Performance Optimized for efficiency — generate more images on the same budget without compromising clarity or color accuracy.
  • Cinematic and Artistic Range Handles both photorealistic and stylized compositions with balanced lighting and rich texture detail.
  • Enhanced Text Rendering Maintains Imagen 4’s superior typography performance, producing crisp, legible text for posters and designs.
  • Resolution Flexibility Supports multiple aspect ratios up to 2 K resolution, suitable for digital media and print layouts.

⚙️ How to use

  • 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.”

💰 Pricing

  • $0.018 per image
  • Commercial use allowed

💡 Best Use Cases

  • Rapid Concepting — Quickly explore visual directions during creative brainstorming.
  • Social Media & Marketing — Generate eye-catching visuals for campaigns in seconds.
  • Design & Illustration — Produce high-resolution imagery for posters, banners, and print layouts.
  • Product Visualization — Render realistic textures, materials, and lighting for prototypes.

📝 Notes

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.

Accessibility:This website uses AI models provided by third parties.

Imagen4 Fast API — Quick start

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.

HTTP example
# 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].
Node.js example
// 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
Python example
# 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 output

Imagen4 Fast API — Frequently asked questions

What is the Imagen4 Fast API?

Imagen4 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.

How do I call the Imagen4 Fast API?

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.

How much does Imagen4 Fast cost per run?

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.

What inputs does Imagen4 Fast accept?

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.

How long does Imagen4 Fast take to generate?

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.

Can I use Imagen4 Fast outputs commercially?

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.