generate_image
使用豆包 Seedream 模型生成图片 支持功能: - 文生图: 使用文本提示词生成图片 - 图生图: 使用输入图片和提示词生成新图片 - 多图融合: 使用多张参考图片融合生成新图片 参数说明: - prompt: 图片描述文本 (必需) - endpoint_id: 推理接入点 ID (推荐) 在火山引擎控制台创建推理接入点后获取的 Endpoint ID - model: 模型名称 (可选,默认: ${DEFAULT_IMAGE_MODEL}) * doubao-seedream-4-5: 最新 4.0 模型,支持 4K 分辨率 * doubao-seedream-3-0-t2i:...
This record as markdown: /tools/156554395-doubao-image-video-mcp/generate-image.md
What generate_image does on Doubao Image/Video Generation MCP Server
AI agents use generate_image to create or update resources in Doubao Image/Video Generation MCP Server, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Doubao Image/Video Generation MCP Server environment.
Why generate_image is rated Medium
This tool creates new image content by calling an external API. It generates and presumably stores or returns new artifacts, which is a Write operation. It does not execute code, delete data, or involve financial transactions. Severity is medium as it consumes API credits and generates content that could be misused, but the blast radius is limited.
From the tool's definition 使用豆包 Seedream 模型生成图片 (Generate images using Doubao Seedream model); supports 文生图 (text-to-image), 图生图 (image-to-image), 多图融合 (multi-image fusion)
Attacks that exploit this kind of access
The rule that runs generate_image safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Doubao Image/Video Generation MCP Server, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For generate_image, this is the rule to start with:
generate_image stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Doubao Image/Video Generation MCP Server, apply this rule, and every generate_image call is checked against it from then on.
Questions about generate_image
使用豆包 Seedream 模型生成图片 支持功能: - 文生图: 使用文本提示词生成图片 - 图生图: 使用输入图片和提示词生成新图片 - 多图融合: 使用多张参考图片融合生成新图片 参数说明: - prompt: 图片描述文本 (必需) - endpoint_id: 推理接入点 ID (推荐) 在火山引擎控制台创建推理接入点后获取的 Endpoint ID - model: 模型名称 (可选,默认: ${DEFAULT_IMAGE_MODEL}) * doubao-seedream-4-5: 最新 4.0 模型,支持 4K 分辨率 * doubao-seedream-3-0-t2i: 3.0 文生图模型 注意: 直接使用模型名称可能需要账户权限,推荐使用 endpoint_id - size: 图片尺寸 (可选,默认: 2560x1440) 支持的尺寸: 2560x1440, 2048x2048, 2304x1728, 1728x2304, 1440x2560, 2496x1664, 1664x2496, 3024x1296 - image_url: 参考图片 URL (可选,用于图生图) - ref_image_urls: 多张参考图片 URL 数组 (可选,用于多图融合) - req_key: 请求标识 (可选,用于追踪) 重要提示: 如果遇到 InvalidEndpointOrModel.NotFound 错误,请在火山引擎控制台创建推理接入点,并使用 endpoint_id 参数. It is categorised as a Write tool in the Doubao Image/Video Generation MCP Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Doubao Image/Video Generation MCP Server MCP server in PolicyLayer and add a rule for generate_image: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Doubao Image/Video Generation MCP Server. Nothing to install.
generate_image is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the generate_image rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for generate_image. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
generate_image is provided by the Doubao Image/Video Generation MCP Server MCP server (156554395/doubao-image-video-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Doubao Image/Video Generation MCP Server, and thousands of servers like it.
Across the catalogue