Skip to main content
Glama

seedream_image_to_image

Edit images by combining an existing photo with a text prompt to add or remove elements, change style, material, color, background, perspective, or size.

Instructions

图文生图:

基于已有图片,结合文字指令进行图像编辑,包括图像元素增删、风格转化、材质替换、色调迁移、改变背景/视角/尺寸等。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changedv1.2.6
    • addedInput schema / $defs / GenerationTool
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "模型工具配置。",
      +  "properties": {
      +    "type": {
      +      "$ref": "#/$defs/GenerationToolType",
      +      "description": "工具类型,目前仅支持 web_search。"
      +    }
      +  },
      +  "required": [
      +    "type"
      +  ],
      +  "title": "GenerationTool",
      +  "type": "object"
      +}
    • addedInput schema / $defs / GenerationToolType
      Added value: +{
      +  "description": "模型工具类型枚举",
      +  "enum": [
      +    "web_search"
      +  ],
      +  "title": "GenerationToolType",
      +  "type": "string"
      +}
    • changedInput schema / $defs / ImageToImageInput / properties / image / description
      Previous value: -"待转换的图片,支持 URL、本地文件路径。"New value: +"参考图片,支持 URL、本地文件路径。"
    • addedInput schema / $defs / ImageToImageInput / properties / output_format
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/OutputFormat"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "输出图片格式,仅 doubao-seedream-5.0 支持 jpeg 或 png。"
      +}
    • addedInput schema / $defs / ImageToImageInput / properties / parallelism
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 4,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "并行度上限;未提供时自动使用 min(request_count, 4)。",
      +  "title": "Parallelism"
      +}
    • addedInput schema / $defs / ImageToImageInput / properties / request_count
      Added value: +{
      +  "default": 1,
      +  "description": "并行请求次数,1 表示单次请求;可用于一次发起多次生成以减少等待。",
      +  "maximum": 4,
      +  "minimum": 1,
      +  "title": "Request Count",
      +  "type": "integer"
      +}
    • changedInput schema / $defs / ImageToImageInput / properties / size / description
      Previous value: -"生成图片尺寸,可选 1K/2K/4K;未提供时使用全局默认值。"New value: +"生成图片尺寸,可选 1K/2K/3K/4K 或 <宽>x<高> 像素值;未提供时使用全局默认值。"
    • addedInput schema / $defs / ImageToImageInput / properties / tools
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "$ref": "#/$defs/GenerationTool"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "模型工具配置,仅 doubao-seedream-5.0 支持,目前仅支持 web_search。",
      +  "title": "Tools"
      +}
    • changedInput schema / $defs / OptimizePromptOptions / description
      Previous value: -"提示词优化配置模型。\n\n配置提示词优化策略,平衡生成质量与响应速度。"New value: +"提示词优化配置模型\n\n配置提示词优化策略,平衡生成质量与响应速度。"
    • addedInput schema / $defs / OutputFormat
      Added value: +{
      +  "description": "图片文件输出格式枚举",
      +  "enum": [
      +    "jpeg",
      +    "png"
      +  ],
      +  "title": "OutputFormat",
      +  "type": "string"
      +}
    • changedInput schema / $defs / ResponseFormat / description
      Previous value: -"图片生成响应格式枚举。\n\n定义生成结果的返回格式,支持 URL 链接和 Base64 编码两种方式。"New value: +"图片生成响应格式枚举"
    • changedOutput schema / (root)
      Previous value: -{
      -  "$defs": {
      -    "Annotations": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "audience": {
      -          "anyOf": [
      -            {
      -              "items": {
      -                "enum": [
      -                  "user",
      -                  "assistant"
      -                ],
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "Audience"
      -        },
      -        "priority": {
      -          "anyOf": [
      -            {
      -              "maximum": 1,
      -              "minimum": 0,
      -              "type": "number"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "Priority"
      -        }
      -      },
      -      "title": "Annotations",
      -      "type": "object"
      -    },
      -    "TextContent": {
      -      "additionalProperties": true,
      -      "description": "Text content for a message.",
      -      "properties": {
      -        "_meta": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "Meta"
      -        },
      -        "annotations": {
      -          "anyOf": [
      -            {
      -              "$ref": "#/$defs/Annotations"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null
      -        },
      -        "text": {
      -          "title": "Text",
      -          "type": "string"
      -        },
      -        "type": {
      -          "const": "text",
      -          "title": "Type",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "type",
      -        "text"
      -      ],
      -      "title": "TextContent",
      -      "type": "object"
      -    }
      -  },
      -  "properties": {
      -    "result": {
      -      "items": {
      -        "$ref": "#/$defs/TextContent"
      -      },
      -      "title": "Result",
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "seedream_image_to_imageOutput",
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The description indicates the tool modifies images (readOnlyHint false), but it does not elaborate on behavioral traits such as whether the original image is altered (likely a new image is generated), authentication needs, or rate limits. The description adds minimal context beyond what the annotations already imply.

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 a single sentence that efficiently conveys the tool's purpose and capabilities. It is front-loaded with the core function and avoids fluff, though it could benefit from a slightly more structured format.

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

Completeness3/5

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

Given the tool's complexity (many parameters, no output schema), the description covers the essential purpose but lacks details on output format, behavior for optional parameters, and how it fits with sibling tools. It is adequate but not comprehensive.

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

Parameters2/5

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

With schema description coverage at 0%, the description must compensate for parameter meaning, but it only mentions 'text instructions' and 'existing image' without detailing the required prompt and image parameters. Other parameters like size, watermark, etc., are not referenced, leaving the agent without guidance beyond the schema.

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 it performs image-to-image editing based on an existing image and text instructions. It lists specific editing capabilities (style conversion, material replacement, etc.) and implicitly differentiates from siblings like text-to-image by specifying that it works on an existing image.

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

Usage Guidelines3/5

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

The description implies it should be used when editing an existing image with text instructions, but it does not explicitly provide when to use or when not to use this tool versus alternatives like seedream_text_to_image or seedream_multi_image_fusion. No direct comparison or exclusion criteria are given.

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