{"uid":"cap_uzubWVP9n0sE8lkuXOUKZ","slug":"payweave-replicate-gpt-image-2-image-generation-60de31fd","name":"PayWeave Replicate – GPT-Image-2 Image Generation","description":"Run open-source AI models — image, video, audio.","url":"https://replicate.payweave.services/models/openai/gpt-image-2/predictions","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object"}}},"responseSchema":{"type":"object","required":["id","model","status","error","predicted_price_usd"],"properties":{"id":{"type":"string","description":"Replicate prediction ID."},"error":{"type":["string","null"]},"model":{"type":"string"},"output":{"description":"Model-specific output. Image/audio models return CDN URLs (Replicate-hosted, ~24h TTL); vision-LLM models return a string; music models return a single audio URL or array."},"status":{"enum":["succeeded","failed","canceled","processing","starting"],"type":"string"},"metrics":{"type":"object","properties":{"total_time":{"type":"number"},"predict_time":{"type":"number"}},"additionalProperties":false},"created_at":{"type":"string"},"completed_at":{"type":"string"},"predicted_price_usd":{"type":"string","description":"USD charged for this call."}},"description":"Replicate prediction result with metadata.","additionalProperties":false},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.96","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"3.0000","medianCents":"3.0000","p90Cents":"3.0000","minCents":"3.0000","maxCents":"3.0000","p95Cents":"3.0000","sampleCount":36,"varies":false,"failureChargeRate":null},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qLMILScKetS1vUH8soUUU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs OpenAI's GPT-Image-2 model via Replicate to generate images from prompts, payable per-call with USDC.","exampleAgentPrompt":"Generate an image of a futuristic cityscape at sunset with neon lights reflecting on wet streets using the GPT-Image-2 model.","exampleUseCases":null,"resultDescription":"Returns a Replicate prediction object containing a prediction ID, the model name, a status (succeeded/failed/canceled/processing/starting), a CDN-hosted image URL with ~24h TTL as the output, timing metrics (total_time, predict_time), timestamps, and the USD amount charged for the call.","failureModes":["Model inference fails — status returns 'failed' with a non-null error message","Payment rejected or insufficient USDC balance — 402 Payment Required before inference runs","Invalid or missing input object — 422 validation error returned","Replicate backend timeout — status may remain 'processing' or return 'canceled'","CDN URL expires after ~24 hours — output image URL becomes inaccessible"],"whenToPreferThis":"Choose this endpoint when you need on-demand image generation using OpenAI's GPT-Image-2 model specifically, want pay-per-call USDC billing with no subscription, and are comfortable with Replicate-hosted CDN output URLs that expire after 24 hours. Prefer over self-hosted or subscription-based alternatives when cost predictability per image and access to the latest OpenAI image model via a simple POST are priorities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":52,"lastUsedAt":"2026-08-29T18:10:41.413Z","lastSuccessfullyRanAt":"2026-08-29T18:10:41.413Z","lastHealthCheckAt":"2026-09-16T12:34:41.006Z","isFirstParty":false}