Planning Sunburst asset sizes on CometAPI: edge, pixel and aspect-ratio limits must all fit

A 3840×2160 asset fits the size envelope in CometAPI’s Sunburst listing. A 3840×3840 asset does not—even though neither edge exceeds the listed maximum. The difference is the total pixel count.

For developers evaluating this CometAPI model for an asset pipeline, that is the first check to make: edge length, total pixels and aspect ratio must fit together. Transparency needs a separate check before integration.

This walkthrough uses CometAPI’s GPT Image 2.5 (Sunburst) listing, captured on September 13, 2026. It describes the publisher’s stated limits for gpt-image-2.5-sunburst, not independently verified provider specifications or tested API acceptance guarantees.

1. Check the whole size envelope

The specification table lists custom dimensions, a maximum edge of 3840 pixels, a maximum total of 8,294,400 pixels, and an aspect-ratio range of 1:3 to 3:1.

For positive width w and height h, the resulting planning check is:

  • w ≤ 3840 and h ≤ 3840
  • w × h ≤ 8,294,400
  • 1/3 ≤ w/h ≤ 3

Here are three arithmetic illustrations—not results from API calls:

Proposed dimensions Total pixels Width:height Fits the listed envelope?
3840×2160 8,294,400 16:9 Yes: all three constraints fit
3840×3840 14,745,600 1:1 No: exceeds the total-pixel ceiling
3840×1024 3,932,160 3.75:1 No: exceeds the aspect-ratio range

The square example shows why a maximum edge is not a maximum square resolution. The wide example shows why staying under the pixel budget is not enough either.

CometAPI also recommends 1024×1024, 1536×1024 and 1024×1536. These are recommended sizes, not an exhaustive list of supported dimensions. Conversely, the “Custom dimensions: Yes” entry does not establish that every integer pair inside the envelope will be accepted. Minimum dimensions, dimension increments and rounding or resizing behavior remain unresolved by this listing.

2. Separate transparency from the request contract

The same table lists transparent backgrounds for PNG / WebP. That is relevant if your assets need to composite over another background, but it does not show how to request transparent output or what alpha data will be returned.

The listing’s cURL, Python and JavaScript generation examples supply the model identifier and a prompt. They do not demonstrate custom dimensions, output-format selection, transparency controls or returned alpha-channel behavior. The links to further API documentation are a next step, not evidence that those missing details have already been established here.

3. Decide what is ready to plan—and what is not

For a 3840×2160 requirement, the listed dimensions justify preliminary compatibility, not implementation sign-off. For either failing example above, revise the target dimensions or investigate another output path rather than assuming this CometAPI listing covers it.

Before committing to an integration, I would use this checklist:

  1. Obtain CometAPI’s parameter documentation for this model: exact dimension fields, accepted values, minimums and increments.
  2. Confirm the output-format and transparency controls rather than guessing parameter names from the specification table.
  3. Test representative documented sizes and inspect returned dimensions for any resizing or rounding.
  4. For transparent assets, inspect the returned format and alpha data, then composite the image over contrasting backgrounds to check the intended result.

Those are proposed validation steps, not completed tests. The useful boundary is simple: CometAPI’s Sunburst listing provides a concrete size envelope for planning, while custom-size acceptance and usable transparent output still require a documented request contract and output validation.

I would separate the delivery canvas from the generation canvas before ruling out the wide-banner requirement. The 3840×1024 example fails CometAPI’s listed Sunburst envelope as a direct output, but that does not by itself rule out a downstream crop.

For an arithmetic planning example, a 3840×1280 master has a 3:1 ratio and 4,915,200 pixels, so it fits the three limits in the listing. Cropping 128 pixels from both the top and bottom would produce a 3840×1024 delivery asset without stretching it. That is a proposed post-processing route, not evidence that Sunburst accepts 3840×1280 or will compose the image correctly.

The creative constraint is the crop budget: I would mark those top and bottom strips as expendable in the layout brief and keep the required subject, lettering and any essential shadow inside the retained band. Then assess the cropped image, not just the full master. A composition that needs every pixel of vertical headroom should fail this route even if the dimensions pass.

This adds a separate decision to the API acceptance check: is cropping permitted by the asset brief? If yes, test a documented generation size with a planned crop; if no, the direct-output ratio limit remains a blocker. Transparent output would still need its own validation—the crop does not establish alpha support.