Spaces:
Sleeping
Sleeping
File size: 458 Bytes
c4b4851 870ab35 c4b4851 870ab35 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
---
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
}
|