kling
Omni クエリ
Kling Omni Video タスクを作成した後、CometAPI Omni Query API(GET /kling/v1/videos/omni-video/)を使用して task_id でタスク詳細を照会し、リアルタイムのステータスと結果を取得します。
GET
Omni Query
Kling Omni タスクを作成した後にこのエンドポイントを使用します。タスクの状態、ネストされた provider payload、そしてタスク成功時の最終的な動画 URL を返します。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.
まずこれらのフィールドを確認してください
- 最上位の状態は
codeとmessage - 非同期ジョブの状態は
data.statusとdata.progress - 完了した MP4 URL は
data.data.task_result.videos[0].url
ポーリングパターン
まずタスクを作成
Omni Video から開始し、返された
task_id を保存します。承認
Bearer token authentication. Use your CometAPI key.
パスパラメータ
Task id returned by the Omni Video endpoint.