Option 1 — a URL you already have
If the file is already publicly reachable, pass the URL straight through ininputs:
Option 2 — upload to Pixio storage
For local files, get an upload URL first.GET /upload-url takes:
Response:
1
Request an upload URL
Send the MIME type and exact byte size.
2
PUT the file to upload_url
Upload the bytes directly to the returned URL.
3
Use download_url as the input
Pass
download_url as your workflow’s image input.Getting it right
- Match the MIME type to the file. A
.jpgsent asimage/pngmay fail or confuse the graph. - Reuse uploads. One
download_urlcan feed many runs — don’t re-upload the same reference per run. - Upload before you run. The file must exist before the graph reaches the node that reads it.
- Keep the
file_id. It’s your handle on the stored file.
Outputs
Outputs are produced during the run’suploading phase — which is exactly why uploading isn’t terminal. Read output URLs only after the status is success; earlier, they may be missing or incomplete.
