{"uid":"cap_P8j508AHaQcv2FSYQR0w7","slug":"okaypic-ai-image-generator-12ec038c","name":"OkayPic AI Image Generator","description":"Every top AI video and image model in one place, pay as you go. Video from $0.007/s, images from $0.02. Turn a script into a short drama with Flow.","url":"https://api.okaypic.com/api/image/generate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object"},"type":{"const":"http"},"method":{"const":"POST"},"bodyType":{"const":"json"}}},"output":{"type":"object"}}},"responseSchema":{"type":"json","example":{"apiKey":"okpk_… (first payment only)","status":"pending","taskId":"…"}},"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.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":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_PDnc4t49shMs3LjDxExWh","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":"Generates AI images from a prompt using top models (e.g. GPT Image) via a pay-as-you-go API, returning a task ID for async retrieval","exampleAgentPrompt":"Generate an image of a cozy coffee shop on a rainy evening with warm lighting and wooden interiors — I want a photorealistic style.","exampleUseCases":[{"title":"Social media visual content creation","prompt":"Create an image of a minimalist flat-lay of a skincare product on a marble surface with soft natural lighting — I need it for an Instagram post."},{"title":"Concept art for indie game","prompt":"Generate a fantasy landscape with a crumbling stone castle surrounded by glowing purple fog and a full moon — photorealistic style for our game's promotional art."},{"title":"E-commerce product background","prompt":"I need an image of a white running shoe floating against a clean gradient blue background — make it look like a professional product photo."}],"resultDescription":"Returns a JSON object containing a taskId to poll for the completed image, a status field ('pending'), and an apiKey on the first successful payment call. The actual generated image is retrieved asynchronously using the taskId.","failureModes":["Missing or malformed prompt body results in a 400 error","Payment failure via x402 protocol blocks generation","Task times out if the model backend is overloaded","Invalid or unsupported model selection may return an error","First-call API key not stored by caller, requiring re-authentication"],"whenToPreferThis":"Choose this endpoint when you need pay-as-you-go AI image generation without a subscription, want access to multiple top-tier models (GPT Image, MiniMax, etc.) from a single API, and need low per-image costs starting at $0.02. Ideal for agents that generate images infrequently or need cost-controlled creative media without committing to a monthly plan.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-03T20:38:20.241Z","isFirstParty":false,"canonicalSlug":"okaypic-ai-image-generator-12ec038c"}