> For the complete documentation index, see [llms.txt](https://help.blotato.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.blotato.com/rest-api-reference/visuals/c306ae43-1dcc-4f45-ac2b-88e75430ffd8.md).

# Combine Clips and Apply Basic Edits

Stitch video clips together with titles, captions, background music, and transitions.

## When to Use This Template

* You have your own video clips (recorded on your phone, from a camera, or downloaded) and want to stitch them together into one video
* You want to add a title card, auto-generated captions, background music, or transitions to existing footage
* You are a content creator, real estate agent, or business owner who films your own clips and needs light editing before posting to TikTok, Instagram Reels, or YouTube Shorts
* You do NOT need AI to generate any visuals -- you are bringing your own footage

## Using the Web App

1. Go to [Videos > Create New Video](https://my.blotato.com/videos/new)
2. Select **Combine Clips and Apply Basic Edits** from the template list
3. Click **Advanced Settings** under the Generate Video button
4. Add your video clips in the clip input fields
5. Configure titles, captions, music, and transitions
6. Click **Generate Video**

## Template Information

| Property    | Value                                                            |
| ----------- | ---------------------------------------------------------------- |
| Template ID | `/base/v2/combine-clips/c306ae43-1dcc-4f45-ac2b-88e75430ffd8/v1` |
| Output Type | Video                                                            |
| Category    | Video Editor                                                     |

## Parameters

| Parameter                 | Type    | Required | Default         | Description                                            |
| ------------------------- | ------- | -------- | --------------- | ------------------------------------------------------ |
| videoClips                | array   | Yes      | -               | Video clips to stitch. Min: 1, Max: 20                 |
| videoClips\[].url         | video   | Yes      | -               | URL of video clip                                      |
| trimSilence               | boolean | No       | false           | Trim silence at start/end                              |
| titleConfig               | object  | No       | -               | Title overlay configuration                            |
| titleConfig.enabled       | boolean | No       | false           | Enable title overlay                                   |
| titleConfig.text          | string  | No       | Your Title Here | Title text                                             |
| titleConfig.position      | enum    | No       | top             | Values: top, center, bottom                            |
| titleConfig.duration      | number  | No       | 4               | Seconds to display. Range: 1-10                        |
| titleConfig.style         | enum    | No       | minimal         | Values: minimal, bold, elegant, modern                 |
| captionsConfig            | object  | No       | -               | Captions configuration                                 |
| captionsConfig.enabled    | boolean | No       | false           | Enable captions                                        |
| captionsConfig.style      | enum    | No       | minimal         | Values: minimal, bold, highlight, tiktok               |
| captionsConfig.position   | enum    | No       | bottom          | Values: top, center, bottom                            |
| musicConfig               | object  | No       | -               | Background music configuration                         |
| musicConfig.enabled       | boolean | No       | false           | Enable background music                                |
| musicConfig.url           | string  | No       | -               | Music file URL (MP3/WAV)                               |
| musicConfig.volume        | number  | No       | 30              | Volume level. Range: 0-100                             |
| transitionConfig          | object  | No       | -               | Transition configuration                               |
| transitionConfig.type     | enum    | No       | none            | Values: none, fade, crossfade, slide, zoom             |
| transitionConfig.duration | number  | No       | 0.5             | Seconds. Range: 0-2                                    |
| maxDuration               | number  | No       | 0               | Max output duration in seconds. 0 = no limit. Max: 600 |
| aspectRatio               | enum    | No       | 9:16            | Values: 16:9, 9:16, 1:1, 4:5                           |

## Example 1: Basic Clip Combination

```http
POST https://backend.blotato.com/v2/videos/from-templates
Content-Type: application/json
blotato-api-key: YOUR_API_KEY

{
  "templateId": "/base/v2/combine-clips/c306ae43-1dcc-4f45-ac2b-88e75430ffd8/v1",
  "inputs": {
    "videoClips": [
      { "url": "https://example.com/clip1.mp4" },
      { "url": "https://example.com/clip2.mp4" },
      { "url": "https://example.com/clip3.mp4" }
    ],
    "aspectRatio": "9:16"
  },
  "render": true
}
```

## Example 2: Full Featured Edit

```http
POST https://backend.blotato.com/v2/videos/from-templates
Content-Type: application/json
blotato-api-key: YOUR_API_KEY

{
  "templateId": "/base/v2/combine-clips/c306ae43-1dcc-4f45-ac2b-88e75430ffd8/v1",
  "inputs": {
    "videoClips": [
      { "url": "https://example.com/intro.mp4" },
      { "url": "https://example.com/main-content.mp4" },
      { "url": "https://example.com/outro.mp4" }
    ],
    "trimSilence": true,
    "titleConfig": {
      "enabled": true,
      "text": "My Amazing Video",
      "position": "center",
      "duration": 3,
      "style": "bold"
    },
    "captionsConfig": {
      "enabled": true,
      "style": "tiktok",
      "position": "bottom"
    },
    "musicConfig": {
      "enabled": true,
      "url": "https://example.com/background-music.mp3",
      "volume": 25
    },
    "transitionConfig": {
      "type": "crossfade",
      "duration": 0.5
    },
    "maxDuration": 60,
    "aspectRatio": "9:16"
  },
  "render": true
}
```

## Example 3: With Captions and Transitions

```http
POST https://backend.blotato.com/v2/videos/from-templates
Content-Type: application/json
blotato-api-key: YOUR_API_KEY

{
  "templateId": "/base/v2/combine-clips/c306ae43-1dcc-4f45-ac2b-88e75430ffd8/v1",
  "inputs": {
    "videoClips": [
      { "url": "https://example.com/clip1.mp4" },
      { "url": "https://example.com/clip2.mp4" }
    ],
    "captionsConfig": {
      "enabled": true,
      "style": "highlight",
      "position": "center"
    },
    "transitionConfig": {
      "type": "fade",
      "duration": 0.8
    },
    "aspectRatio": "1:1"
  },
  "render": true
}
```

## Related Templates

* [AI Video with AI Voice](/rest-api-reference/visuals/5903fe43-514d-40ee-a060-0d6628c5f8fd.md)
* [AI Avatar with AI Generated B-roll](/rest-api-reference/visuals/7c26a1cd-d5b3-42da-9c73-2413333873b3.md)

## See Also

* [Create Visual API Reference](/rest-api-reference/create-video.md)
* [All Visual Templates](/rest-api-reference/visuals.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.blotato.com/rest-api-reference/visuals/c306ae43-1dcc-4f45-ac2b-88e75430ffd8.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
