360 Secure SkillHub
360 安全技能中心

Doubao Video Generation

该 Skill 通过 Python 脚本调用 Volcengine 豆包 Seedance 视频生成服务,支持文生视频与图生视频。用户提交提示词或参考图后,按按钮选择分辨率(540p/720p/1080p)与画幅比例,任务异步提交并轮询状态,完成后交付视频。需配置 VOLCENGINE_API_KEY 环境变量并安装 requests 库。

kutouakira
kutouakira
热度 17.47
最近更新 2026-03-28 05:51:50
分类:创作依赖:代码执行 / 第三方 API / 读写文件应用场景:视频编辑 / 图像生成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add doubao-video-generation
Metadata
name
doubao-video-generation
description
Use Volcengine Doubao (Seedance) for text-to-video (t2v) and image-to-video (i2v) generation. Supports model doubao-seedance-1-5-pro-251215. Provides a multi-step workflow with resolution and aspect ratio selection via buttons. Use when the user wants to create high-quality videos from text or images.

Doubao Video Generation

This skill provides a guided workflow for generating videos using Volcengine's Seedance models.

Workflow

  1. Submission: Call the tool with a prompt and/or reference image.
  2. Selection: The tool will reply with buttons to select the desired Resolution (540p, 720p, 1080p) and Aspect Ratio (16:9, 9:16, 1:1, 4:3, 3:4).
  3. Generation: After selection, the generation task is submitted. Since video generation is asynchronous, the tool will poll for status and deliver the video once ready.

Models

  • doubao-seedance-1-5-pro-251215 (Default): Latest high-quality model with audio support.

Usage

Submit a prompt

python3 scripts/video_workflow.py --prompt "A beautiful sunset over the mountains"

Submit with reference image

python3 scripts/video_workflow.py --prompt "Make this image come to life" --image "./frame.png"

Requirements

  • API Key: VOLCENGINE_API_KEY in environment.
  • Python: requests library.