Skip to main content

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

  • imageFiles or imageURLs: up to 10 images (Media Node)
  • videoFiles or videoURLs: up to 10 videos (Media Node)
  • text: plain text (Text Node)
  • files and/or fileURLs: 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, uploaded files come 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​

Flow executed successfully