create_deployment
Deploy a ComfyUI workflow as a serverless API with configurable hardware, scaling limits, and idle timeout.
Instructions
Create a Serverless API (ComfyUI) deployment.
Backs ``POST /prod/v2/deployments``. For LoRA deployments, create
via the runcomfy.com UI instead.
Args:
name: Human-readable name.
workflow_id: UUID of the ComfyUI workflow.
workflow_version: Version label, e.g. "v1".
hardware: One of TURING_16, AMPERE_24, AMPERE_48, ADA_48_PLUS,
AMPERE_80, ADA_80_PLUS, HOPPER_141.
min_instances: 0..30. Warm instance floor (billable if > 0).
max_instances: 1..60. Concurrency ceiling.
queue_size: >= 0. Pending requests before scaling up.
keep_warm_duration_in_seconds: >= 0. Idle timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| hardware | No | AMPERE_48 | |
| queue_size | No | ||
| workflow_id | Yes | ||
| max_instances | No | ||
| min_instances | No | ||
| workflow_version | Yes | ||
| keep_warm_duration_in_seconds | No |