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 videourl
(string) - The URL of the first videourl_2
(string) - the URL of the second videosha1
(string) - the SHA1 code of the first videosha1_2
(string) - the SHA1 code of the second videocombined
(string) - the URL where the new video can be foundprogress
(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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Filerobot-Token | string | Filerobot project identifier, aka token | |
Filerobot-Key | string | Filerobot 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"}]}