forgemesh-imagegen
OfficialIt is a paid MCP image-generation server that turns text prompts into PNG images, with optional transparency and HD upscaling.
generate_image: standard text-to-image PNG generation with optional aspect ratio.generate_clean: image generation with background removed, returning a transparent PNG.generate_hd: premium image generation with a 4x HD upscale.generate_pro: top-tier generation with background removal and 4x HD upscale.All tools require a
promptand support aspect ratios1:1,16:9,9:16, or4:3.
Click on "Deploy 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., "@forgemesh-imagegen generate an image of a futuristic city skyline at sunset"
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.
forgemesh-imagegen
MCP server for AI image generation. Generate images, remove backgrounds, upscale to 4x HD — all from a single MCP tool call. Payments handled automatically in USDC on Base mainnet via x402. No API key. No subscription. Pay per image.
Part of the ForgeMesh ecosystem — infrastructure for autonomous agents.
Tools
Tool | What it does | Price |
| Standard text-to-image generation | $0.05 USDC |
| Generate + background removal | $0.35 USDC |
| Premium generate + 4x upscale (HD) | $0.10 USDC |
| Top-tier generate + bg removal + 4x upscale | $0.75 USDC |
| List the 58 identity-preserving transform presets (person or pet) | $0.005 USDC |
| Transform a photo with a preset while keeping the subject's identity (FLUX Kontext Max) | $0.75 USDC |
The four generate_* tools accept prompt (required) and aspect (optional: 1:1, 16:9, 9:16, 4:3).
transform_image takes a public image_url, a preset id from list_presets, an optional aspect (match_input_image default, or 1:1, 16:9, 9:16, 4:3, 3:4) and wait (default true: polls the free status URL until the PNG is ready, usually 15-30s). Submit only images you have rights to; no minors; the provider safety filter applies.
generate_hd, generate_pro and transform_image run as async jobs: the tool polls the free status URL (default wait true, up to ~90s) and returns image_url plus expires_at (images are stored 7 days). If a job fails on the service's side (infrastructure or model host), the result carries a retry_credit; call the same tool again with retry_credit set to that value for one free retry (single use, 72 hours, same wallet, no new payment). Safety rejections and unclear failures after payment get no automatic retry and are logged for manual review (hello@forgemesh.io, quote the job id). Synchronous generate_image / generate_clean renders not finished within 85 seconds answer 504 and are not charged.
Related MCP server: jgkme/kilo-image-gen-mcp
Install
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"forgemesh-imagegen": {
"command": "npx",
"args": ["-y", "forgemesh-imagegen"],
"env": {
"WALLET_PRIVATE_KEY": "0x..."
}
}
}
}Claude Code
claude mcp add forgemesh-imagegen -- npx -y forgemesh-imagegenThen set the env var:
export WALLET_PRIVATE_KEY=0x...Requirements
A dedicated, low-balance Base mainnet wallet private key with USDC (never your primary wallet: the server signs USDC transfers autonomously)
$1 USDC ≈ 4 base images, 2 clean, 2 HD, or 1 pro, or 1 transform
No other API keys needed
Get USDC on Base: Coinbase → Bridge to Base, or buy directly on Base.
Example usage
generate_image(prompt="a red panda in a spacesuit", aspect="1:1")
→ { image_url: "https://...", prompt: "...", aspect: "1:1", tier: "image" }
generate_clean(prompt="a product photo of a ceramic mug")
→ { image_url: "https://...", tier: "clean" } // transparent PNG
generate_hd(prompt="a futuristic city at night, cyberpunk style")
→ { image_url: "https://...", tier: "hd" } // 4096x4096
generate_pro(prompt="a logo mark, geometric eagle")
→ { image_url: "https://...", tier: "pro" } // transparent + HD
list_presets()
→ { count: 58, presets: [{ id: "pet-royal", title: "Pet Royalty", subject: "pet", ... }, ...] }
transform_image(image_url="https://example.com/my-dog.jpg", preset="pet-royal")
→ { job_id: "...", status: "succeeded", preset: "pet-royal", image_url: "https://..." }How it works
Each tool call makes an HTTP request to the ForgeMesh imagegen service gated by the x402 protocol. If payment is required, the MCP automatically signs and broadcasts a USDC transfer from your wallet on Base mainnet — then retries the request. You see the result, your wallet is charged, no manual steps.
Network: Base mainnet (eip155:8453)
Token: USDC
Protocol: x402
The server only ever connects to
https://imagegen.coinopai.com; every request has a 60s timeout and a 1 MB response cap; no third-party payment routers or affiliate hops.
Links
ForgeMesh — ecosystem overview
License
MIT © ForgeMesh Labs
Available Tools
4 toolsgenerate_cleanB
Generate an AI image with background removed. Returns a transparent PNG URL. Costs $0.35 USDC on Base mainnet.
Inputs: prompt (required), aspect.
generate_hdA
Generate a premium AI image upscaled 4x HD. Returns a high-resolution image URL. Costs $0.50 USDC on Base mainnet.
Inputs: prompt (required), aspect.
generate_imageA
Generate a standard AI image from a text prompt. Returns a PNG image URL. Costs $0.25 USDC on Base mainnet — paid automatically.
Inputs: prompt (required), aspect, affiliate_id.
generate_proA
Generate a top-tier AI image with background removal and 4x HD upscale. Costs $0.75 USDC on Base mainnet.
Inputs: prompt (required), aspect.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool represents a distinct output tier—standard, background-removed, HD upscaled, and combined premium—so an agent can clearly choose based on features and price. The descriptions explicitly differentiate the output type and cost, leaving little room for misselection.
All tool names follow the consistent verb_prefix pattern generate_ followed by a clear modifier. The naming style is uniform and predictable across the entire set.
Four tools is an appropriate size for an image generation server with a base tier, two add-on enhancements, and a combined premium option. Each tool earns its place and there is no excess or redundancy.
The tool surface fully covers the stated domain of AI image generation with the available enhancement options. There are no obvious missing workflows for this focused server scope.
Maintenance
Related MCP Connectors
MCP server for X420's pay-per-call agent services (x402, USDC on Base, paid from your own wallet).
MCP server for AI agents to discover campaigns by humans and donate USDC directly on Base.
AI dev tools + image generation, paid per-use with USDC on Base (x402).
Pay-per-use MCP tools for AI agents. USDC on Base via x402. No API keys.
Related MCP Servers
- AlicenseAqualityBmaintenanceKronos crypto signals + trade decisions + 819 automation prompts. x402 micropayments, USDC/Base.11718 npm1MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for generating, editing, and processing images via multiple providers including Kilo, OpenRouter, OpenAI, and Gemini, with local tools for background removal, resizing, and cropping.16 npm3MIT
- AlicenseNot gradedqualityDmaintenanceMCP server with X402 payment integration, enabling AI agents to access paid tools like weather, web search, and image generation with crypto payments via MetaMask on Base network.MIT
- AlicenseAqualityDmaintenanceAn MCP server for USDC payments on Base, enabling AI agents to check balances, send payments, generate payment requests, and view transaction history.42MIT