diff --git a/README.md b/README.md index b1aeba48..174fc2ac 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,8 @@ A Gradio web UI for Large Language Models. - 100% offline and private, with zero telemetry, external resources, or remote update requests. - **File attachments**: Upload text files, PDF documents, and .docx documents to talk about their contents. - **Vision (multimodal models)**: Attach images to messages for visual understanding ([tutorial](https://github.com/oobabooga/text-generation-webui/wiki/Multimodal-Tutorial)). +Image generation: A dedicated tab for diffusers models like Z-Image-Turbo and Qwen-Image. Features 4-bit/8-bit quantization and a persistent gallery with metadata (tutorial). +- **Image generation**: A dedicated tab for `diffusers` models like **Z-Image-Turbo** and **Qwen-Image**. Features 4-bit/8-bit quantization and a persistent gallery with metadata ([tutorial](https://github.com/oobabooga/text-generation-webui/wiki/Image-Generation-Tutorial)). - **Web search**: Optionally search the internet with LLM-generated queries to add context to the conversation. - Aesthetic UI with dark and light themes. - Syntax highlighting for code blocks and LaTeX rendering for mathematical expressions. diff --git a/docs/Image Generation Tutorial.md b/docs/Image Generation Tutorial.md new file mode 100644 index 00000000..e2a02c1a --- /dev/null +++ b/docs/Image Generation Tutorial.md @@ -0,0 +1,20 @@ +# Image Generation Tutorial + +This feature allows you to generate images using high-speed models like Z-Image-Turbo directly within the web UI. + +## How to use (Easiest Method) + +1. Click on the **Image AI** tab at the top of the interface. +2. Select the **Model** sub-tab. +3. Copy and paste the following link into the **Download model** box: +``` + +[https://huggingface.co/Tongyi-MAI/Z-Image-Turbo](https://huggingface.co/Tongyi-MAI/Z-Image-Turbo) + +``` +4. Click the **Download** button and wait for the confirmation message. +5. In the **Model** dropdown menu, select the model you just downloaded (if you don't see it, click the 🔄 refresh button). +6. Click **Load**. +7. Go to the **Generate** sub-tab, type a prompt, and click **GENERATE**. + +> **Note for Z-Image-Turbo:** For the best results with this specific model, keep the **CFG Scale** slider at **0**.