Skip to content

Benchmark Workflows

Benchmark workflows compare local and remote AI models side-by-side, producing quality reports with timing metrics, file sizes, and output files for manual inspection. Use them to evaluate provider quality before committing to a production pipeline.

Workflow: benchmarks/tts-quality

Generates the same narration with every available TTS model, producing side-by-side audio files and a quality summary.

Terminal window
# Auto-generate a script from a topic
fab-workflow benchmarks/tts-quality --input topic="The future of AI"
# Use a custom script
fab-workflow benchmarks/tts-quality --input script="Your custom narration text here..."
# Benchmark specific models only
fab-workflow benchmarks/tts-quality \
--input topic="AI agents" \
--input 'models=["elevenlabs-turbo", "kokoro-local"]'
NameModel IDLocal
elevenlabs-turboelevenlabs/eleven_turbo_v2_5No
fal-kokorofal-ai/kokoro/american-englishNo
kokoro-localkokoroYes
piperpiperYes
chatterboxfal-ai/chatterboxNo
ParameterTypeDefaultDescription
topicstring"The future of AI..."Topic to generate narration about
scriptstring""Direct narration text (skips generation)
modelslist[str][]Subset of models to benchmark (empty = all)
voice_genderstring"female"Voice gender

Produces individual audio files per model plus a JSON report with generation time and realtime factor metrics.


Workflow: benchmarks/lipsync-quality

Compares local vs remote lipsync models by applying the same video + audio pair across all providers.

Terminal window
fab-workflow benchmarks/lipsync-quality \
--input video_path=./portrait.mp4 \
--input audio_path=./narration.mp3
  • VEED (remote)
  • FAL (remote)
  • WAV2Lip (local)

Side-by-side video outputs plus a JSON report with timing and file size metrics for each provider.


Workflow: benchmarks/video-quality

Compares video generation models by producing 4-second clips with identical prompts across all providers.

Terminal window
fab-workflow benchmarks/video-quality \
--input prompt="A cat sitting on a windowsill watching rain"
  • FAL Veo (remote)
  • Seedance (remote)
  • Gemini Veo (remote)
  • WAN (remote/local)

Individual video clips per model plus a JSON report with resolution, FPS, duration, and generation time for each.