AI Editing
Create a AI Editing task
POST
/
api
/
ai_editing
/
preview
/
Authorizations
X-API-ID
string
headerrequiredAPI ID, from your settings page.
X-API-KEY
string
headerrequiredAPI Key, from your settings page.
Body
editing_style
enum<string>
requiredfilm
- Filmgeometric_gradient
- Geometric Gradientglitch
- Glitchglitter_gradient
- Glitter Gradientpaper
- Paper
Available options:
film
, geometric_gradient
, glitch
, glitter_gradient
, paper
video_url
string
requiredscript
string | null
Text to be converted to video
Response
200 - 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
requiredcreated_at
string
requiredupdated_at
string
requiredpermission_type
enum<string>
requiredprivate
- Privateworkspace
- Workspacepublic
- Public
Available options:
private
, workspace
, public
is_hidden
boolean
requiredWhether the job is hidden or not
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
is_talking_video
boolean
Whether the video is talking video or not
is_one_person_in_video
boolean
Whether the video is one person video or not
editing_style
Style to be used for the video
film
- Filmgeometric_gradient
- Geometric Gradientglitch
- Glitchglitter_gradient
- Glitter Gradientpaper
- Paper
Available options:
film
, geometric_gradient
, glitch
, glitter_gradient
, paper
duration
number
Duration of the video
audio_url
string | null
Audio to be used for the video
Maximum length:
255
video_url
string | null
Video to be used for the video
Maximum length:
255
size
number
Size of the video
created_from_api
boolean
Flow is created from api or not