{"uid":"cap_lYJ7xG-1lh12-m7RZ6RdY","slug":"blockrun-ai-image-generation-gpt-image-5bb08d8c","name":"BlockRun AI Image Generation (GPT-Image)","description":"Image generation.","url":"https://blockrun.ai/v1/images/generations","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"n":{"type":"integer","description":"Number of images to generate"},"size":{"type":"string","description":"Image dimensions (e.g., 1024x1024)"},"model":{"type":"string","description":"Image model ID (e.g., openai/gpt-image-1, openai/gpt-image-2)"},"prompt":{"type":"string","description":"Text description of the image to generate"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.041","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.041/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.041","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.041","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tVA8V2xNzZNmyEl_4SoD3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.041","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 GPT-Image models, accessible via a pay-per-call x402 gateway.","exampleAgentPrompt":"Generate 1 image of a futuristic cityscape at night with neon lights, 1024x1024, using the openai/gpt-image-1 model.","exampleUseCases":[{"title":"Product mockup from description","prompt":"Create a single 1024x1024 product photo of a sleek black water bottle on a white marble surface using gpt-image-1 — I need it for a landing page."},{"title":"Illustrated social media post","prompt":"Generate an image of a cozy autumn coffee shop scene with warm lighting and falling leaves, 1024x1024, using openai/gpt-image-1, for my Instagram post."},{"title":"Batch concept art for presentation","prompt":"Generate 4 images of a medieval fantasy castle surrounded by a moat at sunset, each 1024x1024, using the openai/gpt-image-1 model — I need them for a game pitch deck."}],"resultDescription":"Returns generated image data (typically as URLs or base64-encoded image content) for each image requested, based on the submitted prompt, model, size, and quantity parameters.","failureModes":["Invalid or unsupported model ID returns an error","Prompt violates content policy and is rejected","Unsupported image size string causes validation error","Network or gateway timeout for complex prompts","Payment failure (insufficient balance or x402 auth issue) blocks the request","n exceeds maximum allowed number of images per call"],"whenToPreferThis":"Use this endpoint when you need programmatic, pay-per-call image generation via OpenAI's GPT-Image models without managing an OpenAI account directly — ideal for AI agents that need on-demand image creation with crypto micropayments (x402 protocol) and no subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:03:41.498Z","isFirstParty":false}