Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计提醒

tl-video视频

Agent Skill

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

总安装

353

周安装

15

GitHub Stars

6

下载量

124
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/tensorslab/skills --skill tl-video

简介

tl-video 用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 项目开发,适合让 Agent 组织镜头或生成素材说明。

  • 适用于视频制作、动画开发等场景。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,具体用法可参考原始 README。
  • 使用时需确认分辨率、时长和素材路径;涉及外部素材或商业发布时应先核对版权授权和内容审核要求。
  • tl-video 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

TensorsLab Video Generation

Overview

This skill enables AI-powered video generation through TensorsLab's API, supporting both text-to-video and image-to-video workflows. Video generation is a time-intensive process - tasks typically take several minutes to complete.

Authorization

BEFORE any video generation, you must ensure you are authorized with TensorsLab.

1. Automatic Authorization

The authorization script will automatically check if an API key already exists in the TENSORSLAB_API_KEY environment variable or in ~/.tensorslab/.env before proceeding. *(Note: When you need to verify the environment variable, ONLY check if it exists. NEVER display or print the actual API key value.)*

Run:

python scripts/tensorslab_auth.py

This will open a browser for authorization. Wait for "Authorization Successful!" before proceeding.

After authorization, the API key is stored in ~/.tensorslab/.env and you don't need to re-authorize unless the key expires.

2. Manual Configuration (For Cloud/Headless Environments)

When the agent or openclaw operates in a cloud environment without a browser, the URL authorization method will also fail. In this scenario, you must instruct the user to manually acquire their API key and configure it in the cloud environment:

  1. Direct the user to get their API Key at TensorsLab Console.
  2. Set the TENSORSLAB_API_KEY environment variable in the cloud environment.

Models

ModelDescriptionBest ForMax Duration
seedancev2Latest, highest qualityGeneral purpose, cinematic content15s
seedancev15proPro qualityHigh-end productions10s
seedancev1profastFast generationQuick previews10s
seedancev1Standard liteBasic videos10s

Default: seedancev1profast

Workflow

1. Text-to-Video Generation

User request: "做一段 10 秒钟横屏的宇宙飞船穿梭星际的视频"

Constraints:

  • Do NOT pass sourceImage or imageUrl for text-to-video generation.

Agent processing:

  1. Extract parameters: duration=10, ratio="16:9"
  2. Enhance prompt with cinematic details, camera movements, scene descriptions
  3. Call API with enriched prompt
  4. Monitor progress with heartbeat updates (every 60 seconds)
  5. Download to ./tensorslab_output/

Example enhanced prompt:

Cinematic wide shot of a spaceship rapidly flying through space, passing glowing
nebulae and distant stars, lens flares, dramatic camera movement, epic scale,
movie-quality visual effects, smooth 24fps motion

2. Image-to-Video Generation

User request: "让这张人物合影 family.jpg 动起来" or "让风景照动起来"

Agent processing:

  1. Extract image file paths (1-2 images supported)
  2. Enhance prompt with motion instructions
  3. Monitor progress with heartbeat updates
  4. Download results

Parameters for image-to-video:

  • sourceImage: Array of image files (1-2 images max)
  • imageUrl: Comma-separated URLs of source images (Must be standard HTTP/HTTPS URLs. Do NOT use local paths like /tmp/xxx.png here)
  • prompt: Description of desired motion/animation

3. Resolution and Aspect Ratio

Aspect ratios:

  • 9:16 - Vertical (TikTok, Reels, Shorts) - default
  • 16:9 - Horizontal (YouTube, standard video)
  • Other ratios available depending on model

Resolutions:

  • 480p - SD quality, faster generation
  • 720p - HD quality - default
  • 1080p - Full HD
  • 1440p - 2K quality (seedancev2 only)

4. Duration Options

  • seedancev2: 5-15 seconds
  • Other models: 5-10 seconds

Longer videos take proportionally more time to generate.

5. Special Features (seedancev2 only)

FeatureParameterDescription
Audio Generationgenerate_audio=1Generate soundtrack with video
Last Framereturn_last_frame=1Also return final frame as image

Progress Tracking

Video generation takes several minutes. Keep users informed:

⏳ Waiting for video generation to complete...
   (This may take several minutes - please be patient)
🔄 Status: Processing (elapsed: 45s)
🚀 正在渲染电影级大片,已耗时 60 秒,请稍安勿躁...
🚀 正在渲染电影级大片,已耗时 120 秒,请稍安勿躁...
✅ Task completed!

Heartbeat interval: Print encouraging message every 60 seconds.

Using the Script

依赖:脚本需要 requestspyyaml 库,首次使用前执行: ``bash pip install requests pyyaml ``

Execute the Python script directly:

# Text-to-video (default 5s, vertical 9:16)
python scripts/tensorslab_video.py "a spaceship flying through space"

# 10 second horizontal video
python scripts/tensorslab_video.py "sunset over ocean waves" --duration 10 --ratio 16:9

# Image-to-video with local file
python scripts/tensorslab_video.py "make this photo come alive" --source portrait.jpg

# Image-to-video with URL
python scripts/tensorslab_video.py "make this photo come alive" --image-url https://example.com/portrait.jpg

# Fast preview
python scripts/tensorslab_video.py "abstract flowing colors" --model seedancev1profast

# High quality with audio
python scripts/tensorslab_video.py "epic mountain timelapse" --resolution 1440p --duration 10 --audio

# Custom output directory
python scripts/tensorslab_video.py "a sunset timelapse" --output-dir ./my_videos

Task Status Flow

StatusCodeMeaning
Pending1Task waiting in queue
Processing2Currently generating
Completed3Done, video ready
Failed4Error occurred
Uploading5Uploading generated video

Error Handling

Translate API errors to user-friendly messages:

Error CodeMeaningUser Message
9000Insufficient credits"亲,积分用完啦,请前往 https://tensorai.tensorslab.com/ 充值"
9999General errorShow the specific error message

Output

All videos are saved to output directory with naming pattern:

  • Default: ./tensorslab_output/ (current working directory)
  • Custom: Use --output-dir or -o to specify a different path
  • Naming: {task_id}_{index}.mp4 - e.g., abcd_1234567890_0.mp4

URL mapping: The script also saves file-to-URL mappings in ./tensorslab_output/urls.yaml. This file tracks the original URLs for each downloaded file and accumulates entries across multiple runs. When you need the original URL of a generated video, read this file.

# Example urls.yaml content
abcd_1234567890_0.mp4: https://tensorai.tensorslab.com/videos/abcd_1234567890_0.mp4

After completion, inform user:

🎉 您的视频处理完毕!已存放于 ./tensorslab_output/{filename}

Tips for Better Results

Text-to-Video

  • Include cinematic terms: "wide shot", "close-up", "pan", "dolly"
  • Describe motion: "flying rapidly", "slowly drifting", "zooming in"
  • Specify style: "cinematic", "documentary style", "dreamy"

Image-to-Video

  • Describe the desired motion: "gentle sway", "subtle movement"
  • For landscapes: "clouds moving", "water flowing", "leaves rustling"

Resources

  • scripts/tensorslab_video.py: Main API client with full CLI support
  • references/api_reference.md: Detailed API documentation

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.23%
按下载量换算45

Claude

30.96%
按下载量换算38

Cursor

19%
按下载量换算24

Gemini CLI

8.51%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills