Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
art
image-generation
abstract-art
stable-diffusion
Instructions to use cz9dev/herminia with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use cz9dev/herminia with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("cz9dev/herminia", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
|
Download README.md from cz9dev/herminia: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/cz9dev/herminia/resolve/main/README.md
- Command line
-
hf download hf://cz9dev/herminia/README.md
-
curl -L -o README.md https://huggingface.co/cz9dev/herminia/resolve/main/README.md
1.16 kB
| tags: | |
| - art | |
| - image-generation | |
| - abstract-art | |
| - stable-diffusion | |
| license: mit | |
| library_name: diffusers | |
| pipeline_tag: text-to-image | |
| base_model: stabilityai/stable-diffusion-v1-5 | |
| # Herminia, modelo de generación de imágenes | |
| Modelo herminia creado a partir de Stable Diffusion para generar imágenes a partir de texto. | |
| ## Uso con GPU | |
| ```python | |
| from diffusers import StableDiffusionPipeline | |
| pipe = StableDiffusionPipeline.from_pretrained("cz9dev/herminia", torch_dtype=torch.float16) | |
| pipe.to("cuda") | |
| image = pipe("Un astronauta montando un unicornio").images[0] | |
| image.save("astronauta.png") | |
| ``` | |
| ## Uso con CPU | |
| ```python | |
| from diffusers import StableDiffusionPipeline | |
| pipe = StableDiffusionPipeline.from_pretrained("cz9dev/herminia", torch_dtype=torch.float32) | |
| pipe.to("cpu") | |
| image = pipe("Arte fantástico con criaturas mitológicas").images[0] | |
| image.save("astronauta.png") | |
| ``` | |
| ## Ejemplos de imágenes generadas | |
|  "Paisaje futurista de la tierra" | |
|  "Un dibujo abstracto de la bandera cubana" | |
| ## Licencia | |
| MIT |