Pricing
Compare models →Pricing is based on the combined duration of the input video clips.
| Input Clips | Total Duration | Price |
|---|---|---|
| 2 × 5s | 10s | $0.002 |
| 3 × 10s | 30s | $0.006 |
| 4 × 15s | 60s | $0.012 |
| 10 × 30s | 300s | $0.06 |
| 20 × 30s | 600s | $0.12 |
The combined input duration is rounded up to the next whole second, with a minimum of 3 seconds and a maximum of 600 seconds for billing.
Transitions, background audio, audio volume and original-audio settings do not add separate charges. Crossfades may shorten the finished video; billing still uses the combined input duration, subject to the limits above.
Input schema
| Parameter | Type | Description |
|---|---|---|
videosRequired | array | The clips to join, in playing order: 2 to 20 videos. The merged video is at most 600 seconds; clips that would start later are left out and the last one is cut. Clips of another shape are fitted into the first clip's frame with black bars, never stretched.Items: 2–20JSON schema{
"items": {
"type": "string"
}
} |
transition | string | fade crossfades picture and sound between clips; none cuts straight from one clip to the next.fadenone"fade" |
transition_duration | number | Length of each crossfade in seconds (used with transition fade).Default: 0.5Minimum: 0.1 · Maximum: 2 |
audio | string | Optional background music, looped or cut to the length of the merged video and faded out at the end. |
audio_volume | number | Volume of the background music, from 0 (silent) to 1 (as recorded).Default: 0.3Minimum: 0 · Maximum: 1 |
keep_original_audio | boolean | Keep the clips' own sound. Turn off to use only the background music, or to get a silent video.Default: true |
README
Video Merger
Video Merger combines 2–20 video clips into a single MP4 in the order provided. Choose straight cuts or crossfades, optionally add background music, and control whether the original clip audio is preserved.
The merged video can be up to 600 seconds long.
Why Choose This?
- Multi-clip merging — Combine up to
20video clips in a specified order.
- Transition control — Use straight cuts or crossfades between clips.
- Background music — Add an optional audio track with adjustable volume.
- Original audio control — Keep or remove the source clips' audio.
- Automatic output alignment — Clips are adapted to the size and frame rate of the first video.
Parameters
| Parameter | Required | Description |
|---|---|---|
| videos | Yes | Between 2 and 20 video clips, merged in the order provided. The merged video is limited to 600 seconds. |
| transition | No | Transition between clips: fade for crossfades or none for straight cuts. Default: fade. |
| transition_duration | No | Crossfade duration from 0.1 to 2 seconds. Default: 0.5. Applies when transition=fade and may be reduced for short clips. |
| audio | No | Optional background audio track. It is looped or trimmed to match the merged video duration. |
| audio_volume | No | Background-audio volume from 0 to 1. Default: 0.3. Applies when audio is provided. |
| keep_original_audio | No | Keep the original audio tracks from the source clips. Default: true. |
How to Use
- Add video clips — Provide
2–20videos in playback order.
- Choose transitions — Select
fadeornone, and configuretransition_durationwhen using crossfades.
- Add background music (optional) — Provide an audio track and set its volume.
- Configure source audio — Choose whether to keep the original clip audio.
- Submit — Merge the clips and retrieve the resulting MP4.
Pricing
Pricing is based on the combined duration of the input video clips.
| Input Clips | Total Duration | Price |
|---|---|---|
| 2 × 5s | 10s | $0.002 |
| 3 × 10s | 30s | $0.006 |
| 4 × 15s | 60s | $0.012 |
| 10 × 30s | 300s | $0.06 |
| 20 × 30s | 600s | $0.12 |
The combined input duration is rounded up to the next whole second, with a minimum of 3 seconds and a maximum of 600 seconds for billing.
Transitions, background audio, audio volume and original-audio settings do not add separate charges. Crossfades may shorten the finished video; billing still uses the combined input duration, subject to the limits above.
Best Use Cases
- Multi-shot videos — Combine separately generated or recorded shots into one sequence.
- Short-form content — Join hooks, scenes or segments for social video workflows.
- Advertising edits — Combine multiple creative segments into one ad.
- Story sequences — Assemble individual scenes into a continuous video.
- Compilation workflows — Merge several related clips into one output file.
Pro Tips
- Use similar aspect ratios and resolutions across source clips when possible.
- Use short crossfades for softer transitions between scenes.
- Use
transition=nonewhen direct cuts better match the editing style.
- Lower background-music volume when the source clips contain dialogue.
- Arrange the input clips in the exact order they should appear in the final video.
Notes
- Supports
2–20input clips, with a merged-video limit of600seconds. Later clips may be omitted, and the result may be shortened to fit the limit.
- Clips with different aspect ratios are fitted into the first video's frame with black bars rather than stretched.
- Crossfade duration is limited by the length of the clips.
transition_durationhas no effect whentransition=none.
- If
keep_original_audio=false, only the added background audio is used. Without background audio, the result is silent.
Related Models
- Video Eraser — Remove selected objects or unwanted elements from video.
- Video Restorer — Restore and enhance existing video footage.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Video Merger API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/video-merger for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"videos": [
"https://static.website-files.org/assets/video-generator/landing/showcase/01-b2f9ad31587b.mp4"
],
"transition": "fade",
"transition_duration": 0.5,
"audio": "https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3",
"audio_volume": 0.3,
"keep_original_audio": true
}Video Merger API — Frequently asked questions
What is the Video Merger API?
Video Merger is a OpenSIAI model for video processing, exposed as a REST API on OpenSIAI. Video Merger joins 2 to 20 video clips into one video with crossfades or straight cuts and optional background music, fitting every clip into the first clip's frame. Ready-to-use REST inference API, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Video Merger API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/opensi-ai/video-merger.
How much does Video Merger cost per run or per second?
Video Merger starts at $0.0002 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Video Merger accept?
Key inputs: audio, audio_volume, keep_original_audio, transition, transition_duration, videos. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/opensi-ai/video-merger.
How long does Video Merger take to generate?
Reported generation time on OpenSIAI is around 5 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Video Merger outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (OpenSIAI). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
