Generate an image from a text prompt, returned as a base64-encoded PNG. A pay-per-call x402 HTTP endpoint (USDC on Base).
Add the remote MCP server to any client, or call the x402 HTTP endpoint directly.
Claude / Cursor / Windsurf
claude mcp add --transport http agishub https://api.agishub.com/mcpmcp.json
{
"mcpServers": {
"agishub": {
"url": "https://api.agishub.com/mcp"
}
}
}x402 HTTP (pay-per-call)
curl -X POST https://api.agishub.com/paid/generate-image \
-H "Content-Type: application/json" \
-d '{ "prompt": "a neon fox, isometric" }'
# → 402 Payment Required, then pay per call in USDC on Base (x402)| generate | Generate an image from a text prompt (base64 PNG). |