---
title: "Merge media"
method: POST
path: "/api/agents/edit/media-merge"
---

# Merge media

`POST /api/agents/edit/media-merge`

## Request

- Base URL: `https://splice.film.fun`
- URL: `https://splice.film.fun/api/agents/edit/media-merge`
- Auth: API key in header `x-api-key`

Merge multiple video/audio URLs into one. Requires input_urls array.

## Request body

- object
  - `production_id` string
  - `input_urls` string[], required
  - `parameters` object

## Response `201`

Generated

- ProductionItemId
  - `production_item_id` string, required

## Other responses

- `400`: Validation failed
- `401`: Unauthorized
- `404`: Production not found
- `503`: Merge failed

---

[API](https://skmtc.dev/film/apis/film-fun-splice-agent-api.md) · [All operations](https://skmtc.dev/film/apis/film-fun-splice-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/film/apis/film-fun-splice-agent-api/revisions/72c22f361c20?raw)
