byted-seedream-image-generate
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.
What this skill does
# byted-seedream-image-generate
## Description
Generate high-quality images from text prompts using Volcano Engine Seedream models. This skill provides access to three powerful Seedream model versions (4.0, 4.5, and 5.0-lite), each offering unique capabilities for different use cases.
## When to Use This Skill
Use this skill when:
- Users want to create images from text descriptions
- Users need to generate artwork in various artistic styles
- Users want to create visual content for creative projects
- Users need AI-powered image generation capabilities
- Users want to convert reference images to different styles
- Users need to generate multiple images in batch
- Users require high-quality, professional-looking images
## Model Versions
| 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 |
## Features
- **Text-to-Image**: Generate images from detailed text descriptions
- **Image-to-Image**: Transform reference images into different styles
- **Batch Generation**: Create multiple images in a single request
- **Multiple Versions**: Choose from 4.0, 4.5, or 5.0-lite models
- **Watermark Control**: Option to disable watermarks
- **Custom Sizes**: Support for various image dimensions
- **Output Formats**: PNG and JPEG formats (5.0-lite only)
- **Web Search Tools**: Internet search integration (5.0-lite only)
## Installation & Setup
### Prerequisites
```bash
# 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"
```
The script will prioritize:
1. Environment variables (`ARK_API_KEY`, `MODEL_IMAGE_API_KEY`, `MODEL_AGENT_API_KEY`)
2. Environment variables (`ARK_BASE_URL`, `MODEL_IMAGE_API_BASE`)
3. Default values
## Usage
### Basic Usage (5.0-lite version recommended)
```bash
cd scripts
python seedream_image_generate.py -p "A cute kitten playing in a garden"
```
### Specify Version
```bash
# 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
```
### Advanced Options
```bash
# 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
```
## Command Line Options
| Option | Shortcut | Description | Default |
|--------|----------|-------------|---------|
| `--prompt` | `-p` | Image description text (required) | - |
| `--version` | `-v` | Version selection: `4.0`, `4.5`, `5.0` | `5.0` |
| `--size` | `-s` | Image dimensions | `2048x2048` |
| `--image` | `-i` | Single reference image URL | - |
| `--images` | - | Multiple reference image URLs (space separated) | - |
| `--group` | `-g` | Enable batch image generation | `false` |
| `--max-images` | - | Maximum images for batch generation | `15` |
| `--output-format` | - | Output format: `png` or `jpeg` (5.0 only) | `jpeg` |
| `--response-format` | - | Response format: `url` or `b64_json` | `url` |
| `--stream` | - | Enable streaming output | `false` |
| `--web-search` | - | Enable web search tool (5.0 only) | `false` |
| `--optimize-prompt-mode` | - | Prompt optimization mode: `standard` or `fast` | - |
| `--timeout` | `-t` | Timeout in seconds | `1200` |
| `--no-watermark` | - | Disable watermark | `false` |
| `--list-versions` | - | List all supported versions | - |
## Python API Usage
```python
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())
```
## Version Selection Guide
### Choose 4.0 if:
- You need quick daily generation
- Quality requirements are not extremely high
- You need faster generation speed
- Simple scenes and styles
### Choose 4.5 if:
- You want richer details
- You're working with complex scenes
- You need better style reproduction
- You have moderate quality requirements
### Choose 5.0-lite (Recommended) if:
- You want the highest quality
- You need breakthrough creative expression
- You have extreme detail requirements
- **You need tools parameter (like web search)** ⭐
- **You need custom output format (png/jpeg)** ⭐
- Important projects and work
**When in doubt, use 5.0-lite!** ⭐
## Prompt Engineering Tips
### Basic Prompt Structure
```
[Subject Description] + [Style/Art Movement] + [Lighting/Atmosphere] + [Quality/Resolution]
```
### Advanced Prompts (Optimized for 5.0-lite)
```
[Subject Description], [Creative Style/Art Movement], [Unique Perspective/Composition], [Special Lighting/Atmosphere], [Emphasizing 5.0-lite creative expression]
```
## Parameter Support by Version
| 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) |
## Final Return Info
### For OpenClaw
1. **First, save/download the generated image to an allowed directory**:
- Recommended: `~/.openclaw/workspace/`
2. **Use the `message tool` to send the image** with these parameters:
```json
{
"action": "send",
"message": "Optional text description",
"media": "/root/.openclaw/workspace/generated-image.jpg"
}
```
- The tool will automatically: read the local file, upload to the channel server as a web URL, and send as an image message
3. **Verify success**: Check that the tool returns `{"ok": true}` to confirm the image was sent successfully
4. **Normal Text** not message tool: After generation, show list of images with Markdown format, for example:

**Very important**:
The image URL must be an **original online resource link** starting with `https://`, **not** a local image address you have Related in Image & Video
watch
IncludedWatch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.
physical-ai-defect-image-generation
IncludedUse when the user wants to orchestrate defect image generation, run associated setup, or handle outputs on OSMO. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint.
accelint-react-best-practices
IncludedReact performance optimization and best practices. ALWAYS use this skill when working with any React code - writing components, hooks, JSX; refactoring; optimizing re-renders, memoization, state management; reviewing for performance; fixing hydration mismatches; debugging infinite re-renders, stale closures, input focus loss, animations restarting; preventing remounting; implementing transitions, lazy initialization, effect dependencies. Even simple React tasks benefit from these patterns. Covers React 19+ (useEffectEvent, Activity, ref props). Triggers - useEffect, useState, useMemo, useCallback, memo, inline components, nested components, components inside components, re-render, performance, hydration, SSR, Next.js, useDeferredValue, combined hooks.
elevenlabs-agents
IncludedBuild conversational AI voice agents with ElevenLabs Platform using React, JavaScript, React Native, or Swift SDKs. Configure agents, tools (client/server/MCP), RAG knowledge bases, multi-voice, and Scribe real-time STT. Use when: building voice chat interfaces, implementing AI phone agents with Twilio, configuring agent workflows or tools, adding RAG knowledge bases, testing with CLI "agents as code", or troubleshooting deprecated @11labs packages, Android audio cutoff, CSP violations, dynamic variables, or WebRTC config. Keywords: ElevenLabs Agents, ElevenLabs voice agents, AI voice agents, conversational AI, @elevenlabs/react, @elevenlabs/client, @elevenlabs/react-native, @elevenlabs/elevenlabs-js, @elevenlabs/agents-cli, elevenlabs SDK, voice AI, TTS, text-to-speech, ASR, speech recognition, turn-taking model, WebRTC voice, WebSocket voice, ElevenLabs conversation, agent system prompt, agent tools, agent knowledge base, RAG voice agents, multi-voice agents, pronunciation dictionary, voice speed control, elevenlabs scribe, @11labs deprecated, Android audio cutoff, CSP violation elevenlabs, dynamic variables elevenlabs, case-sensitive tool names, webhook authentication
humanizer
IncludedHumanize AI-generated text by detecting and removing patterns typical of LLM output. Rewrites text to sound natural, specific, and human. Uses 28 pattern detectors, 560+ AI vocabulary terms across 3 tiers, and statistical analysis (burstiness, type-token ratio, readability) for comprehensive detection. Use when asked to humanize text, de-AI writing, make content sound more natural/human, review writing for AI patterns, score text for AI detection, or improve AI-generated drafts. Covers content, language, style, communication, and filler categories.
generating-mermaid-diagrams
IncludedSalesforce architecture diagrams using Mermaid with ASCII fallback. Use this skill when generating text-based diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, or Agentforce structure. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use generating-visual-diagrams), or asks about non-Salesforce systems.