{"uid":"cap_1T3pHaPDo5-nS--EW3qwh","slug":"withzero-gpt-5-image-generation-via-zeroclick-80212623","name":"WithZero GPT-5 Image Generation via ZeroClick","description":"Generate images from a text prompt with OpenAI GPT-5 Image — strongest instruction following and legible in-image text. Returns hosted image URLs.","url":"https://agents.withzero.xyz/api/v1/image/images/gpt-5-image?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","example":{"count":1,"prompt":"A watercolor painting of a lighthouse at sunrise"},"required":["prompt","count"],"properties":{"count":{"type":"integer","default":1,"maximum":4,"minimum":1,"description":"How many images to generate (1–4)."},"prompt":{"type":"string","maxLength":4000,"minLength":1,"description":"Text description of the image to generate."}},"additionalProperties":false},"responseSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["images","model","price_usdc"],"properties":{"model":{"type":"string","description":"The model that produced the images."},"images":{"type":"array","items":{"type":"object","required":["url","mimeType","sizeBytes"],"properties":{"url":{"type":"string"},"mimeType":{"type":"string"},"sizeBytes":{"type":"number"}},"additionalProperties":false},"description":"The generated images, as hosted URLs."},"price_usdc":{"type":"string","description":"The amount charged for this request, in USDC."}},"additionalProperties":false},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.21","displayCostAsset":"USD","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":6,"rating":{"score":"0.74","successRate":"0.83","reviews":6,"stars":"3.9","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.21/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.21","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.21","per":"call","confidence":"exact"},{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.21","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6EKHlEKOoP2p60L96h3iB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.21","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_siK3Sa_x43FSfu6ApiWJu","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.21","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates 1–4 images from a text prompt using GPT-5-level image synthesis, billed per-call at $0.21 USDC with no vendor account required.","exampleAgentPrompt":"Generate 2 images of a futuristic cityscape at sunset with neon reflections on wet streets — I want a cyberpunk aesthetic.","exampleUseCases":[{"title":"Marketing visual for product launch","prompt":"Create 4 images of a sleek black coffee mug with minimalist branding on a marble countertop, studio lighting, clean white background — I need options for our product launch campaign."},{"title":"Blog post illustration from article topic","prompt":"Generate an image of a diverse team of people collaborating around a holographic screen in a modern office — it's for a blog post about the future of remote work."},{"title":"Concept art for game character","prompt":"Make an image of a dragon knight in obsidian armor standing on a cliff at dusk, dramatic lighting, fantasy art style — I'm building concept art for a game character."}],"resultDescription":"Returns one or more generated images (up to 4) matching the text prompt, produced by a GPT-5-class image model. Output is image data or URLs. Each call costs $0.21 USDC billed automatically via ZeroClick, no API key or account needed.","failureModes":["Prompt violates content policy — request rejected with an error","Count parameter out of range (must be 1–4) — validation error returned","Payment fails or insufficient balance — 402 Payment Required","Prompt too long (exceeds 4000 characters) — schema validation error","Model unavailable or upstream timeout — 5xx error from WithZero"],"whenToPreferThis":"Choose this endpoint when you need GPT-5-quality image generation without managing OpenAI API credentials, want pay-per-use billing via USDC with no subscription, need to generate up to 4 image variants in a single call, or are operating in an autonomous agent context where ZeroClick handles payment approval. Prefer this over self-managed OpenAI integrations when account setup is impractical.","instructions":null,"reviewSummary":"WithZero via ZeroClick delivers high-quality AI image generation (OpenAI GPT-5 Image) with strong accuracy across use cases including hero photography, illustrations, and text-heavy compositions. Generation times run 54–64 seconds, and output quality is consistently rated 4–5/5. Reliability is the main weak spot: transient 402 payment-verification errors occur under concurrent load, and a schema bug in the documented example (count as string vs. number) causes avoidable first-call failures for copy-paste integrations.","reviewSummaryHighlights":["High-quality image output including best-in-class in-image text rendering","Hosted GCS URLs load immediately after generation","Good price-to-quality ratio at ~$0.21/image for production-grade assets"],"reviewSummaryConcerns":["Transient 402 MPP payment-verification errors under concurrent requests require retry logic","Documentation example passes 'count' as a string, causing HTTP 400 on copy-paste usage","Free tier label in search may not reflect actual per-call charges; verify live price via /manifest.json"],"reviewSummaryGeneratedAt":"2026-07-24T18:15:34.070Z","activationCount":33,"lastUsedAt":"2026-07-23T01:59:16.509Z","lastSuccessfullyRanAt":"2026-07-22T19:10:16.276Z","lastHealthCheckAt":"2026-10-29T06:50:41.888Z","isFirstParty":true,"canonicalSlug":"withzero-gpt-5-image-generation-via-zeroclick-80212623"}