v1
latestOpenAPI 3.1.02026-07-26590116.2 KBGenerate Video
Headers
Request body
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
v5 only (default 720p)
Optional. A publicly accessible HTTPS URL. When the task status changes (processing / success / failed), GoEnhance sends a POST request to this URL. The request body is identical to the response of GET /api/v1/jobs/detail. If your server does not respond with HTTP 200, the notification is retried up to 3 times, with a 3-second timeout per attempt.
Example request
{
"custom_callback_url": "https://your-server.com/goenhance/callback"
}