Op den Inhalt sprangen

Qwen Image Edit 2509 Trainer

Integréieren

Modell-ID qwen-image-edit-2509-trainer
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/qwen-image-edit-2509-trainer?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image_data_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Dateie wéi am Beispill: 4,00 $ 4.000 API-Kreditter Är Dateie gi virun der Ausféierung gemooss Op dëser Säit ausféieren

API-Schlëssel kréien
Alibaba Training

Trainéiert eng personaliséiert LoRA fir Qwen Image Edit 2509 aus engem ZIP mat gekoppelte Start- an Endbiller

Alibaba · Datei

Äin éischt Resultat kënnt hei hin

Baut hei drënner eng Ufro a féiert se mat Ärem API-Schlëssel aus. Output gëtt an eis Späicherung kopéiert, fir ëmmer oder 7 Deeg gratis gespäichert.

Eng Ufro erstellen

D'Kontrolle ginn aus dem Modellschema generéiert. De Code an de Präis aktualiséiere sech, wann s du se ännerst.

•obligatoresch

URL vun engem ZIP-Archiv mat gekoppelte Biller mam Numm ROOT_start.EXT a ROOT_end.EXT, wéi photo_start.jpg a photo_end.jpg. Méi Referenzbiller pro Koppel ginn ënnerstëtzt mat ROOT_start.EXT, ROOT_start2.EXT, ROOT_start3.EXT, ..., ROOT_end.EXT (zum Beispill photo_start.jpg, photo_start2.jpg, photo_end.jpg); setzt Reference Image Count op d'Gesamtzuel vun de Referenzbiller. All Koppel kann och Editéierungsinstruktiounen an ROOT.txt enthalen (zum Beispill photo.txt); ouni dës Datei benotzt d'Training default_caption, a feelt, wann default_caption och net do ass.

Standard 1000

Total Unzuel vun Trainingsschrëtt.

Erweidert default_caption · learning_rate

Caption, déi amplaz vu feelende Caption-Dateie benotzt gëtt; None mécht hiert Feelen zu engem Feeler.

Standard 0.0001

Taux, dee benotzt gëtt, fir d'LoRA-Parameter beim Léieren ze aktualiséieren.

POST /run/qwen-image-edit-2509-trainer?wait=20 Präis → 4,00 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/qwen-image-edit-2509-trainer?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image_data_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Dës Ufro ausféieren

Äre Schlëssel bleift an dësem Browser: e gëtt nëmmen un d'Doitong API geschéckt an nëmme gespäichert (localStorage), wann s du „Erënneren“ aktivéiers. En API-Schlëssel kréien

Iwwer Qwen Image Edit 2509 Trainer

Passt eng LoRA un Är eegen Virher-/Noher-Beispiller un. `image_data_url` weist op e ZIP mat Bildpuer, déi ROOT_start.EXT an ROOT_end.EXT heeschen. Setzt `steps` (1 bis 30000, Standard 1000) an `learning_rate`, an optional `default_caption` fir Puer ouni Caption-Dateien. D'Ausgab ass eng Konfiguratiounsdatei an Diffusers-LoRA-Gewiichter.

Parameteren

NummTyp StandardErlaabt Beschreiwung
image_data_urlobligatoresch
Typstring
URL vun engem ZIP-Archiv mat gekoppelte Biller mam Numm ROOT_start.EXT a ROOT_end.EXT, wéi photo_start.jpg a photo_end.jpg. Méi Referenzbiller pro Koppel ginn ënnerstëtzt mat ROOT_start.EXT, ROOT_start2.EXT, ROOT_start3.EXT, ..., ROOT_end.EXT (zum Beispill photo_start.jpg, photo_start2.jpg, photo_end.jpg); setzt Reference Image Count op d'Gesamtzuel vun de Referenzbiller. All Koppel kann och Editéierungsinstruktiounen an ROOT.txt enthalen (zum Beispill photo.txt); ouni dës Datei benotzt d'Training default_caption, a feelt, wann default_caption och net do ass.
learning_rateoptional
Typnumber
Standard0.0001
Taux, dee benotzt gëtt, fir d'LoRA-Parameter beim Léieren ze aktualiséieren.
stepsoptional
Typinteger
Standard1000
1 – 30.000
Total Unzuel vun Trainingsschrëtt.
default_captionoptional
Typstring | null
Caption, déi amplaz vu feelende Caption-Dateie benotzt gëtt; None mécht hiert Feelen zu engem Feeler.
obligatoresch

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "qwen-image-edit-2509-trainer",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 4000,
    "usd": "4.00",
    "charged": 4000,
    "refunded": 0
  },
  "input": {
    "image_data_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "output": {
    "diffusers_lora_file": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200
    },
    "config_file": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "file",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Är Fichieren, Är WielAll outputs[].url ass eng Kopie an eiser Späicherung: fir ëmmer gespäichert (bezuelbar pro GB-Mount) oder 7 Deeg gratis, jee no Ärer Kontastellung oder ?storage=.
D'selwecht Struktur bei all Modelltype, url, content_type, width, height an duration, fir Biller, Video an Audio gläichermoossen. output ass dem Modell säin eegent Resultatobjet.
Output-Felder
diffusers_lora_file
object {url, content_type, file_name, file_size}URL op d'trainéiert LoRA-Gewiichter am diffusers-Format.
config_file
object {url, content_type, file_name, file_size}URL op d'Konfiguratiounsdatei vum trainéierte Modäll.

Fir AI-Agenten: dës Säit als Markdown ass ënner https://doitong.com/lb/developers/models/qwen-image-edit-2509-trainer.md. All Modeller a Guiden: https://doitong.com/developers/llms.txt