属性
参数
| 参数名 | 描述 | 类型 | 必填 | 枚举值 |
|---|---|---|---|---|
| prompt | Text description of the edit to apply. | string | 是 | - |
| images | Source image URLs to edit (1-3). Each item must be a publicly accessible HTTP(S) URL. | string[] | 是 | - |
| aspect_ratio | Aspect ratio of the output image. If omitted, the output follows the first input image. | string | 否 | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2, 19.5:9, 9:19.5, 20:9, 9:20, 21:9, 5:2, auto |
| n | Number of edited images to generate. | integer | 否 | - |
| quality | Generation quality. | string | 否 | low, medium |
| resolution | Output resolution. | string | 否 | 1k, 2k |
| response_format | How images are returned: a temporary URL, or base64 in the task result. | string | 否 | url, b64_json |
价格
单位: $/img
| 维度 | 价格 |
|---|---|
| quality: low / resolution: 1k | 0.0840 |
| quality: low / resolution: 2k | 0.1080 |
| quality: medium / resolution: 1k | 0.1080 |
| quality: medium / resolution: 2k | 0.1320 |
