DashAnimeXL-V1 / README.md
ayushman-dashtoon's picture
Update README.md
094c4ec verified
---
language:
- en
library_name: diffusers
tags:
- text-to-image
- stable-diffusion
- safetensors
- stable-diffusion-xl
license: openrail++
---
<style>
.title-container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh; /* Adjust this value to position the title vertically */
}
.title {
font-size: 2.5em;
text-align: center;
color: #333;
font-family: 'Helvetica Neue', sans-serif;
letter-spacing: 0.1em;
padding: 0.5em 0;
background: transparent;
}
.title span {
background: -webkit-linear-gradient(45deg, #7ed56f, #28b485);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.masonry-grid {
column-count: 4;
column-gap: 15px;
}
.masonry-item {
margin-bottom: 15px;
break-inside: avoid;
}
.custom-image {
width: 100%;
height: auto;
display: block;
border-radius: 10px;
transition: transform .7s;
}
.custom-image:hover {
transform: scale(1.05);
}
</style>
<h1 class="title">
<span>DashAnimeXL V1</span>
</h1>
<div class="masonry-grid">
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/ComfyUI_temp_zvkev_00024_.png" alt="image2">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/ComfyUI_temp_zvkev_00027_.png" alt="image3">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/ComfyUI_temp_zvkev_00044_.png" alt="image4">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/ComfyUI_temp_zvkev_00055_.png" alt="image5">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/ComfyUI_temp_zvkev_00071_.png" alt="image6">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/ComfyUI_temp_zvkev_00087_.png" alt="image7">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/ComfyUI_temp_zvkev_00099_.png" alt="image8">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/ComfyUI_temp_zvkev_00115_.png" alt="image9">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/ComfyUI_temp_zvkev_00121_.png" alt="image10">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/ComfyUI_temp_zvkev_00129_.png" alt="image11">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/ComfyUI_temp_zvkev_00137_.png" alt="image12">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/ComfyUI_temp_zvkev_00149_.png" alt="image13">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/ComfyUI_temp_zvkev_00153_.png" alt="image14">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/ComfyUI_temp_zvkev_00192_.png" alt="image15">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/ComfyUI_temp_zvkev_00259_.png" alt="image16">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/ComfyUI_temp_zvkev_00267_.png" alt="image17">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/ComfyUI_temp_zvkev_00296_.png" alt="image18">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/ComfyUI_temp_zvkev_00306_.png" alt="image19">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/ComfyUI_temp_zvkev_00330_.png" alt="image20">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/CR_00414_.png" alt="image21">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/CR_00418_.png" alt="image22">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/CR_00420_.png" alt="image23">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/CR_00421_.png" alt="image24">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/CR_00423_.png" alt="image25">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/CR_00424_.png" alt="image26">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/368340.png" alt="image27">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/368341.png" alt="image28">
</div>
<div class="masonry-item">
<img class="custom-image" src="https://content.dashtoon.ai/assets/DashAnimeXL_Blog/367983.png" alt="image1">
</div>
</div>
DashAnimeXL V1 is a diffusion-based text-to-image generative model. The model is a finetune of [SDXL](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/tree/main) by the research team at [Dashtoon](https://dashtoon.com/create).
Please see our [blog](https://insiders.dashtoon.com/dashanimexl/) for more details.
## Model Description
- **Developed by:** [Dashtoon](https://dashtoon.com/create)
- **Model type:** Diffusion-based text-to-image generative model
- **License:** [CreativeML Open RAIL++-M License](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/main/LICENSE.md)
- **Model Description:** DashAnimeXL V1 is engineered to generate high-quality anime images from textual prompts. It features enhanced hand anatomy, better concept understanding, and prompt interpretation.
- **Summary:** This model generates images based on text prompts. It follows the same architecture as [Stable Diffusion XL](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0).
- **Finetuned from model:** [SDXL](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/tree/main)
## Using the model with 🧨 Diffusers
To use DashAnimeXL V1, install the required libraries as follows:
```python
pip install diffusers --upgrade
pip install transformers accelerate safetensors
```
Example script for generating images with DashAnimeXL V1:
```python
import torch
from diffusers import (
StableDiffusionXLPipeline,
EulerAncestralDiscreteScheduler,
AutoencoderKL
)
# Load VAE component
vae = AutoencoderKL.from_pretrained(
"madebyollin/sdxl-vae-fp16-fix",
torch_dtype=torch.bfloat16
)
# Configure the pipeline
pipe = StableDiffusionXLPipeline.from_pretrained(
"dashtoon/DashAnimeXL-V1",
vae=vae,
torch_dtype=torch.bfloat16,
use_safetensors=True,
)
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
if torch.cuda.is_available():
pipe.to('cuda')
# Define prompts and generate image
prompt = "anime illustration, An ink painting with a superhot, pop art style, featuring vibrant splashes and gradient patterns merging with random signals and noise. A zoomed-in panda wearing glasses, appearing to look directly at the viewer. The piece is bathed in warm, volumetric lighting against a clear dusk sky background. The reflection in the panda's sunglasses reveals nuclear clouds, adding an element of surrealism."
negative_prompt = "nsfw, low quality, worst quality, very displeasing, 3d, watermark, signature, ugly, poorly drawn"
image = pipe(
prompt,
negative_prompt=negative_prompt,
width=1024,
height=1024,
guidance_scale=7,
num_inference_steps=20
).images[0]
```