Spaces:
Running
on
Zero
Running
on
Zero
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -38,7 +38,7 @@ tags:
|
|
| 38 |
- hindi
|
| 39 |
- spanish
|
| 40 |
- portuguese
|
| 41 |
-
short_description: Image Gen &
|
| 42 |
---
|
| 43 |
|
| 44 |
# β‘ Z-Image Generation & Transformation Demo
|
|
@@ -48,33 +48,37 @@ Generate stunning AI images and transform existing photos using **Alibaba's Z-Im
|
|
| 48 |
## β¨ Features
|
| 49 |
|
| 50 |
π¨ **Text-to-Image Generation**
|
| 51 |
-
-
|
| 52 |
- 18 aspect ratios from 1024px to 2048px
|
| 53 |
-
- AI-powered prompt polishing with
|
| 54 |
|
| 55 |
πΌοΈ **Image-to-Image Transformation**
|
| 56 |
- Transform photos into different art styles
|
|
|
|
|
|
|
|
|
|
| 57 |
- Adjustable strength control (subtle to complete change)
|
| 58 |
-
- Style-focused AI prompt enhancement
|
| 59 |
|
| 60 |
β‘ **Optimized Performance**
|
| 61 |
- Runs on ZeroGPU (NVIDIA H200)
|
| 62 |
-
- FlashAttention-
|
|
|
|
| 63 |
- ~20-25 seconds per generation
|
| 64 |
|
| 65 |
## π How to Use
|
| 66 |
|
| 67 |
### Generate Tab
|
| 68 |
1. Enter a description of your image
|
| 69 |
-
2. (Optional) Enable "
|
| 70 |
3. Select a style and aspect ratio
|
| 71 |
4. Click "Generate"
|
| 72 |
|
| 73 |
### Transform Tab
|
| 74 |
1. Upload an image
|
| 75 |
-
2.
|
| 76 |
-
3.
|
| 77 |
-
4.
|
|
|
|
| 78 |
|
| 79 |
## π― Example Prompts
|
| 80 |
|
|
|
|
| 38 |
- hindi
|
| 39 |
- spanish
|
| 40 |
- portuguese
|
| 41 |
+
short_description: Image Gen & Transform. Van Gogh and Picasso style included!
|
| 42 |
---
|
| 43 |
|
| 44 |
# β‘ Z-Image Generation & Transformation Demo
|
|
|
|
| 48 |
## β¨ Features
|
| 49 |
|
| 50 |
π¨ **Text-to-Image Generation**
|
| 51 |
+
- 12 style presets (Photorealistic, Cinematic, Anime, Van Gogh, Picasso, and more)
|
| 52 |
- 18 aspect ratios from 1024px to 2048px
|
| 53 |
+
- AI-powered prompt polishing with DeepSeek Reasoner
|
| 54 |
|
| 55 |
πΌοΈ **Image-to-Image Transformation**
|
| 56 |
- Transform photos into different art styles
|
| 57 |
+
- **Van Gogh style**: Post-impressionist swirling brushstrokes, thick impasto, vibrant colors
|
| 58 |
+
- **Picasso style**: Cubist geometric fragmentation, multiple perspectives, bold outlines
|
| 59 |
+
- Style-only transformation: just select a style, no prompt needed!
|
| 60 |
- Adjustable strength control (subtle to complete change)
|
|
|
|
| 61 |
|
| 62 |
β‘ **Optimized Performance**
|
| 63 |
- Runs on ZeroGPU (NVIDIA H200)
|
| 64 |
+
- FlashAttention-3 via kernels library
|
| 65 |
+
- TF32 + VAE torch.compile optimization
|
| 66 |
- ~20-25 seconds per generation
|
| 67 |
|
| 68 |
## π How to Use
|
| 69 |
|
| 70 |
### Generate Tab
|
| 71 |
1. Enter a description of your image
|
| 72 |
+
2. (Optional) Enable "Prompt+" for AI-enhanced prompts
|
| 73 |
3. Select a style and aspect ratio
|
| 74 |
4. Click "Generate"
|
| 75 |
|
| 76 |
### Transform Tab
|
| 77 |
1. Upload an image
|
| 78 |
+
2. Select a style (Van Gogh, Picasso, etc.) - **no prompt needed!**
|
| 79 |
+
3. Or add a custom prompt for more control
|
| 80 |
+
4. Adjust strength (lower = subtle, higher = dramatic)
|
| 81 |
+
5. Click "Transform"
|
| 82 |
|
| 83 |
## π― Example Prompts
|
| 84 |
|