Skip to main content
Glama

seedream_generate_image

Generates AI images from text descriptions using ByteDance's Seedream model. Supports multiple models and resolutions up to 4K.

Instructions

Generate an AI image from a text prompt using ByteDance's Seedream model.

This tool creates high-quality images from text descriptions using ByteDance's
Seedream models (powered by Doubao). Supports multiple model versions with different
capabilities and quality levels.

Use this when:
- You want to generate a new image from scratch based on a text description
- You need high-quality AI-generated images (photos, illustrations, art)
- You want to create images with specific styles, compositions, or themes

Do NOT use this when:
- You want to edit or modify an existing image (use seedream_edit_image instead)
- You need to combine multiple images (use seedream_edit_image instead)

Model selection guide:
- v5.0 (doubao-seedream-5-0-260128): Latest flagship, highest quality
- v4.5 (doubao-seedream-4-5-251128): Previous flagship, great quality and detail
- v4.0 (doubao-seedream-4-0-250828): Stable and cost-effective, great for most tasks
- v3 T2I (doubao-seedream-3-0-t2i-250415): Supports seed for reproducibility

Returns:
    JSON with task_id, trace_id, success status, and generated image data
    including image URLs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesDescription of the image to generate. Be descriptive about subject, style, atmosphere, lighting, and composition. Supports both Chinese and English. Example: 'A photorealistic portrait of an astronaut on Mars, golden hour lighting, cinematic composition, ultra-detailed'
modelNoModel to use for generation. 'doubao-seedream-5-0-260128' (v5.0, latest flagship, highest quality). 'doubao-seedream-4-5-251128' (v4.5, previous flagship, great quality). 'doubao-seedream-4-0-250828' (v4.0, stable, best value). 'doubao-seedream-3-0-t2i-250415' (v3 text-to-image, supports seed and guidance_scale). 'doubao-seededit-3-0-i2i-250628' is for image editing only — use seedream_edit_image instead.doubao-seedream-5-0-260128
sizeNoOutput image resolution. '1K' (default), '2K', '3K', '4K', or 'adaptive'. You can also specify custom dimensions like '1024x1024', '1280x720', etc.
seedNoRandom seed for reproducible results. Range: [-1, 2147483647]. Default is -1 (random). Only works with v3 models (doubao-seedream-3-0-t2i and doubao-seededit-3-0-i2i).
sequential_image_generationNoGenerate related images based on input. 'auto' enables it, 'disabled' (default) turns it off. Only supports v4.5 and v4.0 models.
sequential_image_generation_optionsNoTunable options for grouped image generation. Only honored when `sequential_image_generation=auto`. Supports `max_images` (int, range [1, 15]). Only supported on doubao-seedream-4.5 and doubao-seedream-4.0.
streamNoStream all pictures progressively. Default is false. Only supports v4.5 and v4.0 models.
guidance_scaleNoPrompt weight — higher values make the result more closely follow the prompt. Range: [1, 10]. Default is 2.5 for doubao-seedream-3-0-t2i. Only works with v3 models.
response_formatNoResponse format for the generated image. 'url' (default) returns a public image URL. 'b64_json' returns base64-encoded image data.
watermarkNoWhether to add an AI-generated watermark. Default is true.
output_formatNoOutput image format. 'jpeg' (default) or 'png'.
callback_urlNoOptional webhook URL to receive the result asynchronously. The API will POST the result to this URL when complete. Must be publicly accessible.
toolsNoOptional list of tool types for the model to use during generation. Currently only 'web_search' is supported. Only supported by doubao-seedream-5-0-260128 (v5.0).
optimize_prompt_optionsNoOptional prompt optimization configuration. Supports `mode` with values 'standard' (higher quality, slower) or 'fast' (quicker, lower quality). Only supported on doubao-seedream-4.5 (standard mode only) and doubao-seedream-4.0.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden. It discloses that the tool returns JSON with task_id, trace_id, success, and image URLs, and notes parameter constraints per model. However, it does not mention potential costs, rate limits, or whether the operation is idempotent, which would be useful for an agent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sections (use cases, model guide, returns). While it is somewhat lengthy, each section adds value without redundancy. The core purpose is front-loaded, and the structure aids readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (14 parameters, output schema exists), the description provides a comprehensive overview: purpose, usage guidelines, model selection, and return format. It lacks explicit mention of cost or quota limits, but the presence of an output schema reduces the need to detail return values. Overall, it is sufficiently complete for an agent to understand the tool's role.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds some usage context (e.g., which models support which parameters) but does not significantly augment the meaning of individual parameters beyond what is already in the input schema. It provides high-level guidance rather than new param-level details.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool generates an AI image from a text prompt using ByteDance's Seedream model. It specifies the verb (generate) and the resource (AI image), and distinguishes from siblings by explicitly mentioning the editing tool for modifications.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description includes explicit 'Use this when' and 'Do NOT use this when' sections, providing clear guidance on when to invoke this tool versus the sibling seedream_edit_image. It also offers a model selection guide with capabilities for each version.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AceDataCloud/SeedreamMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server