{
"ErrCode": 0,
"ErrMsg": "success",
"Resp": {
"media_id": 0,
"media_type": "video",
"url": "https://media.pixverse.ai/111111.mp4"
}
}
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 |
model | Required | string | v3.5/v4/v4.5 |
prompt | Required | string | =< 2048 characters |
negative_prompt | Optional | string | =< 2048 characters |
img_id | Requried | integer | Image ID after uploading image interface. Required for image-to-video generation |
template_id | Optional | integer | Must activate effects in effects management before use. Some effects don't support certain resolutions, please check effects management |
style | Optional | string | "anime" "3d_animation" "day" "cyberpunk" "comic" Do not include style parameter unless needed |
motion_mode | Optional | string | Default - "normal" "fast"(only allows 5-second duration) 1080p doesn't support "fast". If not provided, defaults to normal |
duration | Required | integer | 5,8 1080p doesn't support 8 |
quality | Required | string | "360p"(Turbo model), "540p", "720p", "1080p" |
seed | Optional | integer | Random seed, int32 random number between 0 - 2147483647 |
{
"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"
}
}