Skip to main content
The resources (image, video) generated by our API are valid for 7 days. Please save the relevant resources as soon as possible to prevent expiration.

Endpoint

Request Headers

Body Attributes

Response Attributes

Example

Request Body

Request

Response

Important Notes

  • Image Quality: Use high-resolution images with clearly visible faces for better results
  • Video Format: MP4 format is required for source videos
  • Duration: If not specified, duration will be automatically detected from the source video. Maximum is 120 seconds
  • Mode Options:
    • animate: Applies character animation to the image using the video’s motion
    • replace: Replaces faces in the video with the character from the image
  • Prompt: Use the prompt parameter for enhanced control over the animation (max 500 characters)
  • Resolution: Choose between 480p or 720p or 1080p based on your needs - higher resolution may take longer to process
  • Resource Expiration: Generated videos are valid for 7 days, save them promptly
  • Webhook: Use webhookUrl to receive notifications when video generation is complete
  • Save the _id from the response to check video status using the Get Video Info Result API