Зображення у відео
Використовуйте CometAPI, щоб викликати Runway image_to_video і перетворити URL статичного зображення на raw video output, із підтримкою X-Runway-Version для сумісності.
Використовуйте цей endpoint, щоб анімувати одне вихідне зображення у відео 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.
Перш ніж викликати його
- Надішліть обов’язковий заголовок
X-Runway-Version, наприклад2024-11-06 - Використовуйте
model: gen3a_turbo - Надайте стабільний HTTPS
promptImage - Почніть із
duration: 5і поширеного співвідношення, наприклад1280:720
Потік виконання завдання
Надішліть запит image-to-video
Опитуйте статус завдання
task_not_exist, зачекайте кілька секунд і повторіть спробу.Авторизації
Bearer token authentication. Use your CometAPI key.
Заголовки
Runway version header, for example 2024-11-06.
Тіло
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 Відповідь
Task accepted.