简介
文档转视频 File to Video
原始描述
ppt to video, word to video, excel to video, pdf to video, document to video — parse, outline, storyboard, voiceover, build, validate. Use when the user give...
通过你的 Agent 添加
安装目录:dlazy-file-to-video/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
该技能是dLazy托管视频生成服务的轻量级CLI封装,核心功能是将各类办公文档(PPT、Word、Excel、PDF等)自动转换为专业讲解视频。用户通过dlazy chat命令启动交互式会话,可选择--skill file-to-video新建项目,或使用--project <id>继续已有任务。支持本地文件通过--files参数上传,系统自动完成文档解析、大纲生成、分镜设计、AI配音、视频合成及质量校验的全流程。
工作流程分为六个阶段:首先是文档解析,提取原始内容的结构与关键信息;其次是大纲生成,将内容重组为适合视频呈现的叙事结构;接着是分镜设计,规划视觉场景与转场节奏;然后是AI配音,生成自然流畅的旁白音频;之后是视频合成,将画面与音频渲染为最终作品;最后是质量校验,确保输出符合预期。整个过程支持多轮对话迭代优化。
显著优点
格式兼容性极强:覆盖企业最常用的四大文档格式(PPT、Word、Excel、PDF),无需用户手动转换或预处理,降低了使用门槛。
全流程自动化:从原始文档到成品视频的六个环节全部AI驱动,传统需要专业团队(编导、剪辑、配音)数天完成的工作,可压缩至小时级甚至分钟级。
交互式迭代优化:项目会话保持上下文记忆,用户可在生成过程中随时调整风格、节奏、配音音色等参数,实现"边聊边改"的灵活体验。
企业级协作支持:通过项目ID机制支持团队协作,同一项目可被多用户接续编辑,适合培训部门、市场团队等规模化内容生产场景。
零本地算力消耗:所有视频渲染均在dLazy云端完成,用户设备仅需运行轻量CLI,老旧电脑也能流畅使用专业级视频生成能力。
潜在缺点与局限性
云端依赖性强:完全依赖dLazy SaaS服务,需稳定网络连接,离线环境无法使用;服务可用性受限于dLazy平台状态,存在单点故障风险。
数据隐私顾虑:用户文档需上传至第三方服务器(files.dlazy.com)处理,对含敏感商业信息、个人隐私或机密数据的文档存在合规风险,需自行评估脱敏或本地替代方案。
输出可控性有限:AI生成的分镜脚本、配音语气、视觉风格虽可调整,但相比专业人工制作仍缺乏精细控制,对品牌调性要求极高的场景可能需要后期人工精修。
成本持续投入:作为SaaS服务需消耗API Credits,高频使用或长视频场景可能产生显著费用,且缺乏买断式本地部署选项。
版本锁定风险:当前固定依赖@dlazy/cli@1.2.1版本,虽降低供应链攻击风险,但也可能错过CLI新版本的功能更新或安全补丁,需关注官方更新动态。
适合的目标群体
- 企业培训部门:快速将内部文档、SOP手册转换为员工培训视频
- 市场营销团队:把产品PPT、白皮书转化为社交媒体推广视频
- 教育内容创作者:课件、讲义自动生成带讲解的在线课程视频
- 知识管理岗位:将冗长报告提炼为高管简报视频
- 无视频制作经验的办公人员:零门槛获得专业级视频产出
使用风险
数据泄露风险:文档内容上传至第三方云服务,建议避免上传含商业秘密、个人隐私、国家机密等敏感信息的原始文件,必要时进行脱敏处理。
服务中断风险:依赖dLazy平台稳定性,存在因网络故障、服务维护或账户余额不足导致的任务失败风险,关键业务建议预留备选方案。
API密钥管理风险:需妥善保管dlazy API key,避免硬编码或泄露;建议启用定期轮换策略(如90天周期),遵循最小权限原则。
供应链安全风险:虽npm包版本已固定,但仍建议通过npm audit定期检查依赖漏洞,验证包完整性(SHA512摘要),仅从官方npm registry安装。
合规性风险:跨境数据传输可能涉及GDPR、CCPA等隐私法规,企业用户需确认dLazy的数据中心位置、数据保留政策及删除权利条款,必要时补充数据处理协议(DPA)。
技能正文
name: dlazy-file-to-video
version: 1.2.3
description: "ppt to video, word to video, excel to video, pdf to video, document to video — parse, outline, storyboard, voiceover, build, validate. Use when the user gives a document and wants an explainer, report broadcast, courseware, or training video. PPT 转视频、Word 转视频、Excel 转视频、PDF 转视频、文档转视频——解析、大纲、分镜、配音、合成、校验。当用户给一份文档、想要讲解视频 / 报告解读 / 课件 / 培训视频时使用。"
metadata: {"clawdbot":{"emoji":"📄","requires":{"bins":["npm","npx"]},"install":"npm install -g @dlazy/cli@1.2.1","installAlternative":"npx @dlazy/cli@1.2.1","homepage":"https://github.com/dlazyai/cli","source":"https://github.com/dlazyai/cli","author":"dlazyai","license":"see-repo","npm":"https://www.npmjs.com/package/@dlazy/cli","configLocation":"~/.dlazy/config.json","apiEndpoints":["api.dlazy.com","files.dlazy.com"]},"openclaw":{"systemPrompt":"When this skill is called, run 'dlazy chat --skill file-to-video --prompt ...' for a new task, or 'dlazy chat --project --prompt ...' to continue (discover ids via 'dlazy projects list'). Never pass both --skill and --project."}}
file-to-video
ppt to video, word to video, excel to video, pdf to video, document to video — parse, outline, storyboard, voiceover, build, validate. Use when the user gives a document and wants an explainer, report broadcast, courseware, or training video.
Trigger Keywords
- 文档转视频
- PPT 转视频
- PDF 讲解
- document to video
- explainer video
- 课件视频
- 报告解读
Authentication
All requests require a dLazy API key. The recommended way to authenticate is:
dlazy login
This runs a device-code flow (also works in remote shells) and automatically saves your API key to the local CLI config — no manual copy/paste required.
Alternative: Set the Key Manually
If you already have an API key, you can save it directly:
dlazy auth set YOUR_API_KEY
The CLI saves the key in your user config directory (~/.dlazy/config.json on macOS/Linux, %USERPROFILE%\.dlazy\config.json on Windows), with file permissions restricted to your OS user account. You can also supply the key per-invocation via the DLAZY_API_KEY environment variable.
Getting Your API Key Manually
- Sign in or create an account at dlazy.com
- Go to dlazy.com/dashboard/organization/api-key
- Copy the key shown in the API Key section
Each key is scoped to your dLazy organization and can be rotated or revoked at any time from the same dashboard.
About & Provenance
- CLI source code: github.com/dlazyai/cli
- Maintainer: dlazyai
- npm package:
@dlazy/cli (pinned to 1.2.1 in this skill's install spec)
- Homepage: dlazy.com
@dlazy/cli (pinned to 1.2.1 in this skill's install spec)You can install on demand without persisting a global binary by running:
npx @dlazy/cli@1.2.1 <command>
Or, if you prefer a global install, the skill's metadata.clawdbot.install field declares the exact pinned version (npm install -g @dlazy/cli@1.2.1). Review the GitHub source before installing.
How It Works
This skill is a thin client over the dLazy hosted sandbox agent. When you invoke it:
- Your messages and options are sent to the dLazy API (
api.dlazy.com), which streams the agent's reply back to your terminal. - Any local files you attach via
--filesare uploaded to dLazy's media storage (files.dlazy.com) first, then referenced by url. - Chat sessions are tracked per project so follow-up turns keep context; project ids come from
dlazy projects list.
This is the standard SaaS pattern; the skill itself does not access network or filesystem resources beyond what the dLazy CLI already handles. See dlazy.com for the full service terms.
Usage
This skill talks to the dlazy sandbox agent, pinned to the file-to-video template — a project-scoped assistant that runs the template end-to-end across multiple turns.
Discover Projects
# List existing projects in your organization
dlazy projects list
Start or Continue
# Start a new project with this template
dlazy chat --skill file-to-video --prompt "..."
# Continue an existing project (skips --skill)
dlazy chat --project <project_id> --prompt "..."
# Attach local files (uploaded to storage first)
dlazy chat --project <project_id> --prompt "Use this reference" --files ref.png
# Session control
dlazy chat --project <project_id> --clear # drop the saved session, start fresh
dlazy chat --project <project_id> --compact # compact the current session's context
# List existing projects in your organization
dlazy projects list
# Start a new project with this template
dlazy chat --skill file-to-video --prompt "..."
# Continue an existing project (skips --skill)
dlazy chat --project <project_id> --prompt "..."
# Attach local files (uploaded to storage first)
dlazy chat --project <project_id> --prompt "Use this reference" --files ref.png
# Session control
dlazy chat --project <project_id> --clear # drop the saved session, start fresh
dlazy chat --project <project_id> --compact # compact the current session's context
On a TTY, dlazy chat stays interactive after the first turn — type follow-up messages, or exit to leave.
CRITICAL INSTRUCTION FOR AGENT:
- For a new task, run
dlazy chat --skill file-to-video --prompt "...". - To continue earlier work, use
--project <id>(find ids viadlazy projects list) — never pass both--skilland--project. - Always pass
--promptfor non-interactive (no-TTY) runs. - Run
dlazy chat -hto see every option.
Error Handling
Code
Error Type
Example Message
401
Unauthorized (No API Key)
ok: false, code: "unauthorized", message: "API key is missing or invalid"
501
Missing required parameter
error: required option '--prompt <prompt>' not specified
502
Local file read error
Error: file not found: C:\path\to\your\file
503
API request failed (no balance)
ok: false, code: "insufficient_balance"
503
API request failed (server error)
HTTP status code error (500 server crash)
504
Asynchronous task execution failed
=== Generation Failed === / {Specific error reason returned by backend}
AGENT CRITICAL INSTRUCTION:
- If the execution result returns
code: "insufficient_balance", you MUST explicitly inform the user that their credits are insufficient and guide them to recharge: https://dlazy.com/dashboard/organization/settings?tab=credits
- If the execution result returns
code: "unauthorized" or indicates missing API key, you MUST inform the user to get their API key from https://dlazy.com/dashboard/organization/api-key and save it using dlazy auth set <key> and resume the task.
Tips
| Code | Error Type | Example Message |
|---|---|---|
| 401 | Unauthorized (No API Key) | ok: false, code: "unauthorized", message: "API key is missing or invalid" |
| 501 | Missing required parameter | error: required option '--prompt <prompt>' not specified |
| 502 | Local file read error | Error: file not found: C:\path\to\your\file |
| 503 | API request failed (no balance) | ok: false, code: "insufficient_balance" |
| 503 | API request failed (server error) | HTTP status code error (500 server crash) |
| 504 | Asynchronous task execution failed | === Generation Failed === / {Specific error reason returned by backend} |
AGENT CRITICAL INSTRUCTION:
- If the execution result returns
code: "insufficient_balance", you MUST explicitly inform the user that their credits are insufficient and guide them to recharge: https://dlazy.com/dashboard/organization/settings?tab=credits - If the execution result returns
code: "unauthorized"or indicates missing API key, you MUST inform the user to get their API key from https://dlazy.com/dashboard/organization/api-key and save it usingdlazy auth set <key>and resume the task.
Visit https://dlazy.com for more information.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。