Eranol LogoEranol
BlogCommunityDocumentationPricingSign In

General

OverviewGet Started

Universal

Add IntroAdd OutroAudio to VideoBackground AudioCaptions ApiComposeConcatConvert a video file to MP4Convert Audio to Mp3Convert Audio to wavConvert to JPGConvert to WebMConvert to WebPDenoiseEnhanceExtract audio track from a videoExtract images from a videoGenerate a GIF from a videoHighlightsImage TestMergeNotifyOverlayProgress BarReframeRemove SilenceThumbnailTikTokTrimVerifyWatermarkZoom

General

DeleteImage StatusStatusTikTok StatusFFmpeg Results

Need help?

Contact Support

Compose

POST

Compose Videos in order with this api Video format we support : mp4,webm,avi,mkv,mov,flv,wmv,ts,mts,m4v,3gp,ogv

Overview

Compose Videos in order with this api

Video format we support : mp4,webm,avi,mkv,mov,flv,wmv,ts,mts,m4v,3gp,ogv

Endpoint

POST https://eranol.com/api/v1/ffmpeg/video/compose

Request Body

{
  "overlays": [
    {
      "url": "https://drive.google.com/file/d/1m7tEpD6j6H0xc5sfdmP1_eYaSJ7f-KEn/view?usp=sharing",
      "type": "video",
      "end_time": 5,
      "start_time": 2
    },
    {
      "url": "https://drive.google.com/file/d/1KOiZk-hIufPfaPAA6EGsUjatX1gngHEL/view?usp=sharing",
      "type": "image",
      "end_time": 9,
      "start_time": 7
    },
    {
      "url": "https://drive.google.com/file/d/1qG-MU1puA97lbAGpxe73ujWHKOFBy6PC/view?usp=sharing",
      "type": "image",
      "end_time": 13,
      "start_time": 10
    },
    {
      "url": "https://drive.google.com/file/d/192Q3crtd78UCQBky19dlniUpcx6aMQyD/view?usp=sharing",
      "type": "video",
      "end_time": 17,
      "start_time": 15
    },
    {
      "url": "https://drive.google.com/file/d/1qmSrNHWtD_Xw5eLbqKy1X9SxIG6Df3sz/view?usp=sharing",
      "type": "image",
      "end_time": 20,
      "start_time": 19
    },
    {
      "url": "https://drive.google.com/file/d/1jARcma7U_ruvqsCpCGn2gdcHzgUIS4dE/view?usp=sharing",
      "type": "image",
      "end_time": 22,
      "start_time": 21
    },
    {
      "url": "https://drive.google.com/file/d/1u0CBgVwk2oEV5g-g6qt8CWgUogTbfBqM/view?usp=sharing",
      "type": "video",
      "end_time": 26,
      "start_time": 23
    },
    {
      "url": "https://drive.google.com/file/d/1GkxhO7z8-VDY-f9RCIOYaQmRBVDWAW7N/view?usp=sharing",
      "type": "image",
      "end_time": 29,
      "start_time": 27
    }
  ],
  "main_video_url": "https://drive.google.com/file/d/1luBj--jqBTlCCMRcsYQYY1A3cPxkdprx/view?usp=drive_link"
}

Response Example

[
  {
    "job_id": "1406c589-a1f4-45d5-8745-aae07bc4de38",
    "status": "pending",
    "message": "Job created. Poll status_url for progress.",
    "result_url": "https://eranol.com/api/v1/ffmpeg/result/1406c589-a1f4-45d5-8745-aae07bc4de38",
    "status_url": "https://eranol.com/api/v1/ffmpeg/status/1406c589-a1f4-45d5-8745-aae07bc4de38"
  }
]

Error Codes

CodeMeaning
401Missing or invalid API key
402Insufficient credits
422Validation error — check your request body
429Rate limit exceeded — slow down requests
500Internal server error — try again or contact support