kling
個別クエリ
GET /kling/v1/// を通じて task_id で Kling の動画生成タスクを照会し、ポーリング用の status、progress、result metadata を返します。
GET
Individual queries
Kling タスクを作成した後に、このエンドポイント群を使用します。これは Kling の非同期メディアジョブにおける一般的なポーリング手順です。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、request_id submitted、processing、succeed、failedなどのタスク状態を示すdata.task_status- タスク成功時の
data.task_result.videos[0].url - タスクが途中で停止した場合の
data.task_status_msgまたはその他の返却された詳細フィールド
ポーリングパターン
対応するエンドポイントでタスクを作成
ワークフローに対応する Kling の作成ページから開始します。たとえば、Text to Video や Image to Video です。
完全なパラメータリファレンスについては、official Kling documentation を参照してください。
承認
Bearer token authentication. Use your CometAPI key.
パスパラメータ
Resource type. One of: images, videos, audio.
Sub-action matching the resource type. For images: generations, kolors-virtual-try-on. For videos: text2video, image2video, lip-sync, effects, multi-image2video, multi-elements. For audio: text-to-audio, video-to-audio.
Task ID