logo
RunComfy
  • ComfyUI
  • TrainerNuovo
  • Modelli
  • API
  • Prezzi
discord logo
MODELLI
Esplora
Tutti i modelli
LIBRERIA
Generazioni
API DEI MODELLI
Documentazione API
Chiavi API
ACCOUNT
Utilizzo

Wan 2.1 LoRA: generatore di video personalizzati | RunComfy

wan-ai/wan-2-1/lora

Applica una LoRA Wan 2.1 personalizzata alla generazione di testo in video o di immagine in video e controlla risoluzione, formato, fotogrammi, campionamento, intensità e seed.

Indice

1. Per iniziare2. Autenticazione3. Riferimento APIInvia una richiestaStato della richiestaRecupera i risultatiAnnulla richiesta4. File in ingressoFile ospitato (URL)5. SchemaSchema di inputSchema di output

1. Per iniziare

Usa l'API RunComfy per eseguire wan-ai/wan-2-1/lora. Per input e output accettati, consulta lo schema.

curl --request POST \
  --url https://model-api.runcomfy.net/v1/models/wan-ai/wan-2-1/lora \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer <token>" \
  --data '{
    "prompt": "A vast circular library of glowing memory orbs stretches in all directions, with tall curved shelves extending upward. Each orb contains a different memory, glowing in various colors - yellow for joy, blue for sadness, red for anger, purple for fear, and green for disgust. In the foreground, two characters - a small blue figure with glasses and a tall slender yellow figure with bright blue hair - are examining a particularly bright memory orb. Light streams cascade through the enormous room, creating dramatic beams between the shelves. The space has a warm ambient glow with dramatic shadows. Small maintenance worker characters in uniform can be seen in the background, carefully organizing orbs on distant shelves. The rendering features Pixar's characteristic polished surfaces with subtle reflections and depth-of-field blur for distant elements.",
    "lora_url": "https://playgrounds-storage-public.runcomfy.net/models/wan2.1/lora/Remade-AI/Pixar/pixar_10_epochs.safetensors"
  }'

2. Autenticazione

Imposta la variabile d'ambiente YOUR_API_TOKEN con la tua chiave API (gestione nel Profilo) e includi in ogni richiesta un token Bearer nell'intestazione Authorization : Authorization: Bearer $YOUR_API_TOKEN.

3. Riferimento API

Invia una richiesta

Invia un job di generazione asincrono e ricevi subito un request_id e URL per stato, risultati e annullamento.

curl --request POST \
  --url https://model-api.runcomfy.net/v1/models/wan-ai/wan-2-1/lora \
  --header "Content-Type: application/json" \
  --header "Authorization: Bearer <token>" \
  --data '{
    "prompt": "A vast circular library of glowing memory orbs stretches in all directions, with tall curved shelves extending upward. Each orb contains a different memory, glowing in various colors - yellow for joy, blue for sadness, red for anger, purple for fear, and green for disgust. In the foreground, two characters - a small blue figure with glasses and a tall slender yellow figure with bright blue hair - are examining a particularly bright memory orb. Light streams cascade through the enormous room, creating dramatic beams between the shelves. The space has a warm ambient glow with dramatic shadows. Small maintenance worker characters in uniform can be seen in the background, carefully organizing orbs on distant shelves. The rendering features Pixar's characteristic polished surfaces with subtle reflections and depth-of-field blur for distant elements.",
    "lora_url": "https://playgrounds-storage-public.runcomfy.net/models/wan2.1/lora/Remade-AI/Pixar/pixar_10_epochs.safetensors"
  }'

Stato della richiesta

Recupera lo stato corrente per un request_id ("in_queue", "in_progress", "completed" o "cancelled").

curl --request GET \
  --url https://model-api.runcomfy.net/v1/requests/{request_id}/status \
  --header "Authorization: Bearer <token>"

Recupera i risultati

Recupera output finali e metadati per il request_id; se il job non è completo, la risposta restituisce lo stato corrente per continuare il polling.

curl --request GET \
  --url https://model-api.runcomfy.net/v1/requests/{request_id}/result \
  --header "Authorization: Bearer <token>"

Annulla richiesta

Annulla un job in coda tramite request_id; i job in corso non possono essere annullati.

curl --request POST \
  --url https://model-api.runcomfy.net/v1/requests/{request_id}/cancel \
  --header "Authorization: Bearer <token>"

4. File in ingresso

File ospitato (URL)

Fornisci un URL HTTPS raggiungibile pubblicamente. L'host deve consentire fetch lato server (senza login/cookie), senza rate limit eccessivo o blocco bot. Consigliato: immagini ≤ 50 MB (~4K), video ≤ 100 MB (~2–5 min a 720p). Per asset privati, URL stabili o pre-firmati.

5. Schema

Schema di input

{
  "type": "object",
  "title": "Schema di input",
  "required": [
    "prompt",
    "lora_url"
  ],
  "properties": {
    "lora_url": {
      "title": "URL Wan 2.1 LoRA",
      "description": "È obbligatorio un link di Hugging Face o Civitai. È possibile utilizzare una sola LoRA per generazione.",
      "type": "string",
      "default": "https://playgrounds-storage-public.runcomfy.net/models/wan2.1/lora/Remade-AI/Pixar/pixar_10_epochs.safetensors"
    },
    "model": {
      "title": "Wan 2.1 Modello base",
      "description": "Scegli il modello base 1.3b o 14b; predefinito: 14b.",
      "type": "string",
      "enum": [
        "1.3b",
        "14b"
      ],
      "default": "14b"
    },
    "prompt": {
      "title": "Prompt",
      "description": "Testo obbligatorio che descrive il soggetto del video, la scena, l'azione, lo stile e il movimento della telecamera.",
      "type": "string",
      "default": "A vast circular library of glowing memory orbs stretches in all directions, with tall curved shelves extending upward. Each orb contains a different memory, glowing in various colors - yellow for joy, blue for sadness, red for anger, purple for fear, and green for disgust. In the foreground, two characters - a small blue figure with glasses and a tall slender yellow figure with bright blue hair - are examining a particularly bright memory orb. Light streams cascade through the enormous room, creating dramatic beams between the shelves. The space has a warm ambient glow with dramatic shadows. Small maintenance worker characters in uniform can be seen in the background, carefully organizing orbs on distant shelves. The rendering features Pixar's characteristic polished surfaces with subtle reflections and depth-of-field blur for distant elements."
    },
    "image": {
      "title": "Immagine in ingresso",
      "description": "Immagine sorgente facoltativa per la generazione da immagine a video. Lascia il campo vuoto per la generazione da testo a video.",
      "type": "string"
    },
    "resolution": {
      "title": "Risoluzione",
      "description": "Scegli l'uscita 480p o 720p; impostazione predefinita: 480p.",
      "type": "string",
      "enum": [
        "480p",
        "720p"
      ],
      "default": "480p"
    },
    "aspect_ratio": {
      "title": "Proporzioni (L:A)",
      "description": "Scegli 16:9, 1:1 o 9:16; impostazione predefinita: 16:9.",
      "type": "string",
      "enum": [
        "16:9",
        "1:1",
        "9:16"
      ],
      "default": "16:9"
    },
    "negative_prompt": {
      "title": "Prompt negativo",
      "description": "Testo facoltativo che descrive gli elementi visivi da evitare.",
      "type": "string",
      "default": ""
    },
    "sample_guide_scale": {
      "title": "Intensità del prompt",
      "description": "Controlla quanto fortemente l'output segue il prompt; intervallo: 0–10, predefinito: 5.",
      "maximum": 10,
      "minimum": 0,
      "type": "float",
      "default": 5
    },
    "lora_strength_model": {
      "title": "Intensità LoRA",
      "description": "Controlla l'influenza della LoRA. Valori più alti producono un effetto più intenso; intervallo: 0–1, valore predefinito: 1.",
      "maximum": 1,
      "minimum": 0,
      "type": "float",
      "default": 1
    },
    "sample_steps": {
      "title": "Passaggi di campionamento",
      "description": "Numero di passaggi di campionamento da 1 a 60; valore predefinito: 30. Più passaggi aumentano il costo in crediti.",
      "type": "integer",
      "default": 30,
      "maximum": 60,
      "minimum": 1
    },
    "seed": {
      "title": "Seed",
      "description": "Seme intero utilizzato per riprodurre o variare una generazione; predefinito: 80682279.",
      "type": "integer",
      "default": 80682279
    },
    "frames": {
      "title": "Numero di fotogrammi",
      "description": "Scegli 17, 33, 49, 65 o 81 fotogrammi di output.",
      "type": "integer",
      "enum": [
        17,
        33,
        49,
        65,
        81
      ]
    },
    "sample_shift": {
      "title": "Spostamento del campionamento",
      "description": "Controllo dello spostamento del campionamento da 0 a 10.",
      "maximum": 10,
      "minimum": 0,
      "type": "float"
    },
    "fast_mode": {
      "title": "Modalità veloce",
      "description": "Scegli Disattivato, Bilanciato o Veloce. Un'elaborazione più rapida può ridurre la precisione.",
      "type": "string",
      "enum": [
        "Off",
        "Balanced",
        "Fast"
      ]
    }
  }
}

Schema di output

{
  "output": {
    "type": "object",
    "properties": {
      "image": {
        "type": "string",
        "format": "uri",
        "description": "URL immagine singola"
      },
      "video": {
        "type": "string",
        "format": "uri",
        "description": "URL video singolo"
      },
      "images": {
        "type": "array",
        "description": "più URL immagine",
        "items": {
          "type": "string",
          "format": "uri"
        }
      },
      "videos": {
        "type": "array",
        "description": "più URL video",
        "items": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}
Seguici
  • LinkedIn
  • Facebook
  • Instagram
  • Twitter
Supporto
  • Discord
  • Email
  • Stato del Sistema
  • affiliato
Modelli Video
  • Runway Aleph 2
  • Wan 2.5
  • Wan 2.6 Flash
  • MiniMax H3 Max
  • Wan 3.0 Reference To Video
  • Seedance 2.5 Reference to Video 480p
  • Visualizza tutti i modelli →
Modelli Immagine
  • Wan 2.6 Image to Image
  • Seedream 5.0 Pro
  • Flux 2 Klein 9B
  • Nano Banana Pro
  • Nano Banana 2 Edit
  • Z Image Turbo LoRA
  • Visualizza tutti i modelli →
Legale
  • Termini di Servizio
  • Informativa sulla Privacy
  • Informativa sui Cookie
RunComfy
Copyright 2026 RunComfy. Tutti i Diritti Riservati.

RunComfy è la piattaforma principale ComfyUI che offre ComfyUI online ambiente e servizi, insieme a workflow di ComfyUI con visuali mozzafiato. RunComfy offre anche AI Models, consentire agli artisti di sfruttare gli ultimi strumenti di AI per creare arte incredibile.