Image to Video
Sử dụng CometAPI để gọi image_to_video của Runway và chuyển đổi URL hình ảnh tĩnh thành đầu ra video thô, với hỗ trợ X-Runway-Version để đảm bảo tương thích.
Sử dụng endpoint này để tạo chuyển động cho một ảnh nguồn thành 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.
Trước khi gọi
- Gửi header
X-Runway-Versionbắt buộc, ví dụ2024-11-06 - Sử dụng
model: gen3a_turbo - Cung cấp
promptImageHTTPS ổn định - Bắt đầu với
duration: 5và tỷ lệ phổ biến như1280:720
Luồng tác vụ
Polling trạng thái tác vụ
task_not_exist, hãy chờ vài giây rồi thử lại.Ủy quyền
Bearer token authentication. Use your CometAPI key.
Tiêu đề
Runway version header, for example 2024-11-06.
Nội dung
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 Phản hồi
Task accepted.