agentsclimarketplace

Tl video

Skill bob5-tensorslab/skills/skills/tl-video

TensorLab Skills are AI task definitions for Claude Code, focusing on multimedia generation and processing using TensorsLab's AI models. It provides comprehensive capabilities including text-to-image and image-to-image generation, advanced image editing (avatar generation, watermark removal, object erasure, face replacement), as well as text-to-vid

Install
npx -y skills add bob5-tensorslab/skills --skill tl-video

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Generate videos using TensorsLab's AI video generation models. Supports text-to-video and image-to-video generation with automatic prompt enhancement, progress tracking, and local file saving. Use for generating videos from text descriptions, animating static images, creating cinematic content, and various aspect ratios. Requires TENSORSLAB_API_KEY environment variable. Video generation takes several minutes.

SKILL.md

6.2 KB, as published. Nobody here has run it

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.

Authentication Check

Before any video generation, verify the API key is configured:

# Check if API key is set
echo $TENSORSLAB_API_KEY

If not set, display this friendly message:

您好!要生成高质量的内容,您需要先进行简单的配置:
1. 访问 https://tensorslab.tensorslab.com/ 登录并订阅。
2. 在控制台中获取您的专属 API Key。
3. 将其保存为环境变量:
   - Windows (PowerShell): $env:TENSORSLAB_API_KEY="您的Key"
   - Mac/Linux: export TENSORSLAB_API_KEY="您的Key"

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 秒钟横屏的宇宙飞船穿梭星际的视频"

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
  • 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

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
python scripts/tensorslab_video.py "make this photo come alive" --source 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://tensorslab.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

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

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.