Combine - URL

POST {{video-api-server}}/combine/url

Combine URL Request

This endpoint allows you to combine two video URLs.

Important: The combined video will have the resolution of the lower-resolution input video to avoid upscaling.

Request Body

  • url (string): The URL of the first video.

  • url_2 (string): The URL of the second video.

Response Body

  • uuid (string) - A unique identifier for the combined video

  • url (string) - The URL of the first video

  • url_2 (string) - the URL of the second video

  • sha1 (string) - the SHA1 code of the first video

  • sha1_2 (string) - the SHA1 code of the second video

  • combined (string) - the URL where the new video can be found

  • progress (string) - the URL where you can check the status of the delivery

Error Handling

If the URLs are invalid, the API returns a 400 Bad Request error with the message: Error in extracting audio from video.

Request Body

{"0"=>{"url"=>"https://www.pexels.com/download/video/16343098", "url_2"=>"https://www.pexels.com/download/video/2231485"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Filerobot-TokenstringFilerobot project identifier, aka token
Filerobot-KeystringFilerobot API key

RESPONSES

status: OK

{"status":"ok","version":2.11,"result":[{"uuid":"ab07123b-56c9-44c2-be3c-a40dc3f6fc19","url":"https://www.pexels.com/download/video/16343098","url_2":"https://www.pexels.com/download/video/2231485","sha1":"dfec29eb2d9d5234e4ed5b70cebd4da00f721d26","sha1_2":"298da7e2e2e6e01764d6aec9802608efce2b49e7","combined":"https://fbmjmuoeb.filerobot.com/https://filerobot.s3.eu-west-3.amazonaws.com/fbmjmuoeb/combined_videos/AzIlg/16343098_2231485_combined.mp4","progress":"https://api.filerobot.com/fbmjmuoeb/v4/video-status/ZXUtb3YtNzA2LWdyYTIuZWxhc3RpYy11cGxvYWRlci5haXJzdG9yZS5zY2FsM2ZsM3guY29tOjg3MzI__ab07123b-56c9-44c2-be3c-a40dc3f6fc19"}]}