Design, Diagrams, and Slides
On this page10 items
In 10 seconds
Claude cannot generate images. What it can do is write diagrams as code.
That means you can fix just one part and export as many times as you like. In real work, that difference matters.
First, what it can’t do#
The official documentation is clear about this.
Claude is a model that understands images; it cannot generate, create, edit, or manipulate images.
Drawing illustrations, retouching photos, creating atmospheric visuals. It can’t do any of these.
So what can it do?#

It can write diagrams as code. SVG, HTML, diagram description languages. Any diagram made of text, lines, and boxes can be written out as code.
This has three advantages over image generation.
You can fix just one part. “Change only the label on the third box” works. With an image, you’d have to regenerate it.
You can export it as many times as you like. From a single SVG you can produce a PNG for the web, a PDF for print, and a 1920×1080 version for slides. Because they all come from the same source, nothing drifts.
The text is accurate. The “garbled text” so common in image generation doesn’t happen, because the text is embedded as text.
How this guide’s diagrams are made#
Every diagram in this guide was made this way.
1. Build for slides first. Every diagram is created at 1920×1080, and the web and book versions are exported from that. Doing it the other way around fails. Squeeze a dense diagram made for the web into 16:9, and you get a slide with tiny text and too many elements.
2. Limit yourself to five types. Structure diagrams, flow diagrams, comparison diagrams, hierarchy diagrams, and concept diagrams. When you feel like inventing a new type, first consider whether an existing type can express it. How consistent they look side by side depends on whether the types match.
3. Set limits. At most 7 boxes, 8 arrows, and 3 colors per diagram. When you hit a limit, split the diagram instead of shrinking the elements.
4. Check by machine. Is any text too small? Does anything stick out of the safe area? Is any font other than the specified one used? If it fails, it doesn’t get exported.
5. Check by eye. Have Claude read the exported image back to confirm it. Machines miss broken meaning; eyes miss numerical drift, so you need both.
When you actually ask for one#
Please create a diagram of (what you want to explain).
- SVG, 1920×1080
- At most 5 boxes and 4 arrows
- Text at 28px or larger
- At most 3 colors. Don't convey meaning by color alone; add labels too
- Explicitly fill the background with white
First describe just the structure in words. The SVG comes after that.Adding the last line helps you notice early when it’s heading in the wrong direction.
Don’t convey meaning by color alone is a must-have instruction. There are three reasons: the print may be in black and white, some readers have difficulty distinguishing colors, and video compression reduces saturation.
Slides#
Same idea. One message per slide.
Please create slides on (topic).
- Only one point per slide
- If it can't be said in one sentence, split it into two slides
- Large text, little of it
- Write the talking points (narration) separately
First show me the overall structure, one line per slide.Having it write the narration separately is the key. If you put everything on the slides, you end up with a deck that you just read aloud.
When you need images#
If you need photos or illustrations, use something other than Claude. That said, Claude can still help with:
- Suggesting criteria for choosing assets
- Reading the finished image to check whether the intent comes across (No.17)
- Naming and organizing asset files (Cowork in Chapter 4)
Not being able to make something is different from not being able to help with it.
Try it: Have it make one diagram (5 min)
Pick one mechanism you want to explain.
Prompt
“`
Please create a diagram of (what you want to explain).
- SVG, 1920×1080
- At most 5 boxes and 4 arrows
- Text at 28px or larger
- At most 3 colors. Don’t convey meaning by color alone; add labels too
- Explicitly fill the background with white
First describe just the structure in words. The SVG comes after that.
“`Once it’s done, have it fix just one box.
Expected result: Only the box you specified changes; everything else stays as it was. That doesn’t happen with image generation.
If it doesn’t work: If the whole thing gets redone, add “Leave the other boxes as they are” (No.15).
Common pitfalls#
Trying to make it generate images. It can’t.
Making diagrams at web size. You won’t be able to turn them into slides later. Use the larger size as the base.
Cramming in elements. When you hit a limit, split the diagram.
Conveying meaning by color alone. It breaks in three ways: printing, color vision, and compression.
Related pages#
- No.15 Artifacts — Fixing on the spot
- No.17 Handing over files, images, and PDFs — Reading images
- No.60 Websites and running a blog — The whole production workflow
Summary#
- It can’t generate images. It can write diagrams as code
- The advantages: fix just one part, export as many times as you like, accurate text
- Build at the larger size first. From slides to web
- Don’t convey meaning by color alone