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

Bagel

Bagel é um projeto de imagem de código aberto de ByteDance-Seed (ByteDance-Seed/Bagel no GitHub). Tem 6.191 estrelas no GitHub e 544 forks, é publicado sob a licença Apache-2.0 e foi atualizado pela última vez no GitHub em 4 de maio de 2026.

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

★ 6,2 mil estrelas⑂ 544 forksApache-2.0atualizado mai 2026
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Estrelas no GitHub
6.191
Forks
544
Licença
Apache-2.0
Última atualização no GitHub
4 de maio de 2026
Categoria
Imagem
Tipo de ficha
Guia de instalação completo
// como funciona

Como funciona

  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.

// recursos

Por que as pessoas gostam tanto

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
// execute você mesmo

Execute você mesmo

  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
// casos de uso

O que você pode criar

Advertisement
// perguntas frequentes

Perguntas frequentes

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.

// continue explorando

Ferramentas semelhantes

Imagem

OmniGen

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

★ 4,3 mil estrelasMIT
Ver o guia →
Imagem

HunyuanImage-3.0

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

★ 3,3 mil estrelasNOASSERTION
Ver o guia →
Imagem

pydantic-ai

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

★ 20,4 mil estrelasMIT
Ver o guia →
Imagem

Janus

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

★ 17,8 mil estrelasMIT
Ver o guia →
Imagem

LLM-Hub

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

★ 603 estrelasCustom
Ver o guia →
Imagem

mmagic

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

★ 7,5 mil estrelasApache-2.0
Ver o guia →
// alternativas

Alternativas em Imagem

Os outros projetos de Imagem com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se Bagel não for o ideal para você.

// mais em image

Mais em Imagem

Projetos de Imagem próximos no catálogo, os mais próximos em estrelas de Bagel: continue explorando dos dois lados dele.

Baixe o Bagel

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.