Models / Text to image
Qwen-Image LoRA Trainer - API, Playground & Pricing
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.
- Provider
- Alibaba
- Category
- 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

$ YOUR NEXT RUN
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.
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).
Ask your agent
Requests to paste as they are, once the FlyMy.AI MCP is connected.
flymyai/qwen-image-lora-trainerflymyai/qwen-image-lora-trainerflymyai/qwen-image-lora-trainerQwen-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.
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 | Text and image to image | from $0.0336 / image | $0.0336 | |
| Seedream 5.0 Pro | ByteDance | Text and image to image | from $0.045 / run | $0.09 |
| 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 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.
Go to the source
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.