Imagem para vídeo
Use o CometAPI para chamar o image_to_video do Runway e converter uma URL de imagem estática em saída de vídeo bruta, com suporte a X-Runway-Version para compatibilidade.
Use este endpoint para animar uma imagem de origem em um vídeo do 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.
Antes de chamar
- Envie o cabeçalho obrigatório
X-Runway-Version, por exemplo2024-11-06 - Use
model: gen3a_turbo - Forneça um
promptImageHTTPS estável - Comece com
duration: 5e uma proporção comum, como1280:720
Fluxo da tarefa
Enviar a solicitação de imagem para vídeo
Consultar o status da tarefa
task_not_exist, aguarde alguns segundos e tente novamente.Autorizações
Bearer token authentication. Use your CometAPI key.
Cabeçalhos
Runway version header, for example 2024-11-06.
Corpo
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 Resposta
Task accepted.