{"uid":"cap_bp8-SqB9WYVhXWiuVfHEH","slug":"toolsnap-mcp-image-generate-flux-a2b39e28","name":"ToolSnap MCP — Image Generate (Flux)","description":"47 server-side tools for AI agents through a single MCP connection. 36 free, no new accounts. Median 98.1% token savings on web content. Paid tools from $0.02.","url":"https://mcp.toolsnap.app/x402/tools/image_generate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["flux-schnell","flux-dev"],"type":"string","default":"flux-schnell","description":"\"flux-schnell\" (default, fast/cheap, $0.003/MP) or \"flux-dev\" (higher quality, $0.025/MP)."},"prompt":{"type":"string","description":"Text description of the image to generate."},"image_size":{"enum":["square_hd","square","portrait_4_3","portrait_16_9","landscape_4_3","landscape_16_9"],"type":"string","default":"landscape_4_3","description":"Output size preset. Default landscape_4_3 (~1 megapixel)."},"num_images":{"type":"number","default":1,"maximum":4,"minimum":1,"description":"Number of images to generate in this call (1-4). Price scales linearly."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4tAh5tIEyeNxmCy9hPis0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images from a text prompt using Flux models (schnell or dev), with configurable size and count, via a pay-per-call MCP endpoint.","exampleAgentPrompt":"Generate a photorealistic image of a misty mountain forest at sunrise using the flux-schnell model in landscape_4_3 format — just one image.","exampleUseCases":[{"title":"Social media visual from a brand prompt","prompt":"Create a square HD image of a cozy coffee shop interior with warm lighting and latte art on the counter — use flux-schnell and give me 2 versions."},{"title":"High-quality portrait for a creative project","prompt":"Generate a portrait_16_9 image of a futuristic city skyline at night with neon reflections in the rain, using flux-dev for the best quality."},{"title":"Product concept visualization","prompt":"Make 4 landscape_4_3 images of a sleek minimalist smartwatch on a dark marble surface, using flux-schnell to keep costs low."}],"resultDescription":"Returns one or more generated image URLs corresponding to the prompt and settings provided. The number of images matches the num_images parameter (1–4). Image quality and generation speed vary by model: flux-schnell is fast and economical, flux-dev produces higher-fidelity results.","failureModes":["Invalid or missing prompt — returns an error indicating the prompt field is required","num_images out of range (below 1 or above 4) — schema validation error","Unsupported model value — must be exactly 'flux-schnell' or 'flux-dev'","Payment failure or insufficient USDC balance — x402 payment not accepted, request rejected","Temporary upstream model unavailability — Flux service error propagated back","Content policy violation on the prompt — request refused by the underlying model"],"whenToPreferThis":"Choose this endpoint when you need fast, affordable AI image generation via a single MCP connection without setting up separate accounts. Flux-schnell is ideal for rapid iteration and bulk generation at low cost ($0.003/MP); flux-dev is better when output quality matters. Prefer this over other image APIs if you are already using the ToolSnap MCP suite and want to avoid managing additional credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T18:35:04.742Z","isFirstParty":false,"canonicalSlug":"toolsnap-mcp-image-generate-flux-a2b39e28"}