machine
Create a new machine
Create a new machine with optional default setting
POST
/
v1
/
machines
Authorizations
Authorization
string
headerrequiredCreate your token in Comfy Deploy
Body
application/json
default_machine
boolean
default: trueResponse
200 - application/json
id
string
requireduser_id
string
requiredname
string
requiredorg_id
string | null
requiredendpoint
string
requiredcreated_at
string
requiredupdated_at
string
requireddisabled
boolean
requiredtype
enum<string>
requiredAvailable options:
comfy-deploy-serverless
status
enum<string>
requiredAvailable options:
building
machine_version
string | null
requiredmachine_builder_version
string
requiredmodels
any[]
requiredgpu
enum<string>
requiredAvailable options:
A10G
pod_id
string | null
requiredbase_docker_image
string | null
requiredallow_concurrent_inputs
number
requiredconcurrency_limit
number
requiredlegacy_mode
boolean
requiredws_timeout
number
requiredrun_timeout
number
requiredidle_timeout
number
requiredbuild_machine_instance_id
string | null
requiredbuild_log
string | null
requiredmodal_app_id
string | null
requiredtarget_workflow_id
string | null
requiredinstall_custom_node_with_gpu
boolean
requireddeleted
boolean
requiredkeep_warm
number
requiredallow_background_volume_commits
boolean
requiredgpu_workspace
boolean
requiredsnapshot
any
ws_gpu
any
object_info
any
dependencies
any
extra_docker_commands
any
docker_command_steps
any
Was this page helpful?