Skip to main content

Run Flow

POST 

/api/fluid-fit/run-flow

Executes a pre-configured flow by providing the appropriate input based on the flow's Initial Node type.

Input Options (provide one based on your flow's Initial Node):

  • imageFiles - Upload image files directly (maximum 10 files) — for flows starting with a Media Node
  • imageURLs - Array of image URLs (maximum 10 URLs) — for flows starting with a Media Node
  • text - A plain text string — for flows starting with a Text Node (e.g. Text-to-Audio flows)

Flow Requirements:

  • An Initial Node (Media Node or Text Node)

Supported Flow Combinations:

Initial NodeFinal NodeInputOutput
Media NodeMedia NodeimageFiles or imageURLsArray of media URLs
Media NodeText NodeimageFiles or imageURLsvisionData
Text NodeAudio NodetextaudioUrl

The input is set on the Initial Node, the flow is executed, and the processed output is returned from the Final Node.

Request

Responses

Flow executed successfully