> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ninjachat.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Qwen Image Edit Plus

> Edit and combine up to three reference images with a text prompt.

<div className="ndoc-model-summary">
  <div className="ndoc-model-identity"><span className="ndoc-brand-mark"><span aria-hidden="true">AL</span></span><div><strong>Alibaba</strong><code>qwen-image-edit-plus</code></div></div>
  <div className="ndoc-model-stat"><span>Generation price</span><strong>\$0.03 per image</strong></div>
</div>

<div className="ndoc-capabilities" aria-label="Model capabilities">
  <span>Image editing</span>
  <span>Image reference</span>
</div>

## Pricing

| Unit      | Price  |
| :-------- | :----- |
| Per image | \$0.03 |

[Live pricing](https://www.ninjachat.ai/api/v1/models/qwen-image-edit-plus).

## Use this model

[Set up your SDK client](/sdks#create-a-client), then run:

This is an editing model: pass the source image as a public HTTPS URL in `image`.

<CodeGroup>
  ```typescript TypeScript SDK theme={null}
  const image = await client.images.generate({
    model: "qwen-image-edit-plus",
    prompt: "Replace the background with a clean studio backdrop",
    image: "https://your-cdn.example/source.png",
  });

  console.log(image.data[0].url);
  ```

  ```python Python SDK theme={null}
  image = client.images.generate(
      model="qwen-image-edit-plus",
      prompt="Replace the background with a clean studio backdrop",
      image="https://your-cdn.example/source.png",
  )

  print(image["data"][0]["url"])
  ```

  ```bash cURL theme={null}
  curl https://www.ninjachat.ai/api/v1/images/generations \
    -H "Authorization: Bearer $NINJACHAT_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{"model":"qwen-image-edit-plus","prompt":"Replace the background with a clean studio backdrop","image":"https://your-cdn.example/source.png"}'
  ```
</CodeGroup>

## Supported parameters

<div className="ndoc-parameters"><code>prompt</code><code>model</code><code>n</code><code>size</code><code>aspect\_ratio</code><code>image</code><code>width</code><code>height</code></div>

<Accordion title="Check current availability and limits">
  ```typescript TypeScript SDK theme={null}
  const model = await client.models.retrieve("qwen-image-edit-plus");

  if (!model.servable) throw new Error("qwen-image-edit-plus is temporarily unavailable");

  console.log({
    capabilities: model.capabilities,
    supportedParameters: model.supportedParameters,
    pricing: model.pricing,
    providers: model.providers,
  });
  ```
</Accordion>

**Guides:** [Image generation](/image-generation) · [Pricing](/pricing) · [All models](/models-overview)
