AI Shorts
Create a AI Shorts task
POST
/
api
/
ai_shorts
/
Authorizations
X-API-ID
string
headerrequiredAPI ID, from your settings page.
X-API-KEY
string
headerrequiredAPI Key, from your settings page.
Body
aspect_ratio
enum<string>
required9x16
- 9X1616x9
- 16X91x1
- 1X1
Available options:
9x16
, 16x9
, 1x1
script
string
requiredstyle
enum<string>
required4K realistic
- _4K_REALISTIC3D
- _3DCinematic
- CINEMATICCartoonish
- CARTOONISHLine art
- LINE_ARTPixel art
- PIXEL_ARTMysterious
- MYSTERIOUSSteam punk
- STEAM_PUNKCollage
- COLLAGEKawaii
- KAWAII
Available options:
4K realistic
, 3D
, Cinematic
, Cartoonish
, Line art
, Pixel art
, Mysterious
, Steam punk
, Collage
, Kawaii
accent
string | null
Accent to be used for the video, default null and default voice will be used
caption_setting
object
Caption setting, default null and default caption setting will be used
Response
201 - application/json
id
string
requiredmedia_job
string | null
requiredstatus
enum<string>
requiredpending
- Pendingin_queue
- In Queuerunning
- Runningfailed
- Faileddone
- Donerejected
- Rejected
Available options:
pending
, in_queue
, running
, failed
, done
, rejected
video_output
string | null
requiredpreview
string | null
requiredis_hidden
boolean
requiredcreated_at
string
requiredupdated_at
string
requiredpermission_type
enum<string>
requiredprivate
- Privateworkspace
- Workspacepublic
- Public
Available options:
private
, workspace
, public
user
integer | null
requiredworkspace
string | null
requiredname
string
Maximum length:
255
script
string | null
Text to be converted to video
aspect_ratio
Aspect ratio of the video
9x16
- 9X1616x9
- 16X91x1
- 1X1
Available options:
9x16
, 16x9
, 1x1
style
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
Available options:
4K realistic
, 3D
, Cinematic
, Cartoonish
, Line art
, Pixel art
, Mysterious
, Steam punk
, Collage
, Kawaii
created_from_api
boolean
Flow is created from api or not
caption_setting
any | null
Caption setting, default null and default caption setting will be used
accent
string | null
Accent to be used for the video, default null and default voice will be used