Spaces:
Running
on
Zero
Running
on
Zero
File size: 2,778 Bytes
9b54c32 0c49c49 9b54c32 0c49c49 9b54c32 0c49c49 7238837 9b54c32 0c49c49 9d73768 0c49c49 7238837 0c49c49 7238837 0c49c49 7238837 0c49c49 7238837 0c49c49 7238837 0c49c49 7238837 0c49c49 ce99800 0c49c49 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 |
---
title: Z-Image Turbo + GLM-4.6V / DeepSeek-3.2 Thinking
emoji: π¨
colorFrom: purple
colorTo: pink
sdk: gradio
sdk_version: 5.31.0
app_file: app.py
pinned: true
license: apache-2.0
tags:
- text-to-image
- image-to-image
- diffusion
- transformer
- z-image
- z-image-turbo
- ai-art
- image-generation
- image-editing
- glm-4
- glm-4.6v
- glm-4v
- vision-language
- multimodal
- prompt-generation
- ai-assistant
- zhipu
- zai
- deepseek
- deepseek-reasoner
- deepseek-3.2
- thinking
- reasoning
- multilingual
- rtl
- arabic
- hindi
- spanish
- portuguese
short_description: Image Gen & Transform. Van Gogh and Picasso style included!
---
# β‘ Z-Image Generation & Transformation Demo
Generate stunning AI images and transform existing photos using **Alibaba's Z-Image-Turbo** - a next-generation diffusion transformer model.
## β¨ Features
π¨ **Text-to-Image Generation**
- 12 style presets (Photorealistic, Cinematic, Anime, Van Gogh, Picasso, and more)
- 18 aspect ratios from 1024px to 2048px
- AI-powered prompt polishing with DeepSeek Reasoner
πΌοΈ **Image-to-Image Transformation**
- Transform photos into different art styles
- **Van Gogh style**: Post-impressionist swirling brushstrokes, thick impasto, vibrant colors
- **Picasso style**: Cubist geometric fragmentation, multiple perspectives, bold outlines
- Style-only transformation: just select a style, no prompt needed!
- Adjustable strength control (subtle to complete change)
β‘ **Optimized Performance**
- Runs on ZeroGPU (NVIDIA H200)
- FlashAttention-3 via kernels library
- TF32 + VAE torch.compile optimization
- ~20-25 seconds per generation
## π How to Use
### Generate Tab
1. Enter a description of your image
2. (Optional) Enable "Prompt+" for AI-enhanced prompts
3. Select a style and aspect ratio
4. Click "Generate"
### Transform Tab
1. Upload an image
2. Select a style (Van Gogh, Picasso, etc.) - **no prompt needed!**
3. Or add a custom prompt for more control
4. Adjust strength (lower = subtle, higher = dramatic)
5. Click "Transform"
## π― Example Prompts
- *"Ancient dragon perched on a Gothic cathedral at dusk, stormy purple sky"*
- *"Cyberpunk samurai in a neon-lit rainy alley, glowing armor"*
- *"Cozy witch cottage interior, cauldrons bubbling, magical atmosphere"*
## π Technical Details
| Spec | Value |
|------|-------|
| Model | Tongyi-MAI/Z-Image-Turbo |
| Steps | 9 (optimized) |
| Precision | BFloat16 |
| Max Resolution | 2048x2048 |
## π Links
- [Z-Image-Turbo Model](https://huggingface.co/Tongyi-MAI/Z-Image-Turbo)
- [Z-Image GitHub](https://github.com/Tongyi-MAI/Z-Image)
## π License
Model: Apache 2.0 License
---
**Created by [@lulavc](https://huggingface.co/lulavc)**
|