Run this model with HF Jobs

Run zongzhuofan/EasyRef on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/zongzhuofan/EasyRef. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/zongzhuofan/EasyRef on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

EasyRef Model Card

Introduction

EasyRef is capable of modeling the consistent visual elements of various group image references with a single generalist multimodal LLM in a zero-shot setting.

Demos

More visualization examples are available in our project page.

Style, Identity, and Character Preservation

Comparison with IP-Adapter

Compatibility with ControlNet

Inference

We provide the inference code of EasyRef with SDXL in easyref_demo.

Usage Tips

  • EasyRef performs best when provided with multiple reference images (more than 2).
  • To ensure better identity preservation, we strongly recommend that users upload multiple square face images, ensuring the face occupies the majority of each image.
  • Using multimodal prompts (both reference images and non-empty text prompt) can achieve better results.
  • We set scale=1.0 by default. Lowering the scale value leads to more diverse but less consistent generation results.

Cite

If you find EasyRef useful for your research and applications, please cite us using this BibTeX:

@article{easyref,
  title={EasyRef: Omni-Generalized Group Image Reference for Diffusion Models via Multimodal LLM},
  author={Zong, Zhuofan and Jiang, Dongzhi and Ma, Bingqi and Song, Guanglu and Shao, Hao and Shen, Dazhong and Liu, Yu and Li, Hongsheng},
  journal={arXiv preprint arXiv:2412.09618},  
  year={2024}
}
Downloads last month
58
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Space using zongzhuofan/EasyRef 1

Collection including zongzhuofan/EasyRef

Paper for zongzhuofan/EasyRef