SnapAI - AI Image Generator

What is SnapAI?

SnapAI is a CLI tool that generates professional app icons using AI. Perfect for mobile developers working with React Native, Expo, iOS, Android, and other platforms. Create stunning app icons in seconds using OpenAI's latest image generation models - no design skills required!

✨ Features

  • 🚀 Lightning Fast - Generate icons in seconds, not hours
  • 🎯 iOS Optimized - Perfect for App Store requirements
  • 🛡️ Privacy First - Zero data collection, API keys stay local
  • 📱 Multiple Sizes - Square, landscape, and portrait formats
  • 💎 HD Quality - Crystal clear icons for any device
  • 🔧 Developer Friendly - Simple CLI, perfect for CI/CD

🚀 Installation

# Install globally
npm install -g snapai
 
# Or use directly (no installation)
npx snapai

🔑 Setup

  1. Get your OpenAI API Key:

  2. Configure the API key:

    snapai config --api-key YOUR_API_KEY

📱 How to use SnapAI

Generate your first icon:

snapai icon --prompt "minimalist weather app with sun and cloud"
Weather App Icon

Generate with specific style:

snapai icon --prompt "glass-like color-wheel flower made of eight evenly spaced, semi-transparent petals"
Weather App Icon

Generate multiple variations:

snapai icon --prompt "fitness tracker app with running figure and vibrant gradient colors" --num-images 4
Weather App Icon

High quality generation:

snapai icon --prompt "premium banking app with secure lock symbol and professional blue gradients" --quality high
Weather App Icon

Common Properties:

  • --prompt - Description of your icon (required)
  • --model - AI model to use (gpt-image-1, dall-e-3, dall-e-2)
  • --size - Icon dimensions (1024x1024, 1536x1024, etc.)
  • --quality - Image quality (auto, high, medium, low)
  • --num-images - Number of variations (1-10, dall-e-3 max: 1)
  • --background - Background type (transparent, opaque, auto) - gpt-image-1 only
  • --output-format - File format (png, jpeg, webp) - gpt-image-1 only
  • --output - Output directory path (default: ./assets)
  • --moderation - Content filtering (low, auto) - gpt-image-1 only
  • --raw-prompt - Skip iOS enhancement (boolean)

🎯 Available Models

  • GPT-Image-1 (default) - Best quality, transparent backgrounds
  • DALL-E 3 - Creative designs, HD quality
  • DALL-E 2 - Fast & economical

🔗 Resources