BAGEL-7B-MoT
Developed by ByteDance Seed, BAGEL-7B-MoT is a unified open-weight multimodal foundation model with a 14B-total, 7B-active Mixture-of-Transformer-Experts architecture supporting visual understanding, text-to-image synthesis, and instruction-based editing.
What you can do
- Instruction-guided local image editing
- Multi-style creative image synthesis
- Multimodal reasoning and visual Q&A
Input & output
- Input
- Text prompts, reference images, or video frames for generation, editing, or visual Q&A
- Output
- Generated or edited images alongside multimodal reasoning and text answers
Try a prompt like this
保持输入产品图中陶瓷马克杯的器型与光线不变,将杯身图案替换为水墨青松纹理,并在背景桌面添加一枝梅花。
Things to know
Apache 2.0 license; full BF16 weights (~14B total parameters) require ~32–40 GB VRAM, while NF4/INT8 quantization enables inference on 24 GB GPUs.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/images/generations- Model repo ID
ByteDance-Seed/BAGEL-7B-MoT
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
result = client.images.generate(
model="ByteDance-Seed/BAGEL-7B-MoT",
prompt="保持输入产品图中陶瓷马克杯的器型与光线不变,将杯身图案替换为水墨青松纹理,并在背景桌面添加一枝梅花。",
size="1024x1024",
)
print(result.data[0].url)Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide