Image Generator MCP
Generates images from text prompts using OpenAI's DALL-E 3, with configurable sizes and quality settings.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Image Generator MCPGenerate an image of a cozy cabin in the snowy mountains at dusk"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Image Generator MCP
AI image generation with DALL-E 3 and x402 micropayments on Base.
Features
🎨 AI Image Generation - Generate high-quality images from text prompts using OpenAI DALL-E 3
💳 x402 Payments - Pay $0.010 USDC per image via Base mainnet
📐 Multiple Sizes - 1024x1024, 1024x1792 (portrait), 1792x1024 (landscape)
⚡ Fast Generation - Images generated in seconds
🔒 Payment Verification - Secure payment verification via Coinbase CDP Facilitator
Related MCP server: cc0company MCP
Live Demo
🌐 Service URL: https://image-generator-mcp.vercel.app
API Endpoints
POST /api/generate
Generate AI image from text prompt
Request:
{
"prompt": "A serene mountain landscape at sunset",
"size": "1024x1024",
"quality": "standard"
}Parameters:
prompt(required) - Text description of the imagesize(optional) - Image dimensions:1024x1024,1024x1792,1792x1024(default:1024x1024)quality(optional) - Image quality:standard,hd(default:standard)
Response:
{
"success": true,
"prompt": "A serene mountain landscape at sunset",
"revisedPrompt": "A tranquil mountain scene...",
"imageUrl": "https://oaidalleapiprodscus.blob.core.windows.net/...",
"size": "1024x1024",
"quality": "standard",
"generatedAt": "2026-09-06T10:45:00.000Z",
"payment": {
"verified": true,
"amount": "0.010",
"currency": "USDC"
}
}GET /.well-known/x402
x402 Bazaar discovery endpoint (free)
GET /mcp/tools
MCP tool metadata (free)
GET /health
Health check endpoint (free)
Payment Details
Network: Base Mainnet (eip155:8453)
Currency: USDC
Price: $0.010 per image
Protocol: x402 v2 "exact" scheme
Payment Address:
0xf081ee84c0d85278a6242bc265f0b312021ebeb1
Setup
Prerequisites
Node.js 18+
OpenAI API key
Vercel account (for deployment)
Installation
npm installEnvironment Variables
Create a .env file:
OPENAI_API_KEY=your_openai_api_key_here
X402_FACILITATOR_URL=https://api.cdp.coinbase.com/platform/v2/x402
PORT=3000Local Development
npm startServer runs on http://localhost:3000
Deployment
Deploy to Vercel
# Install Vercel CLI
npm i -g vercel
# Deploy
vercel
# Set environment variable
vercel env add OPENAI_API_KEYAdd your OpenAI API key when prompted.
How x402 Payment Works
Agent calls
/api/generatewithout paymentServer returns 402 with payment details in
PAYMENT-REQUIREDheaderAgent pays $0.010 USDC on Base via CDP Facilitator
Agent retries with
PAYMENT-SIGNATUREheaderServer verifies payment and generates image
Tech Stack
Express.js - Web server
@x402/core - Payment verification
OpenAI API - DALL-E 3 image generation
Base Mainnet - Low-fee L2 blockchain
Vercel - Serverless deployment
License
MIT
Support
For issues or questions, open an issue on GitHub.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
AI dev tools + image generation, paid per-use with USDC on Base (x402).
AI music, video, image, and voice tools callable by agents with USDC payments via x402 on Base.
Pay-per-use AI and data tools via x402: image, video, music, voice, search, crypto. USDC.
54 pay-per-call AI services over x402 (USDC on Base): compression, OCR, FX, inference.
Related MCP Servers
- FlicenseAqualityFmaintenanceAI image generation from text prompts via x402 micropayments on Base. $0.10 USDC per image, paid automatically from your wallet. No API key required.1-
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to query the largest CC0 database for provenance, license verification, and market data, and generate CC0 images, all via pay-per-call x402 micropayments.-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to access 21 mazzagrp.com AI endpoints with x402 USDC micropayments on Base, paying per call without API keys.MIT
- AlicenseNot gradedqualityCmaintenanceDeterministic social image rendering for AI agents that converts specs into PNGs with exact typography, paid per call in USDC on Base via x402.62MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/acceptancestronk01-sudo/image-generator-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server