Skip to main content
Model IDimage_generate.imagen_4_ultra
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.negative_prompt
string
Description of elements to exclude from the image.
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_ultra \
  -H "Authorization: Bearer sk-t0-xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "An ultra-detailed architectural render of a modern museum at dusk, 8K quality",
    "image_params": {
      "aspect_ratio": "16:9"
    }
  }'

Notes

  • Ultra offers the highest image quality from the Imagen 4 family.
  • Higher credit cost than Imagen 4 and Imagen 4 Fast.