Spaces:
Running
Running
Commit
·
2d9f067
1
Parent(s):
c6993bf
init
Browse files
README.md
CHANGED
|
@@ -1,75 +1,14 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
- **NSFW Detection**: Automatic content filtering for safe usage
|
| 16 |
-
- **Progress Tracking**: Real-time progress updates during generation
|
| 17 |
-
- **Queue Management**: Smart queue system with priority support
|
| 18 |
-
|
| 19 |
-
## How to Use
|
| 20 |
-
|
| 21 |
-
1. Enter a detailed text prompt describing the image you want to generate
|
| 22 |
-
2. Select your desired aspect ratio
|
| 23 |
-
3. Click "Generate Image"
|
| 24 |
-
4. Wait for the AI to process your request
|
| 25 |
-
5. Download or view your generated image
|
| 26 |
-
|
| 27 |
-
## Installation
|
| 28 |
-
|
| 29 |
-
```bash
|
| 30 |
-
pip install -r requirements.txt
|
| 31 |
-
```
|
| 32 |
-
|
| 33 |
-
## Environment Variables
|
| 34 |
-
|
| 35 |
-
Set up the following environment variable:
|
| 36 |
-
|
| 37 |
-
```bash
|
| 38 |
-
export OneKey="TOKEN#APIKEY#UKAPIURL#LLMKEY#R2_ACCESS_KEY#R2_SECRET_KEY#R2_ENDPOINT#GoodWebsiteUrl"
|
| 39 |
-
```
|
| 40 |
-
|
| 41 |
-
## Running the Application
|
| 42 |
-
|
| 43 |
-
```bash
|
| 44 |
-
python app.py
|
| 45 |
-
```
|
| 46 |
-
|
| 47 |
-
The application will start on `http://0.0.0.0:7860`
|
| 48 |
-
|
| 49 |
-
## Tips for Best Results
|
| 50 |
-
|
| 51 |
-
- **Be Specific**: Use detailed, descriptive prompts
|
| 52 |
-
- **Style Keywords**: Include style keywords like "photorealistic", "oil painting", "anime", etc.
|
| 53 |
-
- **Aspect Ratio**: Choose the right aspect ratio for your use case
|
| 54 |
-
- **Details Matter**: Add details about mood, lighting, camera angle, etc.
|
| 55 |
-
|
| 56 |
-
## Use Cases
|
| 57 |
-
|
| 58 |
-
- Digital Art & Illustrations
|
| 59 |
-
- Character Design
|
| 60 |
-
- Concept Art
|
| 61 |
-
- Social Media Content
|
| 62 |
-
- Marketing Materials
|
| 63 |
-
- Product Visualization
|
| 64 |
-
- Creative Exploration
|
| 65 |
-
|
| 66 |
-
## Technology
|
| 67 |
-
|
| 68 |
-
- Built with Gradio for the web interface
|
| 69 |
-
- Uses advanced AI models for image generation
|
| 70 |
-
- Cloudflare R2 for image storage
|
| 71 |
-
- Real-time progress tracking and queue management
|
| 72 |
-
|
| 73 |
-
## License
|
| 74 |
-
|
| 75 |
-
See LICENSE file for details.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Text To Image Pro
|
| 3 |
+
emoji: 📉
|
| 4 |
+
colorFrom: green
|
| 5 |
+
colorTo: blue
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 5.49.1
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
license: mit
|
| 11 |
+
short_description: AI Text to Image
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|