feat(models): add Seedream 5.0 Pro and Lite#2960
Conversation
Add ByteDance Seedream 5.0 Pro (dola-seedream-5-0-pro-260628) as a text-to-image model on the bytedance provider, following the existing seedream-4-5 mapping. Verified end-to-end through the gateway image pipeline (chat completions + /v1/images/generations). The playground already handles it via the seedream image config (2K/4K sizes). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
WalkthroughAdds Seedream 5.0 Lite and Pro entries to the ByteDance model registry and updates playground image-size selection so Seedream 5.0 Pro uses its own preset sizes. ChangesByteDance Seedream 5.0 update
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0b381ddd4b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| { | ||
| test: "skip", | ||
| providerId: "bytedance", | ||
| externalId: "dola-seedream-5-0-pro-260628", |
There was a problem hiding this comment.
Keep inactive Seedream Pro out of the catalog
This mapping is active immediately: test: "skip" only skips e2e selection, while /v1/models and resolveModelInfo() still expose and route bytedance/seedream-5-0-pro because there is no deactivatedAt. In the verified BytePlus account this exact external model returns ModelNotOpen, so any production request pinned to the new model will route to an upstream 502 until the Ark Console activation is completed; keep the mapping deactivated or gate the change on activation.
Useful? React with 👍 / 👎.
Add ByteDance Seedream 5.0 Lite (seedream-5-0-260128) at the official $0.035/image flat rate. Verified end-to-end through the gateway image pipeline (chat completions + /v1/images/generations). Correct Seedream 5.0 Pro after live testing against BytePlus: the Pro tops out at ~2K (the "4K" preset returns 400) and its 2K tier bills at $0.09/image, so bump requestPrice 0.06 -> 0.09, drop the 4K claim from its description, and restrict its playground sizes to 1K/2K. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Summary
Adds ByteDance Seedream 5.0 Pro and Seedream 5.0 Lite to the gateway's image-generation models (bytedance / BytePlus ModelArk provider), and corrects Pro sizing/pricing after live testing.
seedream-5-0-prodola-seedream-5-0-pro-2606280.09/ imageseedream-5-0-liteseedream-5-0-2601280.035/ imageBoth follow the existing
seedream-4-5mapping shape (imageGenerations: true,output: ["text","image"], text-to-image only,test: "skip").Research / pricing
Model ids confirmed against the live BytePlus catalog (
GET /api/v3/models).seedream-5-0-260128, released 2026-01-28.requestPriceis0.09(corrected from the earlier0.06estimate). Reference images: first free, +$0.003 each (not billed separately here).Live verification (against real, activated model ids)
Ran the gateway image e2e (
TEST_IMAGE_MODE=true TEST_IMAGE_SIZE=2K) per model:/v1/chat/completions/v1/images/generations/v1/images/edits/v1/images/editsfails for every seedream model (text-to-image only; the bytedance image builder forwards just{model, prompt, size}, sovision: falseis correct and consistent — the existingseedream-4-5fails this same test identically).Direct BytePlus probes established the size support that drove the playground change:
1K✅,2K✅,1.5K400,4K400 → max ~2K, no 4K at launch2K✅,4K✅Playground
getModelImageConfignow special-cases Seedream 5.0 Pro to offer 1K/2K (was 2K/4K), since Pro's4Kpreset returns 400. Lite keeps the standard seedream 2K/4K.4Kselection back to the2Kdefault when switching to Pro, so no invalid size can be sent.imageinoutput).Notes
🤖 Generated with Claude Code
Summary by CodeRabbit