LibreAI / Image / Bagel
// image · ByteDance-Seed/Bagel

Bagel

Bagel est un projet de image open source, créé par ByteDance-Seed (ByteDance-Seed/Bagel sur GitHub). Il compte 6 191 étoiles sur GitHub et 544 forks, il est publié sous la licence Apache-2.0 et a été mis à jour pour la dernière fois sur GitHub le 4 mai 2026.

ByteDance's open-source unified multimodal model for understanding, generation and image editing.

★ 6,2 k étoiles⑂ 544 forksApache-2.0mis à jour mai 2026
▦ visuel — le README de ce projet ne contient aucune capture intégrable,
voici donc un emplacement réservé. Le guide ci-dessous est complet malgré tout.
// détails du projet

Détails du projet

Étoiles GitHub
6 191
Forks
544
Licence
Apache-2.0
Dernière mise à jour sur GitHub
4 mai 2026
Catégorie
Image
Type de fiche
Guide d'installation complet
// fonctionnement

Comment ça marche

  1. Clarify your multimodal goal

    Decide whether you need image understanding, text-to-image generation, image editing — or all three from one model.

  2. Clone and create the environment

    Clone the repo and create the documented Conda environment with Python 3.10.

  3. Install dependencies and weights

    Install the requirements and flash-attention, and download the BAGEL-7B-MoT weights from Hugging Face.

  4. Run the WebUI

    Launch the Gradio interface and run your first understanding, generation or editing task.

// fonctionnalités

Pourquoi on l'adore

Unified multimodal model

One model covers visual understanding, text-to-image generation and image editing instead of separate specialist models.

Mixture-of-Transformers design

The 7B MoT architecture routes understanding and generation through specialized transformer experts.

Gradio WebUI included

A ready Gradio app (also hosted as a Hugging Face Space) lets you try the model interactively.

Training and evaluation scripts

Ships training guidance (TRAIN.md) and evaluation scripts for VLM, text-to-image and editing benchmarks.

Tunable generation controls

Documented CFG controls for text and image guidance, denoising intervals and timestep shift let you balance fidelity and prompt adherence.

Community deployment options

Dockerfiles and community ComfyUI and quantized (INT8/DF11-compressed) variants are linked from the README.

Advertisement
// lancez-le

Lancez-le vous-même

  1. Clone the repository

    Clone BAGEL (note the repository directory name) and enter it.

    git clone https://github.com/ByteDance-Seed/Bagel.git
    cd Bagel
  2. Set up the environment

    Create the Conda environment and install dependencies including flash-attention.

    conda create -n bagel python=3.10 -y
    conda activate bagel
    pip install -r requirements.txt
    pip install flash_attn==2.5.8 --no-build-isolation
  3. Launch the WebUI

    Download the BAGEL-7B-MoT weights from Hugging Face as the README directs, then start the Gradio WebUI to run inference.

    python app.py # see README for the exact command
// cas d'usage

Ce que vous pouvez créer

Advertisement
// faq

Questions fréquentes

Who maintains BAGEL?

BAGEL is developed by ByteDance-Seed, ByteDance's Seed research team.

Is BAGEL free?

The code is Apache-2.0 licensed and the model weights are published on Hugging Face; check the model card for the weights' terms.

Does it need a paid API key?

No — you download the weights and run inference locally on your own GPU.

How does it compare to Qwen2.5-VL or Janus-Pro?

Those focus mainly on understanding (or separate generation); BAGEL is designed as a single unified model for understanding, generation and editing, and the README publishes its benchmark comparisons.

How do I get started?

Clone the repo, create the Conda env, install requirements and flash-attention, download the weights, and launch the Gradio WebUI.

// continuez l'exploration

Outils similaires

Image

OmniGen

OmniGen: one unified model for text-to-image, editing, subject-driven and identity-preserving generation

★ 4,3 k étoilesMIT
Voir le guide →
Image

HunyuanImage-3.0

Tencent's HunyuanImage-3.0 — a powerful native multimodal model for image generation.

★ 3,3 k étoilesNOASSERTION
Voir le guide →
Image

pydantic-ai

How Python does AI. Agents, realtime voice, image generation, embeddings. Every model, every interface, typed end to end.

★ 20,4 k étoilesMIT
Voir le guide →
Image

Janus

DeepSeek's Janus series - unified multimodal models that both understand and generate images

★ 17,8 k étoilesMIT
Voir le guide →
Image

LLM-Hub

Run LLMs plus image, video and music generation locally on your phone

★ 603 étoilesCustom
Voir le guide →
Image

mmagic

MMagic — OpenMMLab's generative-AI toolbox: diffusion, text-to-image, restoration and a model zoo.

★ 7,5 k étoilesApache-2.0
Voir le guide →
// alternatives

Alternatives en Image

Les autres projets de la catégorie Image avec le plus d'étoiles du catalogue LibreAI — la sélection réaliste d'alternatives si Bagel ne vous convient pas.

// plus en image

Plus en Image

Projets de la catégorie Image proches dans le catalogue, les plus proches en étoiles de Bagel — continuez à explorer de part et d'autre.

Obtenir Bagel

Gratuit et ouvert : récupérez le code source, mettez une étoile au dépôt et commencez à créer.