Skip to main content
Glama

seedream_generate_image

Turn text descriptions into AI-generated images with adjustable resolution, style, and model selection.

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
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).
sizeNoOutput image resolution. '1K' (default), '2K', '3K', '4K', or 'adaptive'. You can also specify custom dimensions like '1024x1024', '1280x720', etc.
modelNoModel to use for generation. 'doubao-seedream-5-0-260128' (v5.0, latest flagship, highest quality). 'doubao-seedream-5.0-lite' (v5.0 economy variant, faster and lower cost). '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
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).
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'
streamNoStream all pictures progressively. Default is false. Only supports v4.5 and v4.0 models.
watermarkNoWhether to add an AI-generated watermark. Default is true.
callback_urlNoOptional webhook URL to receive the result asynchronously. The API will POST the result to this URL when complete. Must be publicly accessible.
output_formatNoOutput image format. 'jpeg' (default) or 'png'.
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.
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.
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.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so the description carries full burden. It discloses image generation behavior, model versions, and returns JSON with task_id and image URLs. Could mention async behavior or rate limits, but overall sufficiently transparent.

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 (purpose, usage, model selection, returns). It is front-loaded with the main action. While somewhat lengthy, each section adds useful information; minor redundancy could be trimmed.

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 complexity (14 parameters, 6 sibling tools, output schema), the description covers the main aspects: purpose, usage context, model selection, and return format. Output schema exists, so return details are not needed in description. Could include error handling or cost implications, but overall complete.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds value by providing context for parameter usage (e.g., model selection guide, example prompt) and explains when certain parameters apply (e.g., seed only for v3 models). This goes beyond simply repeating schema info.

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 'Generate an AI image from a text prompt', specifying the verb and resource. It distinguishes from the sibling tool 'seedream_edit_image' by explicitly mentioning when not to use it.

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?

Provides explicit 'Use this when' and 'Do NOT use this when' sections, with clear bullet points. Also includes a model selection guide, helping the agent choose the appropriate model 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