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 NodeimageURLs- Array of image URLs (maximum 10 URLs) — for flows starting with a Media Nodetext- 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 Node | Final Node | Input | Output |
|---|---|---|---|
| Media Node | Media Node | imageFiles or imageURLs | Array of media URLs |
| Media Node | Text Node | imageFiles or imageURLs | visionData |
| Text Node | Audio Node | text | audioUrl |
The input is set on the Initial Node, the flow is executed, and the processed output is returned from the Final Node.
Request
Responses
- 200
- 400
- 401
- 429
Flow executed successfully
Bad request - Invalid input, missing Initial Node, or wrong input type for flow
Unauthorized - Invalid or missing API key
Too many requests - Rate limit exceeded