POST /api/v1/images/generations with model: gpt-image-2-6-sunburst and a prompt to create one PNG. Add up to 16 reference images to edit, select quality and resolution, and retrieve the result using img_uuid.POST /api/v1/images/generations with model: gpt-image-2-6-sunburst and a prompt to create one PNG. Add up to 16 reference images to edit, select quality and resolution, and retrieve the result using img_uuid.

background: transparent to retain an alpha channel for cut-outs and layered layouts. Transparency does not add a charge.
image_list: [{"url":"https://…"}]. Describe what to change and preserve. Reference dimensions are measured for input pricing.
gpt-image-2-6-sunburst and a non-empty prompt of up to 32,000 characters.image_size: 1k, 2k or 4k. quality: low, medium, high, xhigh or max. Defaults are 1k and low. One PNG is returned.complexity: low, medium or high (default). Independent of rendering quality, with no extra charge.POST /api/v1/pricing/quote with the same model and payload, including prompt and image_list. Input dimensions are measured before charging. Failed jobs refund their charge./api/v1/pricing/quote with model and payload containing prompt, image_list and output settings.model: gpt-image-2-6-sunburst to /api/v1/images/generations. Store the returned img_uuid.GET /api/v1/jobs/detail using img_uuid or supply custom_callback_url. Download and store the image after success.low for 0.32 tokens ($0.0064) at 1k, then re-render approved images at high or above.POST https://api.goenhance.ai/api/v1/images/generations with model: gpt-image-2-6-sunburst.
Low / 1K with up to 1,024 UTF-8 prompt bytes and no references costs 1.92 tokens ($0.0384). Longer prompts and reference images add input charges.
Low / 1K, a short prompt and one 1024×1024 reference costs 4.02 tokens ($0.0804), before any account discount.
Low quality, 1K, opaque background and high planning complexity. Text generation with auto ratio uses 1:1.
This endpoint currently returns one PNG per request. GIF, SVG, masks, markup and auto quality are not supported.
Up to 16 images. Their dimensions are measured independently for billing; transparency and planning intensity add no charge.