We use essential cookies to make our site work. With your consent, we may also use non-essential cookies to improve user experience and analyze website traffic…

🚀 New model available: DeepSeek-V3.1 🚀

Qwen logo

Qwen/

Qwen-Image-Edit

Qwen-Image-Edit is a next-generation image editing model built on top of Qwen-Image, designed for both semantic and appearance-level edits. It excels at tasks like precise text modifications, style transfers, viewpoint transformations, and element adjustments while preserving overall visual consistency.

Public
$0.025 x (width / 1024) x (height / 1024) x (iters / 25)
ProjectPaperLicense
Qwen/Qwen-Image-Edit cover image

OpenAI Images Edits HTTP API

This document provides an overview of the DeepInfra-compatible OpenAI image edits API. It allows users to edit images using DeepInfra models.

Image Generation

curl -X POST \
  -H "Authorization: Bearer $DEEPINFRA_TOKEN" \
  -F image=@image.png \
  -F n=1 \
  -F size=1024x1024 \
  -F model=Qwen/Qwen-Image-Edit \
  https://api.deepinfra.com/v1/openai/images/edits 
copy

The API returns a JSON object containing the generated image(s).

Example Response

{
  "created": 1740418043,
  "data": [
    {
      "revised_prompt": null,
      "b64_json": "/9j/4AAQS..."
    }
  ]
}
copy

Input Schema

Output Schema