Generate preview of AI Shorts
This endpoint generates a preiview of AI Shorts video before redering the final video. Generating a video preview through this endpoint costs 1 credit for every 30 seconds.
Queue a preview generation task
Generate a preview of AI Shorts video.
Check preview status
Now our AI model is generating preview of AI Shorts video. It will return a id
of the AI Shorts video. Then you can check the preview status of your video by sending a GET request to Get AI Shorts video by id endpoint.
Once the preview of AI Shorts video is generated, there will be data in preview
field. Then you can render the video by sending a POST request to Render a AI Shorts video endpoint.
Render the video
Check render status
You will find the status
to be done
when finished. Meanwhile you can find the video output in video_output
field.
Authorizations
API ID, from your settings page.
API Key, from your settings page.
Body
9x16
- 9X1616x9
- 16X91x1
- 1X1
9x16
, 16x9
, 1x1
4K realistic
- _4K_REALISTIC3D
- _3DCinematic
- CINEMATICCartoonish
- CARTOONISHLine art
- LINE_ARTPixel art
- PIXEL_ARTMysterious
- MYSTERIOUSSteam punk
- STEAM_PUNKCollage
- COLLAGEKawaii
- KAWAII
4K realistic
, 3D
, Cinematic
, Cartoonish
, Line art
, Pixel art
, Mysterious
, Steam punk
, Collage
, Kawaii
Accent to be used for the video, default null and default voice will be used
Background music URL for the video. Default is null, video will use random music.
255
Volume 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 < 1
Caption setting, default null and default caption setting will be used
Volume of the voiceover, ranging from 0.0 to 1.0. Default is null, video will use default voiceover volume of visual_style.
0 < x < 1
Webhook URL for status updates. Default is null.
200
Response
Credits used in this api call
private
- Privateworkspace
- Workspacepublic
- Public
private
, workspace
, public
pending
- Pendingin_queue
- In Queuerunning
- Runningfailed
- Faileddone
- Donerejected
- Rejected
pending
, in_queue
, running
, failed
, done
, rejected
Accent to be used for the video, default null and default voice will be used
Aspect ratio of the video
9x16
- 9X1616x9
- 16X91x1
- 1X1
9x16
, 16x9
, 1x1
Background music URL for the video. Default is null, video will use random music.
255
Volume 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 < 1
Caption setting, default null and default caption setting will be used
Flow is created from api or not
255
Text to be converted to video
Style to be used for the video
4K realistic
- _4K_REALISTIC3D
- _3DCinematic
- CINEMATICCartoonish
- CARTOONISHLine art
- LINE_ARTPixel art
- PIXEL_ARTMysterious
- MYSTERIOUSSteam punk
- STEAM_PUNKCollage
- COLLAGEKawaii
- KAWAII
4K realistic
, 3D
, Cinematic
, Cartoonish
, Line art
, Pixel art
, Mysterious
, Steam punk
, Collage
, Kawaii
Volume of the voiceover, ranging from 0.0 to 1.0. Default is null, video will use default voiceover volume of visual_style.
0 < x < 1
Webhook URL for status updates. Default is null.
200