easterbin commited on
Commit
cb8ebed
·
verified ·
1 Parent(s): 1c003eb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -7
README.md CHANGED
@@ -1,12 +1,27 @@
1
  ---
2
- title: Wheelspin
3
- emoji: 🔥
4
- colorFrom: blue
5
- colorTo: blue
6
  sdk: docker
7
  pinned: false
8
- license: apache-2.0
9
- short_description: 'an italian spinning wheel endpoint '
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: WheelSpin GIF Generator
3
+ emoji: 🎡
4
+ colorFrom: yellow
5
+ colorTo: red
6
  sdk: docker
7
  pinned: false
 
 
8
  ---
9
 
10
+ # WheelSpin GIF Generator API
11
+
12
+ Genera GIF animate di una ruota che gira con opzioni personalizzate.
13
+
14
+ ## Endpoint
15
+
16
+ ### `GET /spin`
17
+
18
+ **Query Parameters:**
19
+ - `segments` (required, ripetibile): Le opzioni della ruota
20
+ - `size` (optional, default 500): Dimensione immagine in pixel
21
+
22
+ **Esempio:**
23
+ ```
24
+ GET /spin?segments=Pizza&segments=Sushi&segments=Burger
25
+ ```
26
+
27
+ **Risposta:** GIF animata (`image/gif`)