This endpoint generates a preiview of AI Editing video before redering the final video. Generating a video preview through this endpoint costs 1 credit for every 30 seconds.
id of the AI Editing video. Then you can check the preview status of your video by sending a GET request to Get AI Editing video by id endpoint.
preview field. Then you can render the video by sending a POST request to Render a AI Editing video endpoint.
status to be done when finished. Meanwhile you can find the video output in video_output field.API ID, from your settings page.
API Key, from your settings page.
film - Filmgeometric_gradient - Geometric Gradientglitch - Glitchglitter_gradient - Glitter Gradientpaper - Paperfilm, geometric_gradient, glitch, glitter_gradient, paper Caption setting, default null and default caption setting will be used
Background music URL for the video. Default is null, video will use random music.
255Volume of the background music, ranging from 0.0 to 1.0. Default is null, video will use default music volume of visual_style.
0 <= x <= 1Volume of the voiceover, ranging from 0.0 to 1.0. Default is null, video will use default voiceover volume of visual_style.
0 <= x <= 1Webhook URL for status updates. Default is null.
200pending - Pendingin_queue - In Queuerunning - Runningfailed - Faileddone - Donerejected - Rejectedpending, in_queue, running, failed, done, rejected Failed reason
Video output URL
Preview URL
Editor URL for the video. Expires in 24 hours. Available only if your API account has API editor access enabled. , expires in 24 hours.
Is the video hidden in the website projects page
Progress of the job
Credits used in this API call
Duration of the video in seconds
private - Privateworkspace - Workspacepublic - Publicprivate, workspace, public 255Text to be converted to video
Aspect ratio of the video
9x16 - 9X1616x9 - 16X91x1 - 1X19x16, 16x9, 1x1 Whether the video is talking video or not
Whether the video is one person video or not
Style to be used for the video
film - Filmgeometric_gradient - Geometric Gradientglitch - Glitchglitter_gradient - Glitter Gradientpaper - Paperfilm, geometric_gradient, glitch, glitter_gradient, paper Audio to be used for the video
255Video to be used for the video
255Size of the video
Flow is created from api or not
Caption setting, default null and default caption setting will be used
Background music URL for the video. Default is null, video will use random music.
255Volume of the background music, ranging from 0.0 to 1.0. Default is null, video will use default music volume of visual_style.
0 <= x <= 1Volume of the voiceover, ranging from 0.0 to 1.0. Default is null, video will use default voiceover volume of visual_style.
0 <= x <= 1Webhook URL for status updates. Default is null.
200