File Upload
File upload overview
Many models accept a reference image, audio clip, or video. Host the file once to get a stable URL on our domain, then pass that URL in the model's input (e.g. imageUrl). Uploading is free.
- Upload the file (multipart or base64).
- Use the returned fileUrl as a model input.
- Upstream providers fetch that URL when your task runs.
Allowed — images: PNG, JPG, WEBP, GIF, HEIC, AVIF, BMP, TIFF; video: MP4, WEBM, MOV, MKV, AVI; audio: MP3, WAV, WEBA, M4A, OGG, AAC, FLAC. Max 50 MB when sent as multipart/form-data `file`, or 25 MB when sent as `base64Data` in JSON. (SVG is not allowed.)