Problem
A computer vision team at VK, working inside a VK Education programme, wanted to turn a user's photo into a sticker that matches the style of the user's own sticker set. Fine-tuning a large text-to-image model for each user eats a lot of memory. The team also needed numbers, not impressions, to choose a prompt and to score the outputs. The sets are small: a typical sticker pack has no more than 30-40 images.
Example from the article: the team built a Telegram bot that restyles a user photo using the user's sticker pack.
Solution in brief
The team fine-tunes Stable Diffusion with DreamBooth on each sticker pack, builds the prompt from the photo with BLIP, generates the sticker, and removes the background with a fine-tuned SegFormer. They choose the prompt and the quality metric by scoring four small reference sets: junk, bad, good and hand-drawn images.
Questions this case answers
- How to generate personalized images in a user-specific style when each user supplies only a few dozen reference images and GPU memory limits parallel serving
- How to select a generation prompt and an image-quality metric when there is no labeled ground truth, using small reference sets of good and bad outputs
- How to turn a user's photo into a sticker in the style of the user's own sticker set?
- How to choose a text prompt for a fine-tuned diffusion model without judging pictures by eye?
Tools and methods
- Stable Diffusion + DreamBooth — per-pack fine-tuning on a few images
- LoRA — tested as a lighter alternative, rejected on quality
- BLIP — turns the user's photo into a text prompt
- SegFormer — background segmentation, fine-tuned on stickers
- CLIP-score, Pick-score — rank candidate prompts
- FID, Inception Score, LPIPS — rank image quality
Google or a one-time email code. No password.