Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,24 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Flux Logo Design Model
|
2 |
+
|
3 |
+
This is a logo design model based on Flux with image enhancement capabilities.
|
4 |
+
|
5 |
+
## Model Details
|
6 |
+
- Model Type: Flux
|
7 |
+
- Task: Text-to-Image
|
8 |
+
- Use Case: Logo Generation
|
9 |
+
|
10 |
+
## Usage
|
11 |
+
```python
|
12 |
+
import requests
|
13 |
+
|
14 |
+
API_URL = "https://api-inference.huggingface.co/models/insideman/Flux-Logo-Design"
|
15 |
+
headers = {"Authorization": "Bearer YOUR_API_KEY"}
|
16 |
+
|
17 |
+
def query(payload):
|
18 |
+
response = requests.post(API_URL, headers=headers, json=payload)
|
19 |
+
return response.content
|
20 |
+
|
21 |
+
# Example usage
|
22 |
+
image_bytes = query({
|
23 |
+
"inputs": "logo, Minimalist, A bunch of grapes and a wine glass",
|
24 |
+
})
|