selfit-camera commited on
Commit
2d9f067
·
1 Parent(s): c6993bf
Files changed (1) hide show
  1. README.md +14 -75
README.md CHANGED
@@ -1,75 +1,14 @@
1
- # AI Text to Image Generator
2
-
3
- A powerful AI-powered text-to-image generation application that creates stunning images from text descriptions.
4
-
5
- ## Features
6
-
7
- - **Text-to-Image Generation**: Simply enter a text prompt and generate high-quality images
8
- - **Multiple Aspect Ratios**: Choose from 5 different aspect ratios:
9
- - 16:9 (1364x768) - Landscape
10
- - 4:3 (1182x887) - Traditional
11
- - 1:1 (1024x1024) - Square
12
- - 3:4 (887x1182) - Portrait
13
- - 9:16 (768x1364) - Mobile
14
- - **Rate Limiting**: Built-in rate limiting to manage free tier usage
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