Seedance 2.5 from ByteDance is officially available on Apiframe.
Image
Imagen 4 Fast logo

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
Imagen 4 Fast landscape thumbnail of a desert highway at sunset in warm tones Image · example

Playground

Try Imagen 4 Fast right here.

model: imagen-4-fast
Resolution
Advanced settings
Estimated cost 2 credits · $0.02 Generate in Studio
Output

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.
See plans and credit packs

Specs

At a glance.

Provider Google
Model ID imagen-4-fast
Aspect ratios 1:1, 9:16, 16:9, 3:4, 4:3
Avg. time ~5s

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.

9,800+

developers & companies

4.8 on G2

Official partner of

BytePlus Alibaba Cloud MiniMax

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.