seedream_list_sizes
List all available image sizes and resolution options to help you choose the right size for your project.
Instructions
List all available image sizes and resolution options for Seedream.
Use this when:
- User asks about available image sizes
- You need to help choose the right resolution
- You want to understand size options
Returns:
Formatted list of all size options with descriptions.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- tools/info_tools.py:72-112 (handler)The actual handler function for the seedream_list_sizes tool. It is an async function decorated with @mcp.tool() that returns a formatted string listing all available image sizes (1K, 2K, 3K, 4K, adaptive) and custom dimensions.
@mcp.tool() async def seedream_list_sizes() -> str: """List all available image sizes and resolution options for Seedream. Use this when: - User asks about available image sizes - You need to help choose the right resolution - You want to understand size options Returns: Formatted list of all size options with descriptions. """ # Last updated: 2026-04-05 return """# Seedream Image Size Options ## Preset Sizes | Size | Description | Best For | |------|-------------|----------| | `1K` | ~1024px (default) | General use, fast generation | | `2K` | ~2048px | Higher detail, print-ready | | `3K` | ~3072px | High detail, large prints | | `4K` | ~4096px | Maximum quality, large prints | | `adaptive` | Auto-selected based on content | Let the model choose optimal size | ## Custom Dimensions You can also specify exact dimensions in `WIDTHxHEIGHT` format: - `1024x1024` — Square (1:1) - `1280x720` — Landscape (16:9) - `720x1280` — Portrait (9:16) - `1024x768` — Landscape (4:3) - `768x1024` — Portrait (3:4) ## Tips - **1K** is fastest and most cost-effective - **4K** provides stunning detail but takes longer - **adaptive** is great when you're unsure about the best size - Custom dimensions give full control over aspect ratio - All models support all size options """ - tools/info_tools.py:6-7 (registration)The @mcp.tool() decorator registers seedream_list_sizes as an MCP tool on the FastMCP server instance.
@mcp.tool() async def seedream_list_models() -> str: - main.py:178-181 (registration)Explicit listing of seedream_list_sizes in the server card JSON response for HTTP transport mode.
{ "name": "seedream_list_sizes", "description": "List supported image sizes", }, - main.py:123-123 (registration)The tool name is printed in the startup banner as an available tool.
safe_print(" - seedream_list_sizes") - prompts/__init__.py:66-69 (helper)Reference to seedream_list_sizes in the image generation guide prompt, describing when to use this tool.
## Size Information **Tool:** `seedream_list_sizes` **Use when:** - User asks about available image sizes or resolutions