POST
/
edit
Request video editing
curl --request POST \
  --url https://mango.quickreel.io/api/v2/edit \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "videoUrl": "https://www.youtube.com/watch?v=eY4pgeNBhk4",
  "language": "english",
  "webhookUrl": "https://webhook-test.com/05674b0b229c29199fec105309a00e16",
  "template": "cinematic",
  "brollFrequency": "low",
  "subtitleHighlightColor": "#000000",
  "title": "My Video",
  "duration": 10,
  "additionalFeatures": {
    "addBgm": "false",
    "removeFillerWords": "false",
    "removeSilenceParts": "false"
  },
  "additionalSettings": {
    "soundEffectsVolume": "0.5",
    "applySpearkerDetection": "true"
  },
  "trim": {
    "start": 5,
    "end": 10
  },
  "bgVideoSettings": {
    "type": "satisfying",
    "url": "https://www.samplelib.com/lib/preview/mp4/sample-30s.mp4",
    "shape": "rectangle",
    "position": "top-right",
    "stroke": {
      "color": "#000000",
      "width": 10
    }
  }
}'
{
  "status": "created",
  "message": "project created successfully",
  "projectId": "667bbc6973e392d3f7f6f620"
}

Authorizations

x-api-key
string
header
required

Body

application/json

Request payload for video editing

videoUrl
string
required

Video URL or YouTube URL to be edited ( max 2 minutes ) additionaly you can use the trim property to trim the video from the start and end to cap it to 2 minutes. ( end - start <= 2 minutes )

Example:

"https://www.youtube.com/watch?v=eY4pgeNBhk4"

language
enum<string>
required

Preferred language for subtitles

Available options:
bulgarian,
catalan,
chinese (mandarin, simplified),
chinese (mandarin, traditional),
czech,
danish,
dutch,
english,
estonian,
finnish,
flemish,
french,
german,
german (switzerland),
greek,
hindi,
hungarian,
indonesian,
italian,
japanese,
korean,
latvian,
lithuanian,
malay,
multilingual (spanish + english),
norwegian,
polish,
portuguese,
romanian,
russian,
slovak,
spanish,
swedish,
thai,
turkish,
ukrainian,
vietnamese
Example:

"english"

webhookUrl
string
required

Webhook URL for receiving processing updates

Example:

"https://webhook-test.com/05674b0b229c29199fec105309a00e16"

template
enum<string>
required

Template to use for the video editing (cinematic, vivid, impact, storyteller, kinetic, split). For more information on the templates, please visit Template Style

Available options:
cinematic,
vivid,
impact,
storyteller,
kinetic,
split,
movienight,
vivid2,
chillguy,
chillguy2,
vortex
Example:

"cinematic"

brollFrequency
enum<string>
default:medium

Broll Frequency (low, medium, high)

Available options:
low,
medium,
high
Example:

"low"

subtitleHighlightColor
string

The color (in hexadecimal or other format) used to highlight subtitles in the video.

Example:

"#000000"

title
string

The title of the video Works only for vivid ,vivid2,storyteller,movienight templates

Example:

"My Video"

duration
number

The duration till to display the title works only for vivid ,vivid2

Example:

10

additionalFeatures
object
additionalSettings
object
trim
object
bgVideoSettings
object

Defines the background video's appearance and positioning works only for statisfying template

Response

Request created successfully

status
string

Status of the request

Example:

"created"

message
string

Success message

Example:

"project created successfully"

projectId
string

Project ID

Example:

"667bbc6973e392d3f7f6f620"