{"modality":"image","operations":["text-to-image","image-edit"],"commonArguments":["prompt","resolution","size","aspectRatio","count","quality","outputFormat","outputCompression"],"modelSpecificArguments":["background","complexity"],"defaults":{"resolution":"1K","aspectRatio":"1:1","quality":"medium"},"capabilities":{"resolutions":["1K","2K","4K"],"aspectRatios":["auto","source","21:9","16:9","4:3","1:1","3:4","9:16","3:2","2:3","4:5","5:4","2:1","1:2","5:2","19.5:9","9:19.5","20:9","9:20","4:1","1:4","8:1","1:8"],"references":{"types":["image"],"maximum":{"image":16}},"frames":{"first":false,"last":false,"lastOnly":false,"keyframesMaximum":0,"timed":false},"frameReferenceMix":false,"audio":"unsupported","countMaximum":10,"quality":["auto","low","medium","high","xhigh","max"]},"promptRequired":true,"promptMaximum":32000,"verification":"documented","sources":[{"url":"https://developers.openai.com/api/reference/resources/images/methods/generate","checkedAt":"2026-11-03"},{"url":"https://developers.openai.com/api/reference/resources/images/methods/edit","checkedAt":"2026-11-03"},{"url":"https://developers.openai.com/api/docs/models/gpt-image-2.6-flare","checkedAt":"2026-11-03"}],"notices":["GPT Image 2.6 Sunburst and Flare remain distinct variants with dedicated 2.6 output-token multipliers at low/medium quality and explicit complexity reasoning controls. Raster PNG/JPEG/WebP outputs are qualified."],"modelId":"openai/gpt-image-2.6-flare","operation":"text-to-image","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"prompt":{"type":"string","maxLength":100000,"minLength":1,"pattern":"\\S"},"resolution":{"type":"string","minLength":1,"maxLength":30,"default":"1K"},"size":{"type":"object","properties":{"width":{"type":"integer","exclusiveMinimum":0,"maximum":16384},"height":{"type":"integer","exclusiveMinimum":0,"maximum":16384}},"required":["width","height"],"additionalProperties":false},"aspectRatio":{"type":"string","pattern":"^(source|auto|\\d+(\\.\\d+)?:\\d+(\\.\\d+)?)$","default":"1:1"},"count":{"type":"integer","minimum":1,"maximum":15},"quality":{"type":"string","minLength":1,"maxLength":30,"default":"medium"},"outputFormat":{"type":"string","enum":["png","jpeg","webp"]},"outputCompression":{"type":"integer","minimum":0,"maximum":100},"background":{"type":"string","enum":["auto","opaque","transparent"]},"complexity":{"type":"string","enum":["low","medium","high"]}},"additionalProperties":false,"allOf":[{"not":{"required":["size","resolution"]}},{"not":{"required":["size","aspectRatio"]}}],"required":["prompt"],"x-opengen":{"modelId":"openai/gpt-image-2.6-flare","operation":"text-to-image","capabilities":{"resolutions":["1K","2K","4K"],"aspectRatios":["auto","source","21:9","16:9","4:3","1:1","3:4","9:16","3:2","2:3","4:5","5:4","2:1","1:2","5:2","19.5:9","9:19.5","20:9","9:20","4:1","1:4","8:1","1:8"],"references":{"types":["image"],"maximum":{"image":16}},"frames":{"first":false,"last":false,"lastOnly":false,"keyframesMaximum":0,"timed":false},"frameReferenceMix":false,"audio":"unsupported","countMaximum":10,"quality":["auto","low","medium","high","xhigh","max"]},"notices":["GPT Image 2.6 Sunburst and Flare remain distinct variants with dedicated 2.6 output-token multipliers at low/medium quality and explicit complexity reasoning controls. Raster PNG/JPEG/WebP outputs are qualified.","aspectRatio source requires source media or an owned top-level previousJobId. An arguments-only schema cannot validate that outer request context.","Runtime validation also checks model-specific combinations, media contents and regional route restrictions."],"sources":[{"url":"https://developers.openai.com/api/reference/resources/images/methods/generate","checkedAt":"2026-11-03"},{"url":"https://developers.openai.com/api/reference/resources/images/methods/edit","checkedAt":"2026-11-03"},{"url":"https://developers.openai.com/api/docs/models/gpt-image-2.6-flare","checkedAt":"2026-11-03"}]}},"examples":{"request":{"modelId":"openai/gpt-image-2.6-flare","operation":"text-to-image","input":{"resolution":"1K","aspectRatio":"1:1","quality":"medium","prompt":"Describe the desired result."},"billing":"managed"},"generate":{"operationId":"media.generate","input":{"modelId":"openai/gpt-image-2.6-flare","operation":"text-to-image","input":{"resolution":"1K","aspectRatio":"1:1","quality":"medium","prompt":"Describe the desired result."},"billing":"managed"},"idempotencyKey":"REPLACE_WITH_SAVED_IDEMPOTENCY_KEY"},"cli":"opengen generate --input request.json --idempotency-key \"$OPENGEN_IDEMPOTENCY_KEY\"","placeholders":[],"notices":["Template only. Replace owned asset placeholders after upload prepare/PUT/complete; edit the prompt before submitting.","Inspect published route pricing, regional restrictions and budget before authorizing a separate billable submission. Persist a unique idempotency key with the request before submitting.","Managed billing is explicit in this example. Select BYOK only when the user chooses their provider account as payer; unknown direct charges cannot be capped by OpenGen."]}}