This API generates new videos using motion videos and images.
Request header parameters
Content-TypestringRequired
Only application/json supported
AuthorizationstringRequired
In Bearer {{Key}} format.
Request Body parameters
extraobject
Show properties
image_assets_idstringRequired
image_assets_id can be get with guidance https://novita.ai/reference/video_generator/img2video-motion.html#_1-get-image-assets-id.
motion_video_assets_idstringRequired
motion_video_assets_id can be get with guidance https://novita.ai/reference/video_generator/img2video-motion.html#_2-get-video-assets-id. You can also use tools here: https://huggingface.co/spaces/fffiloni/video2densepose to generate your own motion videos with origin videos.
This API generates new videos using motion videos and images. The returned video can be access by API /v3/async/task-result with task_id.
Please set the Content-Type header to application/json in your HTTP request to indicate that you are sending JSON data. Currently, only JSON format is supported.
Below are some examples of videos and it's asset id that can be used as motion videos. You can also use tools Hereopen in new window to generate your own motion videos with origin videos.
HTTP status codes in the 2xx range indicate that the request has been successfully accepted, while status codes in the 5xx range indicate internal server errors.
You can get videos url in videos of response.
Request:
curl--location--request GET 'https://api.novita.ai/v3/async/task-result?task_id=6469ca5b-5929-4200-b263-241020763eb8'\--header'Authorization: Bearer {{key}}'