Image to Video
Gunakan CometAPI untuk memanggil Runway image_to_video dan mengonversi URL gambar diam menjadi output video mentah, dengan dukungan X-Runway-Version untuk kompatibilitas.
Gunakan endpoint ini untuk menganimasikan satu gambar sumber menjadi 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.
Sebelum Anda memanggilnya
- Kirim header
X-Runway-Versionyang wajib, misalnya2024-11-06 - Gunakan
model: gen3a_turbo - Sediakan
promptImageHTTPS yang stabil - Mulai dengan
duration: 5dan rasio umum seperti1280:720
Alur tugas
Kirim permintaan image-to-video
Polling status tugas
task_not_exist, tunggu beberapa detik lalu coba lagi.Otorisasi
Bearer token authentication. Use your CometAPI key.
Header
Runway version header, for example 2024-11-06.
Body
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 Respons
Task accepted.