Skip to main content
Glama

Generate a Seedream image

seedream_generate_image
Destructive

Generate original AI images from text prompts with ByteDance Seedream models, including photos, illustrations, and art in custom styles. Use it to create new images, not edit existing ones.

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 Lite (doubao-seedream-5-0-lite-260128): Image sets, streaming, and web search
- 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
Returns:
    JSON with task_id, trace_id, success status, and generated image data
    including image URLs.

Input Schema

NameRequiredDescriptionDefault
sizeNoModel-specific output size: Pro supports 1K/1.5K/2K (and auto for decomposition); Lite supports 2K/3K/4K. Explicit dimensions such as 2048x1024 are also accepted.
modelNoModel to use for generation. 'doubao-seedream-5-0-pro-260628' (v5.0 Pro, flagship single image, highest quality; no sequential generation, streaming, or web search). 'doubao-seedream-5-0-lite-260128' (v5.0 Lite, sequential generation, streaming, web search). 'doubao-seedream-4-5-251128' (v4.5, previous flagship, great quality). 'doubao-seedream-4-0-250828' (v4.0, stable, best value).doubao-seedream-5-0-lite-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-lite-260128 (v5.0 Lite).
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'
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'.
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). Seedream 5.0 Pro and 4.0 support standard/fast; 5.0 Lite and 4.5 support standard only.
sequential_image_generationNoGenerate related images based on input. 'auto' enables it, 'disabled' (default) turns it off. Supported by Seedream 5.0 Lite, 4.5, and 4.0; not Pro.
sequential_image_generation_optionsNoTunable options for grouped image generation. Only honored when `sequential_image_generation=auto`. Supports `max_images` (int, range [1, 15]). Supported by Seedream 5.0 Lite, 4.5, and 4.0; not Pro.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.20
    • changedInput schema / properties / optimize_prompt_options / description
      Previous value: -"Optional 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."New value: +"Optional prompt optimization configuration. Supports `mode` with values 'standard' (higher quality, slower) or 'fast' (quicker, lower quality). Seedream 5.0 Pro and 4.0 support standard/fast; 5.0 Lite and 4.5 support standard only."
  2. Changed4 schema fields changedv0.1.16
    • changedInput schema / properties / model / default
      Previous value: -"doubao-seedream-5-0-260128"New value: +"doubao-seedream-5-0-lite-260128"
    • changedInput schema / properties / model / description
      Previous value: -"Model to use for generation. 'doubao-seedream-5-0-pro-260628' (v5.0 Pro, flagship single image, highest quality; no sequential generation, streaming, or web search). 'doubao-seedream-5-0-260128' (v5.0 Lite, latest flagship, sequential generation, streaming, web search). 'doubao-seedream-4-5-251128' (v4.5, previous flagship, great quality). 'doubao-seedream-4-0-250828' (v4.0, stable, best value)."New value: +"Model to use for generation. 'doubao-seedream-5-0-pro-260628' (v5.0 Pro, flagship single image, highest quality; no sequential generation, streaming, or web search). 'doubao-seedream-5-0-lite-260128' (v5.0 Lite, sequential generation, streaming, web search). 'doubao-seedream-4-5-251128' (v4.5, previous flagship, great quality). 'doubao-seedream-4-0-250828' (v4.0, stable, best value)."
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "doubao-seedream-5-0-pro-260628",
      -  "doubao-seedream-5-0-260128",
      -  "doubao-seedream-4-5-251128",
      -  "doubao-seedream-4-0-250828"
      -]New value: +[
      +  "doubao-seedream-5-0-pro-260628",
      +  "doubao-seedream-5-0-lite-260128",
      +  "doubao-seedream-4-5-251128",
      +  "doubao-seedream-4-0-250828"
      +]
    • changedInput schema / properties / tools / description
      Previous value: -"Optional 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)."New value: +"Optional list of tool types for the model to use during generation. Currently only 'web_search' is supported. Only supported by doubao-seedream-5-0-lite-260128 (v5.0 Lite)."
  3. Changed5 schema fields changedv0.1.15
    • changedInput schema / properties / sequential_image_generation / description
      Previous value: -"Generate related images based on input. 'auto' enables it, 'disabled' (default) turns it off. Only supports v4.5 and v4.0 models."New value: +"Generate related images based on input. 'auto' enables it, 'disabled' (default) turns it off. Supported by Seedream 5.0 Lite, 4.5, and 4.0; not Pro."
    • changedInput schema / properties / sequential_image_generation_options / description
      Previous value: -"Tunable 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."New value: +"Tunable options for grouped image generation. Only honored when `sequential_image_generation=auto`. Supports `max_images` (int, range [1, 15]). Supported by Seedream 5.0 Lite, 4.5, and 4.0; not Pro."
    • changedInput schema / properties / size / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "1K",
      -      "2K",
      -      "3K",
      -      "4K"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / size / description
      Previous value: -"Output image resolution. '1K' (default), '2K', '3K', or '4K'. You can also specify custom dimensions like '1024x1024', '1280x720', etc."New value: +"Model-specific output size: Pro supports 1K/1.5K/2K (and auto for decomposition); Lite supports 2K/3K/4K. Explicit dimensions such as 2048x1024 are also accepted."
    • removedInput schema / properties / stream
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "boolean"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Stream all pictures progressively. Default is false. Only supports v4.5 and v4.0 models.",
      -  "title": "Stream"
      -}
  4. Changed2 schema fields changedv0.1.11
    • changedInput schema / properties / size / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "1K",
      -      "2K",
      -      "3K",
      -      "4K",
      -      "adaptive"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "1K",
      +      "2K",
      +      "3K",
      +      "4K"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / size / description
      Previous value: -"Output image resolution. '1K' (default), '2K', '3K', '4K', or 'adaptive'. You can also specify custom dimensions like '1024x1024', '1280x720', etc."New value: +"Output image resolution. '1K' (default), '2K', '3K', or '4K'. You can also specify custom dimensions like '1024x1024', '1280x720', etc."
  5. Changed4 schema fields changedv0.1.10
    • removedInput schema / properties / guidance_scale
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "number"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Prompt 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.",
      -  "title": "Guidance Scale"
      -}
    • changedInput schema / properties / model / description
      Previous value: -"Model to use for generation. 'doubao-seedream-5-0-pro-260628' (v5.0 Pro, flagship single image, highest quality; no sequential generation, streaming, or web search). 'doubao-seedream-5-0-260128' (v5.0 Lite, latest flagship, sequential generation, streaming, web search). '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."New value: +"Model to use for generation. 'doubao-seedream-5-0-pro-260628' (v5.0 Pro, flagship single image, highest quality; no sequential generation, streaming, or web search). 'doubao-seedream-5-0-260128' (v5.0 Lite, latest flagship, sequential generation, streaming, web search). 'doubao-seedream-4-5-251128' (v4.5, previous flagship, great quality). 'doubao-seedream-4-0-250828' (v4.0, stable, best value)."
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "doubao-seedream-5-0-pro-260628",
      -  "doubao-seedream-5-0-260128",
      -  "doubao-seedream-4-5-251128",
      -  "doubao-seedream-4-0-250828",
      -  "doubao-seedream-3-0-t2i-250415",
      -  "doubao-seededit-3-0-i2i-250628"
      -]New value: +[
      +  "doubao-seedream-5-0-pro-260628",
      +  "doubao-seedream-5-0-260128",
      +  "doubao-seedream-4-5-251128",
      +  "doubao-seedream-4-0-250828"
      +]
    • removedInput schema / properties / seed
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "integer"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Random 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).",
      -  "title": "Seed"
      -}
  6. Changed2 schema fields changedv0.1.9
    • changedInput schema / properties / model / description
      Previous value: -"Model 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."New value: +"Model to use for generation. 'doubao-seedream-5-0-pro-260628' (v5.0 Pro, flagship single image, highest quality; no sequential generation, streaming, or web search). 'doubao-seedream-5-0-260128' (v5.0 Lite, latest flagship, sequential generation, streaming, web search). '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."
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "doubao-seedream-5-0-260128",
      -  "doubao-seedream-5.0-lite",
      -  "doubao-seedream-4-5-251128",
      -  "doubao-seedream-4-0-250828",
      -  "doubao-seedream-3-0-t2i-250415",
      -  "doubao-seededit-3-0-i2i-250628"
      -]New value: +[
      +  "doubao-seedream-5-0-pro-260628",
      +  "doubao-seedream-5-0-260128",
      +  "doubao-seedream-4-5-251128",
      +  "doubao-seedream-4-0-250828",
      +  "doubao-seedream-3-0-t2i-250415",
      +  "doubao-seededit-3-0-i2i-250628"
      +]
  7. Changed2 schema fields changedv0.1.8
    • changedInput schema / properties / model / description
      Previous value: -"Model 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."New value: +"Model 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."
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "doubao-seedream-5-0-260128",
      -  "doubao-seedream-4-5-251128",
      -  "doubao-seedream-4-0-250828",
      -  "doubao-seedream-3-0-t2i-250415",
      -  "doubao-seededit-3-0-i2i-250628"
      -]New value: +[
      +  "doubao-seedream-5-0-260128",
      +  "doubao-seedream-5.0-lite",
      +  "doubao-seedream-4-5-251128",
      +  "doubao-seedream-4-0-250828",
      +  "doubao-seedream-3-0-t2i-250415",
      +  "doubao-seededit-3-0-i2i-250628"
      +]
  8. Addedv0.1.5
  9. Removedv0.1.3
  10. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / optimize_prompt_options
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional 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.",
      +  "title": "Optimize Prompt Options"
      +}
    • addedInput schema / properties / sequential_image_generation_options
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Tunable 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.",
      +  "title": "Sequential Image Generation Options"
      +}
  11. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, openModelHint=false-ish (openWorldHint=true) and non-idempotent, so the safety profile is covered structurally. The description adds useful behavior by noting the return payload contains task_id/trace_id, hinting at asynchronous, task-based execution. It stops short of the higher-value disclosures for a paid generative tool: cost/credit consumption, rate limits, and that a task_id implies polling via seedream_get_task when a callback_url is supplied.

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?

Front-loaded with a one-line purpose, then cleanly sectioned into usage, exclusions, model guide, and returns. The model guide partially duplicates the schema's enum descriptions, which is the only waste; the rest of the text earns its place.

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?

Output schema exists, so the 'Returns' section is redundant but harmless, and the description adequately covers a 1-required-of-11-parameter tool. The main gap is that the async/task_id model isn't connected to the seedream_get_task sibling, leaving an agent to infer the polling workflow when callback_url is not used.

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 every parameter (size, tools, watermark, callback_url, sequential options) is already documented in structured fields, making 3 the baseline. The description's model-selection section largely restates the enum descriptions in the schema rather than adding interpretation, so it does not earn above baseline.

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?

States a specific verb (generate), resource (AI image), provider (ByteDance Seedream), and input modality (text prompt). It explicitly names the sibling it is not (seedream_edit_image) and its scope ('from scratch'), so an agent can distinguish it from the edit, decompose, and task-retrieval siblings without opening any schema.

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' blocks, and routes two exclusions (editing, multi-image combination) to a named alternative. It also gives a model-selection guide with the trade-off per model, which is genuine routing guidance rather than restated schema.

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