Qwen Image Edit LoRA 图像编辑: Lora Support

在 Qwen Image Edit 之上应用自定义训练的 LoRA 风格,编辑任意图像。通过简单的 REST API 实现精准、微调的编辑。可免费试用——按次生成付费,无需订阅。

📝

Overview

About this model

Qwen Image Edit LoRA 在 Qwen Image Edit 之上叠加了自定义 LoRA 支持,让你在修改或添加paramètres d'entrée图像中的元素时,应用经过微调的风格、角色或产品外观。提供一张源图像、描述编辑内容的文本prompt,以及最多 3 个带独立 scale 倍率的 LoRA 权重文件。

1品牌产品编辑:在编辑产品摄影图像时应用训练好的品牌风格 LoRA。
2角色一致性:在编辑后的图像中保持经过微调的角色或人物风格一致。
3风格一致的润饰:将自定义审美 LoRA 融入标准图像编辑。
4自定义艺术指导:组合多个 LoRA 权重,实现具体且可重复的视觉风格。
💰

Pricing & Value

Cost analysis

muapiapp$0.04 per generation

无论应用多少个 LoRA 权重,每次生成均按固定价格计费。

Fal.ai$0.05 per generation

Muapiapp is roughly 20% cheaper for comparable Qwen Image Edit LoRA generations.

Replicate$0.05 per generation

按使用量计费,与 Fal.ai 价格相近;muapiapp 仍是更便宜的选择。

** Competitor pricing is estimated based on similar model architectures and usage tiers.

⚙️

Technical Details

Configuration schema

Promptstring

Text prompt describing the image edits.

Default ValueA cinematic ocean wave at sunrise, highly detailed
Image URLstring

entréeimage的 URL。

Default Valuehttps://d3adwkbyhxyrtq.cloudfront.net/ai-images/186/902675646946/c0951838-8bc5-4598-8e8e-941df16446fa.jpg
Format d'imageEnum (9 options)

Aspect ratio of generated image.

Default Value1:1
LoRA 列表array

要应用的 LoRA 列表(最多 3 个)。

Default Value[object Object]
输出FormatEnum (3 options)

Format of the output image.

Default Valuejpeg
📖

Implementation Guide

Developer documentation

Comment utiliser Qwen Image Edit LoRA

  1. 提供源图像

    • image_url 设置为要编辑的图像。
  2. 编写编辑prompt

    • 描述想要的更改,例如:“添加一条红色围巾,并将背景改为下雪的街道。”
  3. 应用 LoRA 权重(可选)

    • loras 中添加最多 3 个条目,每个条目包含一个 path(指向 .safetensors 文件的 URL)和一个 scale(0–4,默认 1),用于控制其强度。
  4. 设置résultat选项

    • 选择 aspect_ratiooutput_formatjpegpngwebp)。
  5. 通过 API 提交

curl -X POST https://api.muapi.ai/api/v1/qwen-image-edit-lora \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Add a red scarf and change the background to a snowy street.",
    "image_url": "https://example.com/source.jpg",
    "loras": [{"path": "https://example.com/my-style.safetensors", "scale": 1}]
  }'
  1. 轮询并下载
    • 轮询 GET /api/v1/predictions/{request_id}/result,直到 statuscompleted,然后从 output 获取图像 URL。

Common Questions

Frequently asked

Qwen Image Edit LoRA 有什么作用?

它会根据文本prompt编辑一张paramètres d'entrée图像,同时应用最多 3 个自定义 LoRA 权重文件,将结果引导至训练好的风格、角色或外观。

LoRA 权重从哪里获取?

任何可公开访问的 `.safetensors` URL 都可以——包括由 muapiapp LoRA trainer endpoint 生成的文件,或 Hugging Face 等第三方托管服务上的文件。

一次可以应用多少个 LoRA?

最多 3 个,每个 LoRA 都有自己的 `scale` 倍率(0–4,默认 1),用于控制其影响强度。

它与 qwen-image-edit-2511-lora 有何不同?

此端点接收单个 `image_url`;2511 变体通过 `images_list` 接收最多 3 张参考图像,并提供更强的多图编辑一致性。

支持哪些résultat格式?

支持 `jpeg`、`png` 或 `webp`,通过 `output_format` 设置。