Vector, icons and illustrations: from raster to curves
Everything Midjourney, GPT Image and Nano Banana produce is raster, a grid of pixels. For a cover or a moodboard that’s enough. But a logo, an icon, an interface illustration and anything that goes to print or gets scaled must be vector. That means curves you can enlarge to the size of a storefront sign, recolor in one click and adjust point by point. Between “the model drew something nice” and “this can go to production” lies a separate chunk of work. The path you choose decides whether it takes five minutes or two hours.
Three paths to vector
| Path | How it works | Strength | Weakness |
|---|---|---|---|
| Native vector generation | The tool outputs SVG with editable curves right away: Recraft, vector generation in Adobe Illustrator | Real shapes and groups, not traced blobs. Adobe trains on licensed content | Less artistic freedom than raster models. The style looks recognizably “stock” |
| Raster → tracing | The image is generated in any model, then traced: Image Trace in Illustrator, Vectorize in Figma (on paid plans; on the free plan, plugins like Image Tracer), separate services like Vectorizer.AI | Any style and any model. The best path for complex illustrations | Lots of extra nodes, ragged joins, “dirty” colors. Almost always needs cleanup |
| SVG as code | A chat model writes SVG as text, the way it would write HTML | A perfectly clean, light file. Edited with words, easy to animate | Works only for simple, geometric things: icons, patterns, diagrams. The model won’t draw characters or organic shapes in code |
Choose the path by the result. A simple icon or pattern: code. A flat illustration in a typical style: native generation. Something with character and a style of its own: raster plus tracing.
How to write a prompt “for tracing”
Tracing turns areas of one color into shapes. The fewer smooth transitions, textures and shadows in the image, the cleaner the vector. So generate an image that will be traced as traceable from the start: flat fills, a limited palette, crisp edges, a uniform background. The example below is for Midjourney. In Recraft and GPT Image the --raw and --ar flags don’t work and will end up as text in the image, so leave them out there.
potted monstera plant as a mid-century screen print, bold cut-paper leaf shapes with expressive splits, asymmetric composition, leaves spilling out of frame, limited palette of 4 flat colors: deep bottle green, mustard, terracotta, warm off-white, crisp edges, no gradients, no texture, no shadows --raw --ar 1:1 --stylize 250
For GPT Image and Nano Banana you write the same thing as a plain sentence. It helps to add: “as if it were an export from a vector editor, not a drawing.” After generating, upscale the image (the “Image generation” topic, section “Core techniques”). Tracing a large image gives noticeably smoother curves.

“illustration of a potted monstera plant”: hatching, halftones and a shadow on the floor.

The prompt above: four flat colors, crisp edges, no shadows.
illustration of a potted monstera plant --ar 1:1Flat colors, crisp edges, no shadows
potted monstera plant as a mid-century screen print, bold cut-paper leaf shapes with expressive splits, asymmetric composition, leaves spilling out of frame, limited palette of 4 flat colors: deep bottle green, mustard, terracotta, warm off-white, crisp edges, no gradients, no texture, no shadows --raw --ar 1:1 --stylize 250Cleanup after tracing
Automatic tracing is almost never the final step. What to check before you call the file done:
- Node count. A circle made of forty points is a sign of raw tracing. Simplify the paths and see whether the shape has drifted.
- Background and debris. Tracing often leaves a white rectangle under the image and dozens of tiny artifact shapes. Delete them.
- Colors. Instead of four colors, the file will have twelve nearly identical shades. Reduce them to the brand palette.
- Joins. Thin gaps or overlaps remain between neighboring shapes. They’ll show up in print and on a dark background.
- Symmetry and geometry. Anything that should be a perfect circle or a symmetrical shape is easier to rebuild with a primitive than to fix point by point.
- Structure. Group and name the layers. Otherwise the file can’t be handed off (the “AI inside Figma” topic, automatic layer names).
An honest rule: if cleanup takes longer than redrawing on top, put the generation on the bottom layer as tracing paper and trace it by hand. For logos and key icons this is almost always the case.
Edge tracing

Brightness cutoff

Icons: library first, then generation
For an interface, a ready-made library is still the first choice: Phosphor, Lucide, Material Symbols (the “Libraries and resources for vibe coding” topic). A consistent grid, stroke weight and a clear license matter more than originality. Generation makes sense in three cases. The library doesn’t have the metaphor you need. The brand needs its own set. Or an existing set is missing a few icons.
The last case is the best use of the “SVG as code” path. Show the model the code of three or four icons from the set as a sample (the same few-shot approach from the “Foundations” topic) and ask for a new one in the same system:
Here is the SVG code of four icons from our set (paste it). Shared rules: 24×24 canvas, 1.5 stroke, round caps and joins, no fills, 2 px padding from the edge.
Draw a ‘product return’ icon in the same system. Return only the SVG code. If the metaphor isn’t obvious, suggest two options and explain the difference.
The result goes into Figma as is: copied SVG code turns into a vector layer. If you need a whole set in a signature style from a raster model, the main problem is consistency. Nine icons generated separately will look like nine different sets. It’s more reliable to generate them as one sheet image (“a 3×3 grid of icons in one style”), lock the style with a reference (the “Characters and style” topic), then cut them apart and trace.

Nine separate generations: nine different sets.

One generation as a 3 × 3 sheet: one system.
Before — each icon with its own prompt, only the object changes
3D app icon of a [house / magnifying glass / notification bell / …], white background --ar 1:1After — all nine in one prompt, the style set once
a 3x3 grid of nine 3D app icons in one consistent style: house, magnifying glass, notification bell, user profile, shopping cart, heart, settings gear, calendar, chat bubble; soft matte clay material, the same pastel blue and cream palette, the same soft light from the top left and the same three-quarter camera angle, equal padding, white background --ar 1:1Whatever an icon’s origin, check it at its real size: 16, 20, 24 pixels. Something that looks great on a 512-pixel canvas turns into a blot in an interface.
512 px

24 px

20 px

16 px

Illustrations for interfaces and brands
Empty states, onboarding, article covers, landing page illustrations. This is where AI saves the most time, and the main job is a series that looks like one system. The techniques are the same as in the “Characters and style” topic: a style guide as the fixed part of the prompt, a style reference, and in Recraft a saved style that applies to all new generations. On format: take simple flat illustrations to SVG, since they’re lighter and can be recolored for a dark theme. Complex and textured ones are more honestly left as PNG or WebP than tortured through tracing. A vector illustration is easy to bring to life: you can ask an agent to animate the SVG with CSS or export it to Lottie (the “Vibe coding: art and tools” topic).
Logos: where the line is
Generation is good while you search for directions: twenty concepts in an evening instead of three. The final mark is still built by hand, and there are concrete reasons for that. Geometry and optical compensation. Working at 16 pixels and in one color. Variants of the mark that must be one sign, not four similar ones.

abstract logo mark concepts for a calm meditation app, simple geometric symbol, flat, single color, no letters, no text, white background --chaos 40There’s also a legal side. A generated mark can turn out similar to an already registered one, and models don’t check that (the “Image generation” topic, section “Logos, backgrounds and branding”). On top of that, in several jurisdictions, including the US, an image created by a model without substantial human creative contribution isn’t protected by copyright. For a moodboard that doesn’t matter. For a logo it’s a business risk for the client: a mark that can’t be protected can be used by anyone. One more argument for having a human build the final form (the “Ethics, privacy and limits” topic).
Command examples for practice
Draw an SVG ‘filter’ icon for an interface: 24×24 canvas, 1.5 stroke, round caps, no fills. Return the code, and after it, in one paragraph, suggest how the same icon should look in its active state
Here is an SVG after automatic tracing (paste the code). Simplify it: remove the background rectangle and duplicate shapes, reduce the colors to four, list what you changed
Generate a seamless SVG pattern of simple geometric shapes in the palette #2D3047, #93B7BE, #FFCF56. Build it with <pattern patternUnits="userSpaceOnUse" width="200" height="200">. Join rule: every shape that crosses the edge of the tile is duplicated with a ±200 offset along that axis so it continues on the neighboring tile. Return the full codeThe model doesn’t guarantee seamlessness on its own: without the join rule, shapes at the edge get cut off.
Write Midjourney prompts for a series of six flat illustrations for the empty states of a habit tracker app: a style that traces well into vector, a shared palette of five colors, a common character. Make one fixed part with the style and character and six variable parts, one per scene. Advise how to keep the character the same: --sref for the style and Edit Model with a character referenceOne prompt won’t hold a character across six scenes, so the series is built from a shared part and variable parts.
First visit: no habits yet

Nothing planned for today

All done

Each prompt = scene + shared style part. The scenes differ, the style is the same.
Scene 1, first visit
hand-drawn black ink line illustration for an empty state of a habit tracker app, a person sitting on the floor tying sneaker laces, ready to start, a small open blank notebook lying flat beside them, playful minimal doodle style, lots of white space, single soft green accent, no text --ar 4:3 --sref [link to the first good frame]Scene 2, nothing today
hand-drawn black ink line illustration for an empty state of a habit tracker app, a person holding a mug of tea by a window, a tiny sprout in a pot on the sill, calm quiet day, playful minimal doodle style, lots of white space, single soft green accent, no text --ar 4:3 --sref [link to the first good frame]Scene 3, all done
hand-drawn black ink line illustration for an empty state of a habit tracker app, a happy person stretching both arms up, a paper airplane flying away above them, all done for today, playful minimal doodle style, lots of white space, single soft green accent, no text --ar 4:3 --sref [link to the first good frame]A flat vector illustration: a person watering a potted plant, a friendly minimalist style, 5 colors, no gradients or outlines, lots of white space around itMake the same simple icon three ways. Ask a chat model to write it as SVG code. Generate it in a raster model and trace it. Generate it in a tool with native vector output. Open all three files in Figma or Illustrator in outline mode and compare: how many nodes, how clean the geometry is, how long cleanup took. Shrink each one to 24 pixels and see which stays readable.
Sources
- AI Vector Generator: Text to SVGrecraft.ai
Recraft outputs an editable SVG right away
- Text to Vector Graphic - Adobe Illustratoradobe.com
Generating editable vector graphics in Illustrator
- Use AI tools in Figma Designhelp.figma.com
Vectorize in Figma is available only on paid plans
- Copyright and Artificial Intelligence, Part 2: Copyrightabilitycopyright.gov
The US Copyright Office’s position: purely generated material isn’t protected
Found a mistake or an outdated fact? Write to hey@iskra.guide