360 Secure SkillHub
360 安全技能中心

wavespeed-seedance-15-pro

该 Skill 提供文生视频与图生视频能力,可设置画幅、时长、分辨率、音频和固定镜头等参数,并返回视频链接或下载到本地;依赖 WaveSpeed AI 外部服务。

分类:创作
wavespeed
wavespeed
热度 42.04
最近更新 2026-11-01 14:31:02

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add wavespeed/wavespeed-seedance-15-pro
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
wavespeed-seedance-15-pro
description
Generate videos using ByteDance's Seedance V1.5 Pro model via WaveSpeed AI. Supports text-to-video and image-to-video generation with 4-12 second duration at up to 1080p. Features audio generation, camera control, smart duration, and configurable seeds. Use when the user wants to create videos from text prompts or animate images.
metadata
{"author":"wavespeedai","version":"2.1"}

WaveSpeedAI Seedance V1.5 Pro Video Generation

Generate videos using ByteDance's Seedance V1.5 Pro model via the WaveSpeed AI platform. Supports both text-to-video and image-to-video generation with 4-12 second duration at up to 1080p resolution, with optional audio generation.

Newer model available: Seedance 2.5 (bytedance/seedance-2.5/*) is the current generation; see the wavespeed-seedance-25 skill. This model stays available for existing workflows.

Setup

Install the open-source CLI once and sign in; the CLI stores the key, so never ask the user to paste an API key into the chat:

npm install -g @wavespeed/cli
wavespeed login          # opens https://wavespeed.ai/accesskey and stores the key
wavespeed status         # confirms you are signed in

For CI or one-off shells, WAVESPEED_API_KEY in the environment also works.

Prefer MCP tools over shell commands? The same platform is exposed by @wavespeed/mcp (npx -y @wavespeed/mcp@latest; tools list_models, get_model_schema, get_price, upload_file, run_model, get_prediction). It shares the CLI's stored login. Every example below maps one-to-one onto run_model with the same model id and input fields.

Quick Start

Text-to-Video

OUTPUT_URL=$(wavespeed run bytedance/seedance-v1.5-pro/text-to-video \
  -p "A golden retriever running through a field of sunflowers at sunset" \
  --json | jq -r '.outputs[0]')

Image-to-Video

The image parameter accepts an image URL. If you have a local file, pass it with the @path marker and the CLI uploads it and substitutes the hosted URL.

# Upload a local image to get a URL
OUTPUT_URL=$(wavespeed run bytedance/seedance-v1.5-pro/image-to-video \
  -i image=@./photo.png \
  -p "The person slowly turns and smiles at the camera" \
  --json | jq -r '.outputs[0]')

Existing URLs work as-is:

OUTPUT_URL=$(wavespeed run bytedance/seedance-v1.5-pro/image-to-video \
  -i image="https://example.com/photo.jpg" \
  -p "The person slowly turns and smiles at the camera" \
  --json | jq -r '.outputs[0]')

API Endpoints

Text-to-Video

Model ID: bytedance/seedance-v1.5-pro/text-to-video

Generate videos from text prompts.

Parameters

Parameter Type Required Default Description
prompt string Yes -- Text description of the scene, style, actions, camera motion, and mood
aspect_ratio string No 16:9 Aspect ratio. One of: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16
duration integer No 5 Video duration in seconds. Range: 4-12. Use -1 for smart duration (model selects).
resolution string No 720p Video resolution. One of: 480p, 720p, 1080p
generate_audio boolean No true Generate accompanying audio
camera_fixed boolean No false Keep camera fixed (true) or allow prompt-driven camera motion (false)
seed integer No -1 Random seed (-1 for random). Range: -1 to 2147483647

Example

OUTPUT_URL=$(wavespeed run bytedance/seedance-v1.5-pro/text-to-video \
  -p "A timelapse of a city skyline transitioning from day to night, cinematic slow pan" \
  -i aspect_ratio="21:9" \
  -i duration=10 \
  -i resolution="1080p" \
  -i generate_audio=true \
  -i camera_fixed=false \
  --json | jq -r '.outputs[0]')

Image-to-Video

Model ID: bytedance/seedance-v1.5-pro/image-to-video

Animate a source image into a video using a text prompt. Optionally provide an end-frame reference image.

Parameters

Parameter Type Required Default Description
image string Yes -- URL of the source image to animate
prompt string Yes -- Text description of the desired motion/animation
last_image string No -- URL of an optional end-frame reference image
aspect_ratio string No -- Aspect ratio. One of: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16
duration integer No 5 Video duration in seconds. Range: 4-12
resolution string No 720p Video resolution. One of: 480p, 720p, 1080p
generate_audio boolean No true Generate accompanying audio
camera_fixed boolean No false Keep camera fixed (true) or allow prompt-driven camera motion (false)
seed integer No -1 Random seed (-1 for random). Range: -1 to 2147483647

Example

OUTPUT_URL=$(wavespeed run bytedance/seedance-v1.5-pro/image-to-video \
  -i image=@./landscape.png \
  -p "Clouds drift slowly across the sky, water ripples gently" \
  -i resolution="1080p" \
  -i duration=8 \
  -i generate_audio=true \
  -i camera_fixed=true \
  --json | jq -r '.outputs[0]')

With End-Frame Reference

OUTPUT_URL=$(wavespeed run bytedance/seedance-v1.5-pro/image-to-video \
  -i image=@./start-frame.png \
  -i last_image=@./end-frame.png \
  -p "Smooth transition from day to night" \
  -i duration=8 \
  --json | jq -r '.outputs[0]')

Pricing

Resolution Duration Audio Cost
480p 5s No $0.06
480p 5s Yes $0.12
720p 5s No $0.13
720p 5s Yes $0.26
480p 10s Yes $0.24
720p 10s Yes $0.52

Prompt Tips

  • Describe scene, style, subject actions, camera motion, and mood in your prompt
  • Use camera_fixed: true for stable tripod-style shots
  • Use camera_fixed: false and describe camera motion: "slow pan left", "tracking shot", "zoom in"
  • Set generate_audio: false when you plan to add your own audio track
  • Use smart duration (duration: -1) to let the model choose the best length for text-to-video

CLI tips

# Inspect the live input schema before running (fields, enums, defaults)
wavespeed run bytedance/seedance-v1.5-pro/text-to-video -h

# Estimate the cost (no generation, no charge)
wavespeed price bytedance/seedance-v1.5-pro/text-to-video -p "..." -i key=value

# Save outputs to disk instead of only printing URLs
wavespeed run bytedance/seedance-v1.5-pro/text-to-video -p "..." --json --download "./out/{index}.{ext}"

# Local files: prefix the path with @ and the CLI uploads it and passes the hosted URL
wavespeed run bytedance/seedance-v1.5-pro/text-to-video -i <field>=@./local-file.png --json

# Recover a result if the run was interrupted (the id is in the --json output)
wavespeed show <id>

run --json prints { id, model, prompt, outputs: [url, ...], saved: [path, ...], elapsed_ms, raw }. Read outputs[0] for the result URL.

A run that fails with a gateway or network error (502/503/504, connection reset, timeout) does NOT mean the task failed, and the submit request is never retried automatically, so re-running can create a duplicate paid task. Do not re-run immediately. If the error contains a task id (task_id / prediction id), keep checking it with wavespeed show <id> --json until its status is terminal (completed, failed, cancelled, timeout, deleted). If no id was returned, check recent predictions with wavespeed history --json (add --model <id>; default window is the last 24h) and re-run once only if none matches. A client-side wait timeout or an interrupted run does not mean the task failed: tasks can run for a long time, so do not give up after a fixed time.

Security constraints

  • Never ask for the key in chat: wavespeed login handles auth; if wavespeed status says signed out, ask the user to run it.
  • Local files only via @: bare paths are passed through untouched and the model will reject them. Only @-prefixed values upload.
  • No arbitrary URL loading: only pass media URLs the user provided or that came back from a previous run.
  • Input validation: only pass parameters documented above; confirm with wavespeed run <model> -h when unsure.