---
title: "Create an asset"
method: POST
path: "/assets"
---

# Create an asset

`POST /assets`

## Request

- Base URL: `https://api.synthesia.io`
- URL: `https://api.synthesia.io/assets`
- Auth: none declared
- TypeScript: <https://skmtc.dev/synthesia/apis/synthesia-api/docs/assets/post.ts> (a function with typed inputs; its response is checked against the schema)

Use this endpoint to upload images and videos. These may then be later referred to when creating videos.

## Headers

- `Content-Type` string

## Request body

- object
  - `RAW_BODY` string, binary: The file to upload.

## Response `200`

200

- object
  - `id` string
  - `title` string

## Other responses

- `400`: 400
- `401`: 401
- `415`: 415

---

[API](https://skmtc.dev/synthesia/apis/synthesia-api.md) - [All operations](https://skmtc.dev/synthesia/apis/synthesia-api/llms.txt) - [OpenAPI document](https://skmtc.dev/synthesia/apis/synthesia-api/revisions/f0f34ae0591d?raw)
