---
title: "Upload a file"
method: POST
path: "/files"
---

# Upload a file

`POST /files`

Upload a file (image, video, audio, font, or CSV) to be used when creating videos. The returned URL can be used in POST /videos.

## Response `200`

File uploaded successfully. Returns the public URL of the stored file.

- UploadFileOutput — Response after successfully uploading a file.
  - `url` string, required — Public URL of the uploaded file. Use this URL in POST /videos fields that accept a URL.

## Other responses

- `400` — Invalid request — missing file, unsupported type, or file too large.

---

[API](https://skmtc.dev/hera/apis/hera-video-api.md) · [All operations](https://skmtc.dev/hera/apis/hera-video-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hera/hera-video-api/revisions/9c97fb6efc1d/schema)
