属性
パラメーター
| 名前 | 説明 | 型 | 必須 | 列挙値 |
|---|---|---|---|---|
| prompt | Image description text, supports Chinese and English | string | はい | - |
| subject_reference_images | Reference image URLs for image-to-image generation. Supports public HTTPS URLs or Base64 Data URLs | string[] | はい | - |
| aspect_ratio | Image aspect ratio. If both aspect_ratio and width/height are provided, aspect_ratio takes priority | string | いいえ | 1:1, 16:9, 4:3, 3:2, 2:3, 3:4, 9:16, 21:9 |
| height | Image height in pixels (must be used with width). Must be divisible by 8. If aspect_ratio is provided, width/height will be ignored | integer | いいえ | - |
| n | Number of images to generate per request | integer | いいえ | - |
| prompt_optimizer | Enable automatic prompt optimization to improve generation quality | boolean | いいえ | true, false |
| seed | Random seed for reproducible results. Use the same seed with same parameters to generate identical images | integer | いいえ | - |
| width | Image width in pixels (must be used with height). Must be divisible by 8. If aspect_ratio is provided, width/height will be ignored | integer | いいえ | - |
料金
単位: $/img
| 料金 |
|---|
| $0.0050/img |
