Skip to main content
POST

Generate Video

This API is used to create video generation tasks.

Request

Request Headers

string
required
API key authentication, format: Bearer YOUR_API_KEY
string
required
Request content type, must be: application/json

Request Parameters

question and questionImages must include at least one.
string
required
Question content (text format)
array
Question content (image format), input image URLs or base64
string
Reference answer (text format): ensures accurate explanatory content generation
array
Reference answer (image format), input image URLs or base64
string
default:"m"
Video quality level:
  • h: High quality
  • m: Medium quality (default)
  • l: Low quality
string
Callback URL when the task is completed (optional), complete URL including http

Response

string
Request status: success or error
object
Response data object

Examples

Notes

  • Video generation is an asynchronous process that may take from a few minutes to several tens of minutes
  • Please use the returned task_id to query task status
  • If notify_url is provided, a callback notification will be sent when the task is completed