{"partialResults":false,"resources":[{"accepts":[{"amount":"5000","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:8453","payTo":"0x8883a4955ae31b5e641080dd3bd7f4a04983a5e0","scheme":"exact"}],"description":"Generates or edits one image from a prompt and up to 3 reference images. Returns Base64 JSON. 0.005 USDC per x402 call. No account or API key required. A platform API key allows up to 3 attempts per payment. The default model is gpt-image-2.5. Text-to-image defaults for gpt-image-2.6-flare, gpt-image-2.6-sunburst are size=auto, quality=medium, output_format=png. These defaults assume no image parameter overrides.","extensions":{"bazaar":{"info":{"input":{"body":{"model":"gpt-image-2.6-flare","output_format":"png","prompt":"A watercolor lighthouse at sunrise","quality":"medium","size":"auto"},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"created":1767225600,"data":[{"b64_json":"\u003cbase64 image\u003e"}],"output_format":"png"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"allOf":[{"if":{"not":{"properties":{"model":{"enum":["gpt-image-2.6-flare","gpt-image-2.6-sunburst"]}},"required":["model"]}},"then":{"properties":{"output_format":false,"quality":false,"size":false}}},{"if":{"properties":{"model":{"enum":["gpt-image-2.6-flare"]}},"required":["model"]},"then":{"if":{"not":{"anyOf":[{"required":["image_urls"]},{"required":["image_b64"]}]},"properties":{"output_format":{"const":"png"}}},"properties":{"output_format":{"default":"png","enum":["png","jpeg","webp","svg","gif"]},"quality":{"default":"medium","enum":["low","medium","high","xhigh","max","auto"]},"size":{"description":"Custom dimensions must satisfy the published edge, aspect ratio, multiple and pixel limits.","pattern":"^(auto|[1-9][0-9]{1,3}x[1-9][0-9]{1,3})$","type":"string"}},"then":{"properties":{"size":{"default":"auto"}}}}},{"if":{"properties":{"model":{"enum":["gpt-image-2.6-sunburst"]}},"required":["model"]},"then":{"if":{"not":{"anyOf":[{"required":["image_urls"]},{"required":["image_b64"]}]},"properties":{"output_format":{"const":"png"}}},"properties":{"output_format":{"default":"png","enum":["png","jpeg","webp","svg","gif"]},"quality":{"default":"medium","enum":["low","medium","high","xhigh","max","auto"]},"size":{"description":"Custom dimensions must satisfy the published edge, aspect ratio, multiple and pixel limits.","pattern":"^(auto|[1-9][0-9]{1,3}x[1-9][0-9]{1,3})$","type":"string"}},"then":{"properties":{"size":{"default":"auto"}}}}},{"if":{"properties":{"output_format":{"const":"svg"}},"required":["output_format"]},"then":{"not":{"anyOf":[{"required":["image_urls"]},{"required":["image_b64"]}]}}}],"properties":{"image_b64":{"description":"Optional reference images as standard padded Base64 without a data: prefix, at most 10 MiB decoded in total. Sent after image_urls; at most 3 images in total.","items":{"contentEncoding":"base64","minLength":1,"type":"string"},"maxItems":3,"minItems":1,"type":"array"},"image_urls":{"description":"Optional reference image URLs (http or https), passed to the model unchanged. Sent before image_b64; at most 3 images in total.","items":{"format":"uri","maxLength":2048,"minLength":1,"type":"string"},"maxItems":3,"minItems":1,"type":"array"},"model":{"default":"gpt-image-2.5","description":"Optional published Koinelix model ID. Omit it to use the default model (gpt-image-2.5).","enum":["gpt-image-2.5","gpt-image-2.5-flare","gpt-image-2.5-sunburst","gpt-image-2.6-flare","gpt-image-2.6-sunburst"],"maxLength":128,"minLength":1,"type":"string"},"output_format":{"description":"Optional for supported models; see the published defaults. SVG is generation-only, without reference images. GIF returns an animation using provider-default timing. Nine default frames share the platform limit of 40 million pixels.","enum":["png","jpeg","webp","svg","gif"],"type":"string"},"prompt":{"description":"Text description, up to 6000 UTF-8 bytes.","minLength":1,"type":"string"},"quality":{"description":"Optional for supported models. See the published defaults; explicit auto uses the provider's choice.","enum":["auto","low","medium","high","xhigh","max"],"type":"string"},"size":{"description":"Optional only for models declaring image parameters. See the published defaults for text generation; reference-image requests omit size unless explicitly supplied. Custom dimensions obey the model's size constraints.","minLength":1,"type":"string"}},"required":["prompt"],"type":"object"},"bodyType":{"enum":["json"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"created":{"description":"Unix seconds.","type":"integer"},"data":{"items":{"additionalProperties":false,"properties":{"b64_json":{"description":"Base64 image bytes.","type":"string"}},"required":["b64_json"],"type":"object"},"maxItems":1,"minItems":1,"type":"array"},"output_format":{"description":"Actual decoded image format.","type":"string"}},"required":["created","output_format","data"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"iconUrl":"https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1793789613/bazaar-icons/4b0590b10015165e.png","lastUpdated":"2026-11-30T21:23:22.721Z","quality":{"l30DaysTotalCalls":124,"l30DaysUniquePayers":23,"lastCalledAt":"2026-11-30T13:51:55.406Z"},"resource":"https://api.koinelix.com/v1/images/generations","serviceName":"Koinelix Image Generation","tags":["image-generation","text-to-image","ai-image-generator","image-editing","image-to-image"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"vr2anp6fiml4qaa"}}
