A beautiful, dark-first AI image generation and editing studio built with Next.js. Frame provides a powerful interface for generating images via AI APIs, editing them with precision, and managing everything locally through IndexedDB.
- Prompt-based Generation β Natural language prompts with real-time parameter tuning
- Multiple AI Provider Support β Compatible with OpenAI DALL-E, Stability AI, Midjourney API, and any OpenAI-compatible endpoint
- Custom Base URL β Configure your own API endpoint for self-hosted or proxy setups
- Round-Robin API Key Rotation β Add multiple API keys for load balancing and rate limit management
- Batch Generation β Generate multiple variants in a single request
- IndexedDB Gallery β All generated images saved locally with metadata
- Project Organization β Tag, favorite, and organize images into collections
- Export & Import β Backup your gallery as JSON or ZIP, restore anytime
- Offline Access β Browse and manage your entire gallery without internet
- Smart Masking β Brush-based inpainting with adjustable size and softness
- Background Removal β One-click transparent backgrounds
- Style Transfer β Apply artistic styles to existing images
- Upscaling β 2x/4x enhancement with quality preservation
- Cropping & Resizing β Aspect ratio presets and freeform crop
- Adjustment Controls β Brightness, contrast, saturation, warmth
- Size Presets β Square (1024x1024), Portrait (1024x1792), Landscape (1792x1024), and custom
- Quality Settings β Standard, HD, Ultra quality tiers
- Background Control β Transparent, solid color, blur, or auto-detect
- Style Modifiers β Vivid, natural, anime, cinematic, 3D render, sketch
- Format Selection β PNG, JPEG, WebP output
- Seed Control β Reproducible generations with seed locking
- API Configuration β Custom headers, timeout, retry logic
- Rate Limiting β Per-key rate tracking and automatic backoff
- Prompt Templates β Save and reuse common prompt patterns
- Negative Prompts β Exclude unwanted elements
- NSFW Filtering β Content safety toggles
frame/
βββ app/ # Next.js App Router
β βββ layout.tsx # Root layout with Halcyon design system
β βββ page.tsx # Studio (home)
β βββ gallery/page.tsx # Local gallery
β βββ editor/page.tsx # Image editor
β βββ settings/page.tsx # Configuration
βββ components/ # React components
β βββ ui/ # Base UI (buttons, inputs, cards)
β βββ studio/ # Generation interface
β βββ gallery/ # Grid, filters, viewer
β βββ editor/ # Canvas, tools, panels
β βββ settings/ # Forms, config panels
βββ lib/ # Utilities
β βββ db.ts # IndexedDB wrapper
β βββ api.ts # API client with key rotation
β βββ store.ts # App state management
βββ public/ # Static assets
Frame uses the Halcyon Design System β a dark-first, architecturally precise UI kit characterized by:
- Cool near-black neutrals (
#0A1019canvas) - Blue-teal accents (
#4680F5primary,#2FA7A3secondary) - Sculptural glass-bar hero identity
- Manrope + Inter typography pairing
- Precise 4px spacing scale
- Core UI scaffolding
- API integration with key rotation
- IndexedDB persistence layer
- Image editor with canvas tools
- Export/import functionality
- Plugin system for custom AI providers
- Batch processing pipeline
- Collaborative workspaces
# Install dependencies
npm install
# Run development server
npm run dev
# Build for production
npm run buildMIT
