Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/aifroi-video/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions assets/icon-sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -2609,5 +2609,13 @@
"mimeType": "image/png",
"sha256": "f33c29f46a1e4f8ad8afc8989f5850d3c24129cf61feb7a1ab6293bf9358c5ce",
"transformation": "SVG rendered to 512x512 PNG with transparent background; no baked corner radius"
},
{
"name": "aifroi-video",
"icon": "aifroi-video/icon.png",
"source": "Aifroi brand artwork provided by the publisher (https://aifroi.com); no third-party material",
"homepage": "https://aifroi.com",
"mimeType": "image/png",
"sha256": "772cd61ddcc4ed7e6dc96692cfb4531199362f2c78df8be94b590f5f12d135c9"
}
]
9 changes: 9 additions & 0 deletions external_plugins/aifroi-video/.mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"mcpServers": {
"aifroi": {
"type": "http",
"url": "https://aifroi.com/mcp",
"timeoutMs": 120000
}
}
}
23 changes: 23 additions & 0 deletions external_plugins/aifroi-video/.zcode-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "aifroi-video",
"version": "1.0.0",
"description": "Plan and generate 9:16 product videos for Douyin e-commerce from product images and selling points. Six skills plus the Aifroi remote MCP (OAuth): every generation shows a live quote first, and Aifroi points are charged only after you confirm.",
"description_i18n": {
"en": "Plan and generate 9:16 product videos for Douyin e-commerce from product images and selling points. Six skills plus the Aifroi remote MCP (OAuth): every generation shows a live quote first, and Aifroi points are charged only after you confirm.",
"zh-CN": "用商品图和卖点策划并生成抖音电商、巨量千川可用的 9:16 带货短视频。包含 6 个技能和 Aifroi 远程 MCP(OAuth 授权):每次生成前先实时报价,用户确认后才扣 Aifroi 算力。"
},
"author": {
"name": "Aifroi",
"url": "https://aifroi.com"
},
"homepage": "https://aifroi.com",
"keywords": [
"video-generation",
"e-commerce",
"douyin",
"short-video",
"storyboard",
"ad-creative",
"mcp"
]
}
66 changes: 66 additions & 0 deletions external_plugins/aifroi-video/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Aifroi Video Director

[中文](./README_CN.md)

A product short-video plugin for Douyin e-commerce and Qianchuan ad teams. From one product image and one selling point you get test angles, a shot-by-shot script, voice-over lines and an ad-compliance check. After you authorize an Aifroi account, it generates 9:16 vertical videos directly and shows exactly how many points each video used.

This plugin is provided by [Aifroi](https://aifroi.com). Videos are generated by the Aifroi remote service, which requires an Aifroi account.

## Components

| Component | What it does |
| --- | --- |
| MCP server `aifroi` | Remote Streamable HTTP server `https://aifroi.com/mcp`, OAuth 2.0 + PKCE with dynamic client registration. Tools for tier quotes, point balance, media upload, video task creation, and progress and points lookup |
| Skill `aifroi-video-plan` | Test angle planning: core selling points from product facts, 2–5 test angles with shot lists; adds live quotes when connected and never generates video |
| Skill `aifroi-product-video` | Image-to-video launch: plans the shots and generates a product video when all you have is a product image and a selling point |
| Skill `aifroi-element-swap` | Hit video remake: keeps a same-category reference video's shots and pacing while swapping in your own product, presenter or scene |
| Skill `aifroi-script-video` | Script-to-video: reviews your existing shot list first, then generates from it |
| Skill `aifroi-reference-video` | Reference-based video: mixes reference images, videos, audio or a presenter |
| Skill `aifroi-video-delivery` | Delivery and billing check: tracks progress, refreshes playable links, reports the points used, and turns feedback into a revision plan |

The four generation skills split the work by the material you already have, so the skill picks the right path and you do not need to choose. The plugin has no Hooks, commands, sub-agents or local MCP processes.

## Usage

After installing and enabling the plugin, just describe what you need, for example:

- Use assets/product.jpg; the key selling point is light, non-greasy hydration. Make a 15-second Douyin product video and show me the plan and quote first
- Give me 3 Qianchuan test angles for this snack, each with a shot list
- Is my video ready? How many points did it use

You can also type `/` in the input box and pick one of the skills above from the **Skills** group.

It works without authorizing Aifroi: every skill still delivers selling points, test angles, shot lists, shooting checklists, generation prompts and a compliance check, but no prices, task IDs or video links.

### Authorize your Aifroi account

1. Open **Settings → MCP Servers**, find this plugin's `aifroi` server under **Plugin-provided servers**, and click **Open authorization**. ZCode never opens the browser on its own.
2. Sign in on the Aifroi page that opens in your system browser (you can register there if you have no account) and choose the permissions you need: query, allow media upload, allow video creation. Authorizing costs no points.
3. ZCode reconnects after authorization. If a task that is already open still does not see the Aifroi tools, send `/reload` in its input box.

To revoke access, use "Authorized apps" on the Aifroi website.

## Billing and new-user bonus

- The plugin is free to install, and everything is free without authorization.
- Generating a video uses points from your own Aifroi account. Before every generation the skill calls the quote and balance tools, shows the estimated cost and your current balance, and **submits only after you confirm**. Confirming the same request twice never creates a second order.
- New users who register an Aifroi account while authorizing through this plugin receive 10,000 points (the higher of this bonus and an invitation-code starter pack; they do not stack). Your actual balance is whatever Aifroi returns.

## Dependencies, network access and side effects

- **Network**: MCP tool calls go to `https://aifroi.com/mcp`; the authorization page is on `aifroi.com`; local media is sent to a one-time upload URL issued by Aifroi (`https://aifroi.com/api/mcp/upload/...`, valid for 10 minutes); finished videos are played or downloaded through signed object-storage links returned by Aifroi, which expire and can be refreshed from the original task.
- **Models and services**: video and image generation and media analysis all run on the Aifroi service. The plugin itself calls no other model or third-party API.
- **Write operations**: uploading media and creating videos are write operations and run only when you explicitly ask. Creating a video always requires you to confirm the quote first. Before a hit video remake is submitted you also confirm that your product is in the same category as the original and that you have the right to use the original video and any people in it. The plugin never generates in bulk, retries orders, refunds or publishes to any platform on its own.
- **Command execution**: only when you ask a skill to use a local workspace file or chat attachment does it run `curl` to send the original file to the one-time upload URL above (subject to your ZCode permission settings). No other commands are run.
- **File writes**: the plugin does not write workspace files; a finished video is saved only when you ask to download it, to the location you choose.
- **Hooks**: none.
- **Data**: the plugin has no telemetry. Account credentials are managed by ZCode and never pass through the conversation; the skills never ask for tokens, cookies, verification codes or passwords. Uploaded media is used only for creation tasks under your own account; see the [Aifroi privacy policy](https://aifroi.com/privacy-policy).

## Content boundaries

The skills use only the product facts you provide, never invent sales figures, efficacy or certifications, and never promise ad performance. The plugin assists with planning and production and does not replace platform review or legal advice; review platform rules, ad compliance and media rights before running any video as an ad.

## Source and license

- The skills, reference documents and icon are written and provided by Aifroi and contain no third-party code or material.
- The MCP server is Aifroi's own online service, subject to the [Aifroi](https://aifroi.com) terms of service and privacy policy.
66 changes: 66 additions & 0 deletions external_plugins/aifroi-video/README_CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# AI 爆款编导(Aifroi)

[English](./README.md)

面向抖音电商和巨量千川素材团队的带货短视频插件。给一张商品图和一句卖点,就能拿到测款方向、逐镜分镜脚本、口播和合规自查;授权 Aifroi 账号后,可以直接生成 9:16 竖屏成片,并核对每条成片实际扣了多少算力。

本插件由 [Aifroi](https://aifroi.com) 提供。生成视频由 Aifroi 远程服务完成,需要 Aifroi 账号。

## 包含的组件

| 组件 | 内容 |
| --- | --- |
| MCP 服务器 `aifroi` | 远程 Streamable HTTP 服务 `https://aifroi.com/mcp`,OAuth 2.0 + PKCE,支持动态客户端注册。提供档位报价、算力余额、素材上传、创建视频任务、查询进度与扣点等工具 |
| Skill `aifroi-video-plan` | 测款方向策划:从商品事实提炼核心卖点,给 2–5 条测款方向和分镜脚本;连接后附实时报价,不生成视频 |
| Skill `aifroi-product-video` | 新品首发出片:只有商品图和卖点时,策划分镜并生成带货短视频 |
| Skill `aifroi-element-swap` | 爆款复刻换品:保留同品类爆款原片的镜头和节奏,把商品、人物或场景换成自己的 |
| Skill `aifroi-script-video` | 按脚本出片:先体检用户已有的分镜脚本,再按脚本出片 |
| Skill `aifroi-reference-video` | 参考素材出片:混用参考图片、视频、音频或出镜人物出片 |
| Skill `aifroi-video-delivery` | 成片验收对账:查进度、刷新播放链接、核对本条扣点,把修改意见整理成方案 |

四个出片技能按用户手里的素材分工,由技能自己判断该走哪一个,不需要用户选择。插件不含 Hook、命令、子智能体或本地 MCP 进程。

## 怎么用

安装并启用插件后,直接描述需求即可,例如:

- 用 assets/product.jpg 这张商品图,主打保湿不油腻,帮我做一条 15 秒抖音带货视频,先给方案和报价
- 帮我给这款零食想 3 个千川测款方向,每个方向配分镜脚本
- 我的视频做好了吗?这条扣了多少算力

也可以在输入框输入 `/`,从「技能」分组里手动选用上面的技能。

不授权 Aifroi 也能用:所有技能都能交付卖点、测款方向、分镜脚本、拍摄清单、成片提示词和合规自查,只是不会给出价格、任务编号或成片链接。

### 授权 Aifroi 账号

1. 打开 **设置 → MCP 服务器**,在「插件提供的服务器」里找到本插件的 `aifroi` 服务,点 **打开授权**。ZCode 不会自己打开浏览器。
2. 在系统浏览器打开的 Aifroi 页面登录(没有账号可以当场注册),按需勾选“查询”“允许上传素材”“允许创建视频”。授权本身不扣算力。
3. 授权完成后 ZCode 会自动重连。已经打开的任务如果仍看不到 Aifroi 工具,在输入框发送 `/reload`。

撤销授权:在 Aifroi 网站的“已授权的应用”里撤销。

## 计费与新用户权益

- 插件免费安装;不授权时全部功能免费。
- 生成视频会扣除你自己 Aifroi 账号的算力。每次生成前,技能会先调用报价和余额接口,给出预计消耗和当前余额,**你回复确认后才会提交**;同一次确认不会重复下单。
- 新用户通过本插件授权时注册 Aifroi 账号,赠送 1 万算力(与邀请码新手礼包取较高值,不叠加)。实际余额以 Aifroi 返回为准。

## 依赖、网络访问与副作用

- **网络**:MCP 工具调用访问 `https://aifroi.com/mcp`;授权页在 `aifroi.com`;本地素材上传到 Aifroi 签发的一次性上传地址(`https://aifroi.com/api/mcp/upload/...`,10 分钟有效);成片通过 Aifroi 返回的对象存储签名链接播放或下载,链接有有效期,过期后可按原任务刷新。
- **模型与服务**:视频、图片的生成和素材分析都在 Aifroi 服务端完成,插件本身不调用其他模型或第三方 API。
- **写操作**:上传素材和创建视频都是写操作,只在你明确要求时执行;创建视频前必须由你确认报价。爆款复刻换品提交前还要确认与原视频商品同品类,并确认已获得原视频及人物素材的使用授权。插件不会自动批量生成、补单、退款或发布到任何平台。
- **命令执行**:只有在你让技能使用工作区里的本地文件或对话附件时,才会调用 `curl` 把原文件提交到上面的一次性上传地址(执行前按 ZCode 的权限设置请求确认)。不执行其他命令。
- **文件写入**:插件不写入工作区文件;只有你要求下载成片时,才会把成片保存到你指定的位置。
- **Hook**:无。
- **数据**:插件本体不含遥测。账号凭据由 ZCode 管理,不经过对话;技能不会索取 Token、Cookie、验证码或密码。上传的素材只用于你本人账号下的创作任务,见 [Aifroi 隐私政策](https://aifroi.com/privacy-policy)。

## 内容边界

只使用你提供的商品事实,不编造销量、功效或资质,不承诺投放效果。本插件辅助策划与制作,不替代平台审核和法务意见;成片投放前请人工复核平台规范、广告合规和素材授权。

## 来源与许可

- 技能、参考文档和图标由 Aifroi 编写并提供,不含第三方代码或素材。
- MCP 服务器是 Aifroi 自有的线上服务,使用受 [Aifroi](https://aifroi.com) 的服务条款和隐私政策约束。
Loading