Image model
Kling IMAGE 4.0
Kling IMAGE 4.0 from Kuaishou — photorealistic text-to-image and multi-reference generation with long, legible text rendering and native 2K/4K output.
klingai/kling-image-4.0API
Call Kling IMAGE 4.0
Every model takes the same request, so switching to Kling IMAGE 4.0 is a change to the model field. These samples are written for its own contract and send as they are.
Specifications
What Kling IMAGE 4.0 accepts
Read from the same registry the API validates against. A request outside it is refused when the task is created, before anything is charged.
Modes and inputs
- Text → Image
- Prompt only
- Image → Image
- Up to 10 images
Output
- Aspect ratios
- 1:1
- 16:9
- 9:16
- 4:3
- 3:4
- 3:2
- 2:3
- 21:9
Leave out
size, or sendauto, and Mynth picks one for the prompt. Any other ratio snaps to the closest of these. Sizes- 4K
- Yes · any ratio with
_4k, such as16:9_4k
Prompt
- Negative prompt
- Not supported. Dropped before the provider call, no error
The contract as GET /models returns it
{
"modes": {
"txt->img": {},
"img->img": {
"inputs": {
"rules": [
{
"type": "image",
"max": 10
}
]
}
}
}
}Pricing
What it costs
Pay per result, in USD, with no subscription. A failed image or video costs nothing. How pricing works
Rates
- Image
- $0.063 / image
- Image at 4K
- $0.094 / image
- Input image
- $0.003 / input
An input is charged once for every image it goes into: two inputs on four images are eight input charges.
Estimate a request
1 × $0.063
Held when the task is created. Only images that succeed are charged.