Can I edit an existing image’s background? Is the field image_urls?
Can I edit an existing image’s background? Is the field image_urls?
Yes. Background editing on gpt-image-2.5-flare-std uses the images array field on POST /v1/images/tasks with 1–16 publicly reachable HTTPS image URLs. The parameter name is images, not image_urls; unknown fields return 400 bad_request.
Pass hosted URLs or upload local files
- Public image URL: Put the reachable HTTPS URL directly into
imagesand describe both the background change and the elements to preserve inprompt. - Local image file: Upload PNG, JPG/JPEG, or WebP files (up to 50 MB) through
POST /v1/files, then pass the returneddata.urlinsideimages.
Billing and output review
- Token billing and quality:
gpt-image-2.5-flare-stdruns asynchronously and bills actual text-input, image-input, and output tokens. The optionalqualityfield (low,medium,high,xhigh,max; defaultmedium) controls output token volume and cost. Check current rates on BeatAPI pricing. - Visual verification: Compare the rendered image side by side with the source photo to confirm label text, brand colors, and product edges before publishing.
Contracts and related questions
Before sending a paid request, inspect the model contracts for free: model:gpt-6-luna, model:gpt-image-2.5-flare-std.

