beatra

Uploads API

Preview source media upload endpoint.

Status: Preview — single-shot uploads are callable; resumable upload sessions are Planned.

Operation

EndpointDescription
POST /v1/uploadsUpload one file up to 100MB and receive an artifact_id plus CDN URL.

Use uploads when a generation request needs source material, such as reference audio for music. Store the returned artifact_id in your own job record.

Multipart form fields

FieldRequiredNotes
fileYesThe media file.
purposeNoDefaults to media_input; use reference_audio for music references.
media_typeNoInferred from MIME type when omitted.
metadataNoJSON object encoded as a form string.

On this page