Files
links-mcp-plugin/plugins/links/skills/links-previs/SKILL.md
T
Links Deployment c1bbdab1e9 feat(links): 发布线上插件——接入正式HTTPS授权与七项创作技能
插件版本0.1.0,MCP服务https://43.161.201.228/mcp;仅含12个白名单文件,不包含商业源码和密钥。
源版本199bde88;分发ZIP SHA256 20d9445c28174ec29e6a97d716eb753aa52493e4b3740a7f108530112099e93f。
2026-10-27 11:31:31 +08:00

35 lines
3.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
name: links-previs
description: 用纯数据 production 场景生成离线 Blender 白模预演包,组织镜头、对象和运镜;明确区分打包成功与本机渲染、产品拟真验证。
---
先读 [共用执行规则](../../resources/execution-rules.md)。预演使用计划中的 production 步骤,经 `links_validate_generation_plan` 预检、`links_generate_media` 提交。
1. 明确用户终点是构图/运镜预演、离线包还是已渲染成片。白模非产品拟真,不能承担品牌标识、包装细节或产品身份通过的证据。复用参考 workflow 的稳定主体与缺失视角记录。
2. production 请求仅 `{mode:"blender_previs",scene}`。scene 包含 title、durationSeconds(正数至多 60)、fps(12–60)、width/height(128–1920 偶数)、sourceRefs、objects、shots。不传 Python、脚本片段、本地路径、URL 或远程资源。对象 shape 仅 box/cylinder/sphere/plane,position 为三维坐标,size 为正三维尺寸,color 为六位十六进制;可选 keyframes 用 timeSeconds、position、rotationDeg。
3. shots 含 id、startSeconds、endSeconds、camera:{position,target,lensMm}、可选 endCamera;从零按顺序连续覆盖 durationSeconds。相机位置不能等于目标,运动中也不能穿过自身 look-at 目标;对象和镜头 ID 全部唯一。纯无素材预演 sourceRefs 用 [];授权素材仅在 request.scene.sourceRefs 声明,step 引用须有 dependsOn,不设置 production step.inputs。声明参考不能据此宣称已贴图或已重建产品。
```json
{
"steps": [
{
"id": "previs", "category": "production",
"request": {
"mode": "blender_previs",
"scene": {
"title": "三维白模推镜", "durationSeconds": 6, "fps": 24, "width": 640, "height": 360, "sourceRefs": [],
"objects": [{ "id": "hero", "shape": "box", "position": [0, 0, 1], "size": [1, 1, 2], "color": "#cccccc", "keyframes": [{ "timeSeconds": 0, "position": [0, 0, 1] }, { "timeSeconds": 6, "position": [1, 0, 1], "rotationDeg": [0, 0, 15] }] }],
"shots": [{ "id": "push", "startSeconds": 0, "endSeconds": 6, "camera": { "position": [7, -7, 4], "target": [0, 0, 1], "lensMm": 50 }, "endCamera": { "position": [4, -4, 3], "target": [1, 0, 1], "lensMm": 50 } }]
}
}
}
]
}
```
4. 示例是步骤片段,外层项目/画布/幂等字段按当前能力 schema 补齐。调用 `links_validate_generation_plan` 预检,再用 `links_generate_media` 提交,通过 `links_get_job` 查询真实状态。固定槽 0 doc、1 text,production 模型费 0;doc 是离线包,text 是说明,不存在自动成功的 video 槽。不能将槽 0 doc 绑定为后续视频输入。
5. 交付包内容、场景时长与镜头配置、Job/资产和无令牌画布链接。服务生成包不代表本机 Blender 渲染已执行;当前任务 Blender 渲染须独立验收。只有获得真实本地渲染证据才更新状态,并分别核对视频解码、尺寸、帧数和连续观看结果。此 Skill 不运行 LibTV 或用户提供脚本,不以外部脚本绕过服务。
6. 明示程序合成音非 ZenPiano、节拍估计非语义乐句、白模非产品拟真、当前任务 Blender 渲染须独立验收、公开分发/native Codex 未验;无实际视觉/视听证据标 unknown。用户只要预演包时交付即止,不自动追加付费模型或合成。
本机执行固定导出脚本成功后读取 render-evidence.json:核对 mode、renderCompleted、Blender版本、输入场景/脚本和实际产物 SHA-256。scene_only不是渲染;新运行失败不能凭旧视频报成功。证据中的requested仅是请求配置;用ffprobe/FFmpeg独立检查实际尺寸、帧数、时长与完整解码,连续观看和产品身份仍须独立证据。Windows/Blender4.5.15样例已实际验证,不替代当前业务任务。