Sign in to generate
Upload an image, describe the change, and get an edited version — restyling, background swaps and instruction edits that keep your subject intact.
curl https://api.tokport.io/v1/images/edits \
-H "Authorization: Bearer $TOKPORT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-image-2","size":"1024x1024","n":1,"response_format":"url"}'Restyle photos, change backgrounds, swap colors and materials, apply a brand look to product shots, or make precise instruction edits — "put the product on a marble counter" — while the model preserves identity and layout.
Uploaded images are sent to the generation model to produce your result and are not displayed publicly. As with any cloud AI service, avoid uploading sensitive personal data.
GPT Image 2, Nano Banana, Grok Image 2.0 and Qwen Image 2.1 (Unrestricted) all accept an image reference; GPT Image 2 follows edit instructions closely and Nano Banana is strong at keeping a face or character consistent. Pick whichever fits your task from the model dropdown.
The same per-image rates as generation — from $0.035 per edited image on our API. Create a free account, top up from $5 and keep editing.
Automating edits at scale? The API does this programmatically with the same models.