Image vers Vidéo
Utilisez CometAPI pour appeler image_to_video de Runway et convertir l’URL d’une image fixe en sortie vidéo brute, avec la prise en charge de X-Runway-Version pour la compatibilité.
Utilisez ce endpoint pour animer une image source en une vidéo 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.
Avant de l’appeler
- Envoyez l’en-tête
X-Runway-Versionrequis, par exemple2024-11-06 - Utilisez
model: gen3a_turbo - Fournissez un
promptImageHTTPS stable - Commencez avec
duration: 5et un ratio courant tel que1280:720
Flux de la tâche
Soumettre la requête image-to-video
Interroger le statut de la tâche
task_not_exist, attendez quelques secondes puis réessayez.Autorisations
Bearer token authentication. Use your CometAPI key.
En-têtes
Runway version header, for example 2024-11-06.
Corps
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 Réponse
Task accepted.