Video / PixVerse

PixVerse Video Generation

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

ModelCreate Taskendpoint
PixVerse V6POST /api/v2/open/aigc/pix-verse-v6
PixVerse C1POST /api/v2/open/aigc/pix-verse-c1
Query TaskGET /api/v2/open/aigc/{taskId}
queryPOST /api/v2/open/aigc/batch

Create Task

Content-Type: application/json

Request Parameters

ParameterTypeRequiredDescription
promptstringYesPrompt, up to 1500 characters
genTypestringNoGeneration type:t2v(default) / i2v
imageUrlsstring[]ConditionReference image URL; i2v must 1 images
base64FilestringNoBase64 encodedimage, willimageUrls first
base64FileListstring[]NoBase64 encodedimagelist, willimageUrls after
resolutionstringNoResolution:720P / 1080P(default)
aspectRatiostringNoAspect ratio:16:9(default) / 9:16 / 1:1 / 4:3 / 3:4
durationintNovideoDuration, default 5 seconds, supported 5 or 8 seconds
callbackUrlstringNoCallback 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

ParameterTypeDescription
codeintStatus Code, 0 indicates success
msgstringMessage
data.taskIdstringTask ID
data.statusstringprocessing / success / failed
data.resultstring[]Generated video URL list, Successreturned when applicable
data.errorMsgstringError Message, Failurereturned when applicable
data.createdAtstringCreated Time
data.updatedAtstringUpdated 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 |
Updated 2026-09-02