Parameters
| Name | Description | Type | Required | Enums |
|---|---|---|---|---|
| prompt | Image description text, supports Chinese and English. Can use <<<image_1>>>, <<<image_2>>> etc. to reference images from images array | string | Yes | - |
| aspect_ratio | Image aspect ratio. Supports ‘auto’ for intelligent aspect ratio selection | string | No | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9, auto |
| images | Reference image URLs or Base64 strings. Simplified flattened parameter. Maximum 10 items. | string[] | No | - |
| n | Number of images to generate per request | integer | No | - |
| resolution | Image resolution. Supports 1K and 2K | string | No | 1k, 2k |
Pricing
Unit: $/img
| Pricing |
|---|
| $0.0320/img |
