動画から動画を生成する
CometAPI Runway POST /runwayml/v1/video_to_video を使用して動画から動画への生成タスクを開始し、X-Runway-Version を設定して、元のクリップを変換します。
このエンドポイントは、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.
呼び出す前に
- プロバイダーの入力要件に合った元動画を準備する
- 必要な
X-Runway-Versionヘッダーを含めて、使用したい機能セットを指定する - 完全な絵コンテではなく、変更内容を説明する短いプロンプト(Prompt)1つから始める
タスクの流れ
タスク詳細をポーリング
承認
Bearer token authentication. Use your CometAPI key.
ヘッダー
Runway API version header, for example 2024-11-06.
ボディ
HTTPS URL of the source video, or a base64 data URI containing the video.
Text prompt describing the desired output. Maximum 1000 characters.
Random seed for reproducible results. Range: 0–4294967295.
Model variant to use.
Optional reference images to guide generation. Each item must include type (e.g. image) and uri (HTTPS URL).
Aspect ratio of the output video, e.g. 1280:720.
レスポンス
success
The ID of the task that was created. Use this to retrieve the task later.