generate_with_api_node
Create a minimal single-node workflow using a chosen API node with given inputs and enqueue it. Returns a prompt ID to track progress via job status or history.
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. |