lulavc commited on
Commit
ce99800
Β·
verified Β·
1 Parent(s): f0f46c1

Improve README with tags, description, and features for discoverability

Browse files
Files changed (1) hide show
  1. README.md +74 -2
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: Z Image Turbo
3
  emoji: ⚑
4
  colorFrom: blue
5
  colorTo: indigo
@@ -7,6 +7,78 @@ sdk: gradio
7
  sdk_version: 5.31.0
8
  app_file: app.py
9
  pinned: true
 
 
 
 
 
 
 
 
 
 
 
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Z-Image Generation & Transformation Demo
3
  emoji: ⚑
4
  colorFrom: blue
5
  colorTo: indigo
 
7
  sdk_version: 5.31.0
8
  app_file: app.py
9
  pinned: true
10
+ license: apache-2.0
11
+ tags:
12
+ - text-to-image
13
+ - image-to-image
14
+ - diffusion
15
+ - transformer
16
+ - z-image
17
+ - ai-art
18
+ - image-generation
19
+ - image-editing
20
+ short_description: Generate & transform images with Z-Image-Turbo AI model
21
  ---
22
 
23
+ # ⚑ Z-Image Generation & Transformation Demo
24
+
25
+ Generate stunning AI images and transform existing photos using **Alibaba's Z-Image-Turbo** - a next-generation diffusion transformer model.
26
+
27
+ ## ✨ Features
28
+
29
+ 🎨 **Text-to-Image Generation**
30
+ - 10 style presets (Photorealistic, Cinematic, Anime, Digital Art, and more)
31
+ - 18 aspect ratios from 1024px to 2048px
32
+ - AI-powered prompt polishing with Qwen2.5-72B
33
+
34
+ πŸ–ΌοΈ **Image-to-Image Transformation**
35
+ - Transform photos into different art styles
36
+ - Adjustable strength control (subtle to complete change)
37
+ - Style-focused AI prompt enhancement
38
+
39
+ ⚑ **Optimized Performance**
40
+ - Runs on ZeroGPU (NVIDIA H200)
41
+ - FlashAttention-2 via SDPA
42
+ - ~20-25 seconds per generation
43
+
44
+ ## πŸš€ How to Use
45
+
46
+ ### Generate Tab
47
+ 1. Enter a description of your image
48
+ 2. (Optional) Enable "Polish Prompt" for AI-enhanced prompts
49
+ 3. Select a style and aspect ratio
50
+ 4. Click "Generate"
51
+
52
+ ### Transform Tab
53
+ 1. Upload an image
54
+ 2. Describe the transformation you want
55
+ 3. Adjust strength (lower = subtle, higher = dramatic)
56
+ 4. Click "Transform"
57
+
58
+ ## 🎯 Example Prompts
59
+
60
+ - *"Ancient dragon perched on a Gothic cathedral at dusk, stormy purple sky"*
61
+ - *"Cyberpunk samurai in a neon-lit rainy alley, glowing armor"*
62
+ - *"Cozy witch cottage interior, cauldrons bubbling, magical atmosphere"*
63
+
64
+ ## πŸ“Š Technical Details
65
+
66
+ | Spec | Value |
67
+ |------|-------|
68
+ | Model | Tongyi-MAI/Z-Image-Turbo |
69
+ | Steps | 9 (optimized) |
70
+ | Precision | BFloat16 |
71
+ | Max Resolution | 2048x2048 |
72
+
73
+ ## πŸ”— Links
74
+
75
+ - [Z-Image-Turbo Model](https://huggingface.co/Tongyi-MAI/Z-Image-Turbo)
76
+ - [Z-Image GitHub](https://github.com/Tongyi-MAI/Z-Image)
77
+
78
+ ## πŸ“œ License
79
+
80
+ Model: Apache 2.0 License
81
+
82
+ ---
83
+
84
+ **Created by [@lulavc](https://huggingface.co/lulavc)**