Back to blog
TutorialComfyUIStable DiffusionImage GenerationMetalApple Silicon

Run ComfyUI on Apple Silicon in the Cloud: Node-Based Image Generation

March 15, 20267 min readby Macyou Team

ComfyUI is a node-based interface for Stable Diffusion that lets you build image generation workflows by connecting visual nodes together. Unlike simple prompt-to-image tools, ComfyUI exposes the full pipeline: model loading, conditioning, sampling, upscaling, ControlNet, LoRA injection, and post-processing — all as draggable, connectable blocks. It's the power-user tool for AI image generation, and it runs beautifully on Apple Silicon with Metal GPU acceleration.

Metal GPU: No NVIDIA Required

ComfyUI's PyTorch backend supports Metal (MPS) natively on macOS. The M4 Pro's GPU renders a 1024×1024 SDXL image in roughly 30–90 seconds depending on steps and sampler — far from an RTX 4090, but workable for iterative creative work, and batch jobs run unattended 24/7 on a dedicated machine. The key advantage is that you don't need NVIDIA hardware, CUDA drivers, or Linux. Everything runs on macOS, and the unified memory means SDXL's large model weights fit comfortably in 48 GB without tiling or offloading tricks.

Deploying ComfyUI on Macyou

Find the ComfyUI stack in the Macyou Catalog and deploy with one click. The pre-configured environment includes Python, PyTorch with MPS support, and ComfyUI itself. Open it through the built-in browser desktop, tunnel the port over SSH, or use the ComfyUI API for headless batch generation.

$ ssh your-mac
# ComfyUI is already running on port 8188
# Tunnel it to your laptop:
$ ssh -L 8188:localhost:8188 your-mac
# Open http://localhost:8188 in your browser

Workflow Example: SDXL with ControlNet

A practical ComfyUI workflow on Macyou: load the SDXL base model, add a ControlNet node for depth or canny edge guidance, connect a prompt conditioning node, and wire it into a KSampler. Save the workflow as a JSON file to reuse or share with your team. For batch generation, use ComfyUI's API mode — POST your workflow JSON to the server and collect results programmatically. This turns your Macyou server into an on-demand image generation API.

Recommended Tier

For SDXL with ControlNet, a 32–48 GB build (M4 32 GB or M4 Pro) is ideal — it gives enough memory for the base model, refiner, and ControlNet simultaneously. Check pricing for details.

Start generating — deploy ComfyUI on Apple Silicon today.