Image-to-Video
POST /runway/pro/generate tạo video Runway GEN-4 từ hình ảnh tham chiếu, với hỗ trợ raw graphic transfer và kiểm soát X-Runway-Version.
Sử dụng endpoint này khi bạn muốn dùng routeDocumentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
generate theo compatibility-format của Runway với một hoặc nhiều hình ảnh tham chiếu.
Trước khi gọi
- Gửi header
X-Runway-Versionbắt buộc, ví dụ2024-11-06 - Sử dụng
model: gen4 - Cung cấp
imagenguồn và prompt mô tả chuyển động hoặc phép biến đổi - Giữ request đầu tiên đơn giản trước khi thêm các tinh chỉnh về phong cách và motion-vector
Luồng tác vụ
Tạo tác vụ theo compatibility-format
Poll tác vụ
task_not_exist, hãy đợi vài giây rồi thử lại.Ủy quyền
Bearer token authentication. Use your CometAPI key.
Tiêu đề
Optional Runway version header, for example 2024-11-06.
Nội dung
Webhook URL that receives a POST request with the result when the task completes.
Aspect ratio of the generated video, e.g. 1280:720.
Text prompt describing the desired video content or motion.
Model version to use, e.g. gen4.
URL of the source image to animate.
Artistic style for the generated video, e.g. cinematic.
Advanced generation options.
URL of the end-frame image. When provided, the video transitions toward this frame.