Downloads · 30 days
0
LibraVDB/switchboard-video-v1
switchboard-video-v1 is a text classification model from LibraVDB. Use it when you need a label for a piece of text. It is set up for steady. The card lists the license as mit.
8-classifier pipeline for video generation prompt routing. Each model classifies one dimension of a video generation request: length, complexity, style, quality, camera movement, physics, reference modality, and cost…
Downloads · 30 days
0
Access
Public
Updated Jul 28, 2026
Repo size
410 MB
Likes
0
Public
Click a slice to open those files.
.bin410 MB · 89%
From the Hugging Face model README
8-classifier pipeline for video generation prompt routing. Each model classifies one dimension of a video generation request: length, complexity, style, quality, camera movement, physics, reference modality, and cost tier.
These models power switchboard, a zero-alloc AI proxy engine that classifies incoming prompts and routes them to the cheapest capable video generation provider.
POST /v1/chat/completions
→ extract user message
→ 8-classifier pipeline (~2ms)
→ logic-based routing rules
→ upstream provider (runway, openai, kling, stability)
| Model | Dimension | Labels | Size |
|---|---|---|---|
length.bin | Duration | short, medium, long, multi_stage | 51 MB |
complexity.bin | Scene complexity | simple, multi_subject, multi_stage | 51 MB |
style.bin | Visual style | photorealistic, cinematic, animation, 3d, motion_graphics | 51 MB |
quality.bin | Resolution / fidelity | basic, 4k, 8k, production-grade | 51 MB |
camera.bin | Camera movement | static, dolly, tracking, orbital, fpv | 51 MB |
physics.bin | Physical simulation | none, basic, particle, fluid, cloth | 51 MB |
refs.bin | Reference modality | none, image, video, audio, multi | 51 MB |
cost.bin | Cost tier | cheap, medium, expensive | 51 MB |
# Clone the switchboard repo
git clone https://github.com/xDarkicex/switchboard
cd switchboard
# Generate training data
./switchboard synth \
--preset ./presets/video/synth.yaml \
--real ./presets/video/real_prompts.yaml \
--per-intent 1500 --output ./presets/video/training.txt
# Train all 8 models
go run ./scripts/train-pipeline
Training data: 42,731 examples (231 human-annotated + 5,000 auto-tagged + 37,500 synthetic). 42,731 examples × 8 labels = 341,848 multi-label training lines.
import "github.com/xDarkicex/switchboard/internal/operator"
cfg := operator.PipelineConfig{
Style: operator.PipelineSlot{
ModelPath: "models/style.bin",
DefaultVal: "cinematic",
Labels: []string{"cinematic", "photorealistic", "animation", "3d", "motion_graphics"},
},
// ... 7 more dimensions
}
pipeline, _ := operator.NewPipeline(cfg)
defer pipeline.Close()
tags, _ := pipeline.Classify("Make a cinematic video of a dragon")
// tags.Style = "cinematic"
// tags.Length = "medium"
// tags.Cost = "medium"
MIT — same as switchboard.
@software{switchboard2026,
author = {xDarkicex},
title = {switchboard-video-v1: 8-classifier pipeline for video generation routing},
year = {2026},
url = {https://huggingface.co/LibraVDB/switchboard-video-v1}
}