Generate WanX Task with LoRA Using PiAPI
Available LoRA List
Type Name | Description |
---|---|
ghibli | Generate video based on ghibli style |
Example: Request Body of txt2video-14b-lora Task with LoRA
{
"model": "Qubico/wanx",
"task_type": "txt2video-14b-lora",
"input": {
"prompt": "video of a young woman with long, dark hair and bangs. She is wearing a light gray t-shirt and appears to be sitting at a table.",
"negative_prompt": "chaotic, distortion, morphing",
"aspect_ratio": "16:9",
"lora_settings": [
{
"lora_type": "ghibli",
"lora_strength": 1.0
}
]
},
"config": {
"webhook_config": {
"endpoint": "",
"secret": ""
}
}
}
Parameter | Type | Description |
---|---|---|
lora_settings | array | An array containing parameters for LoRA invocation |
lora_type | string | Select the LoRA type you need (e.g., ghibli) |
lora_strength | number | Controls the intensity of LoRA's influence (Range: 0.0-1.0) |
"lora_settings": [
{
"lora_type": "ghibli",
"lora_strength": 1.0
}
]
Output Sample
Video Sample 2
Video Sample 3
Modified at 2025-04-06 06:19:12