Thêm lựa chọn video
Sử dụng endpoint Kling Add Video Selection để thêm các phần tử lựa chọn trong chỉnh sửa video nhiều phần tử, cho phép chỉnh sửa có mục tiêu và kiểm soát cảnh thông qua CometAPI.
Sử dụng endpoint này để đánh dấu vùng video mà bạn muốn trình chỉnh sửa multimodal thao tác lên.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.
Cách lựa chọn hoạt động
session_idđến từ Initialize Video for Editingframe_indexchọn khung hình nơi bạn đặt các điểmpointslà các tọa độ đã được chuẩn hóa trong khoảng từ0đến1- Tài liệu của Kling nêu tối đa 10 khung hình được đánh dấu và tối đa 10 điểm cho mỗi khung hình
Vai trò trong quy trình
Khởi tạo trước
session_id hợp lệ.Xem trước khu vực
Ủy quyền
Bearer token authentication. Use your CometAPI key.
Nội dung
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.