USE CASE
Generate AI images with Flux on a cloud GPU
Create images from text with open models like Flux.1 in ComfyUI on an RTX 4090 or RTX 5090. Pay per second instead of buying image credits.
Billed per second from your USD balance. Stop or terminate the machine when you are done.
Recommended GPU
RTX 4090 · RTX 5090
Flux.1 FP8 runs well on a 24 GB RTX 4090; full-precision Flux models and large batches are more comfortable on a 32 GB RTX 5090.
Template to pick
PyTorch
NVIDIA CUDA + PyTorch development environment, ready with SSH and Jupyter.
Up and running in four steps
- 1
Rent the machine
Open the catalog with RTX 4090 and the PyTorch template already selected and press Rent.
See RTX 4090 machines - 2
Connect with SSH
Copy the SSH command from your machine's page and add the port forward for ComfyUI.
ssh -p <PORT> root@<HOST> -L 8188:localhost:8188The SSH command is on your machine's page. The -L part forwards the port so the app opens in your own browser.
- 3
Install ComfyUI and Flux
Run these commands once. They install ComfyUI, download the Flux.1 schnell FP8 checkpoint and start ComfyUI.
apt-get update && apt-get install -y wget git clone https://github.com/comfyanonymous/ComfyUI cd ComfyUI && pip install -r requirements.txt wget -P models/checkpoints https://huggingface.co/Comfy-Org/flux1-schnell/resolve/main/flux1-schnell-fp8.safetensors python main.py --listen 0.0.0.0 --port 8188 - 4
Write a prompt and generate
Open http://localhost:8188. In the Load Checkpoint node pick flux1-schnell-fp8, set steps to 4 and CFG to 1, write your prompt and press Run. Images are saved in ComfyUI/output.
Questions
How can I create images with AI?
Install ComfyUI on a rented GPU, download an open image model such as Flux.1 or SDXL and type what you want to see. Once the model is loaded, each image takes seconds.
Flux or Stable Diffusion?
Flux.1 follows long prompts closely and renders text in images better; Stable Diffusion and SDXL have the largest ecosystem of LoRAs and extensions. Both run on the same machine.
Can I use the images commercially?
Flux.1 [schnell] is released under Apache 2.0; Flux.1 [dev] is limited to non-commercial use. Check the license of every model and LoRA you download.
How much does it cost?
You pay per second at the hourly price shown above, only while the machine runs, with no image credits. Terminate the machine when you are done.