Loading...
Loading...
Generate high-quality images from text prompts using Volcano Engine Seedream models. Supports multiple artistic styles and aspect ratios. Use this skill when users want to create images from text descriptions, generate artwork in various styles, create visual content for creative projects, or need AI-powered image generation capabilities.
npx skill4agent add bytedance/agentkit-samples byted-seedream-image-generate| Version | Model Name | Release Date | Recommendation | Best For |
|---|---|---|---|---|
| 4.0 | doubao-seedream-4-0-250828 | August 2025 | ⭐⭐⭐ | Daily use, quick generation |
| 4.5 | doubao-seedream-4-5-251128 | November 2025 | ⭐⭐⭐⭐ | Detail-oriented work, complex scenes |
| 5.0 | doubao-seedream-5-0-260128 | 2026 | ⭐⭐⭐⭐⭐ | Highest quality, best creativity, tools support |
# Required: API Key configuration
export MODEL_IMAGE_API_KEY="your-api-key-here"
# or
export MODEL_AGENT_API_KEY="your-api-key-here"
# or
export ARK_API_KEY="your-api-key-here"
# Optional: API Base URL (default already configured)
export MODEL_IMAGE_API_BASE="https://ark.cn-beijing.volces.com/api/v3"
# or
export ARK_BASE_URL="https://ark.cn-beijing.volces.com/api/v3"ARK_API_KEYMODEL_IMAGE_API_KEYMODEL_AGENT_API_KEYARK_BASE_URLMODEL_IMAGE_API_BASEcd scripts
python seedream_image_generate.py -p "A cute kitten playing in a garden"# Use 4.0 version
python seedream_image_generate.py -p "A cute kitten" --version 4.0
# Use 4.5 version
python seedream_image_generate.py -p "A cute kitten" --version 4.5
# Use 5.0-lite version (recommended)
python seedream_image_generate.py -p "A cute kitten" --version 5.0# Custom size without watermark
python seedream_image_generate.py -p "Beautiful sunset" -s 2048x2048 --no-watermark --version 5.0
# Batch generation
python seedream_image_generate.py -p "Generate 3 cute dog pictures" -g --max-images 3 --version 4.5
# Image-to-image
python seedream_image_generate.py -p "Convert this image to anime style" -i "https://example.com/image.jpg" --version 5.0
# Web search tool (5.0-lite only)
python seedream_image_generate.py -p "Latest 2026 smartphone" --web-search --version 5.0
# Custom output format (5.0-lite only)
python seedream_image_generate.py -p "A beautiful landscape" --output-format png --version 5.0
# List all supported versions
python seedream_image_generate.py --list-versions| Option | Shortcut | Description | Default |
|---|---|---|---|
| | Image description text (required) | - |
| | Version selection: | |
| | Image dimensions | |
| | Single reference image URL | - |
| - | Multiple reference image URLs (space separated) | - |
| | Enable batch image generation | |
| - | Maximum images for batch generation | |
| - | Output format: | |
| - | Response format: | |
| - | Enable streaming output | |
| - | Enable web search tool (5.0 only) | |
| - | Prompt optimization mode: | - |
| | Timeout in seconds | |
| - | Disable watermark | |
| - | List all supported versions | - |
import asyncio
import sys
sys.path.append("scripts")
from seedream_image_generate import seedream_generate
async def main():
# Use 5.0-lite version (default)
result = await seedream_generate([
{
"prompt": "A cute kitten",
"size": "2048x2048",
"watermark": False,
"output_format": "png" # 5.0-lite only
}
], version="5.0")
print(result)
asyncio.run(main())[Subject Description] + [Style/Art Movement] + [Lighting/Atmosphere] + [Quality/Resolution][Subject Description], [Creative Style/Art Movement], [Unique Perspective/Composition], [Special Lighting/Atmosphere], [Emphasizing 5.0-lite creative expression]| Parameter | Seedream 4.0 | Seedream 4.5 | Seedream 5.0-lite | Description |
|---|---|---|---|---|
| model | ✅ | ✅ | ✅ | Model name |
| prompt | ✅ | ✅ | ✅ | Prompt (required) |
| image | ✅ | ✅ | ✅ | Reference image(s) |
| size | ✅ | ✅ | ✅ | Image dimensions |
| sequential_image_generation | ✅ | ✅ | ✅ | Batch generation control |
| sequential_image_generation_options | ✅ | ✅ | ✅ | Batch generation config |
| response_format | ✅ | ✅ | ✅ | Response format (url/b64_json) |
| watermark | ✅ | ✅ | ✅ | Watermark (true/false) |
| stream | ✅ | ✅ | ✅ | Streaming output |
| optimize_prompt_options | ✅ | ✅ | ✅ | Prompt optimization config |
| tools | ❌ | ❌ | ✅ | Tool configuration (5.0-lite only) |
| output_format | ❌ | ❌ | ✅ | Output format (png/jpeg, 5.0-lite only) |
~/.openclaw/workspace/message tool{
"action": "send",
"message": "Optional text description",
"media": "/root/.openclaw/workspace/generated-image.jpg"
}{"ok": true}
Very important:
The image URL must be an original online resource link starting with https:// 
