Naar inhoud springen

Wan-2.1 LoRA Trainer · T2V

Integreren

Model-ID wan-trainer/t2v
# 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/wan-trainer/t2v?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "training_data_url": "https://example.com/your-file.zip"
  }'

# 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"

Deze request: $ 2,00 2.000 API-tegoed Op deze pagina uitvoeren

API-sleutel ophalen
Alibaba Training #lora#training

LoRA-trainer voor het kleinere Wan 2.1 text-to-video 1.3B-model, vanuit een zip met afbeeldingen of video's

Gemaakt op Doitong

Openbare werken gemaakt met Wan-2.1 LoRA Trainer door de Doitong-community. Gebruik een prompt opnieuw met één klik.

Getoonde openbare werken: 4
Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a... Video

Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a daytime flight. Natural cabin lighting, subtle handheld camera movement, authentic airplane ambience, realistic passengers and natural acting. The video must feel like a real spontaneous phone...

**SORA 2 PROMPT — 20 seconds, vertical 9:16** Create a highly realistic UGC-style smartphone vide... Video

**SORA 2 PROMPT — 20 seconds, vertical 9:16** Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a daytime flight. Natural cabin lighting, subtle handheld camera movement, authentic airplane ambience, realistic passengers and natural acting. The video...

Create a realistic cinematic 20-second video, filmed like a high-budget modern commercial with na... Video

Create a realistic cinematic 20-second video, filmed like a high-budget modern commercial with natural acting, realistic lighting and believable facial expressions. All dialogue is spoken naturally in French. **SCENE 1 — EXPENSIVE RESTAURANT, EVENING — 0–5 sec** A young man in his late 20s is...

Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scen... Video

Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scene takes place inside a modern passenger airplane during a daytime flight. Natural smartphone-like cinematography, realistic airplane cabin, authentic passengers, natural lighting, realistic skin...

Een aanvraag samenstellen

Besturingselementen worden gegenereerd op basis van het modelschema. De code en de prijs worden bijgewerkt terwijl je ze wijzigt.

•verplicht

URL van trainings-ZIP-archief met afbeeldingen in een consistente stijl, optioneel inclusief tekstbestanden met bijschriften die dezelfde naam hebben als het bijbehorende afbeeldings- of videobestand. Neem bij voorkeur ten minste 10 afbeeldingen, video's of een combinatie daarvan op; grotere verzamelingen hebben de voorkeur.

standaard 400

Totaal aantal stappen voor de training.

Geavanceerd trigger_phrase · learning_rate · auto_scale_input
standaard

Zin die het model opdracht geeft een afbeelding te produceren.

standaard 0.0002

Instelling voor de leersnelheid: snellere training brengt mogelijk een risico op overfitting met zich mee wanneer de snelheid wordt verhoogd.

POST /run/wan-trainer/t2v?wait=20 prijsopgave → $ 2,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/wan-trainer/t2v?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "training_data_url": "https://example.com/your-file.zip"
  }'

# 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"

Deze request uitvoeren

Je sleutel blijft in deze browser: hij wordt alleen naar de Doitong API verzonden en alleen in localStorage opgeslagen als je Onthouden aanvinkt. API-sleutel ophalen

Over Wan-2.1 LoRA Trainer · T2V

Traint een LoRA voor Wan 2.1 text-to-video 1.3B vanuit een ziparchief in `training_data_url`, dat bijschriften als tekstbestanden kan bevatten. Stel `number_of_steps` in tussen 100 en 20000 en stem `learning_rate` af. Een `trigger_phrase` is optioneel en `auto_scale_input` converteert video naar 81 frames bij 16fps. Retourneert LoRA-gewichten en een configuratiebestand.

Parameters

NaamType StandaardToegestaan Beschrijving
training_data_urlverplicht
Typestring
URL van trainings-ZIP-archief met afbeeldingen in een consistente stijl, optioneel inclusief tekstbestanden met bijschriften die dezelfde naam hebben als het bijbehorende afbeeldings- of videobestand. Neem bij voorkeur ten minste 10 afbeeldingen, video's of een combinatie daarvan op; grotere verzamelingen hebben de voorkeur.
number_of_stepsoptioneel
Typeinteger
Standaard400
100 – 20.000
Totaal aantal stappen voor de training.
learning_rateoptioneel
Typenumber
Standaard0.0002
0,000001 – 1
Instelling voor de leersnelheid: snellere training brengt mogelijk een risico op overfitting met zich mee wanneer de snelheid wordt verhoogd.
trigger_phraseoptioneel
Typestring
Standaard
Zin die het model opdracht geeft een afbeelding te produceren.
auto_scale_inputoptioneel
Typeboolean
Standaardfalse
Of de invoervideo automatisch wordt geschaald: true stelt de lengte in op 81 frames en de framesnelheid op 16 fps.
verplicht

Uitvoer

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-trainer/t2v",
  "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": 2000,
    "usd": "2.00",
    "charged": 2000,
    "refunded": 0
  },
  "input": {
    "training_data_url": "https://example.com/your-file.zip"
  },
  "output": {
    "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"
  }
}
Jouw bestanden, jouw keuzeElke outputs[].url is een kopie in onze opslag: voor altijd bewaard (betaald per GB-maand) of 7 dagen gratis, volgens je accountinstelling of ?storage=.
Dezelfde structuur voor elk modeltype, url, content_type, width, height en duration, voor afbeeldingen, video en audio. output is het eigen resultaatobject van het model.
Velden van de uitvoer
lora_file
object {url, content_type, file_name, file_size}URL naar de LoRA-gewichten die door de training zijn geproduceerd.
config_file
object {url, content_type, file_name, file_size}Configuratie voor het initialiseren van inferentie-endpoints.

Meer modellen: Training

Voor AI-agents: deze pagina als Markdown staat op https://doitong.com/nl/developers/models/wan-trainer/t2v.md. Alle modellen en handleidingen: https://doitong.com/developers/llms.txt