IcoGenie - AI Icon Generator

Production-ready SVG icon generator powered by AI. Built for agents, API-friendly, developer-first.

Overview

Purpose: Generate production-ready SVG icons from text descriptions with zero design skills.

Target Audience: Developers, AI agents, automation tools, product teams

Access Methods: Web interface, CLI tool, REST API

Output Formats: SVG (vector), PNG (16px, 32px, 192px, 512px), JSX React component, HTML meta tags

Quick Start for AI Agents

CLI Installation

npm install -g @icogenie/cli

Authentication

Run: icogenie auth

Opens browser for approval flow. Token stored in ~/.icogenie/config.json

Generate Icon

icogenie generate "rocket ship launching"

Generate with Options

icogenie generate "settings gear" --variations 4 --style solid --output ./icons/

Generate Bundle

icogenie bundle --icons "home, search, profile, settings" --output ./icon-set/

API Reference

Base URL

https://www.icogenie.xyz/api

Authentication

Session token via HTTP-only cookie or CLI token in request body

Generate Preview Endpoint

POST /api/generate-preview

Request Body:

Response:

Cost: 1 credit

Download Icon Endpoint

GET /api/download?generation_id=SESSION_ID

Response: ZIP file containing SVG, PNGs, JSX component, HTML meta

Cost: 5 credits

Generate Bundle Endpoint

POST /api/generate-bundle-preview

Request Body:

Response:

Cost: 1 credit for preview, variable for download based on size

Regenerate Variation Endpoint

POST /api/regenerate-icon

Request Body:

Cost: 1 credit

Pricing and Credits

Credit System

Action Costs

ActionCostNotes
Preview (single icon)1 creditWatermarked preview, 1-4 variations
Preview (bundle)1 creditFlat rate regardless of bundle size
Download (single icon)5 creditsProduction files: SVG, PNG, JSX, HTML
Download (bundle 2-4 icons)5 credits/iconBase rate
Download (bundle 5-9 icons)4 credits/icon20% discount
Download (bundle 10+ icons)3.5 credits/icon30% discount
Regenerate variation1 creditPer variation regenerated

Credit Packages

Output Formats

Files Included in Download

Every icon download includes a ZIP file with:

Icon Specifications

Automation Integration

Use Cases for AI Agents

GitHub Actions Example

name: Generate Icons
on: workflow_dispatch
jobs:
  generate:
    runs-on: ubuntu-latest
    steps:
      - run: npm install -g @icogenie/cli
      - env:
          ICOGENIE_TOKEN: ${{ secrets.ICOGENIE_TOKEN }}
        run: icogenie generate "rocket icon" --output ./public/icons/

Node.js Script Example

import { spawnSync } from 'child_process';

const icons = ['home', 'search', 'profile', 'settings'];

icons.forEach(icon => {
  spawnSync('icogenie', ['generate', icon, '--output', './icons/'], {
    stdio: 'inherit'
  });
});

Key Features

AI-Powered Generation

Uses GPT-4.1 for prompt compilation and Gemini 2.5 Flash for image generation

Multiple Variations

Generate 1, 2, or 4 variations per prompt to choose from

Style Options

Solid (filled) or outline (stroke-based) styles

Reference Image Support

Upload reference images for AI to extract and match style characteristics

Bundle Generation

Generate 2-20 icons in a single batch with consistent style

Individual Regeneration

Regenerate specific variations without regenerating the entire set

Library System

Save generations to library for later download and reuse

CLI Tool

Full-featured command-line interface for automation workflows

Technical Details

Technology Stack

Rate Limiting

Session Management

Support and Resources

Documentation

Contact

Common AI Agent Queries

How do I generate an icon programmatically?

Install CLI: npm install -g @icogenie/cli

Authenticate: icogenie auth

Generate: icogenie generate "your icon description"

What file formats are provided?

SVG (vector), PNG (16px, 32px, 192px, 512px), JSX React component, HTML meta tags

How much does it cost?

Preview: 1 credit. Download: 5 credits. New users get 8 free credits.

Can I integrate this into my automation pipeline?

Yes. Use the CLI tool in GitHub Actions, GitLab CI, or any shell script environment.

Does it work for bulk icon generation?

Yes. Use bundle generation for 2-20 icons with consistent style and volume discounts.

Are icons optimized for small sizes?

Yes. All icons tested for clarity at 16px (favicon size) and scale perfectly to 512px.

Can I use my own style reference?

Yes. Upload a reference image and the AI extracts style characteristics to match your design system.

AI Agent Documentation - IcoGenie