# Qwen-Image LoRA Trainer - API, Playground & Pricing

> Run Qwen-Image LoRA Trainer by Alibaba via API, Playground, or MCP from $2.00 per run - no provider API key needed. Teach Qwen-Image your product or character, then use it in every prompt.

Page: https://flymy.ai/models/qwen-image-lora-trainer/

Models / Text to image

Qwen-Image LoRA Trainer fine-tunes a LoRA adapter on your own images for Alibaba's Qwen-Image, to teach it a style, product or character. Run it in the playground, call its API, or let Claude Code, Codex or Cursor run it through one FlyMy.AI MCP. No Alibaba API key: runs are billed to your FlyMy.AI balance.

[▶ Try in Playground](https://app.flymy.ai/models/flymyai/qwen-image-lora-trainer) [<> Get API](https://flymy.ai/models/qwen-image-lora-trainer/#api)

**Provider**

[Alibaba](https://flymy.ai/models/provider/alibaba/)

**Category**

[Text to image](https://flymy.ai/models/text-to-image/) / LoRA training

**Price**

$2.00 / run ($2.00 at the defaults)

**Returns**

`config`

**Commercial use**

Allowed

**Model ID**

`flymyai/qwen-image-lora-trainer`

![Qwen-Image LoRA Trainer by Alibaba: LoRA training sample, train a LoRA on your images](https://flymy.ai/img/models/qwen-image-lora-trainer.jpg)

Qwen-Image LoRA Trainer sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## Use Qwen-Image LoRA Trainer in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

```
Read https://flymy.ai/skill.md and https://flymy.ai/models/qwen-image-lora-trainer.md. Help me connect the FlyMy.AI MCP to this assistant, then run Qwen-Image LoRA Trainer (flymyai/qwen-image-lora-trainer) for this task: Train a LoRA with Qwen-Image LoRA Trainer on the product photos in this zip link, with the trigger word mybrand.
```

[Open FlyMy.AI](https://app.flymy.ai/new-agent) [Download brief](https://flymy.ai/models/qwen-image-lora-trainer.md)

## What Qwen-Image LoRA Trainer does

Point dataset_url at a public archive of your training images, choose a trigger_word to call the concept in prompts and set training_steps (300 by default). It returns the trained model and its config; load the adapter in Qwen-Image LoRA with lora_url_1.

## Qwen-Image LoRA Trainer inputs

Every input of `flymyai/qwen-image-lora-trainer` as its live schema lists them. Returns `config` (array).

| Input | Type, values and default |
|---|---|
| [#](https://flymy.ai/models/qwen-image-lora-trainer/#input-trigger_word) `trigger_word` | string required Default: `test-fma` |
| [#](https://flymy.ai/models/qwen-image-lora-trainer/#input-dataset_url) `dataset_url` | string required |
| [#](https://flymy.ai/models/qwen-image-lora-trainer/#input-training_steps) `training_steps` | integer optional Default: `300` |
| [#](https://flymy.ai/models/qwen-image-lora-trainer/#input-huggingface_model_name) `huggingface_model_name` | string optional Default: `Qwen/Qwen-Image` |

## Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

**“Train a LoRA with Qwen-Image LoRA Trainer on the product photos in this zip link, with the trigger word mybrand.”** runs `flymyai/qwen-image-lora-trainer`

**“Use Qwen-Image LoRA Trainer to teach the model my illustration style from these 20 images.”** runs `flymyai/qwen-image-lora-trainer`

**“Train a character LoRA with Qwen-Image LoRA Trainer, then generate a test image with it.”** runs `flymyai/qwen-image-lora-trainer`

## Qwen-Image LoRA Trainer price

$2.00 per run. A run at the default settings costs $2.00. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

[Every model's price →](https://flymy.ai/models/pricing/) [Usage pricing →](https://flymy.ai/pricing/)

## Qwen-Image LoRA Trainer vs similar models

Popular text to image models beside it, with prices from billing and settings from each live schema.

| Model | Provider | Kind | Price | Default run |
|---|---|---|---|---|
| **Qwen-Image LoRA Trainer** | Alibaba | LoRA training | $2.00 / run | $2.00 |
| [Nano Banana 2.1](https://flymy.ai/models/nano-banana-2-1/) | Google | Text and image to image | from $0.0336 / image | $0.0336 |
| [Seedream 5.0 Pro](https://flymy.ai/models/bytedance-seedream-5-0-pro/) | ByteDance | Text and image to image | from $0.045 / run | $0.09 |
| [Z-Image Turbo](https://flymy.ai/models/z-image-turbo/) | Alibaba | Text to image | $0.005 / run | $0.005 |

## Qwen-Image LoRA Trainer API

The same model from your own code or from an agent. Send your FlyMy.AI API key in the `X-API-KEY` header; [get a key](https://app.flymy.ai/developers) in your account.

### cURL

Form fields, not JSON; files go as uploads or public URLs. The answer is a `prediction_id`; read the result at `https://api.flymy.ai/api/v1/flymyai/qwen-image-lora-trainer/predict/async/result/?request_id=<prediction_id>`.

```
curl -X POST https://api.flymy.ai/api/v1/flymyai/qwen-image-lora-trainer/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'trigger_word=test-fma' \
  -F 'dataset_url=https://example.com/photo.jpg'
```

### Python

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

```
# pip install flymyai
import os

from flymyai import client

fma = client(apikey=os.environ["FLYMYAI_API_KEY"])
task = fma.predict_async_task(
    model="flymyai/qwen-image-lora-trainer",
    payload={
        "trigger_word": "test-fma",
        "dataset_url": "https://example.com/photo.jpg"
    },
)
# a long run: wait for its result (up to 15 minutes here)
result = task.result(timeout=900)
print(result.inference_responses[0].output_data)
```

### JavaScript / TypeScript

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

```
// npm install flymyai-js-client
import { FlyMyAI } from "flymyai-js-client";

const client = new FlyMyAI({ apiKey: process.env.FLYMYAI_API_KEY });
const response = await client.predict(
  {
    "trigger_word": "test-fma",
    "dataset_url": "https://example.com/photo.jpg"
  },
  "flymyai/qwen-image-lora-trainer",
);
console.log(response.output_data);
```

### MCP

Your agent calls `get_model_schema`, then `run_model` with:

```
{
  "endpoint_id": "flymyai/qwen-image-lora-trainer",
  "input": {
    "trigger_word": "test-fma",
    "dataset_url": "https://example.com/photo.jpg"
  }
}
```

## Questions about Qwen-Image LoRA Trainer

**Do I need an Alibaba API key for Qwen-Image LoRA Trainer?**

No. Qwen-Image LoRA Trainer runs on FlyMy.AI's account, so you need no Alibaba key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

**How much does Qwen-Image LoRA Trainer cost?**

$2.00 per run. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-18.

**Can I try Qwen-Image LoRA Trainer before I write code?**

Yes. Open Qwen-Image LoRA Trainer in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/qwen-image-lora-trainer, fill in its inputs and run it; the same run is one API call later, billed the same way.

**How do I use Qwen-Image LoRA Trainer in Claude Code, Codex or Cursor?**

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Train a LoRA with Qwen-Image LoRA Trainer on the product photos in this zip link, with the trigger word mybrand." Your agent reads the inputs with get_model_schema and runs flymyai/qwen-image-lora-trainer with run_model.

**What does Qwen-Image LoRA Trainer need as input?**

Qwen-Image LoRA Trainer requires trigger_word and dataset_url; it also takes 2 optional inputs, each listed on this page with its allowed values and default.

**Can I call Qwen-Image LoRA Trainer from my own code?**

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/qwen-image-lora-trainer/predict/async/ with your FlyMy.AI API key in the X-API-KEY header.

## More LoRA training models

Train a style or character adapter on your own images and use it with the image models.

## Go to the source

[Qwen-Image LoRA Trainer in the playground →](https://app.flymy.ai/models/flymyai/qwen-image-lora-trainer), [Qwen-Image LoRA Trainer guide in the docs →](https://docs.flymy.ai/guides/train-lora), [Text to image models →](https://flymy.ai/models/text-to-image/), [Alibaba models →](https://flymy.ai/models/provider/alibaba/), [Model endpoints in the docs →](https://docs.flymy.ai/api/models-endpoints), [Every model on FlyMy.AI →](https://flymy.ai/models/), [Model prices →](https://flymy.ai/models/pricing/), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog)

From the FlyMy.AI model catalog of 2026-11-18: inputs from each model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.

---

For agents: the FlyMyAI operating guide (sign up, connect, run models, tools and agents) is https://flymy.ai/skill.md, and https://flymy.ai/llms.txt lists the other pages and the documentation.
