Obraz do wideo
Użyj CometAPI, aby wywołać Runway image_to_video i przekonwertować adres URL nieruchomego obrazu na surowe wyjście wideo, z obsługą X-Runway-Version dla zgodności.
Użyj tego endpointu, aby animować jeden obraz źródłowy do postaci wideo 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.
Zanim go wywołasz
- Wyślij wymagany nagłówek
X-Runway-Version, na przykład2024-11-06 - Użyj
model: gen3a_turbo - Podaj stabilny HTTPS
promptImage - Zacznij od
duration: 5i popularnych proporcji, takich jak1280:720
Przepływ zadania
Wyślij żądanie image-to-video
Sprawdzaj status zadania
task_not_exist, odczekaj kilka sekund i spróbuj ponownie.Autoryzacje
Bearer token authentication. Use your CometAPI key.
Nagłówki
Runway version header, for example 2024-11-06.
Treść
Source image URL.
Runway image-to-video model ID. Choose a current model from the Models page.
Random seed for reproducible results. Range: 0–999999999.
Text prompt describing the desired motion or scene. Maximum 512 characters.
Whether to add a watermark to the output video.
Video duration in seconds. Accepted values: 5 or 10.
Aspect ratio of the output video.
1280:720, 720:1280, 1104:832, 832:1104, 960:960, 1584:672, 1280:768, 768:1280 Odpowiedź
Task accepted.