{
"ErrCode": 0,
"ErrMsg": "success",
"Resp": {
"media_id": 0,
"media_type": "video",
"url": "https://media.pixverse.ai/111111.mp4"
}
}{
"ErrCode": 0,
"ErrMsg": "Success",
"Resp": {
"keyframe_id": 1,
"keyframe_url": "https://media.pixverse.ai/xx.png",
"credits": 2,
"mask_info": [
{
"mask_id": "0",
"mask_name": "person",
"mask_url": "https://media.pixverse.ai/xx.png"
},
{
"mask_id": "0",
"mask_name": "object",
"mask_url": "https://media.pixverse.ai/xx.png"
},
{
"mask_id": "0",
"mask_name": "background",
"mask_url": "https://media.pixverse.ai/xx.png"
}
]
}
}| Parameter Name | Required | Type | Description |
|---|---|---|---|
| source_video_id | choose either source_video_id or video_media_id, not both. | int | video from PixVerse API |
| video_media_id | choose either source_video_id or video_media_id, not both | int | uploaded external video |
| keyframe_id | optional | int | from 1 to The position of the last video frame. If not provided, the default value is 1. |
mask_id, the associated video_id and keyframe_id must match the ones used during the mask selection generation.| Parameter Name | Required | Type | Description |
|---|---|---|---|
| source_video_id | choose either source_video_id or video_media_id, not both. | int | video from PixVerse API |
| video_media_id | choose either source_video_id or video_media_id, not both | int | uploaded external video |
| keyframe_id | optional | int | from 1 to The position of the last video frame. If not provided, the default value is 1. |
| mask_id | optional | string | mask_id from Mask selection API |
| img_id | required | int | img_id from upload API |
| quality | required | string | "360p","540p","720p". "1080p" not supported |
{
"ErrCode": 0,
"ErrMsg": "success",
"Resp": {
"video_id": 0
}
} {
"ErrCode": 0,
"ErrMsg": "string",
"Resp": {
"create_time": "string",
"id": 0,
"modify_time": "string",
"negative_prompt": "string",
"outputHeight": 0,
"outputWidth": 0,
"prompt": "string",
"resolution_ratio": 0,
"seed": 0,
"size": 0,
"status": 5,
"style": "string",
"url": "string"
}
} {
"ErrCode": 0,
"ErrMsg": "string",
"Resp": {
"create_time": "string",
"id": 0,
"modify_time": "string",
"negative_prompt": "string",
"outputHeight": 0,
"outputWidth": 0,
"prompt": "string",
"resolution_ratio": 0,
"seed": 0,
"size": 0,
"status": 1,
"style": "string",
"url": "string"
}
}