Saul - SVG Generator Agent
A command-line tool that generates SVG images from natural language descriptions using Claude AI.
Demo
demo.mov
Examples
| a book with sparkles | a house | a pelican riding a bike |
|---|---|---|
Usage
To get started run the tool using npx:
Interactive Mode
Simply run:
You'll be prompted to:
- Enter a description of the image you want to create
- After generation, choose to:
- View SVG - Opens the SVG in your default browser
- Modify SVG - Enter a prompt to adjust the image
- Auto adjust - Let AI improve the image
- Create new - Generate a completely new image
- Exit - Quit the application
Piped Mode
You can also pipe descriptions directly:
echo "a red house with a blue roof" | npm start
In piped mode, the tool will output the paths to the generated files and exit.
Examples
Interactive:
npm start
# Enter: "a minimalist mountain landscape at sunset"Piped:
echo "a geometric logo with triangles" | npm start
Development
Setup
- Create a
.envfile based on.env.example:
- Add your Anthropic API key to
.env:
ANTHROPIC_API_KEY=your_actual_api_key_here
Get your API key from: https://console.anthropic.com/
Requirements
- Node.js 18+
- An Anthropic API key
License
MIT