Skip to main content
POST
/
v3
/
async
/
kling-o1-video-edit
Kling-o1 Video Edit
curl --request POST \
  --url https://api.myrouter.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 daytime to dusk”, you can remove objects, replace backgrounds, modify styles, adjust weather/lighting, and transform scenes.
This is an async API that only returns the task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.

Request Headers

Content-Type
string
required
Enum: application/json
Authorization
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

video
string
required
Video URL.
images
array
default:"[]"
Reference images containing elements, scenes, styles, etc. Up to 4 images.Array length: 0 - 4
prompt
string
required
Positive prompt for generation.
fast_mode
boolean
default:false
Whether to use fast mode.
aspect_ratio
string
Aspect ratio of the generated video.Possible values: 16:9, 9:16, 1:1
keep_original_sound
boolean
default:true
Whether to keep the original audio from the video.

Response

task_id
string
required
Use the task_id to call the Get Async Task Result API to retrieve the generated output.