generate_with_api_node
Build and enqueue a single-node workflow using a chosen API node with provided inputs. Returns the prompt_id immediately; use get_job_status for results.
Instructions
Build a minimal single-node workflow that runs a chosen API/partner node with the provided inputs and enqueue it. Returns immediately with the prompt_id (use get_job_status / get_history for results). Do NOT pass auth credentials in inputs — the ComfyUI server injects those from its logged-in session. Use get_api_node_schema to discover valid inputs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_type | Yes | The API node class_type to run (from list_api_nodes / get_api_node_schema). | |
| inputs | Yes | Input values keyed by input name, per the node's schema. | |
| disable_random_seed | No | If true, do not randomize seed/noise_seed inputs. |