← All models

ByteDance: Seedream 5.0 Flash

bytedance-seed/seedream-5-0-flash
images
Seedream 5.0 Flash is an image generation and editing model from ByteDance Seed. It is the fast, cost-efficient tier of the Seedream 5.0 family, suited for high-volume production and interactive editing workflows that need precise edits at low latency.
Price
Context
0
Released
Oct 1, 2026

Parameters

promptrequired
aspect_ratio1:11:22:12:33:23:44:34:55:49:169:209:2116:920:921:919.5:99:19.5
resolution1k2k
size654x15261526x654706x14141414x706816x12241224x816750x13321332x750866x11541154x866894x11181118x8941000x1000876x20482048x8761024x20482048x10241152x20482048x11521364x20482048x13641536x20482048x15361638x20482048x16382048x2048
imageimage-to-image (via /v1/images/edits)

How to use via API

import base64
from openai import OpenAI

client = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")
img = client.images.generate(
    model="bytedance-seed/seedream-5-0-flash",
    prompt="Милый кот-космонавт на Марсе",
    size="654x1526",  # либо extra_body={"aspect_ratio": "1:1", "resolution": "1k"}
    n=1,
)
with open("image.png", "wb") as f:
    f.write(base64.b64decode(img.data[0].b64_json))

# image-to-image: передать референс(ы) через multipart
edited = client.images.edit(
    model="bytedance-seed/seedream-5-0-flash",
    image=open("photo.png", "rb"),  # один или несколько референсов
    prompt="Добавь неоновую вывеску на фасад, сохрани композицию",
)
with open("edited.png", "wb") as f:
    f.write(base64.b64decode(edited.data[0].b64_json))
API docsTry in the bot