{"uid":"cap_rAj3i9y-ABNOoZ9CFLA4d","slug":"echo-router-image-generation-b4d89389","name":"Echo Router Image Generation","description":"Creates images using OpenAI's image generation models. Supports text-to-image generation with customizable size, quality, and style parameters.","url":"https://echo.router.merit.systems/images/generations","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"n":{"type":"integer"},"size":{"enum":["256x256","512x512","1024x1024"],"type":"string"},"user":{"type":"string"},"model":{"enum":["gpt-image-1"],"type":"string"},"prompt":{"type":"string"},"response_format":{"enum":["url","b64_json"],"type":"string"}}},"responseSchema":{"data":{"type":"array","items":{"anyOf":[{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"}},"additionalProperties":false},{"type":"object","required":["b64_json"],"properties":{"b64_json":{"type":"string","minLength":1}},"additionalProperties":false}]},"minItems":1},"created":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.312838","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.00","successRate":"0.00","reviews":1,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.312838/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.312838","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.312838","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gi3yaMUXaMJfDs7xl8tlL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.312838","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates images from text prompts using OpenAI's image generation models with configurable size, quality, and count parameters.","exampleAgentPrompt":"Generate a photorealistic image of a red fox sitting in a snowy forest at dusk, 1024x1024 size, using the dall-e-3 model, and give me the URL.","exampleUseCases":null,"resultDescription":"Returns an array of generated image objects (at least one), each containing either a URL linking to the generated image or a base64-encoded JSON string of the image data, along with a Unix timestamp of when the images were created.","failureModes":["Invalid or missing prompt returns a 400 error","Unsupported model name results in an error response","Invalid size string (not matching supported dimensions) returns an error","Request count n exceeding model limits returns an error","Content policy violation on the prompt causes the request to be rejected","Payment failure or insufficient USDC balance prevents the call from proceeding"],"whenToPreferThis":"Prefer this endpoint when you need to generate images from natural language descriptions via OpenAI's models (e.g. DALL-E 3) and want a pay-per-call model without managing OpenAI API keys directly. Ideal for agents that need on-demand image creation within a broader multi-capability routing system (Echo Router also offers web search, code execution, and LLM responses).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":2,"lastUsedAt":"2026-06-16T18:15:51.203Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:36:50.475Z","isFirstParty":false}