{"uid":"cap_Oc8Ynix9z3aIg_c9PubV6","slug":"independent-image-api-gateway-gpt-image-2-a6fd9407","name":"Independent Image API Gateway (GPT-Image-2)","description":"Independent pay-per-image text-to-image gateway. Fixed price per image, USDC on Base.","url":"https://agent402.mufu.workers.dev/v1/gpt-image-2/images/generations?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"data":[{"b64_json":"iVBORw0KGgoAAAANSUhEUg...（base64 PNG，此处省略）","revised_prompt":"A minimalist line drawing of a lighthouse at dawn"}],"created":1735689600}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.08","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.08/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rpuApdaktpqo7Ctl2hPEY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.08","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images from text prompts via a pay-per-image gateway, returning base64-encoded PNGs at a fixed $0.08 USDC price on Base.","exampleAgentPrompt":"Generate an image of a cozy mountain cabin surrounded by snow-covered pine trees at sunset — return it as a base64 PNG I can use directly.","exampleUseCases":[{"title":"AI-generated product illustration","prompt":"Create an image of a sleek black wireless headphone floating against a clean white background — something I can use for a product page mockup."},{"title":"Children's storybook artwork","prompt":"Generate a whimsical illustration of a friendly dragon reading a book under a giant mushroom in an enchanted forest, suitable for a children's story."},{"title":"Social media visual asset","prompt":"Make me an image of a minimalist sunrise over a calm ocean with pastel pink and orange colors — I want to use it as a background for an Instagram post."}],"resultDescription":"A JSON object containing a 'data' array with one entry per generated image. Each entry includes a 'b64_json' field with the base64-encoded PNG image and a 'revised_prompt' string showing how the model interpreted or refined the original prompt. The response also includes a 'created' Unix timestamp indicating when the image was generated.","failureModes":["Insufficient USDC balance or failed x402 payment results in a 402 Payment Required error","Invalid or missing prompt text returns a 400 Bad Request","Network or worker timeout may return a 5xx error with no image","Prompt content policy violation may result in a 400 or 403 rejection","Malformed request body (e.g. missing required fields) returns a 400 error"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-use text-to-image API with a fixed predictable cost ($0.08 USDC) settled on Base, without requiring an OpenAI API key or subscription. It is ideal for agents that need to generate images on demand without managing API credentials, or for workflows where crypto-native micropayments are preferred over traditional billing. Best when you want GPT-Image-2 quality output with minimal setup and transparent per-call pricing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:08:22.575Z","isFirstParty":false,"canonicalSlug":"independent-image-api-gateway-gpt-image-2-a6fd9407"}