Pricing per million tokens, context window, capabilities — pulled from each provider's public docs. All 2 are available via the same AIgateway OpenAI-compatible endpoint; flip the model string to switch.
FLUX1.1 [pro] is Black Forest Labs' fast, reliable text-to-image model. It follows long, detailed prompts closely, renders legible text, and generates custom sizes up to 1440×1440.
Seedream 5.5 is ByteDance's image generation and editing model with text prompts, up to 10 reference images, 1K, 1.5K, 2K, or custom pixel-size output, PNG or JPEG output, and native transparent backgrounds.
from openai import OpenAI
client = OpenAI(
base_url="https://api.aigateway.sh/v1",
api_key="sk-aig-...",
)
# FLUX1.1 [Pro]
client.chat.completions.create(
model="black-forest-labs/flux-1.1-pro",
messages=[{"role":"user","content":"hello"}],
)
# Seedream 5.5
client.chat.completions.create(
model="bytedance/seedream-5.5",
messages=[{"role":"user","content":"hello"}],
)