Формат сумісності
Перенесення стилю відео
Використовуйте endpoint Runway Video to Video Style Redraw від CometAPI, щоб змінювати стиль відео через POST /runway/pro/video2video із підтримкою X-Runway-Version.
POST
Video to Video Style Redraw
Використовуйте цей endpoint, щоб змінити стиль наявного відео.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 - Надайте стабільний URL джерельного
video - Використовуйте
model: gen4 - Додайте
options.secondsіз тривалістю вихідного відео - Почніть із помірного значення
structure_transformation, перш ніж сильніше посилювати перенесення стилю
Потік завдання
Надішліть завдання на зміну стилю
Надішліть вихідне відео, prompt і options, а потім збережіть повернений id завдання.
Опитуйте статус завдання
Продовжуйте з Feed Get Task, доки завдання не досягне кінцевого стану.
Авторизації
Bearer token authentication. Use your CometAPI key.
Заголовки
Optional Runway version header, for example 2024-11-06.
Тіло
application/json
Webhook URL that receives a POST request with the result when the task completes.
video
string
за замовчуванням:https://runwaycdn.rixapi.com/attachments/video/runway/20241015/82bc23c83b5c32e75059c8328df5cffb.mp4
обов'язково
URL of the source video to restyle.
Model version to use, e.g. gen4.
Text prompt describing the target style for the redraw.
Additional processing options.