{"uid":"cap_JIF0uIH3aXLjh8xWvaS8_","slug":"openai-gpt-image-1-5-via-mm-family-x402-e39d4a84","name":"OpenAI GPT-Image-1.5 via mm.family (x402)","description":"gpt-image-1.5: OpenAI GPT Image 1.5 image generation, paid per call in USDC. OpenAI list $32 per 1M image tokens (1024x1024: low 272, medium 1056, high 4160 tokens), text in $5 per 1M, plus $0.0005 (Base) or $0.0005 (Solana) per call. Send size and quality (auto is refused); omitted means 1024x1024 medium. Returns b64_json. Rates: https://openai.mm.family/x402/pricing","url":"https://openai.mm.family/x402/v1/models/gpt-image-1.5/images/generations?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"n":{"type":"integer"},"size":{"type":"string"},"model":{"enum":["gpt-image-1.5"],"type":"string"},"prompt":{"type":"string"},"quality":{"enum":["low","medium","high"],"type":"string"},"background":{"type":"string"},"moderation":{"enum":["auto"],"type":"string"},"output_format":{"enum":["png","jpeg","webp"],"type":"string"}}},"responseSchema":{"type":"json","example":{"data":[{"b64_json":"<base64 png>"}],"size":"1024x1024","usage":{"input_tokens":12,"total_tokens":208,"output_tokens":196},"created":1,"quality":"low","output_format":"png"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.00559","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.00559/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00559","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00559","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DRHX_duP2861DrC8oDF_b","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.00559","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 using OpenAI's gpt-image-1.5 model, paid per call in USDC via x402 protocol, returning base64-encoded PNG/JPEG/WebP output.","exampleAgentPrompt":"Generate an image of a serene Japanese garden at sunrise with cherry blossoms reflecting in a koi pond — use high quality, 1024x1024 size, and return it as a PNG.","exampleUseCases":[{"title":"Marketing visual for product launch","prompt":"Create a high-quality 1024x1024 PNG image of a sleek wireless headphone floating against a clean white background — I need it for a product listing, so make it sharp and professional."},{"title":"Low-cost concept art for storyboarding","prompt":"Generate a low-quality JPEG image of a futuristic city skyline at dusk with neon lights reflected in rain-soaked streets — just a quick concept sketch feel is fine."},{"title":"Transparent-background icon generation","prompt":"Make a medium-quality WebP image of a minimalist coffee cup icon with a transparent background, 1024x1024, for use as an app logo."}],"resultDescription":"Returns a JSON object with a `data` array containing a `b64_json` field (base64-encoded image), plus metadata including `size`, `quality`, `output_format`, `created` timestamp, and `usage` token counts (input_tokens, output_tokens, total_tokens).","failureModes":["Prompt rejected by moderation — returns error if content violates OpenAI policy","'auto' quality value refused — must explicitly pass 'low', 'medium', or 'high'","Payment failure — x402 payment not completed or insufficient USDC balance","Invalid size or format enum value — returns 400 error","Model field mismatch — must specify 'gpt-image-1.5' exactly"],"whenToPreferThis":"Choose this endpoint when you specifically need OpenAI's gpt-image-1.5 model with x402 USDC micropayment support, want fine-grained quality control (low/medium/high) with predictable per-call token costs, or need to integrate image generation into an autonomous agent pipeline without OAuth or API keys — just pay-per-use in stablecoins. Prefer over chatgpt-image-latest when you want a stable, versioned model rather than OpenAI's rolling latest release.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:42:52.644Z","isFirstParty":false,"canonicalSlug":"openai-gpt-image-1-5-via-mm-family-x402-e39d4a84"}