公式フォーマット
タスク詳細を取得
CometAPI を使用して GET /runwayml/v1/tasks/ を呼び出し、task ID によって Runway の動画生成タスクの status、progress、outputs、metadata を取得します。
GET
Poll a Runway official-format task
このエンドポイントは、id によって Runway タスクを確認するために使用します。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.
まずこれらのフィールドを確認してください
- タスク識別子には
id - 現在のタスク状態には
status - タスク成功時の完了済みアセット URL には
output - タスク失敗時には
failureとfailureCode
使用するタイミング
- text-to-image、image-to-video、video-to-video、upscale など、official-format の Runway タスク作成ページを呼び出した後
- compatibility-format の feed ルートではなく、この形式が必要な場合
リトライ動作
- 作成されたばかりのタスクでは、一時的に
task_not_existが返ることがあります - task id を無効と判断する前に、数秒待ってから再試行してください
- タスクが確認可能になると、このルートと compatibility-format の
feedルートは、同じ queued または in-progress のレスポンスを返すことがあります
承認
Bearer token authentication. Use your CometAPI key.
ヘッダー
Optional Runway version header, for example 2024-11-06.
パスパラメータ
Runway task id returned by the create endpoint.
レスポンス
200 - application/json
Current task state.
Task ID.
Task status.
利用可能なオプション:
PENDING, RUNNING, SUCCEEDED, FAILED Task creation timestamp.
Output URLs returned after the task succeeds.
Failure reason returned after the task fails.
Failure code returned after the task fails.
Task progress.