API Key for API endpoints
Text prompt for image generation
Number of results to generate (1-4)
1 <= x <= 4Image resolution: 1K (1024px), 2K (2048px), 4K (4096px), or 'custom' for specific dimensions.
1K, 2K, 4K, custom Custom image width (only used when size='custom'). Range: 1024-4096 pixels.
1024 <= x <= 4096Custom image height (only used when size='custom'). Range: 1024-4096 pixels.
1024 <= x <= 4096Maximum number of images to generate when sequential_image_generation='auto'. Range: 1-15. Total images (input + generated) cannot exceed 15.
1 <= x <= 15Input image(s) for image-to-image generation. List of 1-10 images for single or multi-reference generation.
Image aspect ratio. Only used when size is not 'custom'. Use 'match_input_image' to automatically match the input image's aspect ratio.
match_input_image, 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9 Enable prompt enhancement for higher quality results, this will take longer to generate.
Group image generation mode. 'disabled' generates a single image. 'auto' lets the model decide whether to generate multiple related images (e.g., story scenes, character variations).
disabled, auto