|
--- |
|
tags: |
|
- text-to-image |
|
- stable-diffusion |
|
- lora |
|
- diffusers |
|
- template:sd-lora |
|
widget: |
|
- text: >- |
|
India as a tech champ, showcasing the country as a global leader in technology with a futuristic skyline filled with tech hubs, innovation centers, and advanced infrastructure. |
|
output: |
|
url: india-tech-champ.png |
|
- text: >- |
|
An astronaut floating in the deep ocean, surrounded by marine life, with the ocean floor visible in the background. The scene is surreal, blending space exploration with underwater adventure. |
|
output: |
|
url: astronaut-ocean.png |
|
- text: >- |
|
A group of dogs and cats laughing together in a park, with joyful expressions and playful energy. The image captures a moment of pure happiness among the animals. |
|
output: |
|
url: dogs-cats-laughing.png |
|
base_model: stabilityai/stable-diffusion-xl-base-1.0 |
|
instance_prompt: null |
|
license: openrail++ |
|
--- |
|
# SDTX - Image Generation Model |
|
|
|
<Gallery /> |
|
|
|
## Model description |
|
|
|
SDTX is a LoRA model based on Stable Diffusion XL, trained by @binarybardakshat. It is designed for efficient image generation with low space usage and is CUDA-integrated, ensuring optimal performance on compatible hardware. The model is suitable for generating high-quality images with a focus on creativity and detail. |
|
|
|
## Download model |
|
|
|
Weights for this model are available in Safetensors format. |
|
|
|
[Download](https://huggingface.co/username/SDTX/tree/main) them in the Files & versions tab. |
|
|
|
## How to Use |
|
|
|
You can use the SDTX model in your projects by loading it with the `diffusers` library. |
|
|
|
```python |
|
from diffusers import StableDiffusionPipeline |
|
|
|
# Load the model |
|
pipeline = StableDiffusionPipeline.from_pretrained("username/SDTX") |
|
|
|
# Generate an image |
|
image = pipeline("India as a tech champ").images[0] |
|
image.save("india_tech_champ.png") |
|
|