微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🎬

AI 一键生成专业视频内容

visla · vv1.0.3
可以安装,但有提示 HAS_SCRIPTS
内容创作 安全 S 级 作者 visla-admin 公开目录收录
2.3k 下载 542 安装 10k 收藏 40.7k 浏览

简介

基于 Visla 官方 API 的 AI 视频生成工具,支持脚本、网页及 PPT/PDF 一键转视频,快速产出专业内容。

原始描述

Creates AI-generated videos from text scripts, URLs, or PPT/PDF documents using Visla. Use when the user asks to generate a video, turn a webpage into a vide...

通过你的 Agent 添加

安装目录:visla/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/visla/
Codex CLI~/.codex/skills/visla/
DeepSeek Harness~/.agents/skills/visla/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

Visla Skill 是 Visla 视频生成平台的官方 API 封装工具,提供三种视频创建模式:

  1. 脚本生成视频 (/visla script):将文本脚本转换为 AI 视频,支持直接输入或从文件读取
  2. 网页转视频 (/visla url):抓取网页内容并自动生成解说视频
  3. 文档转视频 (/visla doc):上传 PPT/PDF 文档智能转换为视频演示

工作流:创建项目 → 轮询生成状态(3-10分钟,最长30分钟)→ 自动导出返回下载链接。支持账户余额查询 (/visla account)。

显著优点

  • 官方生态整合:直接对接 Visla 官方 API,HMAC-SHA256 签名认证,HTTPS 全程加密
  • 多源输入:覆盖脚本、URL、文档三种主流内容形态,降低视频制作门槛
  • 跨平台支持:Python/Bash 双 CLI 实现,适配 macOS/Linux/Windows 全平台
  • 自动化闭环:无需人工干预即可完成从内容提交到成品下载的完整流程
  • 安全架构透明:凭证仅存于本地 ~/.config/visla/.credentials 或环境变量,无硬编码密钥

潜在缺点与局限性

  • API 凭证依赖:需手动申请 Visla API Key/Secret(https://www.visla.us/visla-api),首次配置门槛存在
  • 生成耗时较长:视频生成需 3-30 分钟,长超时需求可能触发系统限制
  • 网络单点依赖:完全依赖 Visla 服务端可用性,离线场景无法使用
  • 文件上传限制:文档转视频需上传至 S3 预签名 URL,大文件受网络带宽制约
  • 输出可控性有限:AI 生成视频的视觉效果、配音风格由平台算法决定,自定义空间有限

适合人群

  • 内容创作者:快速将博客文章、产品文档转为视频内容
  • 市场营销人员:批量生成产品介绍、活动宣传视频
  • 教育工作者:将课件 PPT 自动转换为带解说的教学视频
  • 企业培训师:统一制作标准化培训材料视频

常规风险

  • 凭证泄露风险:API 密钥存储于本地文件,多用户环境需严格设置文件权限(建议 chmod 600)
  • 网络超时中断:长时任务可能因系统超时中断,需手动通过 project_uuid 续查
  • 内容版权合规:自动抓取网页/转换文档需确保源内容授权,避免侵权风险
  • API 额度消耗:视频生成消耗账户积分,大规模使用前需确认余额充足

技能正文


name: visla description: Creates AI-generated videos from text scripts, URLs, or PPT/PDF documents using Visla. Use when the user asks to generate a video, turn a webpage into a video, or convert a PPT/PDF into a video, or when the user asks to check Visla account credits/balance. argument-hint: <script|url|doc|account> [script|URL|file]

Visla Video Generation

Version: 260211-1520

Create AI-generated videos from text scripts, web URLs, or documents (PPT/PDF) using Visla's OpenAPI.

Before You Start

Credentials (NEVER output API keys/secrets in responses):

IMPORTANT: Always try to read the credentials file before asking the user for credentials.

  1. Try to read ~/.config/visla/.credentials
  2. If the file exists and contains valid credentials, use them directly (do NOT ask the user)
  3. Only if the file is missing or invalid, ask the user for credentials
    • Tell the user: this is a one-time setup (once configured, they won't need to do this again)
    • Tell the user: get API Key and Secret from https://www.visla.us/visla-api
    • Ask for the API key/secret explicitly (or ask the user to update the file and confirm). Do not repeat the secrets back in the response.

Credential validity check (practical):

  • If credentials exist but running account fails with VISLA_CLI_ERROR_CODE=missing_credentials or VISLA_CLI_ERROR_CODE=auth_failed, treat credentials as invalid and ask the user to provide real ones.

File format (bash/zsh):

export VISLA_API_KEY="your_key"
export VISLA_API_SECRET="your_secret"

For PowerShell (temporary session):

$env:VISLA_API_KEY = "your_key"
$env:VISLA_API_SECRET = "your_secret"

Scripts: scripts/visla_cli.py (Python), scripts/visla_cli.sh (Bash)

Platform Execution

Default strategy:

  • Prefer Bash on macOS when dependencies are available (the Bash CLI avoids Python SSL-stack issues on some macOS setups).
  • Prefer Python when you're already using a well-configured Python (or when Bash dependencies are missing).

Bash (recommended on macOS; also works on Linux-like environments):

source ~/.config/visla/.credentials
./scripts/visla_cli.sh <command>

Python (cross-platform):

python3 scripts/visla_cli.py <command>

Windows native (PowerShell/CMD without Bash; Python):

# PowerShell
$env:VISLA_API_KEY = "your_key"
$env:VISLA_API_SECRET = "your_secret"
python scripts/visla_cli.py <command>

Windows note:

  • The agent should prefer running the Python CLI on Windows unless it has verified a Bash environment (WSL/Git Bash) is available.
  • For simple scripts, pass directly: python scripts/visla_cli.py script "Scene 1: ..."
  • For multi-line or complex scripts, use stdin with - (recommended, no temp files):
    @"
    Scene 1: ...
    Scene 2: ...
    "@ | python scripts/visla_cli.py script -
    
  • If you have Python Launcher installed, py -3 scripts/visla_cli.py <command> may work better than python.
  • Credentials:
    • The Python CLI will also try to read ~/.config/visla/.credentials automatically if env vars are not set.
    • On Windows this typically maps to: %USERPROFILE%\\.config\\visla\\.credentials.

Note: do not print credentials. Prefer reading them from ~/.config/visla/.credentials or environment variables.

Commands

Command Description
/visla script <script-or-@file> Create video from a script (text or a local file)
/visla url <URL> Create video from web page URL
/visla doc <file> Create video from document (PPT/PDF)
/visla account Show account info and credit balance

Source of truth for the exact CLI surface: run scripts/visla_cli.sh --help or python3 scripts/visla_cli.py --help.

Script Format

**Scene 1** (0-10 sec):
**Visual:** A futuristic calendar flipping to 2025 with digital patterns.
**Narrator:** "AI is evolving rapidly! Here are 3 game-changing AI trends."

**Scene 2** (10-25 sec):
**Visual:** Text: "Trend #1: Generative AI Everywhere." Show tools like ChatGPT.
**Narrator:** "Generative AI is dominating industries—creating content and images."

Workflow

The script, url, and doc commands execute the complete flow automatically:

  1. Create project
  2. Poll until generation completes (may take a few minutes)
  3. Auto-export and return download link

Execution Instructions:

  • Inform user that video generation takes some time
  • Report progress status periodically during polling

Timeout Guidance

  • This workflow typically takes 3-10 minutes, but can take up to ~30 minutes in the worst case. Set the task/command timeout to >= 30 minutes (Windows defaults are often ~10 minutes and need to be increased). If you cannot change the timeout, warn the user up front and, on timeout, ask whether to continue or switch to a step-by-step run.
  • If timeout occurs, the CLI returns project_uuid in the output. Inform the user they can manually check project status and continue later using the Visla web interface or API.

Examples

/visla script @myscript.txt
/visla script "Scene 1: ..."
/visla url https://blog.example.com/article
/visla doc presentation.pptx
/visla account

Supported Document Formats

  • PowerPoint: .pptx, .ppt
  • PDF: .pdf

Output Format

  • Start: Display "Visla Skill v260211-1520" when skill begins
  • End: Display "Visla Skill v260211-1520 completed" when skill finishes

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

content-mediaproductivitymarketingeducation-research

同类 Skill