Tạo một tác vụ video-to-video của Runway
Sử dụng CometAPI Runway POST /runwayml/v1/video_to_video để khởi chạy các tác vụ tạo video-to-video, đặt X-Runway-Version và biến đổi các clip nguồn.
Trước khi gọi
- Chuẩn bị một video nguồn phù hợp với các yêu cầu đầu vào của nhà cung cấp
- Bao gồm header
X-Runway-Versionbắt buộc cho bộ tính năng bạn muốn dùng - Bắt đầu với một prompt ngắn mô tả thay đổi, không phải toàn bộ storyboard
Tỷ lệ đầu ra
ratio được phân tách bằng dấu hai chấm. Dùng 1280:720 cho đầu ra 1280x720 và 720:1280 cho 720x1280; 1280x720 không được chấp nhận trên mọi route video-to-video của Runway.
Luồng tác vụ
Gửi clip nguồn và prompt
Thăm dò chi tiết tác vụ
Lưu trữ kết quả đã biến đổi
Ủy quyền
Bearer token authentication. Use your CometAPI key.
Tiêu đề
Runway API version header, for example 2024-11-06.
Nội dung
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).
Requested output frame shape. Use colon-separated values such as 1280:720 or 720:1280; read them as 1280x720 and 720x1280 targets. Do not assume every Runway video-to-video route accepts 1280x720 with an x separator.
Phản hồi
success
The ID of the task that was created. Use this to retrieve the task later.