https://app-api.pixverse.ai/openapi/v2/video/restyle/generate
https://app-api.pixverse.ai/openapi/v2/video/restyle/list
{
"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 |
restyle_id | choose either restyle_id or restyle_prompt, not both. | string | from restyle list |
restyle_prompt | choose either restyle_id or restyle_prompt, not both. | string | =< 2048 characters, cannot empty |
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"
}
}