Generate Video
POST
/api/v1/video2video/generateRequest
Model ID , From /api/v1/video2video/modellist , use the value in item
The duration of the video conversion, in seconds
Max - 50M(mp4/mov) https url
Random seed value, used to fix the video conversion, generally -1 is used
V2 Only, the V2 model is used to convert videos to different conversion intensities. The options are More prompt, balance, and More video.
V2 Only, the V2 version of the model can change the content of the video, such as putting on a hat.
Keep only the main subject, remove the background
Only valid when subject_type = CUSTOM.Prompt used to retain the subject. For example, if you write dog, only the dog in the video will be converted into anime style, and the rest will retain the real state.
Used to select whether you want the system default retention principal or a custom retention principal.
While keeping the subject, the background is replaced with a solid color background.
This takes effect when bg_custom = true.must be hash color, such as #000000
mx-v2v
{
"args": {
"model": 2,
"duration": 10,
"reference_video_url": "https://cdn.goenhance.ai/user/goenhance/0dc5cb142ed43e0616881942c920d4fc.mp4"
},
"type": "mx-v2v"
}
Request samples
Responses
{
"code": 0,
"msg": "Success",
"data": {
"img_uuid": "c12b656c-747a-44fd-9c80-add79b0c52d5"
}
}