fal · Arazzo Workflow
fal Upload Asset Then Run Inference
Version 1.0.0
Upload a binary reference asset to the fal CDN, then run an image-to-X model against it.
View Spec
View on GitHub
AIArtificial IntelligenceGenerative AIGenerative MediaImage GenerationVideo GenerationAudio GenerationInferenceServerlessGPUMCPArazzoWorkflows
Provider
Workflows
upload-then-inference
Register an input asset on the fal CDN and feed its URL into a model.
Initiates a signed upload to obtain a public CDN file_url, then submits an inference request that passes that file_url as the model's image_url input, waits for completion, and returns the result.
1
initiateUpload
initiateUpload
Request a short-lived signed upload URL and the public CDN file_url for the asset. The client PUTs the file bytes to upload_url out of band before the asset can be referenced by a model.
2
submitJob
submitRequest
Submit an inference request that references the uploaded asset by its CDN file_url as the model's image_url input.
3
pollStatus
getRequestStatus
Poll the request status until the job reaches a terminal COMPLETED state, re-entering itself while still IN_QUEUE or IN_PROGRESS.
4
fetchResult
getRequestResult
Retrieve the final inference output for the completed request.
Source API Descriptions
openapi