從影片產生影片
使用 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 開始,描述要變更的內容,而不是完整的分鏡腳本
任務流程
輪詢任務詳細資料
授權
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.