Skip to main content
This guide shows how to deploy your trained LoRA (trained with its base model) as a serverless endpoint and run your first inference request.
Want to run LoRA inference without deploying? Use the Model API instead.
Start here: Choose a LoRA inference API

Step 1: Make sure you have a LoRA Asset

A LoRA Asset comes from either:
  • training in RunComfy Trainer, or
  • importing a .safetensors LoRA (plus its training config)
You can view your assets here: Trainer > LoRA Assets Alt LoRA Asset

Step 2: Create a Deployment

From the LoRA Asset page, click Deploy (or Deploy Endpoint) to create a Deployment. Alt LoRA Asset During deployment you can choose:
  • hardware (GPU tier)
  • autoscaling (scale to zero, max instances, keep-warm)
When the deployment is ready, copy the deployment_id from the Deployment details page.

Step 3: Authenticate

All API calls require a Bearer token: Authorization: Bearer <token> Get your API token from your Profile page.

Step 4: Submit an inference request

The exact request body depends on the pipeline attached to your Deployment.
Use the Deployment API tab (or its request schema in the dashboard) as the source of truth.
curl --request POST \
  --url "https://api.runcomfy.net/prod/v1/deployments/{deployment_id}/inference" \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer <token>" \
  --data '{
    "prompt": "A cinematic portrait photo",
    "...": "other fields depend on your deployment"
  }'
Response example:
{
  "request_id": "{request_id}",
  "status_url": "https://api.runcomfy.net/prod/v1/deployments/{deployment_id}/requests/{request_id}/status",
  "result_url": "https://api.runcomfy.net/prod/v1/deployments/{deployment_id}/requests/{request_id}/result",
  "cancel_url": "https://api.runcomfy.net/prod/v1/deployments/{deployment_id}/requests/{request_id}/cancel"
}

Step 5: Poll status, then fetch results

Check status:
curl --request GET \
  --url "https://api.runcomfy.net/prod/v1/deployments/{deployment_id}/requests/{request_id}/status" \
  --header "Authorization: Bearer <token>"
Fetch results:
curl --request GET \
  --url "https://api.runcomfy.net/prod/v1/deployments/{deployment_id}/requests/{request_id}/result" \
  --header "Authorization: Bearer <token>"

Next steps