Generate icons and article illustrations with AI

Updated 2026-11-26 15 分钟(含改稿) Difficulty ★★☆☆☆Author Skills 编辑部

Skills used in this guide (3)

The pain of illustration isn't "can't draw" — it's "inconsistent style, blurry when scaled, can't edit". The point of AI vector illustration: set style and size first, want vector not bitmap, so it scales sharp and the source stays editable.

Who this is for / not for

For:

  • Need a consistent set of icons / illustrations
  • Want vector (SVG) for web / PPT, sharp when scaled
  • Want editable source output

Not for:

  • Photo-realistic images (that's an image model, not SVG)
  • Brand-level retouch (AI is structure/style first)
  • One-off image, don't care about consistency

Before you start

  1. Use: icon set / article art / cover — decides ratio & style.
  2. Style ref: 2-3 refs or description (flat / line / papercraft).
  3. Size: icon 24/48, illustration 16:9 or 1:1.

Steps

1. Install the skill

icon-generator is an icon-generation skill (runs locally). Copy its folder into your client's skills directory (same as any Agent Skill):

ClientDirectory
Claude Code~/.claude/skills/
Codex~/.codex/skills/
Cursor~/.cursor/skills/
Trae~/.trae/skills/
CodeBuddy~/.codebuddy/skills/
Tongyi Lingma~/.lingma/skills/

2. Set style, then batch

text
Generate a "data analysis" icon set, 12 icons, consistent style:
linear, 1.5px stroke, rounded, 24x24 viewBox, single color #2563eb.
Each expresses one concept (trend/funnel/pie/table…).
Give 1 style sample to confirm, then batch the rest.

3. Article art, different style

Blog/newsletter art with baoyu-article-illustrator, describe mood and subject:

text
Illustration for an article on "remote work productivity": warm, human silhouette, flat vector,
laptop + plant as subject, 16:9, SVG.

4. Cover with papercraft

Cover/card with pop-up-book-illustration for a 3D papercraft look that pops more.

Pitfalls

PitSymptomFix
InconsistentSet looks multi-authoredConfirm 1 sample, then batch
Blurry bitmapScales fuzzyWant SVG vector, not PNG
Can't editBitmap, no sourceKeep SVG source, edit paths
Too loudInfo buriedMono/two-color, accent one spot
Wrong ratioDistorts on pasteFix viewBox ratio upfront

FAQ

Consistent icon set?

Yes — have AI give 1 sample to confirm, then batch with same params; safest.

Sharp when scaled?

Must be SVG vector; PNG always blurs when scaled.

Article art style?

Blog/newsletter → baoyu style; bolder cover → papercraft.

Edit generated image?

Keep SVG source; editing paths/colors beats redraw.

No design draft?

Yes — give style ref or text; more specific ref → more accurate.

Related guides

Continue across these scenes:

相关源码

一句话结论

结论:配图要矢量不要位图——先定风格样张再批量,SVG 放大不糊还能改源文件。

References

Related Scenes