Skip to content
Sign Up Free
Quality checks

Native 4K vs AI upscaled 4K: verify Nano Banana and GPT Image 2

Use four checks and a free testing tool to verify whether Nano Banana Pro, GPT Image 2, and other image APIs deliver native 4K.

When you request 4K from a model like Nano Banana Pro or GPT Image 2, the image may measure 3840×2160 or 4096×4096. The dimensions alone cannot tell you whether the model generated it directly at 4K. Some APIs generate at 1K or 2K, upscale the image to 4K, and charge for 4K.

This guide answers three questions:

  1. How does native 4K differ from upscaled 4K, and does upscaled 4K count as true 4K?
  2. How can you tell which kind of image you have?
  3. Why does the BetterToken image API deliver native 4K, and how does it differ from other APIs?

How does native 4K differ from upscaled 4K?

Native 4KUpscaled 4K
How it is madeThe model generates the image directly at 4KThe API generates at 1K / 2K, then upscales to 4K with interpolation or AI
Dimensions3840×2160, 4096×4096, and similar sizesExactly the same
Where details come fromThe model generates genuine details from your promptInterpolation enlarges existing pixels. AI upscaling guesses which textures would look plausible
What you see at full sizeYou can distinguish fabric threads, individual hairs, and fine letteringEdges look soft or oversharpened. Textures blur together or repeat
Best forLarge prints, cropping, and close-up viewsViewing the image at a reduced size on a screen

Is AI upscaling true 4K?

No. Upscaled 4K has a 4K pixel count, but it still carries the information from the original 1K or 2K image. AI upscaling can make an image look sharper, but the algorithm guesses the added textures. Product fabrics, small text on packaging, and logo edges may differ from what you requested.

Native 4K can still have flaws. The model’s capabilities determine whether it spells words correctly and creates coherent structures. Native 4K tells you whether the extra pixels contain genuinely more detail.

Why can’t you tell from the dimensions alone?

File dimensions, EXIF, and the response’s size field tell you the pixel count. They cannot tell you how the API produced those pixels. If you upscale a 1024×576 image to 3840×2160, the file has the same dimensions as native 4K.

Check two things:

  1. Do the dimensions reach the 4K tier? This is the minimum requirement. Check the file information or the API response fields.
  2. Does the image actually contain 4K-level detail? Inspect the image itself with the four checks below.

Does writing “4K” or using a 4K upscale prompt help?

No. The resolution depends on the parameters you set. We tested Nano Banana by writing “2K” or “4K” in the prompt and leaving the resolution parameter unset. The model still returned 1024×1024.

A “4K upscale prompt” you find online may make the image look sharper, but it cannot change the API’s output dimensions or turn 1K into native 4K. To get 4K, set these parameters:

  • Nano Banana: Set image_size: "4K" and choose an aspect ratio with aspect_ratio. See Nano Banana sizes and aspect ratios.
  • GPT Image: Set size: "3840x2160" for landscape or "2160x3840" for portrait. Width and height are each limited to 3840 pixels, and the total is limited to 8,294,400 pixels (3840×2160). Square sizes such as 4096x4096 and 3840x3840 are invalid. See the GPT Image testing and usage guide.

Four checks for native 4K

Use steps 1 to 3 on production images. In step 4, generate a dedicated test image. Install Pillow to run the code examples with pip install pillow.

Step 1: Check that the dimensions reach the 4K tier

Use an image viewer or the code below to read the actual dimensions.

from PIL import Image
im = Image.open("result.png")
print(im.size) # e.g. (3840, 2160)

The long side of a 4K image varies with its aspect ratio. A 16:9 landscape image is about 3840×2160, and a 1:1 square image is about 4096×4096. A long side of around 1024 or 2048 falls short of the 4K tier.

With the OpenAI Images API or the native Gemini API, you can skip decoding BetterToken’s output. In the raw JSON response, bettertoken_image_billing.outputs[] reports each image’s actual width, height, and billing tier (billing_resolution). Some strongly typed SDKs omit this extension field. Read the raw response in that case.

Step 2: Inspect the most detailed areas at 100%

Zoom to 100%, so one screen pixel represents one image pixel. Look at:

  • Fine textures such as woven fabric, wood grain, or hair
  • Small lettering and scale markings on products
  • High-contrast edges, such as where a product’s outline meets the background

In native 4K, you can see individual fibers and distinct strokes. Interpolated 4K usually looks softer or shows an unnatural bright halo along edges.

The crops below show the same patch of linen in a native 4K product image (gpt-image-2, 3840×2161). The top image is a crop of the original at 100%. For the bottom image, we reduced the same image to 1K and interpolated it back to 3840×2161 to simulate upscaling from 1K to 4K.

Native 4K linen crop with visible individual threads, weave edges, and fine stray fibersSame crop interpolated from 1K to 4K, with the overall weave visible and individual threads and fine stray fibers blurred

Both images have identical dimensions and show the same general weave. In the bottom image, individual threads, weave edges, and fine stray fibers look blurrier, and the fabric looks flatter. Judge by the finest textures. Large lettering usually stays clear after upscaling.

The example above uses interpolation. AI upscaling or sharpening makes natural textures harder to judge by eye. Use steps 3 and 4 together to check.

Step 3: Reduce the image and enlarge it again to measure detail loss

This method gives you a number to work with. Reduce the image by a few different factors, enlarge each version back to the original size, and compare it with the original.

  • If the original has true 4K detail, reducing it removes some of that detail. When you enlarge it again, you will see a clear difference.
  • If the original was already interpolated from 2K, reducing it to 2K removes very little. When you enlarge it again, it looks almost identical.
from PIL import Image, ImageChops, ImageStat
def round_trip_diff(path, factor):
im = Image.open(path).convert("RGB")
w, h = im.size
small = im.resize((round(w / factor), round(h / factor)), Image.LANCZOS)
back = small.resize((w, h), Image.LANCZOS)
back.save(f"round-trip-{factor}x.png") # saved to the current folder so you can compare it with the original
diff = ImageChops.difference(im, back).convert("L")
return ImageStat.Stat(diff).rms[0]
for factor in (2, 4):
print(factor, round(round_trip_diff("result.png", factor), 2))

We ran this test on the native 4K product image above and on two versions created by interpolation:

ImageDifference after 2× resizingDifference after 4× resizing
Native 4K0.581.95
2K interpolated to 4K0.27 (clearly lower)1.95
1K interpolated to 4K0.491.03 (clearly lower)

The difference is the root mean square (RMS) of grayscale pixel differences on a 0–255 scale. A lower value means the resize round trip lost less detail.

If the difference drops well below the native sample at a given factor, the image was likely upscaled by roughly that factor. The 1K version shows little change in the difference at 2×. The difference drops clearly at 4× because we enlarged that version by about 4×.

Keep these limits in mind:

  • The numbers depend on the image content. Images with more solid background tend to score lower. Compare with a native sample from the same model and a similar scene. Avoid comparing absolute values across different subjects. Without a native sample, generate one image per endpoint with the step 4 chart prompt and compare the results side by side.
  • The test works well for interpolation. AI upscaling adds artificial details that can bring the difference close to the native sample. Use step 4 to check whether the structures are genuine.
  • Lossy compression, such as JPEG, can change the difference. Compare images in the same format.

Step 4: Generate a resolution test chart

Detail varies across production images, which makes them harder to judge. For a more reliable check, generate a test image with fine detail throughout. For example:

A flat, front-facing resolution test chart printed on white paper, split into four equal panels.
Top left: a radial star of very thin black lines converging to the center.
Top right: rows of black letters and digits, each row smaller than the one above.
Bottom left: a dense printed circuit board with many thin parallel copper traces.
Bottom right: close-up woven fabric next to a feather with individual barbs.
Even lighting, sharp focus everywhere, no perspective, no frame.

Generate the image at the 4K tier, then zoom in to check:

  • Siemens star (radial lines): With native 4K, thin lines stay distinct until very close to the center. On an upscaled image, they merge into a gray patch farther from the center.
  • Decreasing font sizes: In native 4K, you can read smaller rows. In an upscaled image, the strokes merge sooner.
  • Fine circuit traces: Native 4K shows clear gaps between parallel traces. Upscaling can merge thin lines into one.
  • Fabric and feathers: Native 4K shows individual feather barbs and threads. Upscaled images show smooth gradients or repeating textures that do not fit the structure.

To test without code, use the free Image API Checker. Enter an endpoint URL and API Key for any API that uses the OpenAI Images or Gemini protocol. The tool sends a real request to generate a test image. It reports the requested dimensions, actual dimensions, and test result. No sign-up is required. The API charges its own rates for the request.

What makes the BetterToken image API different?

A number of image APIs only guarantee that they accept a request and return an image. BetterToken also checks whether the result matches the specification you paid for.

What you want to knowSome image APIsBetterToken
Where does 4K come from?A provider route may generate a lower-resolution image and upscale it without the API saying soThe platform returns the original image from the model without cropping, stretching, or upscaling it to meet a size
How does a route go live?Routes forward requests by model name and qualify as usable if they return an imageBefore launching a 4K route, BetterToken checks real detail with a resolution test chart like the one above
How does the API check each result?It skips the check or only looks for an API errorBetterToken decodes each image to read its actual width and height. It uses those dimensions to determine the delivered tier, not the requested parameters
What determines the charge?The request parameters determine the charge. A 4K request incurs a 4K chargeBetterToken bills by the actual dimensions. Results below 4K do not incur the 4K rate. Results above the requested tier are also billed at the delivered tier. bettertoken_image_billing reports the actual dimensions, billing tier, and charge
Can you verify it yourself?You have to write your own test scriptThe free Image API Checker works with any API, including BetterToken

Models with native 4K: Nano Banana 4K and GPT Image 2 4K

ModelHow to request 4KExample of actual 4K dimensions
nano-banana-2, nano-banana-2.1, nano-banana-proimage_size: "4K" with aspect_ratio for the ratio4096×4096 at 1:1 in our test (Nano Banana 2.1)
gpt-image-2, gpt-image-2.5-flare, gpt-image-2.5-sunburstsize: "3840x2160" (landscape) or "2160x3840" (portrait)Around 3840×2160 (landscape) or 2160×3840 (portrait), with a possible difference of 1 pixel

GPT Image 2.6 currently offers only 1K for still images. See the GPT Image 2.6 usage guide. Check the model plaza for current 4K prices.

You can call all the models above with one BetterToken API Key. Nano Banana uses image_size and aspect_ratio, while GPT Image uses size.

Test BetterToken’s 4K with the resolution chart

You can verify the result yourself. Get a BetterToken API Key, then use the chart prompt from step 4 to generate a 4K image with Nano Banana Pro. Follow the four checks on the result:

Terminal window
export BETTERTOKEN_API_KEY="YOUR_API_KEY"
curl --fail-with-body --max-time 650 \
"https://bettertoken.ai/v1/images/generations" \
-H "Authorization: Bearer $BETTERTOKEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana-pro",
"prompt": "A flat, front-facing resolution test chart printed on white paper, split into four equal panels. Top left: a radial star of very thin black lines converging to the center. Top right: rows of black letters and digits, each row smaller than the one above. Bottom left: a dense printed circuit board with many thin parallel copper traces. Bottom right: close-up woven fabric next to a feather with individual barbs. Even lighting, sharp focus everywhere, no perspective, no frame.",
"image_size": "4K",
"aspect_ratio": "1:1",
"n": 1,
"response_format": "b64_json"
}' -o response.json

Find the image in data[0].b64_json and its actual format in data[0].mime_type. The actual dimensions and billing tier are in bettertoken_image_billing.outputs[0]. This code saves the image in its actual format and prints those values. Then follow the four checks on the saved image.

import base64, json
resp = json.load(open("response.json"))
item = resp["data"][0]
ext = "jpg" if item.get("mime_type") == "image/jpeg" else "png"
open(f"result.{ext}", "wb").write(base64.b64decode(item["b64_json"]))
print(resp.get("bettertoken_image_billing", {}).get("outputs"))

For more ways to save images and a complete GPT Image example, see:

Frequently asked questions

Is native 4K always better than upscaled 4K?

Native 4K works clearly better when you need to zoom, print, or crop because the model generates the details. If you only display a smaller version on a phone screen, the difference is small. In that case, 2K costs less and runs faster.

Can Nano Banana Pro, 2, and 2.1 all generate native 4K?

Yes. Set image_size: "4K". 4K is a resolution tier. The 1:1 Nano Banana 2.1 sample measures 4096×4096. At other aspect ratios, the width or height can differ from 4096.

Does GPT Image 2 support 4K? Why can’t you request 4096×4096?

Yes. Set size: "3840x2160" or "2160x3840". GPT Image limits width and height to 3840 pixels each and the total to 8,294,400 pixels. The API returns an error for 4096x4096 and 3840x3840.

Is 4K worth the extra cost over 2K?

Check the composition at 1K or 2K first. Once you are happy with it, use 4K for the final asset. Changing to a higher tier generates a new image. To keep a composition you like, use that image as a reference.

What if a 4K image looks softer than expected?

Start with the four checks. BetterToken bills by the actual dimensions in bettertoken_image_billing. If the result lacks 4K detail, keep the original image, the request ID, and the X-BetterToken-Image-Receipt response header (if present). Then contact BetterToken support.