Downloads · 30 days
225
1% of all-time downloads
alimama-creative/SDXL-EcomID
SDXL-EcomID is a text-to-image model from alimama-creative. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as apache-2.0.
<div style="display: flex; justify-content: center; align-items: center;" <img src="./images/imagesalibaba.png" alt="alibaba" style="width: 20%; height: auto; margin-right: 5%;" <img src="./images/imagesalimama.png" a…
Downloads · 30 days
225
1% of all-time downloads
All-time downloads
29.1K
Public
Parameters
1.3B
5.1 GB on disk
Likes
86
Public
Click a slice to open those files.
.safetensors5 GB · 99%
From the Hugging Face model README
This is a plugin/extension model for SDXL, not a fine-tuned version of stabilityai/stable-diffusion-xl-base-1.0.
EcomID aims to generate customized images from a single reference ID image, ensuring strong semantic consistency while being controlled by keypoints.
This repository provides the EcomID method and model, combining the strengths of PuLID and InstantID for better background consistency, facial keypoint control, and realistic facial representation with improved similarity.
As shown above, EcomID preserves background generation abilities while minimizing stylization, greatly enhancing realism. The visualizations highlight more authentic portraits with improved background semantic consistency, showcasing EcomID's advantage in generating realistic images.
As shown above, EcomID employs keypoints as conditional inputs for training, allowing for precise adjustments of facial positions, sizes, and orientations. This capability ensures that the generated portraits are more controllable while further enhancing facial similarity and the overall quality of the images.
EcomID enhances portrait representation, delivering a more authentic and aesthetically pleasing appearance while ensuring semantic consistency and greater internal ID similarity (i.e., traits that do not vary with age, hairstyle, glasses, or other physical changes).
<table> <tr> <th style="width: 24%;">Prompt</th> <th style="width: 19%;">Reference Image</th> <th style="width: 19%;">EcomID</th> <th style="width: 19%;">InstantID</th> <th style="width: 19%;">PuLID</th> </tr> <tr> <td style="font-size: 12px;">A close-up portrait of a <span style="color:red"><strong>little girl with double braids</strong></span>, wearing a white dress, standing on the beach during sunset.</td> <td><img src="images/show_case/21.png" alt="参考图像" width="100%"></td> <td><img src="images/show_case/22.png" alt="EcomID图像" width="100%"></td> <td><img src="images/show_case/23.png" alt="InstantID图像" width="100%"></td> <td><img src="images/show_case/24.png" alt="PuLID图像" width="100%"></td> </tr> <tr> <td style="font-size: 12px;">A close-up portrait of a <span style="color:red"><strong>very little girl</strong></span> with double braids, wearing <span style="color:red"><strong>a hat</strong></span> and white dress, standing on the beach during sunset.</td> <td><img src="images/show_case/44.png" alt="参考图像" width="100%"></td> <td><img src="images/show_case/47.png" alt="EcomID图像" width="100%"></td> <td><img src="images/show_case/46.png" alt="InstantID图像" width="100%"></td> <td><img src="images/show_case/45.png" alt="PuLID图像" width="100%"></td> </tr> <tr> <td style="font-size: 12px;">Agrizzled detective, <span style="color:red"><strong>fedora</strong></span> casting a shadow over his square jaw, a <span style="color:red"><strong>cigar dangling from his lips</strong></span>, his trench coat evocative of film noir, in a <span style="color:red"><strong>rainy alley</strong></span>.</td> <td><img src="images/show_case/25.png" alt="参考图像" width="100%"></td> <td><img src="images/show_case/26.png" alt="EcomID图像" width="100%"></td> <td><img src="images/show_case/27.png" alt="InstantID图像" width="100%"></td> <td><img src="images/show_case/28.png" alt="PuLID图像" width="100%"></td> </tr> <tr> <td style="font-size: 12px;">A smiling girl with <span style="color:red"><strong>bangs and long hair</strong></span> in a school uniform stands under cherry trees, holding a book.</td> <td><img src="images/show_case/29.png" alt="参考图像" width="100%"></td> <td><img src="images/show_case/30.png" alt="EcomID图像" width="100%"></td> <td><img src="images/show_case/31.png" alt="InstantID图像" width="100%"></td> <td><img src="images/show_case/32.png" alt="PuLID图像" width="100%"></td> </tr> <tr> <td style="font-size: 12px;">A <span style="color:red"><strong>very old</strong></span> witch, wearing a black cloak, with a pointed hat, holding a magic wand, against a background of a misty forest.</td> <td><img src="images/show_case/33.png" alt="参考图像" width="100%"></td> <td><img src="images/show_case/34.png" alt="EcomID图像" width="100%"></td> <td><img src="images/show_case/35.png" alt="InstantID图像" width="100%"></td> <td><img src="images/show_case/36.png" alt="PuLID图像" width="100%"></td> </tr> <tr> <td style="font-size: 12px;">A man clad in cyberpunk fashion: <span style="color:red"><strong>neon accents, reflective sunglasses,</strong></span> and a leather jacket with glowing circuit patterns. He stands stoically amidst a soaked cityscape.</td> <td><img src="images/show_case/37.png" alt="参考图像" width="100%"></td> <td><img src="images/show_case/38.png" alt="EcomID图像" width="100%"></td> <td><img src="images/show_case/39.png" alt="InstantID图像" width="100%"></td> <td><img src="images/show_case/40.png" alt="PuLID图像" width="100%"></td> </tr> </table>The model is trained on 2M Taobao images, where the proportion of human faces is greater than 3%. The images have a resolution greater than 800, and the aesthetic score is above 5.5.
Mixed precision: fp16
Learning rate: 1e-4
Batch size: 2
Image size: 1024x1024