Run flow
POST/api/fluid-fit/run-flow
Runs a flow and returns its output.
Send input that matches the flow's Initial Node(s). You can send media, text, or both in one call.
Inputs
imageFilesorimageURLs: up to 10 images (Media Node)videoFilesorvideoURLs: up to 10 videos (Media Node)text: plain text (Text Node)filesand/orfileURLs: up to 10 documents each (Files Node): PDF, DOCX, CSV, XLSX, TXT, MD or PSD, 1 GB max per file. They replace the Files Node's files for this run; when both are sent, uploadedfilescome first. Sending either to a flow without a Files Node entry returns a 400.
Output comes from the flow's Final Node(s), not the input. Each item in result.outputs has a type: image, video, audio, text, or file.
Request
Responses
- 200
- 400
- 401
- 413
- 429
Flow executed successfully
Bad request - Invalid input, missing Initial Node, or wrong input type for flow. For files / fileURLs, also an unsupported file type, a file whose content doesn't match its extension, a URL that can't be downloaded, has no Content-Length or is over 1 GB, or a flow without a Files Node entry.
Unauthorized - Invalid or missing API key
Payload too large - an uploaded files document is over 1 GB
Too many requests - Rate limit exceeded