Da immagine a video
Usa CometAPI per chiamare image_to_video di Runway e convertire l’URL di un’immagine statica in output video raw, con supporto X-Runway-Version per la compatibilità.
Usa questo endpoint per animare un’immagine sorgente in un video 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.
Prima di chiamarlo
- Invia l’header
X-Runway-Versionrichiesto, ad esempio2024-11-06 - Usa
model: gen3a_turbo - Fornisci un
promptImageHTTPS stabile - Inizia con
duration: 5e un rapporto comune come1280:720
Flusso dell’attività
Invia la richiesta image-to-video
Interroga lo stato dell'attività
task_not_exist, attendi qualche secondo e riprova.Autorizzazioni
Bearer token authentication. Use your CometAPI key.
Intestazioni
Runway version header, for example 2024-11-06.
Corpo
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 Risposta
Task accepted.