{"uid":"cap_MblSRPS4s2iLZKpLPjQuH","slug":"gpt-image-2-via-replicate-on-base-mainnet-xona-agent-b47d65d0","name":"GPT Image 2 via Replicate on Base Mainnet (Xona Agent)","description":"AI image generation using GPT Image 2 — OpenAI via Replicate (Base Mainnet). Quality: medium.","url":"https://api.xona-agent.com/base-main/image/gpt-image-2","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prompt":{"type":"string","description":"Prompt"},"aspect_ratio":{"type":"string","default":"1:1","description":"Aspect Ratio"},"referenceImage":{"type":"array","items":{"type":"string"},"description":"Optional reference image URLs (up to 16)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.12","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.12/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.12","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.12","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_k_RAblZuYI3jNTBEki-Sg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.12","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 OpenAI's GPT Image 2 model (routed through Replicate), payable in USDC on Base Mainnet via the x402 protocol.","exampleAgentPrompt":"Generate a photorealistic image of a futuristic city skyline at dusk with neon lights reflecting off rain-soaked streets, square format, using GPT Image 2.","exampleUseCases":[{"title":"Marketing visual from brand brief","prompt":"Create an image of a luxury skincare product on a marble countertop with soft natural lighting and a minimalist aesthetic, in 1:1 square format — I need it for an Instagram post."},{"title":"Concept art with style reference","prompt":"Generate a fantasy landscape with towering crystal mountains and a purple sky. Use these two reference images I'm uploading to match the art style I'm going for, and make it 16:9 widescreen."},{"title":"Product mockup from description","prompt":"Make me a medium-quality image of a white tote bag with a small geometric fox logo printed on the front, clean white background, square format — I want to see what it'd look like before I prototype it."}],"resultDescription":"Returns a generated image (typically as a URL or base64-encoded data) produced by the GPT Image 2 model at medium quality, reflecting the input prompt, chosen aspect ratio, and any provided reference images.","failureModes":["Invalid or missing prompt returns a 400 error","Unsupported aspect ratio value may default or error","Reference image URLs that are inaccessible or malformed will fail image ingestion","Payment failure or insufficient USDC balance on Base Mainnet returns a 402 error","Model inference timeout on complex prompts may return a 503 or timeout error","More than 16 reference images provided may be rejected or truncated"],"whenToPreferThis":"Choose this endpoint when you need GPT Image 2 specifically (OpenAI's latest image model) at medium quality, want to pay per-call in USDC on Base Mainnet via x402 without a subscription, or need to pass up to 16 reference images for style-guided generation. Prefer this over generic DALL-E wrappers if you are operating in a crypto-native or agentic payment context on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T02:42:21.584Z","isFirstParty":false}