Bir Runway video-to-video görevi oluşturun
video-to-video üretim görevlerini başlatmak, X-Runway-Version ayarlamak ve kaynak klipleri dönüştürmek için CometAPI Runway POST /runwayml/v1/video_to_video kullanın.
Çağırmadan önce
- Sağlayıcının girdi gereksinimlerine uyan bir kaynak video hazırlayın
- İstediğiniz özellik seti için gerekli
X-Runway-Versionheader’ını ekleyin - Tam bir storyboard yerine, değişikliği açıklayan kısa bir prompt ile başlayın
Çıktı oranı
ratio değerleri bekler. 1280x720 çıktı için 1280:720, 720x1280 için 720:1280 kullanın; 1280x720 her Runway video-to-video rotasında kabul edilmez.
Görev akışı
Kaynak klibi ve prompt'u gönderin
Görev ayrıntılarını sorgulayın
Dönüştürülen sonucu saklayın
Yetkilendirmeler
Bearer token authentication. Use your CometAPI key.
Başlıklar
Runway API version header, for example 2024-11-06.
Gövde
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.
Yanıt
success
The ID of the task that was created. Use this to retrieve the task later.