Skip to main content
POST
Kling-o1 Image-to-Video
This is an asynchronous API and only returns an async task_id. You need to call the task result query API with the task_id to obtain the generated result.
This is an asynchronous API and will only return the async task’s task_id. You should use this task_id to request the Query Task Result API to retrieve the generated result.

Request Headers

string
required
Enum value: application/json
string
required
Bearer authentication format: Bearer {{API key}}.

Request Body

string
required
The starting frame is the first frame
string
required
The positive prompt for generation
integer
default:5
Duration of the generated media (seconds)Optional values: 5, 10
string
The ending frame is the last frame
string
default:"16:9"
Aspect ratio of the generated videoOptional values: 16:9, 9:16, 1:1

Response

string
required
Use the task_id to request the Query Task Result API to retrieve the generated output.