Instructions to use vantagewithai/LongCat-Image-Edit-ComfyUI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vantagewithai/LongCat-Image-Edit-ComfyUI with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-to-image", model="vantagewithai/LongCat-Image-Edit-ComfyUI")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("vantagewithai/LongCat-Image-Edit-ComfyUI", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| license: apache-2.0 | |
| language: | |
| - en | |
| - zh | |
| pipeline_tag: image-to-image | |
| library_name: transformers | |
| **Longcat Image Edit Turbo adapted for ComfyUI** | |
| **Original model Links:** | |
| - [https://huggingface.co/meituan-longcat/LongCat-Image-Edit-Turbo](https://huggingface.co/meituan-longcat/LongCat-Image-Edit-Turbo) | |
| - [https://huggingface.co/meituan-longcat/LongCat-Image-Edit](https://huggingface.co/meituan-longcat/LongCat-Image-Edit) | |
| **Watch us at Youtube:** [@VantageWithAI](https://www.youtube.com/@vantagewithai) | |
| <div align="center"> | |
| <img src="https://huggingface.co/meituan-longcat/LongCat-Image-Edit/resolve/main/assets/longcat-image_logo.svg" width="45%" alt="LongCat-Image" /> | |
| </div> | |
| <hr> | |
| <div align="center" style="line-height: 1;"> | |
| <a href='https://github.com/meituan-longcat/LongCat-Image/blob/main/assets/LongCat_Image_Technical_Report.pdf'><img src='https://img.shields.io/badge/Technical-Report-red'></a> | |
| <a href='https://github.com/meituan-longcat/LongCat-Image'><img src='https://img.shields.io/badge/GitHub-Code-black'></a> | |
| <a href='https://github.com/meituan-longcat/LongCat-Flash-Chat/blob/main/figures/wechat_official_accounts.png'><img src='https://img.shields.io/badge/WeChat-LongCat-brightgreen?logo=wechat&logoColor=white'></a> | |
| <a href='https://x.com/Meituan_LongCat'><img src='https://img.shields.io/badge/Twitter-LongCat-white?logo=x&logoColor=white'></a> | |
| </div> | |
| <div align="center" style="line-height: 1;"> | |
| [//]: # ( <a href='https://meituan-longcat.github.io/LongCat-Image/'><img src='https://img.shields.io/badge/Project-Page-green'></a>) | |
| <a href='https://huggingface.co/meituan-longcat/LongCat-Image'><img src='https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-LongCat--Image-blue'></a> | |
| <a href='https://huggingface.co/meituan-longcat/LongCat-Image-Dev'><img src='https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-LongCat--Image--Dev-blue'></a> | |
| <a href='https://huggingface.co/meituan-longcat/LongCat-Image-Edit'><img src='https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-LongCat--Image--Edit-blue'></a> | |
| </div> | |
| ## Introduction | |
| We introduce **LongCat-Image-Edit**, the image editing version of Longcat-Image. LongCat-Image-Edit supports bilingual (Chinese-English) editing, achieves state-of-the-art performance among open-source image editing models, delivering leading instruction-following and image quality with superior visual consistency. | |
| <div align="center"> | |
| <img src="https://huggingface.co/meituan-longcat/LongCat-Image-Edit/resolve/main/assets/model_struct_edit.png" width="90%" alt="LongCat-Image-Edit model" /> | |
| </div> | |
| ### Key Features | |
| - π **Superior Precise Editing**: LongCat-Image-Edit supports various editing tasks, such as global editing, local editing, text modification, and reference-guided editing. It has strong semantic understanding capabilities and can perform precise editing according to instructions. | |
| - π **Consistency Preservation**: LongCat-Image-Edit has strong consistency preservation capabilities, specifically scrutinizes whether attributes in non-edited regions, such as layout, texture, color tone, and subject identity, remain invariant unless targeted by the instruction, is well demonstrated in multi-turn editing. | |
| - π **Strong Benchmark Performance**: LongCat-Image-Edit achieves state-of-the-art (SOTA) performance in image editing tasks while significantly improving model inference efficiency, especially among open-source image editing models. | |
| ## π¨ Showcase | |
| <div align="center"> | |
| <img src="https://huggingface.co/meituan-longcat/LongCat-Image-Edit/resolve/main/assets/image_edit_gallery.jpg" width="90%" alt="LongCat-Image-Edit gallery." /> | |
| </div> | |