← Docs
No. 04.03

Inkscape

Design · Generate

Inkscape with local AI.

Generate visual elements and auto-generate SVG code using local neural networks. Create illustrations, icons, and graphics directly from text prompts without cloud dependency or subscription fees.

Capability

Text-to-image generation

Describe what you want and generate base images that can be converted to SVG. Works well for simple graphics, icons, and illustration elements.

Image description

Upload an existing graphic and receive detailed written descriptions, helpful for accessibility and cataloging your work.

SVG code assistance

Get suggestions for SVG path modifications, element transformations, and style improvements based on your design intent.

Style transfer

Apply aesthetic styles from reference images to your own work while maintaining editable vector structure.
Setup

These steps assume you've already picked a model and started llamafile by following the guided setup in this web app.

  1. 01

    Set up Python backend

    Create a helper script to call the llama-server API and convert generated images to SVG for Inkscape import: (Coming soon!)

  2. 02

    Import to Inkscape

    Use File → Import to bring generated graphics into your project. For SVG output, render the image and trace it: Path → Trace Bitmap.

Workflow
  • Prompt: "a minimalist icon of a coffee cup with steam lines"

  • Generate: AI creates raster approximation at 512x512

  • Vectorize: Inkscape traces to clean SVG paths

  • Edit: Customize colors, paths, and refine details