Developers · For people hosting ComfyUI just to get an endpoint

The everyday ComfyUI jobs as an API, no box to rent

If you keep a GPU box running only so your app can call ComfyUI, and the graph does an everyday job like text to image, edit an image, image to video or a voiceover, swap it for one API key that bills per result. Nothing to keep warm, no weights to store, no node updates to chase.

The short answer. POST https://api.legit2compute.com/jobs with a pipeline and your inputs, poll the job, download the file. From $0.004 an image and $0.35 for a 5-second clip with sound. You pay nothing while idle. Custom graphs, LoRAs and your own checkpoints still belong in ComfyUI on your own box.

Rented box versus pay per result

ComfyUI on a rented GPUlegit2compute API
You pay forEvery hour the box is up, plus storageEach finished result; failed jobs refunded
Cold startYours to manage (weights, nodes, warm-up)Not yours to manage
Custom graphs, LoRAs, own checkpointsYesNo: fixed endpoints
Images, edits, video with sound, voice, music, chat modelsOne graph per jobOne key for all of them

One call

curl https://api.legit2compute.com/jobs \
  -H "x-api-key: $L2C_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "pipeline": "image_edit",
    "inputData": {
      "prompt": "Same product, on a marble counter in soft morning light",
      "input_image": "https://example.com/product.jpg"
    }
  }'
# then: GET https://api.legit2compute.com/jobs/<job_id> until "completed", and GET https://api.legit2compute.com/jobs/<job_id>/download

Wiring it into n8n or an agent? Call the same endpoint from an HTTP node, or use the agent skill or the MCP server.

Questions

I rent a GPU box only to call ComfyUI as an API. Is this cheaper?

Often, if your graph does an everyday job. A rented box bills by the hour whether it is busy or not, plus storage for the weights. Here you pay per finished result: from $0.004 an image and $0.07 a second of video with sound, nothing while idle, and failed jobs are refunded. If your graph is custom, keep your box.

Can I send my ComfyUI workflow JSON?

No. You call fixed endpoints (image_generate, image_edit, video_t2v, video_i2v, voice, music, sound effects) with a prompt and inputs. That is the trade: no graph to maintain, no node versions breaking on update, no cold start for you to manage, and no way to plug in your own LoRA or custom node.

Does it work with n8n, agents and MCP?

Yes. Call POST /jobs from n8n's HTTP Request node, install the agent skill for coding agents, or use the hosted MCP server at legit2compute.com/mcp, which Claude Code, Cursor and VS Code can use to make images, music, voice and video.

Can I keep jobs off community machines?

Yes. Add "private": true to a job and it renders only on machines we own and operate, at a higher price.

More: the same tools with no code · one key for all AI media · image-to-video API.

Turn the box off and try one call.

Free credit when you sign up, then pay per result. No subscription.