Attributes
- Provider: kling
- Category: Image Editing
Parameters
| Name | Description | Type | Required | Enums |
|---|---|---|---|---|
| prompt | Text prompt (positive/negative in one field). May reference images as <<<image_1>>> etc. Max 2500 characters. | string | Yes | - |
| aspect_ratio | Aspect ratio. Default 1:1 when omitted (filled by platform). | string | No | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9 |
| images | Optional reference images (flattened image_list). Omit for pure text-to-image. If provided, must contain 1-10 non-empty URLs/Base64 strings. | string[] | No | - |
| n | Number of images to generate [1, 9]. | integer | No | - |
| resolution | Output resolution. Capability Map for O1: 1k | 2k only (no 4k). | string | No | 1k, 2k |
Pricing
Unit: $/img
| Pricing |
|---|
| $0.0224/img |
