// image · bytedance/InfiniteYou

InfiniteYou

InfiniteYou — проект с открытым исходным кодом из категории «Изображения» от bytedance (bytedance/InfiniteYou на GitHub). У него 2 685 звёзд на GitHub и 286 форков, он распространяется по лицензии Apache-2.0 и последний раз обновлялся на GitHub 22 августа 2025.

InfiniteYou (InfU) — flexible photo recrafting on FLUX that preserves your identity (ICCV 2025 Highlight)

★ 2,7 тыс. звёзд⑂ 286 форковApache-2.0обновлено авг. 2025
▦ визуал — в README этого проекта нет встраиваемого скриншота,
поэтому здесь заглушка. Руководство ниже в любом случае полное.
// факты о проекте

Факты о проекте

Репозиторий
bytedance/InfiniteYou
Звёзды GitHub
2 685
Форки
286
Лицензия
Apache-2.0
Последнее обновление на GitHub
22 августа 2025
Категория
Изображения
Тип страницы
Полное руководство по установке
Официальный сайт
Official site
// как это работает

Как это работает

  1. Clarify your goal

    Prepare one clear identity photo and the prompts for the new photos you want, and check your GPU VRAM against the memory options.

  2. Get InfiniteYou

    Clone the repo; model weights download from Hugging Face (ByteDance/InfiniteYou) with FLUX.1-dev as the base model.

  3. Install and configure

    pip install -r requirements.txt, and choose memory settings: full bf16 needs about 43 GB peak VRAM per the README, or combine --cpu_offload and --quantize_8bit to get to about 16 GB.

  4. Run your first recraft

    Run test.py with your ID image and a prompt, then compare the aes_stage2 variant (better aesthetics) with sim_stage1 (higher identity similarity).

// возможности

Почему его любят

InfuseNet identity injection

Identity features are injected into the FLUX DiT via residual connections, preserving identity while keeping generation flexibility.

Two model variants

aes_stage2 (after SFT; better text alignment and aesthetics, the default) and sim_stage1 (higher identity similarity), switchable with --model_version.

Multi-stage training recipe

Pretraining plus supervised fine-tuning with synthetic single-person-multiple-sample (SPMS) data, addressing face copy-pasting.

Plug-and-play ecosystem

Works with FLUX variants like FLUX.1-schnell, ControlNets, LoRAs (optional Realism and Anti-blur LoRAs are provided), IP-Adapter and OminiControl.

Memory reduction options

--cpu_offload and --quantize_8bit flags reduce peak VRAM substantially with similar quality, per the README's measurements.

Multiple front ends

Local inference script, local Gradio demo (python app.py), an online Hugging Face demo, and official ComfyUI nodes.

Advertisement
// запустите сами

Запустите сами

  1. Clone the repo

    Clone InfiniteYou and enter the directory.

    git clone https://github.com/bytedance/InfiniteYou.git
    cd InfiniteYou
  2. Install dependencies

    Install the requirements as the README instructs.

    pip install -r requirements.txt
  3. Run inference

    Generate from an identity photo and prompt with the README's quick-inference command.

    python test.py --id_image ./assets/examples/man.jpg --prompt "A man, portrait, cinematic" --out_results_dir ./results
// сценарии использования

Что можно создать

Advertisement
// вопросы и ответы

Вопросы и ответы

Who maintains InfiniteYou?

ByteDance Intelligent Creation researchers (Jiang, Yan, Jia, Liu, Kang, Lu) maintain it; the paper appeared at ICCV 2025 as a Highlight.

Is it free?

The code is Apache-2.0, but the model is CC-BY-NC 4.0 — academic research only, non-commercial. FLUX.1-dev and InsightFace face models carry their own licenses too.

Does it need a paid API key?

No — it runs locally, but it is GPU-heavy: about 43 GB VRAM at full precision, or about 16 GB with offload + 8-bit quantization per the README.

How does it compare to PuLID-FLUX or IP-Adapter?

The paper's comparison reports stronger identity similarity, text alignment and aesthetics than those baselines, and less face copy-pasting.

How do I get started?

Clone, pip install -r requirements.txt, then run python test.py with --id_image and --prompt, or try the Hugging Face demo first.

// продолжить изучение

Похожие инструменты

Изображения

interior-designer-ai

Upload a sample room photo plus get a design back in seconds.

★ 215 звёздMIT
Смотреть руководство →
Изображения

open-photo-ai

Open-source alternative to the popular AI photo editor — all local

★ 198 звёздAGPL-3.0
Смотреть руководство →
Изображения

Cloud-native-photoshop-alternative

Cloud-native AI photo editor — cutout, batch edits, object removal, HD upscale

★ 33 звездыCustom
Смотреть руководство →
Изображения

LibrePhotos

A self-hosted open source photo management service

★ 8,1 тыс. звёздMIT
Смотреть руководство →
Изображения

NanoBananaLoraDatasetGenerator

Create LoRA training datasets in the browser — Flux 2, Qwen, Nano Banana

★ 170 звёздCustom
Смотреть руководство →
Изображения

lumen-raw

Open-source multi-brand RAW photo editor with AI enhancement and smart masks

★ 42 звездыMIT
Смотреть руководство →
// альтернативы

Альтернативы: Изображения

Другие проекты из категории «Изображения» с наибольшим числом звёзд в каталоге LibreAI — реалистичный список альтернатив, если InfiniteYou вам не подходит.

// ещё в категории image

Больше проектов: Изображения

Соседние проекты из категории «Изображения» в каталоге, ближайшие по числу звёзд к InfiniteYou — продолжайте изучать полку по обе стороны от него.

Получить InfiniteYou

Бесплатно и открыто — забирайте исходный код, ставьте звезду репозиторию и начинайте создавать.