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.
npm install -g openfun-cli
openfun login
Login opens a browser for auth. Token persists in ~/.openfun/config.json.
openfun trends --niche <niche> --count <n>
Returns trending content patterns in a niche. Use this to decide what to create.
openfun remix <trend-id> \
--brand "Brand Name" \
--tone casual \
--hook "Your custom hook" \
--cta "Your call to action"
Creates an original script based on a trending pattern, customized for the user's brand.
Options:
--brand — Brand or creator name--tone — casual, professional, humorous, motivational, educational--hook — Custom hook text (optional, auto-generated if omitted)--cta — Call to action (optional)--niche — Override niche from trendopenfun render <remix-id>
Kicks off video rendering. Returns a job ID. Rendering takes 30-90 seconds.
openfun videos
Lists all videos with their status (rendering, ready, failed).
openfun download <video-id> -o output.mp4
Downloads a rendered video as MP4.
openfun account
Shows plan, usage, and remaining credits.
# 1. Find what's trending in your niche
openfun trends --niche fitness --count 5
# 2. Pick a trend and remix it
openfun remix abc123 --brand "FitLife" --tone motivational
# 3. Render the video
openfun render def456
# 4. Check status
openfun videos
# 5. Download when ready
openfun download ghi789 -o fitness-video.mp4
--pretty for human-readable)openfun trends across multiple niches to find the best opportunities共 1 个版本