Utwórz zadanie Runway video-to-video
Użyj CometAPI Runway POST /runwayml/v1/video_to_video, aby uruchamiać zadania generowania video-to-video, ustawić X-Runway-Version i przekształcać klipy źródłowe.
Zanim go wywołasz
- Przygotuj wideo źródłowe zgodne z wymaganiami wejściowymi dostawcy
- Dołącz wymagany nagłówek
X-Runway-Versiondla zestawu funkcji, którego chcesz użyć - Zacznij od jednego krótkiego Promptu opisującego zmianę, a nie pełnego storyboardu
Proporcje wyjściowe
ratio rozdzielonych dwukropkiem. Użyj 1280:720 dla wyjścia 1280x720 oraz 720:1280 dla 720x1280; 1280x720 nie jest akceptowane na każdej trasie Runway video-to-video.
Przepływ zadania
Prześlij klip źródłowy i prompt
Odpytuj szczegóły zadania
Zapisz przekształcony wynik
Autoryzacje
Bearer token authentication. Use your CometAPI key.
Nagłówki
Runway API version header, for example 2024-11-06.
Treść
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.
Odpowiedź
success
The ID of the task that was created. Use this to retrieve the task later.