POST
/
api
/
ai_shorts
/
preview
/

Authorizations

X-API-ID
string
headerrequired

API ID, from your settings page.

X-API-KEY
string
headerrequired

API Key, from your settings page.

Body

aspect_ratio
enum<string>
required
  • 9x16 - 9X16
  • 16x9 - 16X9
  • 1x1 - 1X1
Available options:
9x16,
16x9,
1x1
script
string
required
style
enum<string>
required
  • 4K realistic - _4K_REALISTIC
  • 3D - _3D
  • Cinematic - CINEMATIC
  • Cartoonish - CARTOONISH
  • Line art - LINE_ART
  • Pixel art - PIXEL_ART
  • Mysterious - MYSTERIOUS
  • Steam punk - STEAM_PUNK
  • Collage - COLLAGE
  • Kawaii - KAWAII
Available options:
4K realistic,
3D,
Cinematic,
Cartoonish,
Line art,
Pixel art,
Mysterious,
Steam punk,
Collage,
Kawaii

Response

200 - application/json
id
string
required
media_job
string | null
required
status
string
required
video_output
string | null
required
preview
string | null
required
created_at
string
required
updated_at
string
required
permission_type
enum<string>
required
  • private - Private
  • workspace - Workspace
  • public - Public
Available options:
private,
workspace,
public
name
string
script
string | null

Text to be converted to video

aspect_ratio

Aspect ratio of the video

  • 9x16 - 9X16
  • 16x9 - 16X9
  • 1x1 - 1X1
Available options:
9x16,
16x9,
1x1
style

Style to be used for the video

  • 4K realistic - _4K_REALISTIC
  • 3D - _3D
  • Cinematic - CINEMATIC
  • Cartoonish - CARTOONISH
  • Line art - LINE_ART
  • Pixel art - PIXEL_ART
  • Mysterious - MYSTERIOUS
  • Steam punk - STEAM_PUNK
  • Collage - COLLAGE
  • Kawaii - KAWAII
Available options:
4K realistic,
3D,
Cinematic,
Cartoonish,
Line art,
Pixel art,
Mysterious,
Steam punk,
Collage,
Kawaii
is_hidden
boolean
required

Whether the job is hidden or not

created_from_api
boolean

Flow is created from api or not

user
integer | null
required
workspace
string | null
required