Image Generation Video (Create Task)
POST/api/v5/video/generate
Call this interface to create a video generation task. If there is no exception, the asynchronous video result can be queried using the requestId.
Request
Header Parameters
Authorization stringrequired
User Personal Token
- application/json
Body
img_urlstringrequired
Supports input of Base64 or image URL
Example:
https://cdn-static.gitcode.com/_nuxtaihub/chatexample_67.pngmodelstringrequired
Model Name
Example:
Wan2.2-I2V-A14Bpromptstringrequired
Prompt words
Example:
The kitten is taking a walk.seedint64
Random seed, range 0-2147483648
Default value:
0Example:
0Responses
- 200
Response Headers
- application/json
- Schema
- Example (auto)
Schema
request_idstring
Request ID
statusstring
Processing Status
Example:
runningerror_messagestring
Error message (appears only when an exception occurs)
{
"request_id": "string",
"status": "running",
"error_message": "string"
}