Skip to main content
Model IDimage_generate.imagen_4_fast
ProviderKIE (Google)
ModalityImage — Text-to-Image

Parameters

prompt
string
required
Text description of the image to generate.
image_params.aspect_ratio
string
Output aspect ratio. Options: 1:1, 16:9, 9:16, 4:3, 3:4. Default: 1:1.
image_params.seed
number
Random seed for reproducible results.
callback_url
string
Webhook URL for completion notification.

Example

curl -X POST https://routerbase.kuaibaike.com/api/v1/run/image_generate.imagen_4_fast \
  -H "Authorization: Bearer sk-t0-xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A simple cartoon illustration of a coffee cup on a wooden table",
    "image_params": {
      "aspect_ratio": "1:1"
    }
  }'

Notes

  • Best choice for high-volume or latency-sensitive workloads.
  • Lower credit cost than Imagen 4 and Imagen 4 Ultra.