إضافة تحديد للفيديو
استخدم نقطة النهاية Kling Add Video Selection لإضافة عناصر التحديد في تحرير الفيديو متعدد العناصر، مما يتيح تعديلات موجهة وتحكمًا في المشهد عبر CometAPI.
استخدم نقطة النهاية هذه لتحديد منطقة الفيديو التي تريد أن يعمل عليها المحرر متعدد الوسائط.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 Editing - يحدد
frame_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.