ComfyUI is a node-based tool for making images and video with diffusion models. It runs well on a rented GPU: you do not install drivers, you do not wait for a graphics card to arrive, and you pay only while the server runs. This guide takes you from nothing to a first picture, then covers the choices that decide your cost: which GPU, which model, and when to stop the server.
What you need
- An Apidly account with some credit. Sign up here and the ComfyUI template is preselected.
- A rough idea of the image model you want to use. The model decides how much GPU memory (VRAM) you need.
- About ten minutes for the first start, because the server downloads ComfyUI and a model.
Step 1: Pick the template that matches your model
The ComfyUI template installs ComfyUI and downloads a starter model, Stable Diffusion 1.5, so the first picture works without any file handling. Other image templates in the catalogue use other tools. The minimum GPU memory below is what each template declares.
| Template | What you get | Minimum VRAM |
|---|---|---|
| ComfyUI | ComfyUI with Stable Diffusion 1.5 as the starter model | 12 GB |
| Stable Diffusion WebUI Forge | A different web interface, no model included | 12 GB |
| Fooocus | A simpler, prompt-first image tool | 8 GB |
The templates page lists what is available now, and new image templates are added over time. For a larger model such as SDXL or FLUX, start the ComfyUI template and add your checkpoint (Step 4), choosing a GPU with enough memory for that model.
A rule of thumb: pick a GPU with some memory to spare over the template minimum. Higher resolutions, larger batches and extra nodes such as upscalers or ControlNet all use more memory. If a run stops with an out-of-memory error, the fix is a larger GPU or a smaller image, not a restart.
Step 2: Choose a GPU
Open Deploy, sort by Price, low to high and use the GPU memory filter to hide configurations that are too small. For image work, 24 GB cards are a common sweet spot because they run most current checkpoints at normal resolutions. See the live pages for the RTX 4090, RTX 3090 and RTX A6000 for what is in stock and what it costs right now. Prices follow supply and change, so look at live pricing instead of trusting a number in a guide.
Two things to check on the review step:
- Per hour price and your balance. Billing is by the second, so a 25-minute session costs about 25 minutes of the hourly rate, plus disk.
- Compatibility. At the time of writing the ComfyUI templates do not run on RTX 50-series and other Blackwell GPUs. Deploy marks those configurations, so you cannot pick one by mistake.
Give the server a name, keep the suggested disk size (image models are large, so do not shrink it much) and select Start my server.
Step 3: Wait for the model, then open ComfyUI
When the status shows Running, the server is billed, but ComfyUI is probably still installing and downloading its model. The server page shows Finishing setup with the progress. When that notice disappears and What now? appears, it is ready. We also send an email.
- Open the server and select the Connect tab, then Open app.
- The browser asks you to sign in. The user name is
admin; the password is on the Connect tab under Sign in with. - In ComfyUI, open Templates, choose Image Generation, type your prompt in the prompt box and select Run.
The first picture is slower because the model has to be loaded into GPU memory. Later pictures take far less. Right-click the result in the Save Image node to download it. Everything also lands in /workspace/ComfyUI/output on the server.
Step 4: Add your own models and LoRAs
ComfyUI reads models from folders under /workspace/ComfyUI/models: checkpoints for main models, loras for style add-ons and vae for separate VAE files. To add one, copy its download address from the model page (read the licence first), open a terminal on the server with the command on the Connect tab, and run:
cd /workspace/ComfyUI/models/checkpoints
curl -fL -O MODEL_ADDRESSReload the ComfyUI page and pick the new file in the Load Checkpoint node. Models that need a Hugging Face login need your access token. Store it as a secret rather than pasting it into shared commands; see Secrets.
Files on the server disk stay after a stop, so a model you downloaded once does not download again at the next start.
Step 5: Keep your outputs safe
The disk is the only place your pictures live until you copy them out. Before you finish:
- Download what matters with
scporrsync, or save it from the browser. Move data to and from a server shows every way. - Remember that Destroy deletes the disk and everything on it. Stop keeps it.
Step 6: Control the cost
Image work is bursty: you generate for a while, then think. A server left on overnight is the most common waste. Three habits fix it:
- Stop when you finish. Stopping ends the compute charge. The disk is kept and still billed.
- Add an automatic stop. Under the server's Settings, Automation, you can stop it after a running time, when the GPU has been idle for a number of minutes, or when it has been charged a spending limit you choose. You get an email when a rule acts. Details are in Automation.
- Set a budget. In billing you can set a monthly budget and a low-balance warning. Control costs walks through each.
If a long batch can be paused and resumed, an interruptible price may be lower. The server can be paused when demand rises, so it only suits work you can continue; read Interruptible servers first.
Common problems
- The page does not open right after Running. ComfyUI is still setting up. Wait for Finishing setup to clear.
- Out of memory. Lower the resolution or batch size, remove heavy nodes, or deploy on a GPU with more VRAM.
- The model is missing from the dropdown. Check that the file is in the right folder and reload the page.
- The template is unavailable for a GPU. That GPU generation is not supported by the template yet; choose another.
Next steps
For the same flow in short, click-by-click form, read Generate images with ComfyUI. To see what the platform offers for image work, visit the image and video use case, and when you are ready, start a ComfyUI server.
Try it on a real GPU server
Create a free account and add a balance from $10. Servers are billed by the second, and the review step shows the price per hour before you request one.
Related guides
- Jupyter notebook on a cloud GPU in 5 minutesStart JupyterLab on a rented GPU from your browser: no drivers, no terminal and no SSH key. Check the GPU, install packages, keep your files and stop paying when done.
- H100 and A100 by the hour: what it costs, when it paysHourly prices for A100, H100 and H200 servers from our live price list, worked cost examples, and how to tell when a big GPU is worth it over a cheaper card.
- How to run Stable Diffusion and FLUX on a cloud GPUGenerate images with Stable Diffusion, SDXL or FLUX on a rented GPU: pick the right image template, size the GPU, load your checkpoint and pay only while it runs.