Uploading files and receiving webhooks
Lesson 8.3 of 45 Video 1 min read Updated Oct 14, 2026
Upload images, video, audio or ZIP files of up to 50 MB to use as inputs, and get a webhook when the run finishes instead of polling.
8.3Uploading files and receiving webhooks
Video coming soon
To pass your files to a model, upload them first; to find out when it finishes, let us tell you.
- Upload:
POST /uploadwith the file asmultipart/form-datareturns a public URL you can use as an input. It accepts images, video, audio and ZIP files of up to 50 MB. - Webhook: add
webhookwith your URL when you start the generation. When it finishes (completed,failedorcanceled), we POST the result to you. - Your server must answer 200. Otherwise it's attempted up to three times in total, so your code must accept the same notice more than once.
Was this helpful?