# My Model - Image Generation | |
This model is a Stable Diffusion variant trained to generate images from text prompts. | |
## Usage | |
To use this model, send a text prompt to the API and specify your desired inference parameters. | |
## Example | |
```python | |
from transformers import pipeline | |
generator = pipeline("text-to-image", model="awabxnero/hentai.safetensors") | |
result = generator("A fantasy landscape with mountains") | |
result[0]["image"].show() # Display the generated image | |