Submit Task
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | ✅ Yes | - | The text prompt describing the image to generate |
input_image | string | ✅ Yes | - | Base64 encoded input image (first image) |
input_image_2 | string | ❌ No | - | Base64 encoded input image (second image) |
input_image_3 | string | ❌ No | - | Base64 encoded input image (third image) |
input_image_4 | string | ❌ No | - | Base64 encoded input image (fourth image) |
seed | integer | ❌ No | - | Random seed for reproducible generation |
aspect_ratio | string | ❌ No | 16:9 | Aspect ratio of the generated image. Options: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 |
output_format | string | ❌ No | jpeg | Output image format. Options: jpeg, png, webp |
webhook_url | string | ❌ No | - | URL to receive webhook notifications when the task is completed |
webhook_secret | string | ❌ No | - | Secret key for webhook verification |
prompt_upsampling | boolean | ❌ No | false | Whether to enhance the prompt automatically |
safety_tolerance | integer | ❌ No | 2 | Safety tolerance level for content filtering. Range: 0-6 (0 = strict, 6 = permissive) |