profile image

LLM SVG Generator API

Sep 2025 - Present

A FastAPI-based REST API that generates custom SVG icons using multiple Large Language Model (LLM) providers. Transform text descriptions into scalable vector graphics with AI.

LLMAIPython

Features Multi-Provider Support: Choose from OpenAI, Google Gemini, Anthropic Claude, or Ollama Flexible API: Both JSON and raw SVG endpoints Smart SVG Generation: Optimized prompts for clean, minimal icon generation Automatic Validation: XML parsing and validation of generated SVGs Fallback Handling: Graceful degradation if generation fails Production Ready: Docker support with Caddy reverse proxy API Security: API key authentication via headers