v1.2.0 ยท npm ยท GitHub

๐ŸŽจ ImgForge

AI image generation from your terminal.
5 providers ยท 30+ models ยท Nano Banana 2 ยท one command.

$ npm install -g imgforge click to copy
Terminal
# Generate with free provider (no API key needed!)
$ imgforge generate "a futuristic city at sunset, cyberpunk style"
 
๐ŸŽจ ImgForge - AI Image Generator
Provider: Pollinations.AI (Free)
Model: flux
Size: 1024x1024
 
โœ“ Generated 1 image in 8.2s
โœ“ Saved: ./imgforge-output/pollinations-flux-1711195200.png
 
# Or use OpenAI for premium quality
$ imgforge generate "app icon for a weather app" -p openai -m dall-e-3 -q hd

5 Providers, One CLI

Switch between providers with a single flag. Free tier included.

Pollinations.AI FREE

No API key needed. Unlimited free generation.

flux flux-realism flux-anime turbo

OpenAI API Key

Best quality. DALL-E 3 and GPT Image models.

dall-e-3 dall-e-2 gpt-image-1

Google Gemini API Key

Nano Banana 2 (Gemini 3.1), Imagen 4 Ultra โ€” Google DeepMind's best.

nano-banana nano-banana-2 imagen-4 imagen-4-ultra

Stability AI API Key

Stable Diffusion 3, SDXL, fine control.

sd3-large sd3-medium stable-image-ultra

Replicate API Key

Flux Pro, Schnell, and community models.

flux-1.1-pro flux-schnell sdxl

Features

Everything you need to generate images from the command line.

โšก

Zero Signup

Pollinations provider works instantly โ€” no API key, no account, no credit card.

๐Ÿ”„

Multi-Provider

Switch between 5 providers with -p flag. Use the best model for each task.

๐Ÿ’พ

Auto-Save

Images saved to disk automatically with configurable naming patterns and output directory.

๐Ÿ“œ

History

JSON log of every generation. Review, redo, or reference past creations.

๐ŸŽฏ

Interactive Mode

Menu-driven UI for step-by-step generation. No commands to memorize.

๐Ÿค–

Copilot CLI Skills

Global agents for icon, mockup, and banner generation inside GitHub Copilot CLI.

Quick Start

Get started in seconds.

npm install -g imgforge Install globally
imgforge generate "your prompt" Generate with free provider
imgforge config set openai.apiKey sk-xxx Add an API key
imgforge generate "prompt" -p openai Use a specific provider
imgforge interactive Launch interactive menu
imgforge providers list See all providers & status

Part of the Forge Ecosystem

A suite of CLI tools for the modern app development workflow.