PiAPI
HomeWorkspace
HomeWorkspace
Join Discord
  1. WanX
  • Get Started
    • Overview
    • Quickstart
    • Make Instruction: How to Use PiAPI to Build a Workflow on Make?
  • Endpoints
    • Song(Udio)
      • Song API Task Creation Examples
      • [Udio] Song Extend
      • Get Task
      • Create Task
      • [Udio] Generate Lyrics
    • Kling
      • Lipsync With PiAPI Kling API Examples
      • Motion Brush With PiAPI Kling API Example
      • Kling Elements Video Generation API
      • Kling Effects Video Generation
      • Cancel Task
        • Cancel Tasks
        • Cancel Task
      • Get Task
      • Create Task
      • Kling Virtual Try-On
    • Hailuo
      • Hailuo Director Mode Example
      • Generate Video
      • Get Task
    • Flux
      • Flux with LoRA and Controlnet
      • Available LoRA and Controlnet
      • Flux API with Redux Variation, Fill, Inpaint and Outpaint
      • Create Task
        • Text to Image
        • Image to Image
      • Get task
    • AI Hug
      • Get Task
      • Create Task
    • LLM
      • Use Cases for GPT-4o Image API
      • How To Avoid Timeouts in Completion API
      • GPT-4o Image Generation API
      • LLM API | Basic Completions
      • Get Task
    • Midjourney
      • PiAPI Penalties on Midjourney Usage
      • Detailed Explaination on Midjourney Task Result
      • Midjourney V7 API Instructions
      • Create Task
        • Imagine
        • Upscale
        • Variation
        • Reroll
        • Describe
        • Seed
        • Blend
        • Inpaint
        • Outpaint
        • Pan
      • Cancel Task
        • Cancel Task
        • Cancel Tasks
      • Get Task
    • Faceswap
      • Multi Faceswap
      • Image Faceswap
      • Video Faceswap
      • Get Task
    • TTS
      • Zeroshot Text-to-Speech F5-TTS
      • Get Task
    • Trellis
      • Create Task
      • Get Task
    • Luma Dream Machine
      • Cancel Task
        • Cancel Tasks
        • Cancel Task
      • Create Task
      • Get Task
    • WanX
      • Available LoRA Types for Wanx
      • Generate WanX Task with LoRA Using PiAPI
      • Use Cases for Wanx LoRA
      • Create Task
        POST
      • Get Task
        GET
    • Skyreels
      • Create Task
      • Get Task
    • Framepack
      • Create Task
      • Get Task
    • Hunyuan Video
      • How to Make a Hunyuan API Call
      • Get Task
      • Generate Video
    • Mmaudio
      • Get Task
      • Generate Audio
    • DiffRhythm
      • Generate Audio
      • Get Task
    • Tools
      • File Upload API
      • Video Upscale
      • Video Upscale-Get Task
      • Remove Background API
      • Remove Background-Get Task
      • Segment With Prompt API
      • Segment With Prompt API-Get Task
      • Image Upscale(Super Resolution) API
      • Image Upscale-Get Task
    • PiAPI Account Management
      • PiAPI Account Info
      • Task List Info
      • User Task History
  • Resources
    • Change Log
    • Output Storage
    • Unified API Schema
    • Webhook
    • Bulk Generation Service
    • Billings
    • PiAPI MCP Server
    • Workspace Manual
      • Host-your-account (HYA) | Back-up Account
      • Host-your-account (HYA) | Debug Checklist
      • Host-your-account (HYA) | Connected Account Status
    • Announcements
      • PiAPI 2025 January 1st Pricing Update
  • Legacy Documentation
    • Midjourney
      • Midjourney Webhook
      • Imagine
      • Reroll
      • Upscale
      • Variation
      • Inpaint
      • Outpaint
      • Pan
      • Describe
      • Blend
      • Seed
      • Fetch
      • Multi Fetch
      • Cancel
    • Face Swap
      • Video Faceswap
      • Multi-face-swap
      • Fetch
    • Dream Machine
      • Video Generation
      • Video Extend
      • Get Video Generation
    • Kling
      • Video Generation
      • Video Extend
      • Get Video Generation
  1. WanX

Available LoRA Types for Wanx

Recently we have updated various LoRA models for Wanx available for PiAPI users. In this document, you can refer to the example images to see the effects of different LoRAs and generate fascinating and gorgeous videos based on various LoRAs.
We've provided some use cases for your reference to generate better video.
reference image

Basic Params#

ParameterTypeRequiredDescriptionJSON Setting Structure Example
modelstringYesInvoke Wanx model"model": "Qubico/wanx"
task_typestringYestask_type to select when using LoRA. Including txt2video-14b-lora and img2video-14b-lora"task_type": "txt2video-14b-lora"
promptstringYesVideo generation description."prompt": "A girl is sitting around the window."
imagestringYesImage URL or base64. Needed when you choose img2video-14b-loraas task_type."image": "https://i.ibb.co/wbw9GLY/girl.webp"
lora_settingsarrayYesAn array containing parameters for LoRA invocation"lora_settings":[{ "lora_type": "ghibli","lora_strength": 1.0}]
lora_typestringNoSelect the LoRA type you need (e.g. ghibli).
-Default: ghibli
"lora_type": "ghibli"
lora_strengthnumberNoControls the intensity of LoRA's influence (Range: 0.0-1.0).
Default: 1.0
"lora_strength": 1.0

Reference Implementation#

{
    "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": ""
        }
    }
}
{
    "model": "Qubico/wanx",
    "task_type": "img2video-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.",
        "image": "https://i.ibb.co/wbw9GLY/girl.webp",
        "lora_settings": [
            {
                "lora_type": "inflate-effect"
            }
        ]
    },
    "config": {
        "webhook_config": {
            "endpoint": "",
            "secret": ""
        }
    }
}

SFW-LoRA#

lora_typetask_typeExampleDescription
ghiblitxt2video-14b-loraghibliGenerate videos in ghibli style.
flat-colortxt2video-14b-loraflat-colorGenerate videos based on style without visible lineart, flat colors, and little to no indication of depth.
rotation-effectimg2video-14b-lorarotation-effectGenerate videos with the main character or object rotating 360 degrees.
live-wallpaperimg2video-14b-loralive-wallpaperGenerate videos based on style similar to live wallpaper.
passionate-kissingtxt2video-14b-lorapassionate-kissingGenerate videos based on characters kissing each other deeply.
squish-effectimg2video-14b-lorasquish-effectGenerate videos based on suqish effect.
cakeify-effectimg2video-14b-lorasquish-effectGenerate videos based on cakeify effect making the main object cut as a cake.
pixel-artimg2video-14b-lorapixel-artGenerate videos in pixel-art style.
super-saiyan-effectimg2video-14b-lorasuper-saiyan-effectGenerate videos specialized in Super Saiyan transformations.
inflate-effectimg2video-14b-lorainflate-effectGenerate videos based on inflate effect.
deflate-effectimg2video-14b-loradeflate-effectGenerate videos based on deflate effect.
crush-effectimg2video-14b-loracrush-effectGenerate videos based on crush effect.
particalize-effectimg2video-14b-lorasingularunity-motioncraftGenerate videos based on particalize effect.

NSFW-LoRA#

lora_typetask_typeExample URL
nsfw-generaltxt2video-14b-lora
img2video-14b-lora
https://i.ibb.co/Y4nnsNVz/We-Chat047f39c5f723dc567699331aaa148451.jpg
nsfw-bouncing-boobsimg2video-14b-lorahttps://i.ibb.co/vxnzfrX6/4391744989508-pic.jpg
nsfw-undresstxt2video-14b-lora
img2video-14b-lora
https://i.ibb.co/3mwVk4FV/We-Chataf7178d7947215887d289f4f0d55ffe5.jpg
nsfw-pov-blowjobtxt2video-14b-lora
img2video-14b-lora
https://i.ibb.co/nqz68G6g/4401744989684-pic.jpg
nsfw-pov-titfucktxt2video-14b-lora
img2video-14b-lora
https://i.ibb.co/r2dRvvbx/We-Chatcccde5299c5c3c3294552a3c256d799b.jpg
nsfw-pov-missionarytxt2video-14b-lora
img2video-14b-lora
https://i.ibb.co/yFVGvcSz/We-Chatd183b54da23a35bf32c4ec8fadc50727.jpg
nsfw-pov-cowgirltxt2video-14b-lorahttps://i.ibb.co/KcCTKtxc/We-Chat042bf9d9fdefd54393a274f1c1f26746.jpg
nsfw-pov-doggyimg2video-14b-lorahttps://i.ibb.co/Q30S2kVN/We-Chat8c7076e3160d2fc2392e888bcca8360b.jpg

Join our Discord#

If you have any inquiry, Feel free join our discord conversation and send a ticket. We would be glad to see you sharing creative outputs in our discord community.
Modified at 2025-04-27 01:34:43
Previous
Get Task
Next
Generate WanX Task with LoRA Using PiAPI