Overview
PixVerse Open API first provideV6 andC1 Model, supported Text-to-Video(t2v)and Image-to-Video(i2v).
Base URL: https://mm-internal-cn.leonecloud.com
Authentication
All endpoints require a token in the request header for authentication:
Authorization: Bearer {YOUR_AUTH_TOKEN}Endpoints
| Model | Create Taskendpoint |
|---|---|
| PixVerse V6 | POST /api/v2/open/aigc/pix-verse-v6 |
| PixVerse C1 | POST /api/v2/open/aigc/pix-verse-c1 |
| Query Task | GET /api/v2/open/aigc/{taskId} |
| query | POST /api/v2/open/aigc/batch |
Create Task
Content-Type: application/json
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| prompt | string | Yes | Prompt, up to 1500 characters |
| genType | string | No | Generation type:t2v(default) / i2v |
| imageUrls | string[] | Condition | Reference image URL; i2v must 1 images |
| base64File | string | No | Base64 encodedimage, willimageUrls first |
| base64FileList | string[] | No | Base64 encodedimagelist, willimageUrls after |
| resolution | string | No | Resolution:720P / 1080P(default) |
| aspectRatio | string | No | Aspect ratio:16:9(default) / 9:16 / 1:1 / 4:3 / 3:4 |
| duration | int | No | videoDuration, default 5 seconds, supported 5 or 8 seconds |
| callbackUrl | string | No | Callback notification URL after the task is complete |
Quick Start
PixVerse V6 Text-to-Video
curl -X POST "https://mm-internal-cn.leonecloud.com/api/v2/open/aigc/pix-verse-v6" \
-H "Authorization: Bearer your_auth_token_here" \
-H "Content-Type: application/json" \
-d '{
"prompt": "in character first,,",
"genType": "t2v",
"resolution": "1080P",
"aspectRatio": "16:9",
"duration": 5
}'PixVerse C1 Image-to-Video
curl -X POST "https://mm-internal-cn.leonecloud.com/api/v2/open/aigc/pix-verse-c1" \
-H "Authorization: Bearer your_auth_token_here" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Reference image in the character,,",
"genType": "i2v",
"imageUrls": [
"https://example.com/reference.jpg"
],
"resolution": "1080P",
"aspectRatio": "16:9",
"duration": 8
}'Response Example
{
"code": 0,
"msg": "success",
"data": {
"taskId": "task_20260518103000_abc12345",
"status": "processing",
"createdAt": "2026-05-18 10:30:00"
}
}Query Task Status
GET /api/v2/open/aigc/{taskId}
curl -X GET "https://mm-internal-cn.leonecloud.com/api/v2/open/aigc/task_20260518103000_abc12345" \
-H "Authorization: Bearer your_auth_token_here"Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | int | Status Code, 0 indicates success |
| msg | string | Message |
| data.taskId | string | Task ID |
| data.status | string | processing / success / failed |
| data.result | string[] | Generated video URL list, Successreturned when applicable |
| data.errorMsg | string | Error Message, Failurereturned when applicable |
| data.createdAt | string | Created Time |
| data.updatedAt | string | Updated Time |
Response Example
{
"code": 0,
"msg": "success",
"data": {
"taskId": "task_20260518103000_abc12345",
"status": "success",
"result": [
"https://fc-gw-sh.oss-accelerate.aliyuncs.com/videos/2026/05/18/output_001.mp4"
],
"createdAt": "2026-05-18 10:30:00",
"updatedAt": "2026-05-18 10:32:30"
}
}Batch Query Task Status
POST /api/v2/open/aigc/batch
{
"taskIds": [
"task_20260518103000_abc12345",
"task_20260518103200_def67890"
]
}Callback Notification
Create TaskwhencallbackUrl after, task complete will POST:```json
{
"event": "task.completed",
"taskId": "task_20260518103000_abc12345",
"status": "success",
"result": ["https://fc-gw-sh.oss-accelerate.aliyuncs.com/videos/output_001.mp4"],
"errorMsg": "",
"timestamp": "2026-05-18T10:32:30+08:00"
}
## Error Codes
| code | Description |
|------|------|
| 0 | Success |
| 10002 | Parametermissing or malformed |
| 10005 | API Key invalid or missing |
| 30003 | Task not found |
| 90003 | Internal server error |