Skip to main content
Glama
syh52
by syh52

Edit Image

seedream_edit

Edit an existing image using a text instruction to add, remove, replace, or restyle elements, change backgrounds, colors, lighting, or apply artistic styles while preserving key details.

Instructions

Edit an existing image based on text instructions using SeeDream 4.5.

⚠️ CLAUDE.AI USERS: This tool WILL TIMEOUT on Claude.ai (takes 20-40 seconds). Use "seedream_submit" instead with mode="image" for Claude.ai compatibility.

Use this tool to modify, enhance, or transform an existing image. Supports:

  • Addition: Add elements (accessories, objects, background elements)

  • Deletion: Remove unwanted elements

  • Replacement: Swap one element for another

  • Modification: Change colors, styles, lighting, expressions

  • Style transfer: Apply artistic styles to photos

Args:

  • prompt (string, required): Edit instruction describing the changes

  • image (string, required): Source image URL or local file path

  • size (string): Output size (default: '2K')

  • strength (number): Reference strength 0-1 (default: 0.7)

  • watermark (boolean): Add watermark (default: false)

  • download (boolean): Save locally (default: true)

  • download_dir (string): Local save directory

Returns: Edited image URL, local path if downloaded, and performance timing.

Edit Instruction Best Practices (per official docs):

  • Use concise, unambiguous instructions

  • Be specific: "the person's shirt" not "it"

  • Specify what should remain unchanged: "keeping the pose unchanged"

  • For targeted edits: draw arrows/boxes on image and reference them Example: "Insert a TV where the red area is marked"

Supported Operations:

  • Addition: "Add matching silver earrings and a necklace to the girl"

  • Deletion: "Remove the girl's hat"

  • Replacement: "Replace the largest bread man with a croissant man"

  • Modification: "Turn the robots into transparent crystal, colored red, yellow and green"

Examples:

  • "Add sunglasses to the person, keeping everything else unchanged"

  • "Change the background to a beach sunset"

  • "Apply Van Gogh oil painting style to this photo"

  • "Remove the text from the image"

  • "Dress the tallest panda in pink Peking Opera costume, keeping its pose unchanged"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNoOutput image size2K
imageYesSource image URL or local file path to edit
promptYesEdit instruction describing what to change. Examples: 'Add sunglasses', 'Change background to beach', 'Make it look like oil painting'
downloadNoWhether to download generated images to local directory
strengthNoHow much to preserve the original image (0=ignore original, 1=strongly preserve). Lower values allow more creative changes.
watermarkNoWhether to add 'AI generated' watermark
download_dirNoLocal directory to save images (defaults to ./generated_images)
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
usageNoAPI usage metrics
imagesYesArray of generated images
promptYesThe prompt used for generation
timingNoPerformance timing metrics
successYesWhether the generation was successful
strengthYesThe strength value used for editing
source_imageYesThe source image that was edited
Install Server

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already indicate readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=true. The description adds important behavioral context: the tool can time out on Claude.ai (20-40 seconds), it modifies existing images (not read-only), and the strength parameter controls preservation vs. creativity. It also reveals that arrows/boxes on the image can be referenced for targeted edits, which is behavior not obvious from annotations or schema. There is no contradiction.

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 information-dense and well-structured with clear sections (supported operations, args, returns, best practices, examples). It is longer than minimal, but every section earns its place: the Claude.ai warning is critical, the supported operations list differentiates semantics, and examples are directly useful for generating prompts. Minor redundancy exists between the bullet list of args and the schema, but the description's arg list is a helpful quick reference.

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

Completeness5/5

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

For a complex image editing tool with 8 parameters, no nested objects, and an output schema, the description is remarkably complete. It covers the tool's purpose, safety/timing caveats, alternative routing (seedream_submit), parameter semantics, prompt best practices, and example invocations. The output schema exists, so the Returns section is sufficient without going into deeper detail. An agent has enough information to select this tool, construct valid parameters, and anticipate behavior.

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 every parameter has a description in the schema. However, the tool description adds meaning beyond the schema by explaining the strength parameter's semantic range (0=ignore original, 1=strongly preserve) and by providing prompt-writing best practices, including an example of referencing marked areas. The parameter list in the description is a condensed version of the schema, so it doesn't add much beyond what schema already provides, but the strength guidance and prompt guidance push it above the baseline 3.

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 uses specific verbs (edit, modify, enhance, transform) with a clear resource (existing image) and names the underlying model (SeeDream 4.5). It distinguishes itself from siblings by explicitly contrasting with seedream_submit for Claude.ai users and by listing supported operations (addition, deletion, replacement, modification, style transfer), making the tool's scope unmistakable even among five sibling tools.

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 provides explicit when-to-use guidance: it tells Claude.ai users to use seedream_submit instead, and it lists concrete use cases with examples. It also offers best-practice instructions for writing edit prompts, which is actionable guidance for an agent deciding how to invoke the tool and construct parameters. This goes beyond simply stating purpose and explicitly names an alternative and exclusion condition.

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

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/syh52/seedream-mcp-server'

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