> For the complete documentation index, see [llms.txt](https://help.contouron.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.contouron.com/api/visual/combine-clips-and-apply-basic-edits.md).

# Combine Clips and Apply Basic Edits

> For the complete documentation index, see [llms.txt](https://help.contouron.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.contouron.com/api/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 > New](https://my.contouron.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

```json
POST https://backend.contouron.com/v2/videos/from-templates
Content-Type: application/json
contouron-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

```json
POST https://backend.contouron.com/v2/videos/from-templates
Content-Type: application/json
contouron-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

```json
POST https://backend.contouron.com/v2/videos/from-templates
Content-Type: application/json
contouron-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
* AI Avatar with AI Generated B-roll

### See Also

* Create Visual API Reference
* All Visual Templates


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.contouron.com/api/visual/combine-clips-and-apply-basic-edits.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
