v1

latestOpenAPI 3.1.02026-07-1234829.8 KB
Run

Queue Run

Create a new deployment run with the given parameters.

post/run/deployment/queue

Request body

inputsobject

The inputs to the workflow

webhookstring
webhook_intermediate_statusboolean
gpu'CPU' | 'T4' | 'L4' | 'A10G' | 'L40S' | 'A100' | 'A100-80GB' | 'H100' | 'H200' | 'B200'

The GPU to override the machine's default GPU

flagsstring[] nullable

Array of flag strings

deployment_idstring uuid required

Example request

{
  "deployment_id": "12345678-1234-5678-1234-567812345678",
  "inputs": {
    "num_inference_steps": 30,
    "prompt": "A futuristic cityscape",
    "seed": 123456
  },
  "webhook": "https://myapp.com/webhook"
}

Response

Successful Response

run_idstring uuid required

The ID of the run, use this to get the run status and outputs