from dataclasses import field from typing import List from pydantic import BaseModel class LoRA(BaseModel): id: str name: str display_name: str url: str | None = None keyword: str = None all_keywords: List[str] = field(default_factory=list) note: str | None = None loras = [ LoRA( id="X-HighVoltage-X/Flux-Kontext-Makeup-remover", name="Flux Kontext Makeup remover", display_name="Flux Kontext Makeup remover v1.0", keyword="Remove makeup of this person", url="https://civitai.com/models/1859952/flux-kontext-makeup-remover", note=( "This model is a Flux Kontext LoRA trained with the AI-toolkit. " "It was trained on 70 image pairs, with around 80% of them featuring Asian subjects. " "However, since Kontext LoRA learns concepts rather than specific faces, " "it works well with various ethnicities." "I recommend using a LoRA strength of 1 for best results." ) ), LoRA( id="black-forest-labs/FLUX.1-Canny-dev-lora", name="Canny dev LoRA", display_name="Canny dev LoRA", url="https://huggingface.co/black-forest-labs/FLUX.1-Canny-dev-lora" ), LoRA( id="strangerzonehf/Flux-Super-Realism-LoRA", name="Super Realism", display_name="Super Realism", keyword="Super Realism", url="https://huggingface.co/strangerzonehf/Flux-Super-Realism-LoRA", note=( "The trigger word is not mandatory; ensure that words like " 'realistic" and "realism" appear in the image description. ' 'The "super realism" trigger word should prompt an exact match ' 'to the reference image in the showcase.' ) ), LoRA( id="ujouy/Amateur_Photography_FluxDev", name="Amateur Photography", display_name="Amateur Photography v6.0", url="https://civitai.com/models/652699/amateur-photography-flux-dev", note=( "Recommended Settings (v6)\n" "Distilled CFG Scale: 3.5\n" "Sampling method and Schedule type: DEIS with DDIM\n" "Steps: 20\n" "Resolution: 896x1152\n" "Hires fix model: 4x_NMKD-Superscale-SP_178000_G\n" "Steps: 10\n" "Denoise: 0.3\n" "Upscale by: 1.5\n" "Lora Weight: 0.8. You have to experiment based on your prompts\n" ) ), LoRA( id="VideoAditor/Flux-Lora-Realism", name="Flux Lora Realism", display_name="Flux Lora Realism", url="https://huggingface.co/VideoAditor/Flux-Lora-Realism" ), LoRA( id="strangerzonehf/Flux-SuperPortrait-v2-LoRA", name="Super Portrait v2", display_name="Super Portrait v2", keyword="Super Portrait v2", url="https://huggingface.co/strangerzonehf/Flux-SuperPortrait-v2-LoRA", note=( "Best Dimensions & Inference\n" "Dimension: 1280 x 832, Aspect Ratio: 3:2, Recommendation: Best\n" "Dimension: 1024 x 1024, Aspect Ratio: 1:1, Recommendation: Default\n" "Inference Range\n" "Recommended Inference Steps: 30–35" ) ), LoRA( id="fofr/kontext-make-person-real", name="kontext make person real", display_name="kontext make person real", keyword="make this person look real", url="https://huggingface.co/fofr/kontext-make-person-real" ), LoRA( id="prithivMLmods/Castor-Character-Polygon-Flux-LoRA", name="Castor Character Polygon Flux LoRA", display_name="Castor Character Polygon Flux LoRA", keyword="Create a hyper-realistic 3D polygon character portrait of", url="https://huggingface.co/prithivMLmods/Castor-Character-Polygon-Flux-LoRA", note=( "You should use 3D Polygon to trigger the image generation.\n" "You should use 3D Polygon Character to trigger the image generation.\n" ) ), LoRA( id="X-HighVoltage-X/chinfixer-2000", name="Chin Fixer 2000", display_name="Chin Fixer 2000 v3.0", keyword="ChinFixer-2000 style", url="https://civitai.com/models/775002/chin-fixer-2000", note=( "More trigger words:\n" "chin, cleft chin, jawbone, bottom of head\n" "Try with at the end of prompt" ) ), LoRA( id="X-HighVoltage-X/cultures-flux-v3", name="better faces cultures v3", display_name="better faces cultures v3", url="https://civitai.com/models/119376?modelVersionId=1228102", notes=( "include a diverse range of cultures and ethnicities.\n" "aborigines, african, arab, arctic, brazilian, chinese, egyptian, finish\n" "german, havaiian, indian, japanese, mongolian, russian, western.\n" "responds to age prompts like __yo for 20yo, 30yo, 40yo.\n" "Weight: start with 0.3" ) ), LoRA( id="X-HighVoltage-X/cultures-Portait-FLUX", name="better faces cultures FLUX Portait", display_name="better faces cultures FLUX Portait", url="https://civitai.com/models/119376?modelVersionId=779782", notes=( "include a diverse range of cultures and ethnicities.\n" "aborigines, african, arab, arctic, brazilian, chinese, egyptian, finish\n" "german, havaiian, indian, japanese, mongolian, russian, western.\n" "responds to age prompts like __yo for 20yo, 30yo, 40yo.\n" "Weight: start with 0.3" ) ), LoRA( id="X-HighVoltage-X/Black-Hair-Blue-Eyes-Pale-Skin-v1.0", name="Black Hair Blue Eyes Pale Skin v1", display_name="Black Hair Blue Eyes Pale Skin v1", url="https://civitai.com/models/928269/black-hair-blue-eyes-pale-skin", keyword="BHBEPS" ), LoRA( id="X-HighVoltage-X/Long-hair-LoRA-V3", name="Long hair LoRA V3", display_name="Long hair LoRA V3", url="https://civitai.com/models/669029/long-hair-lora-flux" ), LoRA( id="X-HighVoltage-X/Long-Hair-beautiful-Blond-v1.0", name="Long Hair beautiful Blond v1", display_name="Long Hair beautiful Blond v1", url="https://civitai.com/models/1685872/long-hair-beautiful-blond", keyword="longhairblond1" ), LoRA( id="X-HighVoltage-X/Gabri3lla-TS-v1.0", name="Gabri3lla TS v1", display_name="Gabri3lla TS v1", url="https://civitai.com/models/1218749/gabri3lla-ts", keyword="G@bri3ll@ Dark hair" ), LoRA( id="X-HighVoltage-X/Nobody_11-Arabic-Female-Uncensored-v1.0", name="Nobody_11 - Arabic Female - Uncensored v1", display_name="Nobody_11 - Arabic Female - Uncensored v1", url="https://civitai.com/models/1762729/nobody11-arabic-female-uncensored-flux1d", keyword="a woman" ), LoRA( id="X-HighVoltage-X/No-Shine", name="No Shine", display_name="No Shine" ), LoRA( id="X-HighVoltage-X/sameface-fix-flux-lora", name="SameFace Fix Flux Lora", display_name="SameFace Fix Flux Lora", keyword="woman" ), ]