Meta Muse Image Edit API

The editing counterpart to Meta Muse Image: point it at an existing photo and describe the change. Understands the frame and scopes edits to just what you asked for. $0.013 per image.
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.6877 / 1M tokens
$4.1262 / 1M tokens
128K tokens
Image generation at scale
$6.5 / 1M tokens
$10.4 / 1M tokens
Image generation at scale
$2.7508 / 1M tokens
$16.5048 / 1M tokens
Image generation at scale
$0.0195 / MP (variable)
Image generation at scale

Start building with Meta Muse Image Edit

Get API Key
1000+ models, one API.