Skip to content

sync: add Seedream v5.0 model, 3K size, output_format and tools params#42

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/sync-update-from-docs-8430b01
Draft

sync: add Seedream v5.0 model, 3K size, output_format and tools params#42
Copilot wants to merge 2 commits intomainfrom
copilot/sync-update-from-docs-8430b01

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 30, 2026

Upstream Docs (8430b01) introduced the doubao-seedream-5-0-260128 (v5.0) model with new capabilities not reflected in this repo.

core/types.py

  • Added doubao-seedream-5-0-260128 to SeedreamModel — now the first/default entry
  • Added 3K to SeedreamSize (v5.0 only)
  • Added OutputFormat = Literal["jpeg", "png"]
  • Added ToolType + ToolConfig TypedDict for typed tools parameter

tools/image_tools.py

  • Default model updated: doubao-seedream-4-0-250828doubao-seedream-5-0-260128
  • New output_format: OutputFormat | None parameter (v5.0 only)
  • New tools: list[ToolConfig] | None parameter enabling web_search (v5.0 only)
  • Updated descriptions for model, size, sequential_image_generation, stream to reflect v5.0 support

tools/info_tools.py / README.md

  • Model table and feature comparison updated with v5.0 row (3K, web search, sequential, streaming)
  • Size table updated with 3K entry

Copilot AI changed the title [WIP] Sync updates from Docs to match latest API spec sync: add Seedream v5.0 model, 3K size, output_format and tools params Mar 30, 2026
Copilot AI requested a review from Germey March 30, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sync: update from Docs (8430b01 docs: sync from PlatformBackend (zh-CN base + translations) [automated])

2 participants