Skip to main content
POST
https://api.novita.ai
/
v3
/
async
/
kling-o1-video-edit
Kling-o1 Video Editing
curl --request POST \
  --url https://api.novita.ai/v3/async/kling-o1-video-edit \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "video": "<string>",
  "images": [
    {}
  ],
  "prompt": "<string>",
  "fast_mode": true,
  "aspect_ratio": "<string>",
  "keep_original_sound": true
}
'
{
  "task_id": "<string>"
}
Kling Omni Video O1 video editor supports conversational video editing through natural language commands. With simple text instructions such as “remove pedestrians” or “change day to dusk”, you can remove objects, replace backgrounds, modify styles, adjust weather/lighting, and transform scenes.
This is an asynchronous API; only the task_id will be returned. You should use the task_id to request the Task Result API to retrieve the video generation results.

Request Headers

Content-Type
string
required
Supports: application/json
Authorization
string
required
Bearer authentication format, for example: Bearer {{API Key}}.

Request Body

video
string
required
The video URL.
images
array
default:"[]"
Including reference images of the element, scene, style, etc. Max 4.Array length: 0 - 4
prompt
string
required
The positive prompt for the generation.
fast_mode
boolean
default:false
Whether to use fast mode
aspect_ratio
string
The aspect ratio of the generated video.Optional values: 16:9, 9:16, 1:1
keep_original_sound
boolean
default:true
Select whether to keep the video original sound through the parameter.

Response

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