OpenFun — AI Video Factory
Create original viral short-form videos by reverse-engineering what works.
OpenFun is NOT a video clipper. It analyzes viral patterns (hook timing, pacing, emotional arc) and generates original content that hits the same beats.
Setup
CODEBLOCK0
Login opens a browser for auth. Token persists in ~/.openfun/config.json.
Commands
Find trending patterns
CODEBLOCK1
Returns trending content patterns in a niche. Use this to decide what to create.
Remix a trend
CODEBLOCK2
Creates an original script based on a trending pattern, customized for the user's brand.
Options:
- -
--brand — Brand or creator name - INLINECODE2 — casual, professional, humorous, motivational, educational
- INLINECODE3 — Custom hook text (optional, auto-generated if omitted)
- INLINECODE4 — Call to action (optional)
- INLINECODE5 — Override niche from trend
Render a video
CODEBLOCK3
Kicks off video rendering. Returns a job ID. Rendering takes 30-90 seconds.
Check video status
CODEBLOCK4
Lists all videos with their status (rendering, ready, failed).
Download a video
CODEBLOCK5
Downloads a rendered video as MP4.
Account info
CODEBLOCK6
Shows plan, usage, and remaining credits.
Typical Workflow
CODEBLOCK7
Agent Tips
- - All commands output JSON by default (add
--pretty for human-readable) - Exit codes: 0 = success, 1 = user error, 2 = API error
- Errors go to stderr, data to stdout
- No interactive prompts — fully automatable
- Run
openfun trends across multiple niches to find the best opportunities - Batch multiple remixes, then render them all
Plans
- - Free: 5 remixes/month + 3 watermarked videos/month
- Pro ($19/mo): 50 remixes + 20 videos + no watermark
- Scale ($49/mo): Unlimited remixes + 100 videos + priority rendering
Links
- - Website: https://www.openfun.ai
- CLI repo: https://github.com/andyluvis/openfun-cli
OpenFun — AI视频工厂
通过逆向工程分析爆款模式,创作原创的病毒式短视频。
OpenFun并非视频剪辑工具。 它分析病毒传播模式(钩子时机、节奏、情感曲线),并生成遵循相同节奏的原创内容。
安装
bash
npm install -g openfun-cli
openfun login
登录将打开浏览器进行身份验证。令牌保存在~/.openfun/config.json中。
命令
查找热门趋势
bash
openfun trends --niche <领域> --count <数量>
返回特定领域的热门内容模式。用于决定创作方向。
混搭趋势
bash
openfun remix <趋势ID> \
--brand 品牌名称 \
--tone casual \
--hook 自定义钩子 \
--cta 行动号召
基于热门模式创建原创脚本,并根据用户品牌进行定制。
选项:
- - --brand — 品牌或创作者名称
- --tone — casual(随意)、professional(专业)、humorous(幽默)、motivational(励志)、educational(教育)
- --hook — 自定义钩子文本(可选,省略则自动生成)
- --cta — 行动号召(可选)
- --niche — 覆盖趋势中的领域设置
渲染视频
bash
openfun render <混搭ID>
启动视频渲染。返回一个任务ID。渲染需要30-90秒。
检查视频状态
bash
openfun videos
列出所有视频及其状态(rendering渲染中、ready就绪、failed失败)。
下载视频
bash
openfun download <视频ID> -o output.mp4
将渲染完成的视频下载为MP4格式。
账户信息
bash
openfun account
显示套餐、使用量和剩余积分。
典型工作流程
bash
1. 查找你所在领域的热门内容
openfun trends --niche fitness --count 5
2. 选择一个趋势并进行混搭
openfun remix abc123 --brand FitLife --tone motivational
3. 渲染视频
openfun render def456
4. 检查状态
openfun videos
5. 就绪后下载
openfun download ghi789 -o fitness-video.mp4
智能体提示
- - 所有命令默认输出JSON(添加--pretty可读性更好)
- 退出代码:0=成功,1=用户错误,2=API错误
- 错误输出到stderr,数据输出到stdout
- 无交互式提示——完全可自动化
- 跨多个领域运行openfun trends以寻找最佳机会
- 批量创建多个混搭,然后统一渲染
套餐
- - 免费版: 每月5次混搭 + 3个带水印视频
- 专业版($19/月): 50次混搭 + 20个视频 + 无水印
- 规模版($49/月): 无限次混搭 + 100个视频 + 优先渲染
链接
- - 网站:https://www.openfun.ai
- CLI仓库:https://github.com/andyluvis/openfun-cli