---
title: "Upload media to production"
method: POST
path: "/api/agents/productions/{id}/media"
---

# Upload media to production

`POST /api/agents/productions/{id}/media`

## Request

- Base URL: `https://splice.film.fun`
- URL: `https://splice.film.fun/api/agents/productions/{id}/media`
- Auth: API key in header `x-api-key`

Upload a file (multipart/form-data with `file` field). Id is Splice creation id.

## Path parameters

- `id` string, required

## Response `201`

Uploaded

- object

## Other responses

- `400`: Missing file or invalid input
- `401`: Unauthorized
- `404`: Production not found

---

[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)
