--- license: other license_name: faipl-1.0-sd license_link: https://freedevproject.org/faipl-1.0-sd/ language: - en tags: - text-to-image - stable-diffusion - safetensors - stable-diffusion-xl base_model: yodayo-ai/kivotos-xl-2.0 widget: - text: 1girl, green hair, sweater, looking at viewer, upper body, beanie, outdoors, night, turtleneck, masterpiece, best quality, very aesthetic, absurdres parameter: negative_prompt: nsfw, low quality, worst quality, very displeasing, 3d, watermark, signature, ugly, poorly drawn example_title: 1girl - text: 1boy, male focus, green hair, sweater, looking at viewer, upper body, beanie, outdoors, night, turtleneck, masterpiece, best quality, very aesthetic, absurdres parameter: negative_prompt: nsfw, low quality, worst quality, very displeasing, 3d, watermark, signature, ugly, poorly drawn example_title: 1boy ---
Clandestine XL 1.0
## Overview **Clandestine XL** is a yet another stylized Animagine XL finetune, finetuned from Kivotos XL 2.0. It specializes in generating sharp-lined anime illustrations inspired by popular AI-generated art styles on Pixiv. The model excels in producing stylized anime characters with improved anatomy and hand renderings. ## Model Details - **Developed by**: [Linaqruf](https://github.com/Linaqruf) - **Model type**: Stable Diffusion XL - **License**: [Fair AI Public License 1.0-SD](https://freedevproject.org/faipl-1.0-sd/) - **Finetuned from model**: [Kivotos XL 2.0](https://huggingface.co/yodayo-ai/kivotos-xl-2.0) ## Supported Platform 1. Use this model in our platform: [![Open In Spaces](https://img.shields.io/badge/Generate%20in%20Yodayo-141414?style=for-the-badge&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAGtUExURf/JZf/KZf/LZf64aftuevx+dv7DZv/HZvyKc/toe/2wa//KZP/MZPt4d/oIjvQUj7uVmPXKa/6va/ohifsFjcpfmtvGe//JZPtme/QOkGOEz87Hg//JY/2mbfoYi/4Hi5lNuoq/rfUOkF2E08THifoZiplOun6/tF6E0sXHiPUOj16F0sXHif6mbfoYivoIjVyG08TJiP/MYv/NZPYNj4B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25-4ffb-b9fe-026b6dd4475d/?modelversion=35788c75-917e-4afe-9a65-5b830039bab9) 2. Use it in [`ComfyUI`](https://github.com/comfyanonymous/ComfyUI) or [`Stable Diffusion Webui`](https://github.com/AUTOMATIC1111/stable-diffusion-webui) 3. Use it with 🧨 `diffusers` ## 🧨 Diffusers Installation First install the required libraries: ```bash pip install diffusers transformers accelerate safetensors --upgrade ``` Then run image generation with the following example code: ```python import torch from diffusers import StableDiffusionXLPipeline pipe = StableDiffusionXLPipeline.from_pretrained( "yodayo-ai/clandestine-xl-1.0", torch_dtype=torch.float16, use_safetensors=True, custom_pipeline="lpw_stable_diffusion_xl", add_watermarker=False, variant="fp16" ) pipe.to('cuda') prompt = "1girl, kazusa \(blue archive\), blue archive, solo, upper body, v, smile, looking at viewer, outdoors, night, masterpiece, best quality, very aesthetic, absurdres" negative_prompt = "nsfw, (low quality, worst quality:1.2), very displeasing, 3d, watermark, signature, ugly, poorly drawn" image = pipe( prompt, negative_prompt=negative_prompt, width=832, height=1216, guidance_scale=7, num_inference_steps=28 ).images[0] image.save("./cat.png") ``` ## Usage Guidelines ### Tag Ordering For optimal results, it's recommended to follow the structured prompt template because we train the model like this: ``` 1girl/1boy, character name, from which series, by which artists, everything else in any order. ``` ### Special Tags Clandestine XL 1.0 inherits special tags from Animagine XL 3.1 to enhance image generation by steering results toward quality, rating, creation date, and aesthetic. This inheritance ensures that Clandestine XL 1.0 can produce high-quality, relevant, and aesthetically pleasing images. While the model can generate images without these tags, using them helps achieve better results. - **Quality tags**: masterpiece, best quality, great quality, good quality, normal quality, low quality, worst quality - **Rating tags**: safe, sensitive, nsfw, explicit - **Year tags**: newest, recent, mid, early, oldest - **Aesthetic tags**: very aesthetic, aesthetic, displeasing, very displeasing ### Recommended Settings To guide the model towards generating high-aesthetic images, use the following recommended settings: - **Negative prompts**: ``` nsfw, (low quality, worst quality:1.2), very displeasing, 3d, watermark, signature, ugly, poorly drawn ``` - **Positive prompts**: ``` masterpiece, best quality, very aesthetic, absurdres ``` - **Classifier-Free Guidance (CFG) Scale**: should be around 5 to 7; 10 is fried, >12 is deep-fried. - **Sampling steps**: should be around 25 to 30; 28 is the sweet spot. - **Sampler**: Euler Ancestral (Euler a) is highly recommended. - **Supported resolutions**: ``` 1024 x 1024, 1152 x 896, 896 x 1152, 1216 x 832, 832 x 1216, 1344 x 768, 768 x 1344, 1536 x 640, 640 x 1536 ``` ## License Clandestine XL 1.0 falls under [Fair AI Public License 1.0-SD](https://freedevproject.org/faipl-1.0-sd/) license, which is compatible with Stable Diffusion models’ license. Key points: 1. **Modification Sharing:** If you modify Clandestine XL 1.0, you must share both your changes and the original license. 2. **Source Code Accessibility:** If your modified version is network-accessible, provide a way (like a download link) for others to get the source code. This applies to derived models too. 3. **Distribution Terms:** Any distribution must be under this license or another with similar rules.