---
title: "Upload File (24h temp URL)"
method: POST
path: "/upload"
---

# Upload File (24h temp URL)

`POST /upload`

## Request

- Base URL: `https://pixeldojo.ai/api/v1`
- URL: `https://pixeldojo.ai/api/v1/upload`
- Auth: HTTP bearer

Upload a local image/video (multipart form, single `file` field) and get back a public URL on the 24-hour temp bucket, usable as a reference input in any run call.

## Response `200`

Public temp URL

- object
  - `url` string, required
  - `expiresInHours` integer

## Other responses

- `400`: Validation error
- `401`: Unauthorized

---

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