ApiframeApiframe Docs
Image GenerationImagen

Imagen 3 Fast

A faster and cheaper Imagen 3 model for when speed matters more than quality.

Use in Apiframe Studio

POST /v2/images/generatemodel: "imagen-3-fast"

A faster and cheaper variant of Imagen 3, for when price or speed are more important than final image quality. Still produces high-quality results while significantly reducing generation time.

See Image Generation overview for common request fields, response format, and error codes.

Model-specific parameters

ParameterTypeDescription
imagenParams.aspect_ratiostringAspect ratio. Values: "1:1" (default), "9:16", "16:9", "3:4", "4:3"
imagenParams.output_formatstringOutput format. Values: "jpg" (default), "png"

Credit cost

Credits per generation
3

Code examples

curl -X POST https://api.apiframe.ai/v2/images/generate \
  -H "X-API-Key: afk_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A racing motorcycle blazing through neon-lit streets at night, light trails, motion blur",
    "model": "imagen-3-fast",
    "imagenParams": {
      "aspect_ratio": "16:9"
    }
  }'
import requests

response = requests.post(
    "https://api.apiframe.ai/v2/images/generate",
    headers={
        "X-API-Key": "afk_your_api_key_here",
        "Content-Type": "application/json",
    },
    json={
        "prompt": "A racing motorcycle blazing through neon-lit streets at night, light trails, motion blur",
        "model": "imagen-3-fast",
        "imagenParams": {
            "aspect_ratio": "16:9",
        },
    },
)
print(response.json())
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 racing motorcycle blazing through neon-lit streets at night, light trails, motion blur",
    model: "imagen-3-fast",
    imagenParams: { aspect_ratio: "16:9" },
  }),
});
console.log(await response.json());

Try it

POST/v2/images/generateTry it

On this page