{
  "data": null,
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/niches/image-generation.edit-existing-image/",
    "json": "https://www.anchorterminal.com/niches/image-generation.edit-existing-image/index.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/niches/image-generation.edit-existing-image/index.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/niches/image-generation.edit-existing-image/index.min.md"
  },
  "markdown": "One company's docs show a full fit.\n\n| Companies, full fit | With a limit | Carry the tag | Share of the category's work | First-hand accounts |\n| --- | --- | --- | --- | --- |\n| 1 | 12 | 26 | 16 | 8 |\n\n## What counts as done\n\nAn image where only the requested region or attribute changed, unmasked pixels visibly unchanged, from one call per edit with the input accepted as URL, base64 or file.\n\nMeasured, for our own tests: no quality loss after three chained edits.\n\nHow agents ask for it: change the hairstyle in this photo; remove the person on the left; make this low-poly render look photoreal; extend this image to 16:9; now make the sky darker\n\n## Does the job\n\nThe docs show it meets the test above, and nothing we read says otherwise.\n\n- **Ideogram API (Ideogram AI, Inc.)**: Ideogram 4.5 Precise Edit takes the image as a multipart file with an optional mask or box, copies untouched pixels precisely, returns the source's own size, and is documented for chained edits with minimal drift.\n\n## Does the job, with a limit\n\nIt does the job, but something in the docs or a user's account will get in an agent's way. The limit is named in each row.\n\n- **Adobe Firefly API (Adobe Inc.)**: fill-async takes an image and mask and fills only the masked area, but inputs must be an uploadId or a pre-signed URL on four allowed storage domains (no base64), and nothing covers quality across chained edits.\n- **Black Forest Labs FLUX API (Black Forest Labs Inc.)**: FLUX 3 Image edits take one to ten images as URL or base64, with bounding boxes to change one element while the rest stays; FLUX.1 Fill takes a mask. Chained-edit quality rests on vendor examples, and acc-26 saw saturation rise after outpainting on FLUX.2 klein.\n- **Bria API (Bria Artificial Intelligence Ltd.)**: /v2/image/edit takes a URL or base64 image plus a mask on Fibo 2, and the docs say outside the mask the image is kept as it was, but masking is generative replacement and nothing covers quality across three chained edits.\n- **fal image models (Features \u0026 Labels, Inc.)**: Edit models such as Nano Banana Pro edit take image_urls (URLs or data URIs) with per-model schemas, but locality and chained-edit quality depend on the model chosen, and acc-15 saw quality degrade over successive edits on fal.\n- **FLORA (FLORA AND FAUNA FLOWERSHOP, INC.)**: Hosted edit models include Ideogram 4.5 Precise Edit and its inpainting variant, but image inputs must be a public https URL or a FLORA asset, not base64, and locality depends on the model chosen.\n- **Leonardo.Ai API (Leonardo Interactive Pty Ltd)**: Reference images go in guidances as an id, URL or base64 data, and edit-capable models (Kontext, Nano Banana, GPT Image) sit behind one endpoint, but no mask or inpaint parameter was found in the v2 schema and chained-edit quality isn't covered.\n- **OpenAI Image API (OpenAI OpCo, LLC)**: /v1/images/edits takes a file, an HTTPS or base64 image_url or a file_id, with markup or a mask for regional edits, but acc-02 saw a whole photo regenerated despite a mask and acc-03 grainy output after chained edits.\n- **Qwen-Image 2.1 (Model Studio) (Alibaba Cloud (Singapore) Private Limited)**: The model card describes local edits by circles, painted annotations or separate masks with up to 10 references, but the Model Studio API reference couldn't be reached, so the API's mask and input forms weren't confirmed.\n- **Recraft API (Recraft Inc.)**: /v1/images/inpaint takes image_url and mask_url as URL, data URL or multipart and regenerates only the white area, but only on recraftv3 models, and nothing documents quality across chained edits.\n- **Replicate image models (Replicate, LLC)**: Edit models run through the same predictions API, but each model sets its own input rules, and acc-27 found wan-2.7-image, grok-imagine-image-2 and qwen-image-3 rejecting PNGs other models accept; locality and chained quality are per model.\n- **Seedream on BytePlus ModelArk (BytePlus Pte. Ltd.)**: Reference images go in as a URL or a Base64 data string, and editing is prompt-driven, but there is no mask parameter, so nothing confines the change to a region, and chained-edit quality isn't covered.\n- **Stability AI Image API (Stability AI Ltd)**: /v2beta/stable-image/edit/inpaint takes the image and a mask (or the image's alpha) as multipart files at fixed credits, plus search-and-replace and erase, but output is set to 4 megapixels and nothing covers quality across chained edits.\n\n- not this job: Iris-3B (Speridlabs): The text-to-image model takes text prompts only; the released fine-tunes do depth and 4x restoration, not edits or masks.\n- not this job: SurgePix API (SurgePix): The public API reference documents only chunked upload and /tasks/remove-background; text translation and other edits are skills with no documented parameters for masks or regions.\n\n## What stops agents finishing\n\n- mask accepted but the whole image regenerated\n- quality degrades with each chained edit\n- edit endpoint rejects the input format the agent holds\n- multi-turn editing works only with server-side stored state\n\n## Around it\n\nBefore: image-generation.text-to-image, storage.download. After: video-generation.image-to-video, storage.upload.\n\n## Where this comes from\n\nWeight 16 of 100 in Image generation: 8 of 37 accounts; mask edits that regenerate the whole photo, grain after chained edits, input-format failures on OpenAI, fal and Replicate\n\nAs data: https://www.anchorterminal.com/api/v1/use-cases/image-generation.edit-existing-image.json, or the MCP tool get_use_case with id image-generation.edit-existing-image. Draft, read 2026-11-15 from public docs and first-hand accounts, not yet reviewed by a person.\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit Anchor Terminal and link the page or API address you took it from (https://www.anchorterminal.com/terms/#data)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-11-16",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.8",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run",
    "terms": "https://www.anchorterminal.com/terms/#data"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "For agents",
        "url": "https://www.anchorterminal.com/agents/"
      },
      {
        "name": "Niches",
        "url": "https://www.anchorterminal.com/niches/"
      },
      {
        "name": "Edit an existing image by instruction or mask, often over several turns",
        "url": ""
      }
    ],
    "description": "Edit an existing image by instruction or mask, often over several turns: 1 companies fully do it, 12 with a limit, 26 carry the tag. Every listing in Image generation with the reason and a source.",
    "facts": null,
    "h1": "Edit an existing image by instruction or mask, often over several turns",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/niches/image-generation.edit-existing-image/",
    "published": "",
    "section": "agents",
    "title": "Edit an existing image by instruction or mask, often over several…",
    "toc": null,
    "updated": "2026-11-15",
    "url": "https://www.anchorterminal.com/niches/image-generation.edit-existing-image/"
  },
  "tokens": {
    "markdown": 1600,
    "slim": 330
  },
  "version": 1
}
