run_flow
Execute a flow. It runs asynchronously — poll get_flow(view="status") for completion. For flows with input nodes, provide file URLs (from upload_file) via the inputs parameter. This runs the flow ONCE; use run_batch for multiple input sets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | No | JSON object mapping input node IDs to input arrays. Image/video/sound nodes: file URL arrays. Text nodes: text content arrays (auto-uploaded as text files). Example: {"1001": ["https://..."], "1002": ["A blue sky"]} | |
| flow_id | Yes | The unique identifier of the flow to run. |