Skip to content

Latest commit

 

History

History
83 lines (64 loc) · 2.36 KB

File metadata and controls

83 lines (64 loc) · 2.36 KB

Examples

Quick Workflows

Listicle from a trending topic

cat <<'JSON' | node --import tsx scripts/harness/brief-to-script.ts
{
  "topic": "5 things every dev should know about Docker",
  "archetype": "listicle",
  "outputPath": "output/examples/docker-tips/script.json"
}
JSON

Side-by-side comparison

cat <<'JSON' | node --import tsx scripts/harness/run-flow.ts
{
  "flow": "generate-short",
  "runId": "redis-vs-pg",
  "input": {
    "topic": "Redis vs PostgreSQL for caching",
    "audio": { "voice": "af_heart" },
    "visuals": { "provider": "pexels", "orientation": "portrait" },
    "render": { "fps": 30, "downloadAssets": true }
  }
}
JSON

Research-driven news video

cat skills/reverse-engineer-winner/examples/request.json | \
  node --import tsx scripts/harness/ingest.ts

AI-generated visuals (no stock footage)

Requires GOOGLE_API_KEY and NanoBanana config:

cat <<'JSON' | node --import tsx scripts/harness/run-flow.ts
{
  "flow": "generate-short",
  "runId": "nanobanana",
  "input": {
    "topic": "5 tips for writing better TypeScript",
    "visuals": { "provider": "nanobanana", "orientation": "portrait" }
  }
}
JSON

See NanoBanana + Ken Burns example for full config.

Full Walkthroughs

These examples show stage-by-stage pipelines with all options:

Runnable Examples

The fixtures/examples/ directory contains the repo's self-contained example packages you can run from source:

ls fixtures/examples/

Demo Gallery

See generated output samples in docs/demo/.