Додати вибір області у відео
Використовуйте endpoint Kling Add Video Selection, щоб додавати елементи вибору під час редагування відео з кількома елементами, забезпечуючи цільові редагування та керування сценою через CometAPI.
Використовуйте цей endpoint, щоб позначити область відео, з якою має працювати multimodal-редактор.Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Як працює вибір області
session_idнадходить із Initialize Video for Editingframe_indexвибирає кадр, на якому ви розміщуєте точкиpoints— це нормалізовані координати в діапазоні від0до1- У документації Kling вказано до 10 позначених кадрів і до 10 точок на кожен кадр
Роль у робочому процесі
Initialize first
session_id.Preview the area
Авторизації
Bearer token authentication. Use your CometAPI key.
Тіло
Session ID, generated based on the video initialization task, does not change with selection editing actions.
Frame number
Supports adding up to 10 marked frames, meaning video selections can be marked based on a maximum of 10 frames. Only 1 frame can be marked at a time.
Click coordinates, represented by x and y. Value range: [0,1], expressed as a percentage; [0,1] represents the top-left corner of the frame. Supports adding multiple marked points simultaneously, with a maximum of 10 points per frame.