Wafle-Imago — universal MCP server for AI image generation. Free via Cloudflare Workers AI or NVIDIA NIM.
Project description
Wafle-Imago — Universal MCP Server for AI Image Generation
Imago (Latin: image, likeness, representation). From the root of "imagine" and "imagery".
Wafle-Imago turns words into images. A universal MCP server that works with any MCP-compatible client (OpenCode, Claude Desktop, Cursor, Windsurf, etc.). Supports multiple backends with automatic fallback, built-in security, and audit logging.
Quick Start
pip install wafle-imago
wafle-imago
That's it. No API key, no registration, no configuration. Generates images in ~0.5s.
Backends
| Backend | Images | Video | Audio | Auth Required | Cost |
|---|---|---|---|---|---|
| pollinations (anonymous) | ✅ | ❌ | ❌ | No | $0, unlimited, no rate limit |
| pollinations (with key) | ✅ | ✅ | ✅ | POLLINATIONS_API_KEY |
From ~$0.001/gen |
| hf | ✅ | ❌ | ❌ | HF_TOKEN |
$0 (rate-limited) |
Configuration
OpenCode / Claude Desktop / Cursor
Add to your MCP client config:
{
"mcpServers": {
"wafle-imago": {
"command": "wafle-imago",
"description": "AI image generation — free, no auth, unlimited"
}
}
}
With API key for video/audio:
{
"mcpServers": {
"wafle-imago": {
"command": "wafle-imago",
"env": {
"POLLINATIONS_API_KEY": "sk_your_key_here"
}
}
}
}
CLI Options
wafle-imago # MCP stdio mode (default for agents)
wafle-imago --http --port 8000 # HTTP SSE mode
wafle-imago --backend hf # Use HuggingFace backend
wafle-imago --version # Show version
MCP Tools
| Tool | Description |
|---|---|
generate_image |
Generate image from text. Free, no auth needed |
generate_video |
Generate video (requires API key) |
list_models |
Available models with pricing |
get_balance |
Check auth status / mode |
Security
- Prompt validation (NSFW, injection blocking)
- Rate limiting (configurable)
- Audit logging (JSONL)
safeparameter for content safety
Requirements
- Python 3.10+
- Windows, macOS, Linux
Installation from Source
git clone https://github.com/creandoaldia/wafle-imago.git
cd wafle-imago
pip install -e .
License
MIT
Etymology
Imago (Latin) — image, likeness, representation. The root of "imagine", "imagery", and "imitation". From imitari (to copy, to represent). Wafle-Imago: the WAFLE ecosystem's engine for turning language into visual form.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wafle_imago-0.2.0.tar.gz.
File metadata
- Download URL: wafle_imago-0.2.0.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5edb3dacb20fb968f6f24f83f3e3550fcec3e6ce524ba79d8f32c54999c6f72
|
|
| MD5 |
c5dbf734b1fa2c660d58d21c38f4cf8d
|
|
| BLAKE2b-256 |
a84875ffdddaefabf163bece1e7d4aa2548ce9ff568b79e8e8cac7239914dcef
|
File details
Details for the file wafle_imago-0.2.0-py3-none-any.whl.
File metadata
- Download URL: wafle_imago-0.2.0-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7219df766379b83e8ba8b1483d580e87845849b62772c47ec28c9fb013bb4a4d
|
|
| MD5 |
71f83fd42a0a3fa1085f8f5de4a5bb4c
|
|
| BLAKE2b-256 |
bcc574dbe43702660afcb1c9bd40702154c9ff5e45bcf3a5cd8d474692872cda
|