Upload Media
POST
/v1/uploadUpload an image, audio, or video file and receive a stored URL for a supported model input.
Multipart form
Image up to 20 MB, audio up to 50 MB, or video up to 500 MB. Supported formats are listed below.
Optional category hint. MIME detection from the file still controls validation.
Supported MIME types
image/jpeg, image/png, image/webp, image/gif — maximum 20 MB.
audio/mpeg, audio/mp4, audio/wav, audio/x-wav, audio/ogg, audio/aac, audio/flac — maximum 50 MB.
video/mp4, video/quicktime, video/webm — maximum 500 MB.
MIME detection
The server detects the file type from its bytes and filename. The optional type field does not force a MIME type.