Meta Muse Image Edit API

meta/muse-image-edit
The editing counterpart to Meta Muse Image -- scopes edits to just what you ask for while blending in reference images.
Output
$0.013 / gen
Released
Aug 26, 2026

How to use Meta Muse Image Edit API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to meta/muse-image-edit.
import requests

r = requests.post(
    "https://api.aimlapi.com/v1/images/edits",
    headers={"Authorization": "Bearer " + AIMLAPI_KEY},
    data={"model": "meta/muse-image-edit", "prompt": "Add a crown to the cat's head."},
    files={"image": open("input.png", "rb")},
)
print(r.json())
const form = new FormData();
form.append("model", "meta/muse-image-edit");
form.append("prompt", "Add a crown to the cat's head.");
form.append("image", fileInput.files[0]);

const r = await fetch("https://api.aimlapi.com/v1/images/edits", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
  },
  body: form,
});
console.log(await r.json());
curl -L \
  --request POST \
  --url 'https://api.aimlapi.com/v1/images/edits' \
  --header 'Authorization: Bearer <YOUR_AIMLAPI_KEY>' \
  --form "model=meta/muse-image-edit" \
  --form "prompt=Add a crown to the cat's head." \
  --form "image=@<YOUR_IMAGE_PATH.png>;type=image/png;filename=<IMAGE_NAME>"

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Meta Muse Image Edit API Pricing

TypePrice
Output
$0.013 / gen

Meta Muse Image Edit vs other models

ModelInputOutputContextBest for
$0.013 / gen
Reference-guided image editing
$0.325 / 1M tokens
$78 / 1M tokens
128K tokens
Image generation at scale
$6.5 / 1M tokens
$39 / 1M tokens
Image generation at scale
Image generation at scale
$0.0195 / MP (variable)
Image generation at scale

Frequently asked questions

Meta Muse Image Edit takes text, image as input and returns image.

Meta Muse Image Edit became available on August 26, 2026.

Meta Muse Image Edit is priced at $0.013 / gen.

Meta Muse Image Edit is billed per generation — a fixed charge per output rather than by prompt length.

Yes, Meta Muse Image Edit accepts image input as well as a text prompt.

Meta Muse Image Edit was built by Meta.

Send a request to https://api.aimlapi.com/v1/images/edits with meta/muse-image-edit as the model id.

Yes. Meta Muse Image Edit is served through AI/ML API, so the same key and endpoint format used for other models applies.

Yes, it can compose an edit using multiple reference images.

Yes, it stays coherent across multiple turns of editing.

Start building with Meta Muse Image Edit

Get API Key
1000+ models, one API.