Generate Image from Text
seedream_generateGenerate 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
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Output 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 |
| prompt | Yes | Text description of the image to generate. Be specific about subject, style, lighting, composition. | |
| download | No | Whether to download generated images to local directory | |
| watermark | No | Whether to add 'AI generated' watermark | |
| download_dir | No | Local directory to save images (defaults to ./generated_images) | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for structured data | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usage | No | API usage metrics | |
| images | Yes | Array of generated images | |
| prompt | Yes | The prompt used for generation | |
| timing | No | Performance timing metrics | |
| success | Yes | Whether the generation was successful |