Skip to main content
Glama

seedream_text_to_image

Generate high-quality images from text descriptions using Seedream models. Supports multiple resolutions, batch generation, and flexible output formats.

Instructions

文生图:根据文本描述生成图片。

使用 Seedream 模型(默认 5.0)根据文本提示词生成高质量图片。 支持 1K/2K/3K/4K 等多种分辨率,可一次生成多张图片。

示例:

  • "一只可爱的柴犬在樱花树下睡觉,宫崎骏动画风格"

  • "未来城市夜景,赛博朋克风格,霓虹灯闪烁,4K画质"

  • "水墨画风格的山水,远山如黛,近水含烟"

注意:5.0 和 4.0 版本支持 n>1(多张),4.5 仅支持 n=1。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nNo生成图片数量 (1-4)。注意: 4.5 模型仅支持 1 张
sizeNo输出尺寸。可选: 1K, 2K, 3K, 4K 或自定义如 1920x10802K
modelNo模型版本。可选: doubao-seedream-5-0-260128, doubao-seedream-4-5-251128, doubao-seedream-4-0-250828doubao-seedream-5-0-260128
promptYes图像描述提示词,中英文均可。建议不超过 300 个汉字或 600 个英文单词
save_toNo保存图片到本地目录路径(b64_json 模式必填)。如: /Users/xxx/images
watermarkNo是否添加水印
output_formatNo输出格式: png (默认, 仅5.0支持) 或 jpegpng
response_formatNo返回格式: url(返回图片链接)或 b64_json(返回base64编码图片数据)url
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses that multiple images are supported only for certain model versions, and mentions output formats (URL or base64) and watermarks. However, it does not address potential issues like rate limits, content moderation, or timeout, leaving gaps in behavioral knowledge.

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: purpose statement, model capabilities, examples, and a note. The three example prompts, while useful, add some verbosity. Overall, it is largely concise and front-loaded, with minimal waste.

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 8 parameters and no output schema, the description covers critical aspects: model versions, image count, size options, output formats, and watermark. It does not detail the return structure (e.g., how URLs are presented), but for an image generation tool, the provided information is sufficient for basic invocation.

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% (baseline 3). The description adds value by explaining model version constraints for the 'n' parameter, suggesting prompt length limits, and noting that size can be custom (e.g., 1920x1080). This enriches the schema beyond defaults and enums.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description explicitly states it generates images from text descriptions ('文生图:根据文本描述生成图片'), providing clear purpose. It uses a specific verb ('生成') and resource ('图片'). However, it does not differentiate from sibling tools like seedream_image_to_image or seedream_merge_images, lacking explicit contrast.

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

Usage Guidelines4/5

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

The description gives a useful note on model version limitations for multiple images ('注意:5.0 和 4.0 版本支持 n>1,4.5 仅支持 n=1'), guiding parameter selection. It also provides example prompts to illustrate usage context. No explicit when-not-to-use or alternative tools mentioned, but the context is clear.

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/elimyliu/timeverse-seedream-mcp'

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