Wygeneruj wideo z wideo
Użyj CometAPI Runway POST /runwayml/v1/video_to_video, aby uruchamiać zadania generowania video-to-video, ustawiać X-Runway-Version i przekształcać klipy źródłowe.
Użyj tego endpointu, aby przekształcić istniejący klip źródłowy za pomocą workflow video-to-video w Runway. Uruchamia on zadanie asynchroniczne zamiast od razu zwracać końcowy wynik.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.
Zanim go wywołasz
- Przygotuj wideo źródłowe, które spełnia wymagania wejściowe 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 od pełnego storyboardu
Przepływ zadania
Sprawdzaj szczegóły zadania
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).
Aspect ratio of the output video, e.g. 1280:720.
Odpowiedź
success
The ID of the task that was created. Use this to retrieve the task later.