🎨 Make AI Art & Video on Your Mac

Run a real AI image & video studio β€” ComfyUI β€” entirely on your own MacBook with Docker. No accounts, no subscriptions, no cloud. Your prompts and pictures never leave your laptop. Written so a curious 12-year-old can follow every step.

macOSDocker ComfyUISD-Turbo Stable Video Diffusion100% Local

🧩 The big picture in one breath

You're going to install one free app (Docker Desktop), download one ready-made program-in-a-box, and open ComfyUI in your web browser. ComfyUI is a visual studio where you connect little blocks like LEGO to make AI pictures β€” and then make those pictures move. Everything runs on your own Mac. You need the internet twice (to download the app and the AI models) β€” and after that you could make art on a desert island. 🏝️

1 What you need

  • A Mac laptop β€” an Apple Silicon Mac (M1, M2, M3, M4…) or an Intel Mac. Both work.
  • About 15 GB of free disk space (check: β†’ About This Mac β†’ Storage)
  • Internet for the one-time downloads (after that, everything is offline)
  • Patience πŸ™‚ β€” your Mac's processor will do all the AI thinking itself, which is wonderfully private but not instant

πŸ”’ Why "local" is the cool part

Most AI art websites send your words and pictures to a company's computers. Today, your laptop is the AI computer. Nothing you type or make is uploaded anywhere. No account. No fees. No "you've run out of free credits." It's yours.

2 What is Docker? (the lunchbox)

Big programs need lots of helper pieces to run, and if even one piece is the wrong version, the program crashes. Docker solves this by packing the program and all its helper pieces into one sealed box that runs the same way on every computer.

🍱 Think of it like…

A lunchbox. Instead of hoping your kitchen has the right bread, cheese, and jam, someone packed the whole sandwich ahead of time. Open it anywhere and the sandwich is exactly right. Someone already packed ComfyUI into a lunchbox for you β€” you just have to download and open it.

Four Docker words you'll see today:

  • image β€” the sealed, ready-made box (you pull = download it)
  • container β€” a box that is open and running
  • port β€” a numbered door on the box. ComfyUI's door is 8188
  • volume β€” a shelf outside the box (a normal folder on your Mac) where files are kept safe

3 Install Docker Desktop

  1. Go to docker.com/products/docker-desktop and download Docker Desktop for Mac. Pick Apple Silicon if your Mac has an M-chip, or Intel if it's older. (Not sure? Click the menu β†’ About This Mac and look at "Chip".)
  2. Open the downloaded file and drag the whale 🐳 into Applications.
  3. Open Docker Desktop from Applications. The first start takes a minute.
  4. Wait until the little whale icon appears in your menu bar (top of the screen) and stops animating β€” that means Docker is ready.

🐳 The whale must be awake

Docker only works while Docker Desktop is running. If a command later says Cannot connect to the Docker daemon, it just means the whale app isn't open β€” open it and try again.

4 Download & start the box

Now open the Terminal app β€” press ⌘ Cmd + Space, type "Terminal", press Return. You'll type three commands. (Copy-paste is fine!)

# 1. download the ready-made ComfyUI box (~1 GB)
docker pull ddtraveller/comfyui-mac

# 2. make a home folder for your art and enter it
mkdir -p ~/comfyui && cd ~/comfyui

# 3. open the box (this starts ComfyUI running)
docker run -d --name comfyui --restart unless-stopped \
  --shm-size=4g -p 8188:8188 \
  -v "$PWD/models:/workspace/ComfyUI/models" \
  -v "$PWD/output:/workspace/ComfyUI/output" \
  -v "$PWD/input:/workspace/ComfyUI/input" \
  -v "$PWD/workflows:/workspace/ComfyUI/user" \
  ddtraveller/comfyui-mac

That long command #3 looks scary but it's only saying four simple things:

PieceWhat it means
--name comfyuicall the running box "comfyui" so we can talk to it by name
-p 8188:8188connect door 8188 on your Mac to door 8188 on the box
the four -v linesgive the box four shelves β€” real folders inside ~/comfyui on your Mac β€” for models, finished art, your own pictures, and saved layouts
--restart unless-stoppedif your Mac reboots, the box wakes up again by itself

5 The model install β€” the box grabs its imagination

The first time the box opens, it downloads its two AI models β€” about 5 GB, one time only. Watch it happen:

docker logs -f comfyui     # press Ctrl+C to stop watching (the box keeps running)

🎨 What is a model?

A model is the AI's trained imagination β€” like a giant book of "this is what cats, castles, and sunsets look like," squeezed into one file of numbers. The box needs to read those books before it can draw. They're saved to the models/ shelf on your Mac, so this download never happens again.

Two models get installed, and they were chosen specifically because they're small enough to run well on a laptop processor:

ModelJobSizeWhy this one
SD-Turbowords β†’ picture~2.5 GBMost picture models need 20–30 "thinking steps" per image. SD-Turbo needs only 1–4 steps β€” perfect when your CPU is doing the work.
Stable Video Diffusion (SVD)picture β†’ short video~2.3 GBA compact video model that ComfyUI supports out of the box. It takes one still picture and dreams up ~2 seconds of motion from it.

When the log says ComfyUI is listening on port 8188, you're ready. Check with:

curl -sI http://localhost:8188 | head -1     # expect: HTTP/1.1 200 OK

6 Open ComfyUI: the LEGO of AI art

Open your browser and go to:

http://localhost:8188

πŸŽ‰ That's ComfyUI β€” running on your Mac, served from inside the box. It's a node editor: each little box (a node) does one small job, and you connect them with wires so work flows left to right.

πŸ“¦ Load Modelβ†’βœοΈ Your Wordsβ†’πŸŽ¨ Drawβ†’πŸ’Ύ Save Image
ComfyUI in the browser showing the default text-to-image workflow: Load Checkpoint, two CLIP Text Encode nodes, KSampler, VAE Decode and Save Image, connected left to right
Real screenshot: ComfyUI's default picture-making run. Follow the wires left β†’ right: Load Checkpoint (the model) β†’ CLIP Text Encode (your words β€” top box is what you want, bottom is what you don't) β†’ KSampler (the drawing engine) β†’ VAE Decode β†’ Save Image. The model name in your Load Checkpoint will say sd_turbo.safetensors.

🧱 Think of it like…

A marble run. The marble (your idea) rolls in one end, passes through each machine, and finished art drops out the other end. Don't worry about building one from scratch β€” ComfyUI starts with a simple picture-making run already on the canvas, just like the screenshot above.

7 Your first picture (SD-Turbo)

ComfyUI opens with a default text-to-image workflow on the canvas. Make three small changes so it uses your fast SD-Turbo model:

  1. In the Load Checkpoint node, click the model name and choose sd_turbo.safetensors.
  2. In the KSampler node, set steps to 4 and cfg to 1.0. (SD-Turbo's superpower is needing almost no steps β€” but it wants cfg close to 1.)
  3. In the top CLIP Text Encode node (the positive prompt), type what you want to see, e.g. "a friendly orange cat astronaut floating in space, cartoon style".
Close-up of the KSampler node showing seed, control after generate, steps, cfg, sampler_name, scheduler and denoise settings
The KSampler up close. These are the factory settings (steps 20, cfg 8.0) β€” change them to steps 4 and cfg 1.0 for SD-Turbo. The seed is the card-shuffle number: same seed = same picture, new seed = new surprise.

Then press the blue Run button at the top. Watch the nodes light up one by one as the marble rolls through. On a laptop CPU your picture appears in roughly half a minute to a couple of minutes.

ComfyUI top toolbar with the blue Run button and the active jobs counter
The launch pad: the blue Run button queues your picture; "0 active" turns to 1 while it draws.

πŸ’‘ Make it again, but different

Every run uses a random seed β€” the shuffle of the deck. Queue the same prompt again and you get a different take. Like the result? Note the seed number in the KSampler so you can re-deal the exact same cards.

8 Make your picture move (Stable Video Diffusion)

Now the magic trick: turning a still picture into a short video. Build this little run (right-click the canvas β†’ Add Node, or double-click and search by name):

πŸ“¦ Image Only Checkpoint Loader
(svd.safetensors)
β†’πŸ–ΌοΈ Load Image
(your picture)
β†’πŸŽžοΈ SVD_img2vid
Conditioning
β†’πŸŽ¨ KSamplerβ†’πŸ’Ύ VAE Decode β†’
Save Animated WEBP
ComfyUI node search dialog opened by double-clicking the canvas, with SVD typed in and SVD_img2vid_Conditioning shown as the matching node
Finding the video node: double-click any empty spot on the canvas, type SVD, and there it is β€” SVD_img2vid_Conditioning, the machine that turns one picture into motion. Click it to drop it on your canvas.
  1. Add Image Only Checkpoint Loader and pick svd.safetensors.
  2. Add Load Image and upload the picture you made in step 7 (or any picture!).
  3. Add SVD_img2vid_Conditioning, wire the loader and image into it. Start small for a CPU: width 512, height 320, video_frames 14, fps 6.
  4. Wire it through a KSampler β†’ VAE Decode β†’ Save Animated WEBP, and press Queue.

🐒 Video = lunch break

Be honest with yourself here: video is many pictures (14 frames!), and your CPU draws every one. A small test clip can take tens of minutes, even up to an hour. Start it, go have lunch, come back to a moving picture you made from nothing. Keep the size small while experimenting β€” bigger sizes grow the wait fast.

πŸ’‘ Why small models on purpose?

On a laptop, the thing that eats time is the number of steps and pixels the model must think about. The famous giant models (10+ GB) want big GPUs and would take all day here. SD-Turbo (1–4 steps) and SVD (compact, short clips) are the right tools for the machine you actually have. Choosing tools that match your hardware is real engineering. πŸ”§

9 Where your art lives & the airplane test ✈️

Everything you make drops into a normal folder on your Mac: ~/comfyui/output. Open it in Finder:

open ~/comfyui/output

And here's the proof that it's all local: turn on Wi-Fi off / Airplane Mode and queue another picture. It still works. No internet, no cloud, no one watching β€” the entire AI is on your laptop. That's the whole point.

10 Stopping, starting & fixing things

# pause the box (your models and art stay safe in ~/comfyui)
docker stop comfyui

# wake it up again later β€” no re-download, it's instant
docker start comfyui

🩹 If something's wrong

  • "Cannot connect to the Docker daemon" β€” the whale app isn't running. Open Docker Desktop, wait for the whale, retry.
  • localhost:8188 won't load β€” the box may still be downloading models. Check with docker logs -f comfyui.
  • Everything is slow β€” that's normal on a CPU, but you can help: Docker Desktop β†’ Settings β†’ Resources β†’ give Docker 8 GB+ of memory and most of your CPUs.
  • Out of disk space β€” the models need ~5 GB plus working room. Free up space, then docker start comfyui again; it resumes where it left off.
  • A video came out weird (flicker, melted shapes) β€” change the seed and queue again; small models occasionally dream strangely. Re-rolling is part of the craft.

βœ… Your adventure checklist

Tick each box as you go. Your progress saves in this browser automatically.

0 of 0 done Β· 0%

Saved on this device only. Nothing is sent anywhere β€” just like your art.