Update README.md
Browse files
    	
        README.md
    CHANGED
    
    | @@ -15,20 +15,20 @@ license_link: LICENSE | |
| 15 |  | 
| 16 |  | 
| 17 | 
             
            <div align="center">
         | 
| 18 | 
            -
             | 
| 19 | 
             
            <img src="./assets/banner.png" alt="HunyuanImage-3.0 Banner" width="800">
         | 
| 20 |  | 
| 21 | 
             
            </div>
         | 
| 22 |  | 
| 23 | 
            -
             | 
| 24 | 
             
            <div align="center">
         | 
| 25 | 
             
              <a href=https://hunyuan.tencent.com/image target="_blank"><img src=https://img.shields.io/badge/Official%20Site-333399.svg?logo=homepage height=22px></a>
         | 
| 26 | 
             
              <a href=https://huggingface.co/tencent/HunyuanImage-3.0 target="_blank"><img src=https://img.shields.io/badge/%F0%9F%A4%97%20Models-d96902.svg height=22px></a>
         | 
| 27 | 
             
              <a href=https://github.com/Tencent-Hunyuan/HunyuanImage-3.0 target="_blank"><img src= https://img.shields.io/badge/Page-bb8a2e.svg?logo=github height=22px></a>
         | 
| 28 | 
             
              <a href=./assets/HunyuanImage_3_0.pdf target="_blank"><img src=https://img.shields.io/badge/Report-b5212f.svg?logo=arxiv height=22px></a>
         | 
| 29 | 
             
              <a href=https://x.com/TencentHunyuan target="_blank"><img src=https://img.shields.io/badge/Hunyuan-black.svg?logo=x height=22px></a>
         | 
|  | |
| 30 | 
             
            </div>
         | 
| 31 |  | 
|  | |
| 32 | 
             
            <p align="center">
         | 
| 33 | 
             
                👏 Join our <a href="./assets/WECHAT.md" target="_blank">WeChat</a> and <a href="https://discord.gg/ehjWMqF5wY">Discord</a> | 
         | 
| 34 | 
             
            💻 <a href="https://hunyuan.tencent.com/modelSquare/home/play?modelId=289&from=/visual">Official website(官网) Try our model!</a>  
         | 
| @@ -206,7 +206,7 @@ hf download tencent/HunyuanImage-3.0 --local-dir ./HunyuanImage-3 | |
| 206 | 
             
            ```
         | 
| 207 |  | 
| 208 | 
             
            #### 3️⃣ Run the Demo
         | 
| 209 | 
            -
            The Pretrain Checkpoint does not automatically rewrite or enhance input prompts, for optimal results currently, we recommend community partners to use deepseek to rewrite the prompts.
         | 
| 210 |  | 
| 211 | 
             
            ```bash
         | 
| 212 | 
             
            # set env
         | 
| @@ -218,19 +218,19 @@ python3 run_image_gen.py --model-id ./HunyuanImage-3 --verbose 1 --sys-deepseek- | |
| 218 |  | 
| 219 | 
             
            #### 4️⃣ Command Line Arguments
         | 
| 220 |  | 
| 221 | 
            -
            | Arguments               | Description | 
| 222 | 
            -
             | 
| 223 | 
            -
            | `--prompt`              | Input prompt | 
| 224 | 
            -
            | `--model-id`            | Model path | 
| 225 | 
             
            | `--attn-impl`           | Attention implementation. Either `sdpa` or `flash_attention_2`. | `sdpa`      |
         | 
| 226 | 
            -
            | `--moe-impl`            | MoE implementation. Either `eager` or `flashinfer` | 
| 227 | 
            -
            | `--seed`                | Random seed for image generation | 
| 228 | 
            -
            | `--diff-infer-steps`    | Diffusion infer steps | 
| 229 | 
            -
            | `--image-size`          | Image resolution. Can be `auto`, like `1280x768` or `16:9` | 
| 230 | 
            -
            | `--save`                | Image save path. | 
| 231 | 
            -
            | `--verbose`             | Verbose level. 0: No log; 1: log inference information. | 
| 232 | 
            -
            | `--rewrite`             | Whether to enable rewriting | 
| 233 | 
            -
            | `--sys-deepseek-prompt` | Select sys-prompt from `universal` or `text_rendering` | 
| 234 |  | 
| 235 | 
             
            ### 🎨 Interactive Gradio Demo
         | 
| 236 |  | 
|  | |
| 15 |  | 
| 16 |  | 
| 17 | 
             
            <div align="center">
         | 
|  | |
| 18 | 
             
            <img src="./assets/banner.png" alt="HunyuanImage-3.0 Banner" width="800">
         | 
| 19 |  | 
| 20 | 
             
            </div>
         | 
| 21 |  | 
|  | |
| 22 | 
             
            <div align="center">
         | 
| 23 | 
             
              <a href=https://hunyuan.tencent.com/image target="_blank"><img src=https://img.shields.io/badge/Official%20Site-333399.svg?logo=homepage height=22px></a>
         | 
| 24 | 
             
              <a href=https://huggingface.co/tencent/HunyuanImage-3.0 target="_blank"><img src=https://img.shields.io/badge/%F0%9F%A4%97%20Models-d96902.svg height=22px></a>
         | 
| 25 | 
             
              <a href=https://github.com/Tencent-Hunyuan/HunyuanImage-3.0 target="_blank"><img src= https://img.shields.io/badge/Page-bb8a2e.svg?logo=github height=22px></a>
         | 
| 26 | 
             
              <a href=./assets/HunyuanImage_3_0.pdf target="_blank"><img src=https://img.shields.io/badge/Report-b5212f.svg?logo=arxiv height=22px></a>
         | 
| 27 | 
             
              <a href=https://x.com/TencentHunyuan target="_blank"><img src=https://img.shields.io/badge/Hunyuan-black.svg?logo=x height=22px></a>
         | 
| 28 | 
            +
              <a href=https://docs.qq.com/doc/DUVVadmhCdG9qRXBU target="_blank"><img src=https://img.shields.io/badge/📚-PromptHandBook-blue.svg?logo=book height=22px></a>
         | 
| 29 | 
             
            </div>
         | 
| 30 |  | 
| 31 | 
            +
             | 
| 32 | 
             
            <p align="center">
         | 
| 33 | 
             
                👏 Join our <a href="./assets/WECHAT.md" target="_blank">WeChat</a> and <a href="https://discord.gg/ehjWMqF5wY">Discord</a> | 
         | 
| 34 | 
             
            💻 <a href="https://hunyuan.tencent.com/modelSquare/home/play?modelId=289&from=/visual">Official website(官网) Try our model!</a>  
         | 
|  | |
| 206 | 
             
            ```
         | 
| 207 |  | 
| 208 | 
             
            #### 3️⃣ Run the Demo
         | 
| 209 | 
            +
            The Pretrain Checkpoint does not automatically rewrite or enhance input prompts, for optimal results currently, we recommend community partners to use deepseek to rewrite the prompts. You can go to [Tencent Cloud](https://cloud.tencent.com/document/product/1772/115963#.E5.BF.AB.E9.80.9F.E6.8E.A5.E5.85.A5) to apply for an API Key.
         | 
| 210 |  | 
| 211 | 
             
            ```bash
         | 
| 212 | 
             
            # set env
         | 
|  | |
| 218 |  | 
| 219 | 
             
            #### 4️⃣ Command Line Arguments
         | 
| 220 |  | 
| 221 | 
            +
            | Arguments               | Description                                                  | Default     |
         | 
| 222 | 
            +
            | ----------------------- | ------------------------------------------------------------ | ----------- |
         | 
| 223 | 
            +
            | `--prompt`              | Input prompt                                                 | (Required)  |
         | 
| 224 | 
            +
            | `--model-id`            | Model path                                                   | (Required)  |
         | 
| 225 | 
             
            | `--attn-impl`           | Attention implementation. Either `sdpa` or `flash_attention_2`. | `sdpa`      |
         | 
| 226 | 
            +
            | `--moe-impl`            | MoE implementation. Either `eager` or `flashinfer`           | `eager`     |
         | 
| 227 | 
            +
            | `--seed`                | Random seed for image generation                             | `None`      |
         | 
| 228 | 
            +
            | `--diff-infer-steps`    | Diffusion infer steps                                        | `50`        |
         | 
| 229 | 
            +
            | `--image-size`          | Image resolution. Can be `auto`, like `1280x768` or `16:9`   | `auto`      |
         | 
| 230 | 
            +
            | `--save`                | Image save path.                                             | `image.png` |
         | 
| 231 | 
            +
            | `--verbose`             | Verbose level. 0: No log; 1: log inference information.      | `0`         |
         | 
| 232 | 
            +
            | `--rewrite`             | Whether to enable rewriting                                  | `1`         |
         | 
| 233 | 
            +
            | `--sys-deepseek-prompt` | Select sys-prompt from `universal` or `text_rendering`       | `universal` |
         | 
| 234 |  | 
| 235 | 
             
            ### 🎨 Interactive Gradio Demo
         | 
| 236 |  | 

