Skip to main content
Glama
syh52
by syh52

Generate Image from Text

seedream_generate

Generate images from a text prompt using SeeDream 4.5. Choose resolution, aspect ratio, watermark, and download options to create high-quality visuals for any project.

Instructions

Generate images from a text description using SeeDream 4.5.

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

This is the primary tool for creating images from scratch. Default: Generates 4 images per prompt using streaming for fast response.

Args:

  • prompt (string, required): Detailed description of the image to generate

  • size (string): '2K' (default), '4K', '4K-9:16' (2304x4096 high-res vertical), or aspect ratios: '1:1', '4:3', '3:4', '16:9', '9:16', '3:2', '2:3', '21:9'

  • watermark (boolean): Add 'AI generated' watermark (default: false)

  • download (boolean): Save to local directory (default: true)

  • download_dir (string): Local save directory (default: ./generated_images)

  • response_format ('markdown' | 'json'): Output format

Returns: Generated image URL(s), local file path(s) if downloaded, and performance timing.

Prompt Best Practices (per official docs):

  • Structure: Subject + Action + Environment

  • For aesthetics add: Style, Color, Lighting, Composition

  • For text in images: use double quotes - 'poster with title "Hello World"'

  • Specify application context: "Design a logo for...", "Create a poster for..."

  • Keep under 600 English words; concise is better than verbose

Examples:

  • "A girl in a lavish dress walking under a parasol along a tree-lined path, in the style of a Monet oil painting"

  • "Design a logo for a gaming company. The logo features a dog playing with a game controller. The company name 'PITBULL' is written on it."

  • "Vibrant close-up editorial portrait, model with piercing gaze, wearing a sculptural hat, rich color blocking, Vogue magazine aesthetic"

  • "A cluttered office desk with an open laptop showing green code, a mug with the word 'Developer' on it, sunlight from the right"

Tips:

  • Be specific: "golden retriever puppy" > "dog"

  • Use natural language, not keyword lists

  • Include style keywords: "oil painting style", "anime art", "photorealistic"

  • Specify composition: "close-up portrait", "bird's eye view", "cinematic wide shot"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNoOutput image size: '2K' (default), '4K', '4K-9:16' (2304x4096 high-res vertical), or aspect ratios: '1:1', '4:3', '3:4', '16:9', '9:16', '3:2', '2:3', '21:9'2K
promptYesText description of the image to generate. Be specific about subject, style, lighting, composition.
downloadNoWhether to download generated images to local directory
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
Install Server

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations, the description discloses several important runtime behaviors: 30-60 second latency, streaming, a default of 4 images per prompt, configurable watermark/download defaults, and the return payload (URLs, local paths, performance timing). This is valuable context that annotations alone do not provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long but well-organized into clear sections: warning, primary use, args, returns, best practices, examples, and tips. The critical timeout warning is front-loaded at the very top, and each section earns its place by helping the agent craft better prompts and avoid pitfalls.

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?

The description is complete for a generation tool of this complexity. It covers all parameters, the return format, the default behaviors, prompt guidance with examples, and the key environment-specific limitation. There is no obvious missing information an agent would need to call this tool successfully.

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?

The input schema already covers all 6 parameters with 100% description coverage, so the baseline is 3. The description adds meaningful value above that by explaining prompt structuring (Subject + Action + Environment), style keywords, composition tips, text-in-image quoting, and concrete examples. This goes beyond simple parameter names and enum values.

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 the tool's function: generating images from a text description using SeeDream 4.5. It further positions it as 'the primary tool for creating images from scratch,' which distinguishes it from the edit/blend/variations siblings in the tool list.

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?

Usage guidance is explicit: it names the primary use case, warns that the tool times out on Claude.ai, and directs those users to seedream_submit with mode='text'. This gives the agent a concrete decision rule for choosing between this tool and a specific alternative.

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