yaseengoldfinchpc commited on
Commit
5334fbf
·
1 Parent(s): 43c5517
Files changed (1) hide show
  1. README.md +31 -2
README.md CHANGED
@@ -1,8 +1,37 @@
1
  ---
2
- title: Stable Diffusion Inpainting API
3
  emoji: 🎨
4
  colorFrom: blue
5
  colorTo: purple
6
  sdk: docker
 
 
7
  app_port: 7860
8
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: modeltest
3
  emoji: 🎨
4
  colorFrom: blue
5
  colorTo: purple
6
  sdk: docker
7
+ sdk_version: "3.0.26"
8
+ app_file: app.py
9
  app_port: 7860
10
+ pinned: false
11
+ ---
12
+
13
+ # Stable Diffusion Inpainting API
14
+
15
+ A FastAPI service for image inpainting using Stable Diffusion.
16
+
17
+ ## Features
18
+ - Image inpainting using Stable Diffusion
19
+ - FastAPI backend
20
+ - Docker containerization
21
+ - CUDA support
22
+ - File size validation
23
+ - Base64 image encoding/decoding
24
+
25
+ ## API Endpoints
26
+ - POST `/inpaint`: Perform image inpainting
27
+ - GET `/health`: Check service health
28
+
29
+ ## Environment Variables
30
+ - `HF_TOKEN`: Hugging Face token (optional)
31
+ - `MAX_FILE_SIZE`: Maximum file size (default: 10MB)
32
+
33
+ ## Model
34
+ Using `Uminosachi/realisticVisionV51_v51VAE-inpainting` from Hugging Face.
35
+
36
+ ## Demo
37
+ Check out the live demo at [modeltest space](https://huggingface.co/spaces/yaseengoldfinchpc/modeltest)