image_generation / README.md
saraung's picture
updated read me
c4b4851
---
title: Image Generation API
emoji: 🎨
colorFrom: pink
colorTo: indigo
sdk: docker
app_file: app.py
pinned: false
---
# Image Generation API
This is a FastAPI-based Docker Space that generates AI images using the `Realistic Vision V5.1` model.
## Endpoint
**POST** `/generate`
### Body (JSON)
```json
{
"prompt": "a young Indian man in traditional attire, DSLR photo",
"negative_prompt": "blurry, distorted",
"width": 768,
"height": 432
}