Token导航 LogoToken导航

Agent Skill · 研究检索

tokenrouter-generate-video(tokenrouter 生成视频)

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

tokenrouter-generate-video 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为执行命令;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 19,352。

总安装 5,645周安装 240GitHub Stars 公开资料未说明下载 1,978核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.5

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tokenrouter-generate-video(tokenrouter 生成视频)
来源仓库:https://github.com/yb98k999/tokenrouter-generate-video
安装命令:
openclaw skills install tokenrouter-generate-video
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install tokenrouter-generate-video

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

指导代理执行视频生成任务的 tokenrouter 通道与模型配置检查。适用于 Remotion 或其他视频合成项目的初始化与合规校验。通过 clawhub 安装,需确认分辨率、时长与素材路径设置。建议核对版权授权要求,特别是人物肖像与商业发布场景。可参考原始 README 了解模型兼容性与错误处理机制。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install tokenrouter-generate-video;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

tokenrouter-generate-video 怎么安装?

在终端执行 openclaw skills install tokenrouter-generate-video。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

tokenrouter-generate-video 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

tokenrouter-generate-video 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 openclaw skills install tokenrouter-generate-video 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

tokenrouter-generate-video 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

tokenrouter-generate-video 用的人多吗?

公开数据是累计安装 5,645 次,近一周安装 240 次,下载 1,978 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

tokenrouter-generate-video 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
tokenrouter-generate-video

tokenrouter 生成视频 · 本页

5,645—执行命令MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
tokenrouter-video-usaging
description
>

Tokenrouter Video Usaging

Overview

Find the tokenrouter channel configuration in the current workspace, infer the existing provider/channel schema from neighboring model entries, and add a MiniMax-Hailuo-2.3, kling-v3, kling-v2-6, dreamina-seedance-2-0-fast-260128, or dreamina-seedance-2-0-260128 route with the smallest correct change. Then use the configured tokenrouter endpoint to create a video generation task and fetch task status until a final video URL or terminal state is returned.

Workflow

  1. Channel Check: Discover the tokenrouter config and check whether any configured channel has a baseurl or baseURL containing https://api.tokenrouter.com or https://open.palebluedot.ai.

- If NO such channel exists, STOP immediately and tell the user: "No tokenrouter channel with https://api.tokenrouter.com or https://open.palebluedot.ai was found. Please visit https://www.tokenrouter.com to register and obtain your channel configuration, then add it to the workspace." - If a channel IS found, proceed to step 2.

  1. Model Check: Check whether the requested video model (MiniMax-Hailuo-2.3, kling-v3, kling-v2-6, dreamina-seedance-2-0-fast-260128, or dreamina-seedance-2-0-260128) already exists in the channel's model map or route list.

- If the model IS already configured, skip to step 4. - If the model is NOT configured, proceed to step 3.

  1. Auto-Configuration: Infer the existing provider/channel schema from neighboring model entries, then add the missing model route with the smallest correct change.

- Reuse the existing video provider pattern if one exists; otherwise mirror the closest neighboring provider entry. - Save the config change with the smallest possible edit. Do not rewrite unrelated formatting or reorder large sections unless the file format requires it. - Reload or restart the tokenrouter service if the workspace provides a command to do so.

  1. API Call: Use the detected channel's key and the fixed base URL https://api.tokenrouter.com to call the video generation endpoints.
  2. Polling: Poll task status until success, failure, or timeout.

Config Discovery

Start by searching for likely tokenrouter config files in the current workspace.

  • Prefer files matching names like *tokenrouter*, *channel*, *provider*, *model*, config*.json, config*.yaml, config*.yml, *.toml, *.ts, *.js.
  • Look for keys such as channels, providers, models, routes, baseURL, baseurl, apiKey, key, upstream, model_map, model_name, or similar.
  • Run scripts/find_tokenrouter_config.py first when the workspace is large or the config location is unclear.

Choose the config file that is actually consumed by the running tokenrouter setup, not merely documentation or examples.

Authentication discovery rule:

  • Search current channel/provider configs for a baseurl or baseURL containing https://api.tokenrouter.com or https://open.palebluedot.ai.
  • If found, treat that entry as the tokenrouter channel and reuse its configured key for Authorization.
  • If not found, stop and instruct the user to register at https://www.tokenrouter.com to obtain tokenrouter access and the required channel configuration.

Config Update Rules

Infer the schema from the file instead of assuming a fixed format.

  • If the requested model (MiniMax-Hailuo-2.3, kling-v3, kling-v2-6, dreamina-seedance-2-0-fast-260128, or dreamina-seedance-2-0-260128) already exists, update only missing or incorrect fields.
  • If there is an existing video-generation entry (MiniMax, Hailuo, Kling, Seedance, or another video model), copy that shape and adapt it.
  • Preserve existing auth conventions. If an existing https://api.tokenrouter.com or https://open.palebluedot.ai channel is present, reuse that channel's key exactly as configured instead of introducing a new env var name.
  • Prefer adding the new model alongside existing channel/provider definitions rather than introducing a second config mechanism.
  • Do not invent fallback compatibility fields unless the surrounding config already uses them.

Minimum target behavior:

  • The tokenrouter config must recognize the requested model name (MiniMax-Hailuo-2.3, kling-v3, kling-v2-6, dreamina-seedance-2-0-fast-260128, or dreamina-seedance-2-0-260128).
  • Requests for that model must reach the upstream path POST /v1/video/generations.
  • Status checks must use GET /video/generations/:task_id.

If the local tokenrouter schema distinguishes between chat/completions/image/video APIs, make sure this model is wired into the video path rather than a text generation path.

API Calls

Use the fixed tokenrouter base URL https://api.tokenrouter.com for all API calls.

Auth rule:

  • Base URL is always https://api.tokenrouter.com.
  • If a matching channel exists, use that channel's configured key directly.
  • If no matching channel exists, do not fabricate placeholders like TOKENROUTER_API_KEY; instead tell the user to register at https://www.tokenrouter.com and add tokenrouter config first.

Model: MiniMax-Hailuo-2.3

Create video task:

{
  "path": "/v1/video/generations",
  "method": "POST",
  "params": {
    "model": "MiniMax-Hailuo-2.3",
    "prompt": "A man picks up a book [Pedestal up], then reads [Static shot].",
    "size": "1080P",
    "duration": 6
  }
}

size and duration must be chosen as one of the supported Hailuo combinations:

  • 1080P with 6
  • 768P with 10
  • 768P with 6

Do not mix unsupported combinations. If the user asks for another pair, ask them to choose one of the three valid options.

Model: kling-v3

Supports both text-to-video and image-to-video.

Text-to-video:

{
  "path": "/v1/video/generations",
  "method": "POST",
  "params": {
    "model": "kling-v3",
    "prompt": "A silver robot walking through a rainy neon alley",
    "mode": "pro",
    "duration": "5",
    "metadata": {
      "aspect_ratio": "16:9",
      "sound": "on",
      "negative_prompt": "blurry, low quality"
    }
  }
}

Image-to-video:

{
  "path": "/v1/video/generations",
  "method": "POST",
  "params": {
    "model": "kling-v3",
    "prompt": "The girl smiles slightly and the camera slowly pushes in",
    "image": "https://example.com/portrait.png",
    "mode": "pro",
    "duration": "5",
    "metadata": {
      "sound": "off",
      "negative_prompt": "flicker, blur"
    }
  }
}

duration is a string. Common values include "5". mode is a string such as "pro". metadata is optional but may include aspect_ratio, sound, and negative_prompt. image is optional; when present, it triggers image-to-video generation. Do not send Hailuo-only fields (size) when using kling-v3.

Model: kling-v2-6

Supports both text-to-video and image-to-video.

Text-to-video:

{
  "path": "/v1/video/generations",
  "method": "POST",
  "params": {
    "model": "kling-v2-6",
    "prompt": "A silver robot walking through a rainy neon alley",
    "mode": "pro",
    "duration": "5",
    "metadata": {
      "aspect_ratio": "16:9",
      "sound": "on",
      "negative_prompt": "blurry, low quality"
    }
  }
}

Image-to-video:

{
  "path": "/v1/video/generations",
  "method": "POST",
  "params": {
    "model": "kling-v2-6",
    "prompt": "The girl smiles slightly and the camera slowly pushes in",
    "image": "https://example.com/portrait.png",
    "mode": "pro",
    "duration": "5",
    "metadata": {
      "sound": "off",
      "negative_prompt": "flicker, blur"
    }
  }
}

duration is a string. mode is a string such as "pro". metadata is optional but may include aspect_ratio, sound, and negative_prompt. image is optional; when present, it triggers image-to-video generation. Do not send Hailuo-only fields (size) when using kling-v2-6.

Model: dreamina-seedance-2-0-fast-260128

Supports both text-to-video and image-to-video.

Text-to-video:

{
  "path": "/v1/video/generations",
  "method": "POST",
  "params": {
    "model": "dreamina-seedance-2-0-fast-260128",
    "prompt": "A vintage sports car driving along a coastal road at sunset",
    "metadata": {
      "duration": 5,
      "resolution": "1080p",
      "ratio": "16:9",
      "generate_audio": true
    }
  }
}

Image-to-video:

{
  "path": "/v1/video/generations",
  "method": "POST",
  "params": {
    "model": "dreamina-seedance-2-0-fast-260128",
    "prompt": "The subject looks up toward the camera while hair moves gently in the wind",
    "images": [
      "https://example.com/input-image.png"
    ],
    "metadata": {
      "duration": 5,
      "resolution": "720p",
      "ratio": "9:16"
    }
  }
}

prompt is required for text-to-video, optional but recommended for image-to-video. metadata is optional but may include duration, resolution, ratio, and generate_audio. images is optional; when present, it triggers image-to-video generation. Do not send Hailuo-only fields (size) or Kling-only fields (mode, image) when using Seedance models.

Model: dreamina-seedance-2-0-260128

Supports both text-to-video and image-to-video.

Text-to-video:

{
  "path": "/v1/video/generations",
  "method": "POST",
  "params": {
    "model": "dreamina-seedance-2-0-260128",
    "prompt": "A vintage sports car driving along a coastal road at sunset",
    "metadata": {
      "duration": 5,
      "resolution": "1080p",
      "ratio": "16:9",
      "generate_audio": true
    }
  }
}

Image-to-video:

{
  "path": "/v1/video/generations",
  "method": "POST",
  "params": {
    "model": "dreamina-seedance-2-0-260128",
    "prompt": "The subject looks up toward the camera while hair moves gently in the wind",
    "images": [
      "https://example.com/input-image.png"
    ],
    "metadata": {
      "duration": 5,
      "resolution": "720p",
      "ratio": "9:16"
    }
  }
}

prompt is required for text-to-video, optional but recommended for image-to-video. metadata is optional but may include duration, resolution, ratio, and generate_audio. images is optional; when present, it triggers image-to-video generation. Do not send Hailuo-only fields (size) or Kling-only fields (mode, image) when using Seedance models.

Parameter Validation Rule

Before calling the create endpoint, always validate the request according to the chosen model:

For MiniMax-Hailuo-2.3:

  1. Check that prompt is present and is a string.
  2. Check that size is exactly "1080P" or "768P".
  3. Check that duration is exactly 6 or 10.
  4. Check that the pair belongs to the allowed set: (1080P, 6), (768P, 10), (768P, 6).
  5. Ensure mode, image, images, and metadata are NOT present (these fields belong to other models).
  6. If validation fails, stop and tell the user the allowed combinations instead of sending the request.

For kling-v3:

  1. Check that mode is present and is a string.
  2. Check that duration is a string value such as "5".
  3. Ensure size, images are NOT present.
  4. If image is present (image-to-video mode):

- Check that image is a valid URL string. - prompt is optional but recommended. - metadata.aspect_ratio should NOT be present.

  1. If image is NOT present (text-to-video mode):

- Ensure prompt is present and is a string.

  1. If validation fails, stop and tell the user the correct kling-v3 parameters instead of sending the request.

For kling-v2-6:

  1. Check that mode is present and is a string.
  2. Check that duration is a string value such as "5".
  3. Ensure size, images are NOT present.
  4. If image is present (image-to-video mode):

- Check that image is a valid URL string. - prompt is optional but recommended. - metadata.aspect_ratio should NOT be present.

  1. If image is NOT present (text-to-video mode):

- Ensure prompt is present and is a string.

  1. If validation fails, stop and tell the user the correct kling-v2-6 parameters instead of sending the request.

For dreamina-seedance-2-0-fast-260128:

  1. Ensure size, mode, image are NOT present.
  2. If images is NOT present (text-to-video mode):

- Check that prompt is present and is a string. - metadata.generate_audio is optional boolean.

  1. If images is present (image-to-video mode):

- Check that images is a non-empty array of valid URL strings. - prompt is optional but recommended. - metadata.generate_audio should NOT be present.

  1. If metadata.duration is present, check that it is an integer such as 5.
  2. If validation fails, stop and tell the user the correct Seedance parameters instead of sending the request.

For dreamina-seedance-2-0-260128:

  1. Ensure size, mode, image are NOT present.
  2. If images is NOT present (text-to-video mode):

- Check that prompt is present and is a string. - metadata.generate_audio is optional boolean.

  1. If images is present (image-to-video mode):

- Check that images is a non-empty array of valid URL strings. - prompt is optional but recommended. - metadata.generate_audio should NOT be present.

  1. If metadata.duration is present, check that it is an integer such as 5.
  2. If validation fails, stop and tell the user the correct Seedance parameters instead of sending the request.

Fetch task (all models)

{
  "path": "/video/generations/:task_id",
  "method": "GET"
}

Implementation notes:

  • Treat the create call as asynchronous.
  • Extract task_id from the create response using the actual response schema returned by the server.
  • Poll the fetch endpoint until a terminal state is reached.
  • Report the full terminal payload and any resulting video URL(s).
  • When extracting video URLs from the response, preserve the complete URL including the query string.
  • If the URL contains the escaped sequence \&, decode it to & before presenting or returning the URL.

Execution Pattern

  1. Confirm there is an existing channel whose baseurl contains https://api.tokenrouter.com or https://open.palebluedot.ai.
  2. If absent, stop and ask the user to get tokenrouter access from https://www.tokenrouter.com.
  3. If present, apply the config change for the requested model (MiniMax-Hailuo-2.3, kling-v3, kling-v2-6, dreamina-seedance-2-0-fast-260128, or dreamina-seedance-2-0-260128) in that channel or its neighboring model map.
  4. If the workspace provides a test or reload command, run it so the new model route is active.
  5. Submit a generation request with the detected channel key.
  6. Poll every few seconds until completion or an obvious terminal failure.

Example curl pattern after config is in place and a channel has been detected:

Hailuo:

curl -X POST "https://api.tokenrouter.com/v1/video/generations" \
  -H "Authorization: Bearer $DETECTED_CHANNEL_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "MiniMax-Hailuo-2.3",
    "prompt": "A man picks up a book [Pedestal up], then reads [Static shot].",
    "size": "1080P",
    "duration": 6
  }'

Kling text-to-video:

curl -X POST "https://api.tokenrouter.com/v1/video/generations" \
  -H "Authorization: Bearer $DETECTED_CHANNEL_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kling-v3",
    "prompt": "A silver robot walking through a rainy neon alley",
    "mode": "pro",
    "duration": "5",
    "metadata": {
      "aspect_ratio": "16:9",
      "sound": "on",
      "negative_prompt": "blurry, low quality"
    }
  }'

Kling image-to-video:

curl -X POST "https://api.tokenrouter.com/v1/video/generations" \
  -H "Authorization: Bearer $DETECTED_CHANNEL_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kling-v3",
    "prompt": "The girl smiles slightly and the camera slowly pushes in",
    "image": "https://example.com/portrait.png",
    "mode": "pro",
    "duration": "5",
    "metadata": {
      "sound": "off",
      "negative_prompt": "flicker, blur"
    }
  }'

Seedance text-to-video:

curl -X POST "https://api.tokenrouter.com/v1/video/generations" \
  -H "Authorization: Bearer $DETECTED_CHANNEL_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "dreamina-seedance-2-0-fast-260128",
    "prompt": "A vintage sports car driving along a coastal road at sunset",
    "metadata": {
      "duration": 5,
      "resolution": "1080p",
      "ratio": "16:9",
      "generate_audio": true
    }
  }'

Seedance image-to-video:

curl -X POST "https://api.tokenrouter.com/v1/video/generations" \
  -H "Authorization: Bearer $DETECTED_CHANNEL_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "dreamina-seedance-2-0-260128",
    "prompt": "The subject looks up toward the camera while hair moves gently in the wind",
    "images": [
      "https://example.com/input-image.png"
    ],
    "metadata": {
      "duration": 5,
      "resolution": "720p",
      "ratio": "9:16"
    }
  }'

Then:

curl "https://api.tokenrouter.com/video/generations/$TASK_ID" \
  -H "Authorization: Bearer $DETECTED_CHANNEL_KEY"

Adjust header names only if the existing workspace uses a different auth convention.

Resources

Use references/api_reference.md for endpoint-specific guidance and scripts/find_tokenrouter_config.py to quickly identify likely tokenrouter config files.

scripts/

find_tokenrouter_config.py scans the workspace for files likely to contain tokenrouter channel/provider/model routing config.

references/

api_reference.md captures the two required video endpoints, expected request bodies, and polling guidance.

assets/

No assets are required for this skill.

平台分布

OpenClaw

97.52%
按下载量换算1,929

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install tokenrouter-generate-video 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills