# Long Hair - v1.0 > Long hair to use in the SDXL model, I hadn't found any until now, so I decided to train one and make it available, use the TAG Long Hair or Very Long Hair. Good use. Images found on google for training.Negative prompts:Low-quality rendering, distorted proportions, overexposed lighting, underwhelming composition, poor color palette, blurry focus, uninspired concept,duplicated textures, identical shapes, mirrored errors, repeated mistakes, cloned compositions, identical colors, duplicated typography, mirrored layouts, identical illustrations, repeated graphics, duplicated visual effects, identical animations, mirrored photography, duplicated subject matter, identical atmosphere, lackluster textures, unrealistic shading, amateurish design, unbalanced contrast, unflattering angles, dull atmosphere, unimpressive details, inconsistent style, unengaging subject matter, low-resolution output, unnatural colors, cluttered layout, unpolished finish, weak perspective, inadequate lighting, unconvincing depth, flat colors, uninteresting shapes, poor anatomy, awkward posing, unflattering facial expressions, lack of cohesion, mismatched elements, unharmonious colors, inadequate textures, unrefined details, unoriginal concept, uninspired typography, overly simplistic design, unrealistic proportions, lack of visual flow, unpleasant color combinations, inconsistent line weights, unrefined shapes, unnatural patterns, unengaging typography, unoriginal layout, unimpressive illustrations, unflattering color casts, unbalanced composition, uncoordinated typography, uninviting color palette, unprofessional illustrations, uninspired photography, unoriginal visual elements, unengaging graphics, unpolished visual effects, duplicated elements, repetitive patterns, mirrored mistakes, identical flaws, copied concepts, redundant detailsPositive:Extremely detailed, Ultra-realistic, High-definition, Crisp and clear, Highly rendered, Photorealistic, Exceptional quality, Super high-resolution, Vivid and lifelike, Exquisitely detailed, Masterpiece-level art, Highly polished, Stunningly realistic, Impeccable quality, Breathtakingly detailed, Flawlessly rendered, Unbelievably realistic, Incredibly intricate, Superbly crafted, Magnificently detailed, Highly refined, Exquisitely crafted, Remarkably realistic, Exceptionally vivid, Superb quality, Highly detailed textures, Realistic lighting effects, Intricately designed, Masterfully created, Highly realistic environments, Stunningly beautiful, Incredibly lifelike, Highly immersive, Exceptionally detailed characters, Realistic animations, Highly stylized, Vividly colored, Highly atmospheric, Exceptionally rendered, Breathtakingly beautiful, detailed face, face with high quality, ## Overview - **Model ID**: `long-hair-v1-0` - **Category**: stable diffusion xl - **Provider**: modelslab - **Status**: model_ready - **Screenshot**: `https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/2b23ef4a-c338-48c9-8bb4-6a8b31a60823/width=564/21728200.jpeg` ## API Information This model can be used via our HTTP API. See the API documentation and usage examples below. ### Endpoint - **URL**: `https://modelslab.com/api/v6/images/text2img` - **Method**: POST ### Parameters - **`prompt`** (required): prompt help in image generation - Type: textarea - Example: Enter prompt - **`model_id`** (required): Enter model_id that can help in image generation - Type: text - Example: Enter model_id here - **`lora_model`** (required): - Type: multiple_models - **`width`** (required): width of the image - Type: number (range: 512-1024) - **`height`** (required): height of the image - Type: number (range: 512-1024) - **`negative_prompt`** (optional): Negative prompt help in avoid things that you do not want in image - Type: textarea - Example: Enter negative prompt that you do not want see in image - **`scheduler`** (optional): - Type: select (options: DPM++ 2M, DPM++ SDE, Euler, Euler a) - **`guidance_scale`** (optional): - Type: number (range: 1-10) ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v6/images/text2img \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "long-hair-v1-0", "prompt": "R3alisticF, hauntingly beautiful oriental necromancer, long flowing brown hair, bangs, darkly tanned skin, earrings, bone necklaces, dark eyeshadow, red lips, vibrant, front-laced transparent, filmy silk blouse, cleavage, holding skull, in a sandstone room lit by candles, High Detail, Perfect Composition, high contrast, silhouetted, chiascuro", "width": "1024", "height": "1024", "negative_prompt": "(worst quality:2), (low quality:2), (normal quality:2), (jpeg artifacts), (blurry), (duplicate), (morbid), (mutilated), (out of frame), (extra limbs), (bad anatomy), (disfigured), (deformed), (cross-eye), (glitch), (oversaturated), (overexposed), (underexposed), (bad proportions), (bad hands), (bad feet), (cloned face), (long neck), (missing arms), (missing legs), (extra fingers), (fused fingers), (poorly drawn hands), (poorly drawn face), (mutation), (deformed eyes), watermark, text, logo, signature, grainy, tiling, censored, nsfw, ugly, blurry eyes, noisy image, bad lighting, unnatural skin, asymmetry", "scheduler": "DPMSolverMultistepScheduler", "guidance_scale": "7.5" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v6/images/text2img", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "long-hair-v1-0", "prompt": "R3alisticF, hauntingly beautiful oriental necromancer, long flowing brown hair, bangs, darkly tanned skin, earrings, bone necklaces, dark eyeshadow, red lips, vibrant, front-laced transparent, filmy silk blouse, cleavage, holding skull, in a sandstone room lit by candles, High Detail, Perfect Composition, high contrast, silhouetted, chiascuro", "width": "1024", "height": "1024", "negative_prompt": "(worst quality:2), (low quality:2), (normal quality:2), (jpeg artifacts), (blurry), (duplicate), (morbid), (mutilated), (out of frame), (extra limbs), (bad anatomy), (disfigured), (deformed), (cross-eye), (glitch), (oversaturated), (overexposed), (underexposed), (bad proportions), (bad hands), (bad feet), (cloned face), (long neck), (missing arms), (missing legs), (extra fingers), (fused fingers), (poorly drawn hands), (poorly drawn face), (mutation), (deformed eyes), watermark, text, logo, signature, grainy, tiling, censored, nsfw, ugly, blurry eyes, noisy image, bad lighting, unnatural skin, asymmetry", "scheduler": "DPMSolverMultistepScheduler", "guidance_scale": "7.5" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v6/images/text2img", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "long-hair-v1-0", "prompt": "R3alisticF, hauntingly beautiful oriental necromancer, long flowing brown hair, bangs, darkly tanned skin, earrings, bone necklaces, dark eyeshadow, red lips, vibrant, front-laced transparent, filmy silk blouse, cleavage, holding skull, in a sandstone room lit by candles, High Detail, Perfect Composition, high contrast, silhouetted, chiascuro", "width": "1024", "height": "1024", "negative_prompt": "(worst quality:2), (low quality:2), (normal quality:2), (jpeg artifacts), (blurry), (duplicate), (morbid), (mutilated), (out of frame), (extra limbs), (bad anatomy), (disfigured), (deformed), (cross-eye), (glitch), (oversaturated), (overexposed), (underexposed), (bad proportions), (bad hands), (bad feet), (cloned face), (long neck), (missing arms), (missing legs), (extra fingers), (fused fingers), (poorly drawn hands), (poorly drawn face), (mutation), (deformed eyes), watermark, text, logo, signature, grainy, tiling, censored, nsfw, ugly, blurry eyes, noisy image, bad lighting, unnatural skin, asymmetry", "scheduler": "DPMSolverMultistepScheduler", "guidance_scale": "7.5" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/community-model/long-hair-v1-0) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)