Skip to main content

apiV1VideoDiffusionPost()

Generate a video from text prompt or animate an existing image.
Image-to-video animation (from generated image):
Image-to-video animation (from image URL):
Parameters:
  • prompt (String): Video prompt or “[image_url] prompt text” (1-8192 characters)
  • videoType (Number): Quality (0=480p, 1=720p)
  • jobId (String, optional): For animating from existing generation task
  • imageNo (Number, optional): Image number (0-3) when using jobId
  • callback (String): Webhook URL
Returns: Promise resolving to response with job_id and status

apiV1ExtendVideoPost()

Extend an existing video.
Parameters:
  • jobId (String): Original video task ID
  • videoNo (Number): Video number (0-3)
  • prompt (String, optional): Extension prompt (1-8192 characters)
  • callback (String): Webhook URL

apiV1VideoUpscalePost()

Upscale video to higher resolution.
Parameters:
  • jobId (String): Original video task ID
  • videoNo (Number): Video number (0-3)
  • callback (String): Webhook URL

Complete Example


Next Steps