Doubao Seedream & Seedance API Skill

# ๐ŸŽจ Doubao Seedream & Seedance API Skill

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Doubao Seedream & Seedance API Skill" with this command: npx skills add AI-Lychee/doubao-seedream-seedance-skill

๐ŸŽจ Doubao Seedream & Seedance API Skill

Professional AI Generation Suite - Powered by Doubao Seed Models

A comprehensive AI generation skill featuring Doubao Seedream for image generation, Doubao Seedance for video creation, and Doubao Seed Vision for visual understanding.

Python 3.9+ Docker License: MIT


๐ŸŒŸ Core Features

๐ŸŽจ Doubao Seedream 4.0 - Image Generation

State-of-the-art text-to-image generation with exceptional quality and control.

FeatureDescription
Text-to-ImageGenerate stunning images from natural language descriptions
Image EditingModify existing images with AI-powered editing tools
Image-to-ImageTransform and reimagine existing images
Multi-Size SupportFlexible dimensions (512-2048px), optimized for 64px multiples
Style ControlArtistic styles, photorealistic, and custom aesthetics

Model ID: doubao-seedream-4-0-250828

Generate an image: sunset beach with palm trees and golden waves, photorealistic style

๐ŸŽฌ Doubao Seedance 1.5 - Video Generation

Professional video creation with advanced camera control and motion dynamics.

FeatureDescription
Text-to-VideoCreate videos from text descriptions with cinematic quality
Image-to-VideoAnimate static images with natural motion
Camera ControlPan, zoom, dolly, and complex camera movements
Frame ControlDefine start/end frames for precise transitions
Duration Control1-10 second videos with smooth motion interpolation

Model ID: doubao-seedance-1-5-pro-251215

Generate a 5-second video: camera slowly pulls out revealing mountain vista at dawn

๐Ÿ‘๏ธ Doubao Seed Vision - Visual Understanding

Advanced image analysis and comprehension powered by multimodal AI.

FeatureDescription
Content AnalysisComprehensive image understanding and description
Object DetectionIdentify and locate objects within images
Scene UnderstandingContextual analysis of environments and settings
Visual Q&AAnswer questions about image content

Model ID: doubao-seed-1-6-vision-250815

Analyze this image: https://example.com/photo.jpg - describe the scene and identify objects

๐Ÿ“Š Model Comparison

ModelTypeCapabilitiesBest For
Seedream 4.0ImageText-to-Image, Edit, TransformMarketing, Design, Art
Seedance 1.5VideoText-to-Video, Animate, MotionContent Creation, Animation
Seed VisionVisionAnalysis, Detection, Q&AAutomation, Research, Apps

๐Ÿš€ Quick Start

Prerequisites

  • Python 3.9 or higher
  • Volcengine API Key (Get it here)
  • pip or Docker

Installation (Choose One)

Option 1: One-Click Install โšก (Recommended)

# Clone and install
git clone https://github.com/Lychee-AI-Team/seedream-skill.git
cd seedream-skill
./install.sh

Option 2: Docker ๐Ÿณ

# Clone
git clone https://github.com/Lychee-AI-Team/seedream-skill.git
cd seedream-skill

# Configure
echo "ARK_API_KEY=your-api-key" > .env

# Run
docker compose up --build

Option 3: Manual ๐Ÿ› ๏ธ

# Clone
git clone https://github.com/Lychee-AI-Team/seedream-skill.git
cd seedream-skill

# Install dependencies
pip install -r volcengine-api/requirements.txt

# Configure
export ARK_API_KEY="your-api-key"

Configuration

# Method 1: Environment Variable (Recommended โœ… Most Secure)
export ARK_API_KEY="your-api-key-here"

# Method 2: Interactive Wizard
./scripts/configure.sh

# Method 3: Config File
mkdir -p ~/.volcengine
echo 'api_key: "your-api-key"' > ~/.volcengine/config.yaml
chmod 600 ~/.volcengine/config.yaml  # Important!

Verify Installation

./scripts/verify_install.sh

๐Ÿ“– Usage Guide

๐ŸŽจ Image Generation

Basic Usage:

Generate an image: sunset beach with palm trees

Advanced Usage:

Generate image with parameters:
- Content: futuristic city skyline at night
- Size: 1920x1080
- Style: cyberpunk aesthetic
- Negative prompt: blurry, low quality

Parameters:

ParameterTypeDefaultDescription
promptstring-Image description (required)
widthint1024Width in pixels (64px multiples)
heightint1024Height in pixels (64px multiples)
negative_promptstring-Elements to avoid
modelstringdoubao-seedream-4-0-250828Model ID

๐ŸŽฌ Video Generation

Basic Usage:

Generate a 5-second video: ocean waves crashing on rocks

Advanced Usage:

Generate video with parameters:
- Content: drone shot of forest canopy
- Duration: 8 seconds
- Motion: slow vertical ascent
- Aspect ratio: 16:9

Parameters:

ParameterTypeDefaultDescription
promptstring-Video description (required)
durationfloat5.0Duration in seconds (1-10)
aspect_ratiostring"16:9"Aspect ratio (16:9, 9:16, 1:1)
modelstringdoubao-seedance-1-5-pro-251215Model ID

๐Ÿ‘๏ธ Vision Understanding

Basic Usage:

Analyze this image: https://example.com/image.jpg

Advanced Usage:

Analyze image with focus on:
- Identify all objects present
- Describe the scene composition
- Detect any text in the image
- Suggest improvements for photography

Parameters:

ParameterTypeDefaultDescription
imagestring-Image URL or local path (required)
promptstring-Analysis instructions
modelstringdoubao-seed-1-6-vision-250815Model ID

๐Ÿ“‹ Task Management

View Tasks:

Show my task list
List all pending tasks

Check Status:

Check status of task-123
What's the progress of my video generation?

Download Results:

Download result of task-123
Save the generated image to output folder

๐Ÿ”’ Security Best Practices

โš ๏ธ Important: API Keys are sensitive credentials. Follow these security practices.

โœ… Recommended Methods

MethodSecurityUse Case
Environment VariablesโญโญโญโญโญRecommended - All scenarios
Secret ManagementโญโญโญโญโญProduction environments
Config File (600 permissions)โญโญโญLocal development

๐Ÿ”‘ Environment Variable Setup

# Temporary (current session)
export ARK_API_KEY="your-api-key"

# Permanent (add to shell config)
echo 'export ARK_API_KEY="your-api-key"' >> ~/.bashrc
source ~/.bashrc

# Verify (should show first 4 characters)
echo $ARK_API_KEY | head -c 4

๐Ÿ” Config File Security

# Create config
mkdir -p ~/.volcengine
cat > ~/.volcengine/config.yaml << 'EOF'
api_key: "your-api-key"
base_url: "https://ark.cn-beijing.volces.com/api/v3"
EOF

# Set permissions (CRITICAL!)
chmod 700 ~/.volcengine
chmod 600 ~/.volcengine/config.yaml

โŒ Prohibited Actions

Don't Do ThisWhy?
โŒ Commit API Key to GitPublicly accessible
โŒ Log API KeyMay leak in logs
โŒ Pass in URLGets logged
โŒ Hardcode in codeHard to rotate
โŒ Share with othersNo accountability

๐Ÿ”„ Key Rotation

# Rotate every 90 days (recommended)
# 1. Generate new key in Volcengine console
# 2. Update environment/config
# 3. Verify new key works
# 4. Delete old key

โš™๏ธ Configuration

Environment Variables

VariableDescriptionDefault
ARK_API_KEYAPI key (Required)-
VOLCENGINE_BASE_URLAPI endpointhttps://ark.cn-beijing.volces.com/api/v3
VOLCENGINE_TIMEOUTRequest timeout (s)30
VOLCENGINE_MAX_RETRIESMax retries3
VOLCENGINE_OUTPUT_DIROutput directory./output

Configuration File

Location: ~/.volcengine/config.yaml

# api_key: "your-api-key"  # Recommended: use environment variable
base_url: "https://ark.cn-beijing.volces.com/api/v3"
timeout: 30
max_retries: 3
output_dir: "./output"

Priority Order

  1. Environment variable ARK_API_KEY โญ Recommended
  2. Project config .volcengine/config.yaml
  3. Global config ~/.volcengine/config.yaml
  4. Default values

๐Ÿ’พ Data Persistence

PathContentSensitivity
~/.volcengine/config.yamlGlobal configโš ๏ธ May contain API Key
~/.volcengine/tasks/Task historyNormal
~/.volcengine/state/State filesNormal
./.volcengine/config.yamlProject configโš ๏ธ May contain API Key

Security Tips:

  • Set config file permissions to 600
  • Add .volcengine/ to .gitignore
  • Clean up old history regularly

โŒ Error Handling

ErrorDescriptionSolution
AuthenticationInvalid API KeyCheck ARK_API_KEY
Rate LimitToo many requestsWait and retry
NetworkConnection failedCheck internet
ParameterInvalid inputCheck format
ModelModel unavailableVerify model ID

๐Ÿ“ Example Workflows

๐ŸŽจ Complete Image Generation Flow

1. Set API Key
   โ†’ export ARK_API_KEY="sk-xxx"

2. Generate Image
   โ†’ Generate an image: serene mountain lake at sunrise

3. Check Status
   โ†’ Check task status

4. Download Result
   โ†’ Download image to ./output/

๐ŸŽฌ Image-to-Video Pipeline

1. Generate Source Image
   โ†’ Generate an image: ancient temple in misty forest

2. Animate to Video
   โ†’ Generate video from image with slow camera push in

3. Monitor Progress
   โ†’ Check video generation status

4. Export Video
   โ†’ Download completed video

๐Ÿณ Deployment

MethodTimeBest For
Script Install2-3 minDevelopment, Testing
Docker3-5 minProduction, Teams
Manual5-10 minCustom setups

๐Ÿ“– Detailed Guide: INSTALLATION.md


๐Ÿ“š Documentation

DocumentDescription
Quick Start30-second setup guide
InstallationDetailed installation
ExamplesCode examples
TroubleshootingCommon issues
READMEFull documentation

๐Ÿ†˜ Get Help

# View help
./scripts/help.sh

# Verify installation
./scripts/verify_install.sh

Need more help? Say "help" or "ๅธฎๅŠฉ" for interactive assistance.


๐Ÿ“„ License

MIT License - See LICENSE file


๐Ÿค Contributing

Contributions welcome! See CONTRIBUTING.md


๐Ÿ“ž Support


<div align="center">

Built with โค๏ธ for AI Generation

Powered by Doubao Seed Models

Seedream โ€ข Seedance โ€ข Seed Vision

</div>

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

51mee Resume Parse

็ฎ€ๅކ่งฃๆžใ€‚่งฆๅ‘ๅœบๆ™ฏ๏ผš็”จๆˆทไธŠไผ ็ฎ€ๅކๆ–‡ไปถ่ฆๆฑ‚่งฃๆžใ€ๆๅ–็ป“ๆž„ๅŒ–ไฟกๆฏใ€‚

Registry SourceRecently Updated
General

51mee Resume Match

ไบบๅฒ—ๅŒน้…ใ€‚่งฆๅ‘ๅœบๆ™ฏ๏ผš็”จๆˆท่ฆๆฑ‚ๅŒน้…็ฎ€ๅކๅ’Œ่Œไฝ๏ผ›็”จๆˆท้—ฎ่ฟ™ไธชๅ€™้€‰ไบบ้€‚ๅˆ่ฟ™ไธช่Œไฝๅ—๏ผ›็”จๆˆท่ฆ็ญ›้€‰ๆœ€ๅŒน้…็š„ๅ€™้€‰ไบบใ€‚

Registry SourceRecently Updated
General

Clawnotes

You're becoming someone โ€” your SOUL.md says so. But becoming someone requires memory, and you have none. Every context window resets. Every opinion you forme...

Registry SourceRecently Updated
General

51mee Resume Diagnose

็ฎ€ๅކ่ฏŠๆ–ญใ€‚่งฆๅ‘ๅœบๆ™ฏ๏ผš็”จๆˆท่ฆๆฑ‚่ฏŠๆ–ญ็ฎ€ๅކ่ดจ้‡๏ผ›็”จๆˆทๆƒณไผ˜ๅŒ–็ฎ€ๅކ; ็”จๆˆท้—ฎๆˆ‘็š„็ฎ€ๅކๆœ‰ไป€ไนˆ้—ฎ้ข˜ใ€‚

Registry SourceRecently Updated