Volcano Engine Seedance: Text-to-Video and Image-to-Video Generation in Agent

Preface

When you simply say “generate a sunset video” or “make this image move” in a conversation, the Agent needs to know which API to call, whether the local image needs to be uploaded first, and how to poll for the task result after creation. Manually piecing together curl commands and remembering endpoint differences (text-to-video uses generations, image-to-video uses chat completions) is costly and prone to missing steps.

The following introduces the community Skill “Volcengine Seedance” on SkillHub (coordinates @user_ea6f9f3a/volcengine-seedance, version 1.0.0). It packages Volcengine Seedance capabilities into a universal SKILL.md, accompanied by upload scripts and calling conventions. It can be installed into Agents that support Skills (such as Cursor, Claude Code, OpenClaw, WorkBuddy, etc.), allowing the model to follow the documentation to complete task creation and status checking for you.

What is this

One-sentence positioning: Calls Volcengine Seedance via an AI aggregation platform to complete text-to-video, image-to-video, image upload, and task querying on the Agent side.

Maintenance and Source: Categorized as design-media on SkillHub, sourced from community, and published by user_ea6f9f3a. The page indicates requires_api_key=true, so an API Key must be configured before use. SkillHub currently shows a rating of 100000 and 1235 downloads (based on the SkillHub page and scraped data).

Problem solved: Writes the model list, endpoints, authentication, upload, and polling strategies into the Skill, reducing the need for the Agent to look up documentation from scratch every time; the official description also states it can be imported into Agent tools like WorkBuddy and OpenClaw.

The skill documentation specifies that actual requests are sent to https://api.opsmoneye.com with Bearer Token authentication; the API Key needs to be obtained from the Token Management in the User Center at https://api.opsmoneye.com (format sk-xxxxxxxxx).

Core Features

The following capabilities are derived from the feature table and descriptions within the SKILL.md of the skill package:

Capability Endpoint Method
Upload Image /api/upload/image POST
Text-to-Video /v1/images/generations POST
Image-to-Video /v1/chat/completions POST (Multimodal messages)
Task Query /v1/aigc/task/{task_id} GET

Models (excerpt): doubao-seedance-2-0-260128, doubao-seedance-2-0-fast-260128, doubao-seedance-2-0, doubao-seedance-2-0-fast.

Duration and Billing: The documentation explains that billing is by the second. Duration supports integers from 4–15 seconds, with calibration for inputs that are too small or too large; if not provided or if the value is invalid, it defaults to 5 seconds. Specific pricing is subject to the platform’s billing instructions.

Dependencies: OpenClaw metadata requires local availability of python. For image-to-video scenarios, local images must first be converted to public URLs via scripts/upload_image.py (JPG/PNG/GIF/WebP/BMP, single file ≤10MB).

Installation and Activation

1. Install SkillHub CLI (if not already installed)

First, check if it is installed:

command -v skillhub && skillhub --version

If not installed, perform a full installation according to the SkillHub installation documentation:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

The full installation instructions are available at: https://skillhub.cn/install/skillhub.md

2. Install this Skill

The official page prompts: Please install @user_ea6f9f3a/volcengine-seedance according to the installation documentation above. Command line example (--dir must point to the current Agent’s skills directory, otherwise the default ./skills/ might not be recognized):

skillhub install @user_ea6f9f3a/volcengine-seedance --dir <your Agent skills directory>

Common paths (excerpted from SkillHub installation docs):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project
  • WorkBuddy: ~/.workbuddy/skills/

You can also send the prompt to the AI: “Please install @user_ea6f9f3a/volcengine-seedance according to https://skillhub.cn/install/skillhub.md.”

3. Configure API and Environment Variables

In environments like OpenClaw, the skill documentation suggests setting:

export ONEAPI_BASE_URL="https://api.opsmoneye.com"
export ONEAPI_TOKEN="sk-your-api-token"

Or in OpenClaw configuration:

env:
  ONEAPI_BASE_URL: "https://api.opsmoneye.com"
  ONEAPI_TOKEN: "sk-your-api-token"

YOUR_TOKEN in all examples needs to be replaced with the real Key. The upload script also relies on ONEAPI_BASE_URL and ONEAPI_TOKEN.

Typical Usage

Text-to-Video

When the user only has a text description, call the text-to-video endpoint. Below is the curl to create a task (replace YOUR_TOKEN with your Key):

curl --location --request POST 'https://api.opsmoneye.com/v1/images/generations' \
  --header 'Authorization: Bearer YOUR_TOKEN' \
  --header 'Content-Type: application/json; charset=utf-8' \
  --data-raw '{
    "model": "doubao-seedance-2-0-260128",
    "prompt": "A beautiful sunset, waves gently lapping against the beach, cinematic lighting",
    "size": "1920x1080",
    "duration": 10
  }'

The response will contain a task_id and a PROCESSING status; subsequently, poll using the task query endpoint.

Image-to-Video (Local Image)

  1. Upload the image (the path is the script within the skill directory; after installation, {baseDir} corresponds to the current Skill root directory):
python3 {baseDir}/scripts/upload_image.py /path/to/image.jpg
  1. Use the url from the returned JSON to call the image-to-video endpoint:
curl --location --request POST 'https://api.opsmoneye.com/v1/chat/completions' \
  --header 'Authorization: Bearer YOUR_TOKEN' \
  --header 'Content-Type: application/json; charset=utf-8' \
  --data-raw '{
    "model": "doubao-seedance-2-0-260128",
    "messages": [{
      "role": "user",
      "content": [
        {"type": "text", "text": "Make the flowers in the image sway in the wind"},
        {"type": "image_url", "image_url": {"url": "https://api.opsmoneye.com/uploads/2026/04/21/xxx.jpg"}}
      ]
    }],
    "size": "1920x1080",
    "duration": 10
  }'

If the user has already provided a publicly accessible HTTPS image URL, you can skip the upload and use that address directly in image_url.

Query Task Status

curl https://api.opsmoneye.com/v1/aigc/task/cgt-20260421140001-mz4n5 \
  -H "Authorization: Bearer YOUR_TOKEN"

The skill suggests querying once every 8 seconds; when status is SUCCESS, retrieve the video address from result_url. If polling continuously for 10 minutes yields no result, you should prompt the user to check again later using the task_id, and do not repeat task creation just to wait.

In an Agent conversation, users can directly say “Help me generate a sunset video” or send an image and describe the motion effect; after enabling this Skill, the model should select the text-to-video or image-to-video flow according to the documentation, and try to pass the user’s prompt verbatim (the skill explicitly requires not expanding the description without authorization).

Applicable Scenarios and Notes

Who it is for

  • Those already using Cursor, Claude Code, OpenClaw, WorkBuddy, etc., within the SkillHub ecosystem and wish to complete AI video generation within the conversation.
  • Those who need a unified wrapper for text-to-video / image-to-video / upload / task querying, rather than hand-writing HTTP calls every time.

Limitations and Notes

  • You must have your own API Key for api.opsmoneye.com; unconfigured or incorrect Keys will result in Unauthorized errors.
  • Image-to-video cannot use local paths; local files must be uploaded or use a public URL first.
  • Video generation is mostly asynchronous and requires polling; the documentation mentions common waits are about 3–8 minutes, subject to the actual task.
  • When a task FAILED, the documentation states it will automatically refund; billing and quotas are subject to platform rules.
  • This Skill is a community release and has no direct binding relationship with the Volcengine official console; the access link is subject to the Base URL and endpoints in the skill documentation.

Conclusion

The Volcengine Seedance Skill consolidates text-to-video, image-to-video, image upload, and task querying into instructions and scripts executable by the Agent, making it suitable for quickly testing video capabilities within a conversation. See SkillHub for installation and details:

  • Page: https://www.skillhub.cn/skills/user_ea6f9f3a/volcengine-seedance
  • Coordinates: @user_ea6f9f3a/volcengine-seedance
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye