ByteDance Seed: Seedream 4.5
bytedance-seed/seedream-4.5Seedream 4.5 is the latest in-house image generation model developed by ByteDance. Compared with Seedream 4.0, it delivers comprehensive improvements, especially in editing consistency, including better preservation of subject details,...
- Modalities
- text+image->image
- Price
- $9.58 / 1M 图像 token
- Context
- 4K
- Released
- Dec 23, 2025
- Knowledge cutoff
- —
Providers
Every request enters through InfAPI. One key calls every model in the catalog. Upstream groups, ratios, and tiers are not shown.
| Endpoint | Input | Output | Context | Status |
|---|---|---|---|---|
| InfAPI | $9.58 / 1M 图像 token | — | 4K | Available |
- Input
- Image, Text
- Output
- Image
- Tokenizer
- Other
- Max output
- 3,686
- Endpoint
- Image
Pricing
Listed price for this model on this gateway. Token prices are per 1M tokens.
| Item | Price | Unit |
|---|---|---|
| Inputprompt | $0 | per 1M tokens |
| Outputcompletion | $0 | per 1M tokens |
| Image tokensimage_token | $9.58 | per 1M tokens |
| Image outputimage_output | $9.58 | per 1M tokens |
API
API
Send a prompt to the image endpoint. The response includes the generated image as base64.
Get your API key
Create a key on the keys page and set it as an environment variable: Keys
export INFAPI_API_KEY=sk-...Make your first request
Use bytedance-seed/seedream-4.5
import base64
import requests
response = requests.post(
"https://infapi.cc/v1/images",
headers={
"Authorization": "Bearer $INFAPI_API_KEY",
"Content-Type": "application/json",
},
json={
"model": "bytedance-seed/seedream-4.5",
"prompt": "A serene mountain landscape at sunset with dramatic clouds",
},
)
response.raise_for_status()
for index, image in enumerate(response.json().get("data", [])):
raw = base64.b64decode(image["b64_json"])
with open(f"output_{index}.png", "wb") as handle:
handle.write(raw)
print(f"Saved image {index + 1}")Endpoint
POST https://infapi.cc/v1/images
Authorization: Bearer $INFAPI_API_KEY
Using third-party SDKs
Point the OpenAI SDK at https://infapi.cc/v1 with $INFAPI_API_KEY. The HTTP samples above are the request shape this gateway accepts.
import base64
from openai import OpenAI
client = OpenAI(
base_url="https://infapi.cc/v1",
api_key="$INFAPI_API_KEY",
)
result = client.images.generate(
model="bytedance-seed/seedream-4.5",
prompt="A serene mountain landscape at sunset with dramatic clouds",
)
for index, image in enumerate(result.data):
raw = base64.b64decode(image.b64_json)
open(f"output_{index}.png", "wb").write(raw)Supported parameters
frequency_penaltyFrequency penalty
Lowers the chance of a token in proportion to how often it already appeared.
max_tokensMax tokens
Upper bound on generated tokens. Output stops at the limit.
temperatureTemperature
Sampling temperature. Lower is steadier, higher is more varied. Often 0 to 2.
top_pTop-p
Sample only from tokens whose cumulative probability reaches top_p.
FAQ
What is this model?
Seedream 4.5 is the latest in-house image generation model developed by ByteDance. Compared with Seedream 4.0, it delivers comprehensive improvements,…
How much does it cost?
$9.58 / 1M 图像 token
What inputs and outputs does it support?
text+image->image
When was it released?
Dec 23, 2025