Makers Army
Articles

Laser & CNC

Make a Black-and-White SVG With ChatGPT and Potrace

Make a bold banksia image, prepare a 2,048-pixel bitmap, trace it with Potrace and check the actual SVG before you cut.

By Sam 10 November 2026
Black-and-white banksia artwork traced to SVG
A rendering of the actual Potrace trace of our generated banksia example.

Make a Black-and-White SVG With ChatGPT and Potrace

You can describe the design you want, make a black-and-white image, and turn its shapes into an SVG you can open in a vector editor. I love this workflow for getting an idea moving quickly. The part that matters is what happens after the image appears: you still have to turn it into real paths and check what your machine will actually do with them.

We made the banksia below as a single-design example, prepared a 2,048 × 2,048 pixel black-and-white input and traced it with Potrace 1.16. I'll give you the prompt, the real tracing command and the bits worth checking before you send anything near your good material.

The short version: generate a clear black-and-white image, prepare it as a bitmap, trace that bitmap, then inspect and test the SVG. ChatGPT may be able to help with the preparation, but don't assume every account can run Potrace or produce a finished cut file inside the chat.

What you needWhat it's for
ChatGPT with image creation availableMake the original artwork. Availability and limits depend on your account.
A copy of your generated imageKeep the original untouched in case the trace needs another go.
Potrace and a way to create a black-and-white bitmapTurn the solid shapes into vector paths.
A vector editor and your cutting softwareCheck the paths, scale and machine settings.

Start with a subject that will survive a cut

The original generated black-and-white banksia branch with clear white spaces.

Our generated single banksia example, before tracing. The shapes and white spaces matter more than squeezing in lots of tiny detail.

Pick one recognisable subject. A banksia, a bee, a simple boat or a dog silhouette is a much friendlier first project than a full forest with a fence, twelve birds and a quote. You can make a complicated image later; first get a file that behaves.

Think about the finished size too. A white gap that looks massive on your monitor can disappear when the design is cut two centimetres high. The smallest practical detail depends on your material, machine, settings and whether you're engraving or cutting, so use your own scrap test rather than trusting a universal number.

For this sample, the original image was generated at 1,254 × 1,254 pixels. We resized a copy to 2,048 square before making the tracing bitmap. That's a larger working file, not magically recovered detail. If your account can make or export a clean native 2,048-pixel image, use that; otherwise be honest about the size you actually received.

Copy the prompt we used

This is the one-design version of our SVG image-creation approach. Paste it into ChatGPT and swap the banksia for your subject:

Create one original, medium-detail black-and-white clip-art design of
an Australian banksia branch for a laser/Cricut cut-file tutorial.
Show a recognisable banksia flower head, stem and a few leaves.
Use strong solid black shapes and deliberate broad white cutouts to
describe the flower and leaves, with clean readable open gaps.
Pure black artwork on a pure white square background.
Keep the whole subject centred with generous clear margins.
No grey, gradients, colour, hatching, stipple, tiny distress specks,
delicate hairlines, texture, text, borders, mock-ups, logos or watermark.
This is one standalone design, not a sheet. Aim for a high-resolution
square image suitable for preparing a 2048-pixel tracing input.

Be as specific about the look as the subject. “A bee” can give you a shaded photograph, a cartoon with tiny legs or a very happy bee holding a sign. If you need a bold single-colour design, say so before the tool goes off and gives the bee an entire backstory.

The normal Makers Army production version can request four designs on one sheet. Here's the actual layout instruction, so you can adapt that approach too. A four-up sheet is divided and traced into separate files afterwards; it is not one ready-to-cut SVG.

LAYOUT IS FIXED: square canvas, four equal 2x2 cells. Coordinates below are
percentages of the WHOLE canvas, not of a cell. Top-left artwork fits wholly
inside x=6..44%, y=6..44%; top-right inside x=56..94%, y=6..44%; bottom-left
inside x=6..44%, y=56..94%; bottom-right inside x=56..94%, y=56..94%. Center
each whole subject in its assigned box. Scale the entire subject DOWN to fit;
never enlarge it until a leaf, stem, petal, wing or other part leaves that box.
Keep x=44..56% and y=44..56% completely white across the entire canvas, and
keep the outer 6% white. No design crosses a cell boundary. No drawn grid,
panel border or separator. Unused cells are completely blank white.

Name each subject by position if you try four. For a first attempt I recommend the single image: it gives you more room per design and fewer ways to accidentally crop a wing off. A prompt is an instruction, not a guarantee, so inspect the output either way.

Make the actual tracing input

Download your image and save a duplicate. If the output includes grey shadows or a textured background, ask for a cleaner version or adjust your copy in an image editor. You want dark artwork against a white background, with no stray border around the outside.

The actual 2048-pixel black-and-white bitmap prepared from the generated banksia.

The prepared 2,048-pixel bitmap. It was resized from the original and then thresholded to black and white.

We converted our resized copy to greyscale, then used a threshold of 200 on a 0–255 scale to produce a black-or-white bitmap. That value is the setting used for this particular image, not a magic number for every picture. Increase or decrease your threshold while watching the smallest white gaps and black strokes.

Check the edges. Is the complete stem inside the picture? Is there a clear white margin? If a grey shadow has become a big black blob, return to the image rather than hoping the vector trace will understand what you meant.

Potrace accepts bitmap formats including PBM, PGM, PPM and BMP; see the official Potrace documentation. We saved the thresholded image as a PBM. A PNG is an image too, but the standalone command below needs a compatible bitmap input.

Trace it with Potrace

Install the appropriate Potrace build from its official site and put your PBM where you can find it. The exact executable path depends on your computer. In a terminal where potrace is available, the command we used is:

potrace --svg --turdsize 2 --alphamax 1 --opttolerance 0.2 \
  --output banksia.svg banksia-2048.pbm

On Windows PowerShell, put that command on one line rather than using the trailing backslash. If potrace is not on your PATH, call the executable by its full path. The options are the ones used for this sample; inspect the result and adjust your workflow for your own art. Potrace also provides an SVG output option in its usage documentation.

The actual SVG generated by Potrace, rendered on a white background.

The actual Potrace SVG rendered as an image for this article. The SVG contains vector paths; this preview is just a picture of them.

You can ask ChatGPT to guide you through the commands or run them if your particular environment provides the tool. Check the returned file yourself. A chatbot saying “I've traced it” isn't evidence that Potrace was installed, that the command ran or that the resulting file is an SVG.

Zoom in before you get excited

A close comparison of the prepared bitmap at left and rendered Potrace vector at right.

A close comparison of our actual prepared bitmap and traced vector. The two previews are shown at the same displayed size; check your own curves and small gaps.

Open the SVG in a vector editor. Zoom in on the smallest gaps, the ends of stems and anywhere two black shapes nearly meet. Toggle between the source and the trace. Does the flower still have the open spaces that made it readable? Are there specks you didn't intend? Did a tiny detail merge into the next one?

For vinyl, a tiny isolated island can be a pain to weed. For a stencil, an enclosed white area may need a bridge to stay attached. For a laser, a filled shape and a cut line are different instructions; don't assume every black edge should be cut just because it appears on screen. Set the operation in your machine software and follow its material guidance.

Select the artwork and check its width and height in real units. Scale it to the actual job, not the size it happened to import. If your software shows an unexpected giant rectangle, look for a traced border or background. If an area should be a hole but behaves like a separate solid piece, inspect the paths and fill rules in your editor.

Do one small test and keep the source

Before producing ten of anything, make one test on suitable scrap. Check the finished size, the narrowest surviving bit and whether you can remove or keep each piece as intended. If it fails, go back to the artwork or threshold and trace again. Potrace can make paths from pixels; it can't decide what your particular material will tolerate.

Keep the prompt, original image, prepared bitmap and final SVG together. That gives you a way back when you decide the branch should be slightly wider next week. For designs based on another person's artwork or a brand, check permission and commercial-use terms before selling the result.

Start with one simple subject, try the prompt and trace it. Once you've got a file that passes the small test, then you can start giving that bee a backstory.

Sources

  1. 1.Potrace documentation and download
  2. 2.OpenAI image generation guide
  3. 3.OpenAI terms of use

Share this article

Know someone who would enjoy this? Pass it along.