{ "name": "jimeng-video-v3-720p", "displayName": "视频生成3.0(720p)", "description": "即梦视频3.0 720P,支持文生视频、图生视频(首帧/首尾帧/运镜),高性价比之选。", "category": "jimeng", "version": "1.0.0", "endpoint": { "method": "POST", "url": "https://server.fmode.cn/api/volcengine/jimeng/getVideoV3_720p", "headers": { "Content-Type": "application/json" } }, "parameters": { "type": "object", "required": [ "prompt", "method", "token" ], "properties": { "prompt": { "type": "string", "description": "提示词,建议<=400字,最长800字" }, "frames": { "type": "integer", "description": "帧数,范围[121,241],默认121", "default": 121 }, "method": { "type": "string", "description": "生成方式: 1文生视频 2首帧 3首尾帧 4运镜", "enum": [ "1", "2", "3", "4" ] }, "config": { "type": "object", "description": "配置参数,根据method不同而不同", "properties": { "aspect_ratio": { "type": "string", "description": "长宽比(method=1)", "enum": [ "16:9", "4:3", "1:1", "3:4", "9:16", "21:9" ] }, "image_urls": { "type": "array", "items": { "type": "string" }, "description": "图片URL(method=2/3/4)" }, "template_id": { "type": "string", "description": "运镜模板ID(method=4)" }, "camera_strength": { "type": "string", "description": "运镜强度(method=4)", "enum": [ "weak", "medium", "strong" ] } } }, "token": { "type": "string", "description": "认证token" } } }, "response": { "type": "object", "properties": { "code": { "type": "integer" }, "data": { "type": "object", "properties": { "workId": { "type": "string" } } } } }, "usageExamples": [ { "name": "文生视频-16:9", "input": { "prompt": "一只小猫在草地上奔跑", "frames": 121, "method": "1", "config": { "aspect_ratio": "16:9" }, "token": "Bearer r:xxx" }, "description": "文本生成16:9 720p视频" }, { "name": "图生视频-运镜", "input": { "prompt": "运镜拉远效果", "frames": 121, "method": "4", "config": { "image_urls": [ "https://example.com/photo.jpg" ], "template_id": "quick_pull_back", "camera_strength": "medium" }, "token": "Bearer r:xxx" }, "description": "首帧图+超级拉远运镜模板生成视频" } ], "relatedSkills": [ "jimeng-task-query", "jimeng-video-v3-1080p", "jimeng-video-v3-pro" ], "pricing": { "unit": "秒", "price": 0.28, "currency": "CNY" }, "timeout": 30000, "tokenConfig": { "type": "bearer", "configFile": "~/.openclaw/voc-credentials.json", "tokenField": "vocToken", "resolutionOrder": [ "configFile" ], "apigId": "Vo3ROWEvDy", "paymentUrlResolution": { "description": "动态构建充值URL:在已存在 session token 时查出用户 objectId,拼接到专属充值页面", "steps": [ "1. 从 voc-credentials.json 获取当前 session token", "2. 调用 GET https://server.fmode.cn/parse/users/me (Header: X-Parse-Application-Id: ncloudmaster, X-Parse-Session-Token: {token})获取用户 objectId", "3. 拼接充值URL: https://app.fmode.cn/dev/apig-pay/?user={objectId}&apigid=Vo3ROWEvDy&fun_id=HOkkX72PMF", "4. 将该URL展示给用户,引导扫码支付" ], "userResolveEndpoint": "https://server.fmode.cn/parse/users/me", "userResolveHeaders": { "X-Parse-Application-Id": "ncloudmaster", "X-Parse-Session-Token": "{vocToken}" }, "paymentBaseUrl": "https://app.fmode.cn/dev/apig-pay/", "paymentParams": { "user": "{resolvedUserId}", "apigid": "Vo3ROWEvDy", "fun_id": "HOkkX72PMF" }, "balanceCheckEndpoint": "https://server.fmode.cn/api/apig/getApig" }, "onMissing": { "action": "showPaymentQR", "qrCodeUrl": "https://app.fmode.cn/dev/apig-pay/?apigid=Vo3ROWEvDy&fun_id=HOkkX72PMF", "title": "扫码开通 VOC-AI 数据服务", "message": "此 Skill 需要有效的 API Token。请先打开充值页面完成登录和充值;当用户提供 session token 后,请由 OpenClaw 运行 node scripts/tools/set-voc-token.js 写入 ~/.openclaw/voc-credentials.json 的 vocToken 字段,再重试当前 Skill。", "tokenSetupCommandTemplate": "node scripts/tools/set-voc-token.js {sessionToken}", "tokenSetupInstructions": "当用户完成登录和充值后,如果用户把 session token 发给你,请直接运行 node scripts/tools/set-voc-token.js 写入 ~/.openclaw/voc-credentials.json,然后重试当前 Skill。" }, "onBalanceInsufficient": { "action": "resolveUserThenShowPayment", "title": "VOC-AI Token 余额不足,请扫码充值", "message": "当前 Token 余额不足,我将为你生成专属充值链接,扫码支付后即可继续使用。" } }, "errorHandling": { "balanceInsufficient": { "conditions": [ { "responseField": "code", "operator": "in", "value": [ -2, -3, -10, 402, 429 ] }, { "responseField": "msg", "operator": "contains", "value": [ "余额不足", "insufficient", "balance", "quota", "没有开通", "权限或余额" ] }, { "responseField": "mess", "operator": "contains", "value": [ "余额不足", "insufficient", "balance", "quota", "没有开通", "权限或余额" ] }, { "responseField": "message", "operator": "contains", "value": [ "余额不足", "insufficient", "balance", "没有开通", "权限或余额" ] } ], "matchMode": "any", "trigger": "tokenConfig.onBalanceInsufficient" }, "unauthorized": { "conditions": [ { "responseField": "code", "operator": "in", "value": [ 401, 403 ] }, { "responseField": "msg", "operator": "contains", "value": [ "unauthorized", "token", "invalid", "auth" ] } ], "matchMode": "any", "trigger": "tokenConfig.onMissing" } } }