background: transparent on the Sume image API: two GPT rows only
Transparent PNGs from the Sume image API need background: transparent, which only the two GPT Image 2.5 rows list. See the request, price and the 400 elsewhere.

To get a transparent background from the Sume image API, send background: "transparent" with output_format: "png" on openai/gpt-image-2.5 or openai/gpt-image-2.5-sunburst. These are the two catalog rows that list the background field. Any other model rejects the request with 400 unsupported_parameter, because Sume does not silently drop a parameter a model does not list.
The request
The call is a normal POST /v1/images. background accepts auto, transparent or opaque. PNG and WebP can carry alpha, JPEG cannot, so pick png here. Quality low is enough for a cutout test, and the billed rate at 1024-class size is 1 cent.
import os, requests
r = requests.post(
"https://api.sume.com/v1/images",
headers={"Authorization": f"Bearer {os.environ['SUME_API_KEY']}"},
json={
"model": "openai/gpt-image-2.5",
"prompt": "a single red enamel pin, flat vector style, centered",
"background": "transparent",
"output_format": "png",
"quality": "low",
},
timeout=60,
)
print(r.status_code) # 200 with data[0].url, or 202 with a job envelope
print(r.json())What it costs and what it does not cover
The price is the same whether the background is transparent or opaque: nothing in the catalog lists a separate transparency charge.
| Model id | background | Quality tiers | Billed per image at high | 1,000 transparent PNGs at low |
|---|---|---|---|---|
| openai/gpt-image-2.5 | auto, transparent, opaque | low to max | 7 cents | $10 |
| openai/gpt-image-2.5-sunburst | auto, transparent, opaque | low to max | 7 cents | $10 |
If your model has no background field
Nano Banana, Seedream, Flux, Ideogram and the other rows do not list background in this catalog. For those, generate the image and remove the backdrop in a second step, or route the transparent jobs to GPT Image 2.5. The older Image 1.0 URLs also accept transparency: true, but Image 1.0 is a compatibility alias for the Auto pipe and is retiring.
Always check the alpha channel of the saved file before you ship. A 200 response only tells you the image was generated, not that the corners are clear. Slow settings can return 202 instead, in which case you read the file from the job result.
Ways to check the result
Open the PNG in an editor with a checkerboard view, or read the corner pixel's alpha value with an imaging library. A fully opaque corner means the background was not removed. If you generate sticker or logo sets, sample the four corners and the center, and fail the job if any corner has alpha 255.
Remember that a transparent subject can still have a soft shadow baked into the pixels. Ask for a flat subject with no shadow and no ground plane in the prompt text, since the background field controls the canvas rather than the drawing.
At volume the arithmetic is simple. A sticker or icon set of 500 transparent PNGs at low costs $5, at medium $10 and at high $35 at 1024-class size. Run the first 10 at each tier, inspect the edges at 100 percent zoom, and move up only if the low tier shows fringing.
Sources
Related posts
More in Models
- Best image-to-video model, October 2026: Wan 3.0 is 7th at 1,164 Elo
On the AA image-to-video board MiniMax H3 Max leads at 1,195 and Wan 3.0 is seventh at 1,164. Which of the top 12 you can call on Sume, with per-minute prices.
- Can I show HunyuanVideo clips to EU viewers? Section 5(c) read
Tencent's HunyuanVideo license says do not use or display Outputs outside the Territory, which excludes the EU, UK and South Korea. Clause by clause.
- Can you train a model on open video weights' outputs? Four licenses
H3 and HunyuanVideo bar using outputs to improve other models. LTX bars commercial distillation. Wan 2.2 is Apache 2.0. The clauses, quoted from vendor files.
- Chinese and English text in images: Hy Image 3.5's claim, Sume's rows
OpenRouter says Hy Image 3.5 Preview renders Chinese and English text. Sume does not list it. How to test Chinese signage on the Sume rows that are listed.
Written by Sume