DocsLocal REST API
View .md

Complete HTTP REST API Endpoints

Full reference of all local HTTP endpoints served by DVE FX at http://127.0.0.1:8090 for Bitfocus Companion, Stream Deck, and vMix Shortcuts.

All endpoints below are served directly by the local DVE FX control server (http://127.0.0.1:8090 by default). Routes marked (localhost only) reject non-loopback LAN clients with 403 Forbidden.

Read, Setup & Catalogs (17)

Method Path Body Status Description
GET / — 200 Minimal read-only Engine Status, IP Transport Diagnostics & Bitfocus Companion connection page served on port 8090 (with local license activation modal for headless/non-vMix installs).
GET /api/v1/info — 200 Lightweight machine-readable capabilities, version, transport protocol, license edition, and switcher connection summary for Bitfocus Companion and ATEM/external controllers.
GET /api/v1/events — 200 Server-Sent Events (text/event-stream) pushing compact engine state, tally, active preset, graphic slot, look, and fader updates without high-rate polling.
GET /api/v1/telemetry — 200 Current engine FSM state, GPU frame-time and encode telemetry, active vMix state, discovered OMT/NDI sources, brand style, graphics, and setup readiness.
GET /api/v1/setup — 200 Live post-install vMix readiness report covering TCP 8099, OMT/NDI sources, Outputs 2–8, Display Quick Play / Transitions 2–4, and DVE FX Return.
GET /api/v1/presets — 200 Full 38-preset catalog (34 core presets plus stinger_1..stinger_4) grouped by category with snake_case IDs.
GET /api/v1/preview.bmp — 200 / 204 Latest live BGRA preview frame (Cache-Control: no-store) for Stream Deck or Bitfocus Companion thumbnails.
GET /api/v1/preview.png — 200 / 204 Lightweight RGBA PNG snapshot of the current Program Return frame (Cache-Control: no-store) for browser diagnostics, Bitfocus Companion button feedback, and remote controllers.
GET /api/v1/graphics — 200 Returns configured DVE Graphic Slots (0–3), speaker lower-third profiles and preferences, vMix graphics/overlays, and live alpha-capable NDI/OMT feeds.
GET /api/v1/backdrop/catalog — 200 Returns curated Broadcast Hero Stage presets, classic backdrops, and built-in gradient presets.
GET /api/v1/fx/catalog — 200 Returns all 12 parametric SDF mask shapes (MaskShape) and all 6 active GPU Color & Lens FX (StylizeFx, plus none) with defaults.
GET /api/v1/show_packs — 200 Returns all 18 curated broadcast Show Packs (Corporate, News, Sports, Awards, Utility) with tier-resolved transition dock kits and baked 3D Hero Stage indicators.
GET /api/v1/looks — 200 Returns built-in and custom saved DVE FX Looks (id, name, category/dock-kit metadata) for Bitfocus Companion dynamic look pickers.
GET /api/v1/sfx/catalog — 200 Returns all 8 bundled -14 LUFS 48 kHz broadcast SFX stems along with current per-preset and per-stinger audio trigger rules.
GET /api/v1/stingers — 200 Returns all 4 configurable 3D Broadcast Stinger slots ([StingerSlotConfig; 4]).
GET /api/v1/hotkeys — 200 Returns the active vMix-focused Windows desktop HotkeyConfig (enabled, slots[0..4]).
GET /api/v1/license — 200 Returns the workstation Machine ID, active Ed25519 license edition, update-eligibility date, and watermark status. (localhost only)

Transitions, Slots & Presets (8)

Method Path Body Status Description
GET /api/v1/transition/fader — 200 Returns live interactive manual T-Bar fader state (active, progress, preset, direction_flipped).
POST /api/v1/transition/fader { "progress": 0.5, "release": false, "preset": "geometric_wipe", "cancel": false } 200 Scrub, commit (release: true, >= 0.99), or cancel (cancel: true / <= 0.01) a live manual T-Bar transition.
POST /api/v1/transition TriggerRequest (optional) 202 Trigger a live Program DVE transition on DVE FX Return. Omit body or preset to fire the currently active preset and duration.
POST /api/v1/preview_fx TriggerRequest (optional) 202 Preview a DVE transition off-air on DVE FX Preview without touching Program. Omit body or preset to preview the active preset.
POST /api/v1/preview_fx/cancel — 202 Cancel an active Preview FX playback immediately.
POST /api/v1/preset { "preset": "whip_pan", "duration_ms": 600 } 200 Select the active transition preset (optional duration_ms clamped to 180..=3000).
POST /api/v1/pin_preset { "slot": 0, "preset": "curved_wall", "duration_ms": 750 } 200 Pin a preset to vMix dock bar slot 0..=3 with optional duration_ms.
POST /api/v1/slot/fire { "slot": 0, "duration_ms": null, "preview": false } 202 Fire whichever preset and duration are currently pinned to dock slot 0..=3, with optional duration_ms override and preview flag.

vMix Preset Stub Downloads (4)

Method Path Body Status Description
GET /api/v1/presets/vmix/return — 200 Downloads dvefx-return.vmix (Dual-Bus OMT 1.0 stub adding pre-muted DVE FX Return + DVE FX Preview with AudioAuto off).
GET /api/v1/presets/vmix/preview — 200 Downloads dvefx-preview.vmix (standalone OMT 1.0 DVE FX Preview stub for shows that already have Return).
GET /api/v1/presets/vmix/return-ndi — 200 Downloads dvefx-return-ndi.vmix (Dual-Bus Full NDI 6 stub for vMix).
GET /api/v1/presets/vmix/preview-ndi — 200 Downloads dvefx-preview-ndi.vmix (standalone Full NDI 6 DVE FX Preview stub).

Stage Studio, Backdrops & Live FX (12)

Method Path Body Status Description
POST /api/v1/brand BrandStyle 200 Update global Show Default BrandStyle (colors, borders, corner radius, shadow, glow, backdrop, 3D surface shape, shutter).
POST /api/v1/brand_override { "input_key": "<vmix-guid>", "brand": <BrandStyle | null> } 200 Set or clear (null) a per-vMix-input BrandStyle override (restricted LAN local file/GLB paths return 403).
POST /api/v1/backdrop/sync-vmix — 200 / 400 / 504 Render the active Broadcast Stage background to PNG and sync it into vMix as the managed DVE FX Stage BG input.
POST /api/v1/backdrop/upload { "filename": "stage.png", "data_base64": "...", "input_key": null } 200 / 400 / 504 Upload a local PNG/JPG/WebP image (max 16 MiB decoded) and apply it as the LocalFile backdrop on Show Default or input_key.
POST /api/v1/fx/stylize { "fx": "cinema_vignette", "intensity": 0.72, "param": 0.55, "lut_path": null, "full_canvas": true, "engage_live": true } 200 Activate or clear a GPU Color & Lens FX filter (including .cube Custom 3D LUTs via optional lut_path) on Show Default or a specific camera input_key.
POST /api/v1/fx/mask { "shape": "chamfer_octagon", "feather_px": 8.0, "invert": false, "full_canvas": false, "engage_live": true } 200 Apply one of 12 parametric broadcast SDF mask shapes to Show Default or a specific camera input_key.
POST /api/v1/show_pack { "pack_id": "boardroom_lounge", "apply_dock_kit": true } 200 Apply one of the 18 curated broadcast Show Packs, optionally binding its 4-transition dock kit and 3D stinger chassis finish.
POST /api/v1/look/recall { "id": "boardroom_lounge", "apply_dock_kit": false } 202 / 404 Recall any built-in Show Pack or custom saved Look by ID (id), optionally applying its transition dock kit.
POST /api/v1/framing { "input_key": null, "corner_pin": { "offsets": [[0.0, 0.0], [0.0, 0.0], [0.0, 0.0], [0.0, 0.0]] } } 200 Update per-source 4-corner planar perspective pin coordinates (corner_pin, or null to reset to identity).
POST /api/v1/wipe/upload { "filename": "matte.png", "data_base64": "data:image/png;base64,...", "input_key": null } 200 / 400 / 429 Upload a grayscale luma matte PNG (decoded off-thread to 512x288 R8Unorm) and activate GradientWipeMatte::Custom.
POST /api/v1/sfx/preset { "preset_key": "whip_pan", "sfx": { "mode": "auto", "stem_id": "chrome_speed_slash", "volume": 85, "offset_ms": 0 } } 200 Update or clear frame-locked Program-only SFX trigger settings for a transition preset.
POST /api/v1/sfx/auto_add { "stem_id": "fox_metal_slam", "target_key": "0", "is_stinger_slot": true } 200 / 400 / 504 Extract a bundled -14 LUFS SFX stem WAV, idempotently add it as a one-shot vMix AudioFile input (LoopOff, AudioAutoOff), and bind it.

3D Broadcast Stingers (2)

Method Path Body Status Description
POST /api/v1/stingers { "slot": 0, "config": <StingerSlotConfig> } 200 Update and persist one 3D Broadcast Stinger slot (slot 0..=3: template, PBR material, direction, handoff, vMix/local logo, depth, scale, duration).
POST /api/v1/stinger/fire { "slot": 0, "duration_ms": 750, "preview": false } 202 Fire Stinger slot 0..=3 live on Program (preview: false) or off-air on DVE FX Preview (preview: true).

Graphics, Lower Thirds & Overlay Bridge (10)

Method Path Body Status Description
POST /api/v1/mapping { "source_key": "<cam-guid>", "graphic_key": "<gfx-guid | auto | builtin | null>" } 200 Map a camera GUID to a specific vMix PNG/GT/VideoList graphic, "auto", "builtin", or null (hidden).
POST /api/v1/graphics/slot { "slot": 0, "config": <GraphicSlotConfig> } 200 Configure one of the 4 independent DVE Graphic Slots (slot 0..=3: vMix graphic, local file, or live NDI/OMT alpha feed).
POST /api/v1/graphics/slot/live { "slot": 0, "live": true } 200 Set (true/false) or toggle (null/omitted) live On-Air visibility of DVE Graphic Slot 0..=3.
POST /api/v1/graphics/slot/arm { "slot": 0, "armed": true } 200 Arm or toggle DVE Graphic Slot 0..=3 to transition automatically on the next DVE mix.
POST /api/v1/graphics/upload { "slot": 0, "filename": "bug.png", "data_base64": "..." } 200 / 400 / 504 Upload a PNG/WebP graphic file (max 16 MiB decoded) and bind it directly to DVE Graphic Slot 0..=3.
POST /api/v1/graphics/speaker { "source_key": "<cam-guid>", "prefs": <SpeakerGraphicPrefs> } 200 Update per-camera Box-Married Lower Third lifecycle and animation preferences.
POST /api/v1/graphics/speaker/live { "source_key": "<cam-guid>", "live": true } 200 Show (true), hide (false), or toggle (null/omitted) a camera's Box-Married Lower Third live on air.
POST /api/v1/graphics/overlay_bridge { "channel": 1, "rule": <VmixOverlayRule> } or { "config": <VmixOverlayBridgeConfig> } 200 Configure coordination rules for native vMix Overlay channels 1–4.
POST /api/v1/speakers Vec<SpeakerLowerThird> 200 Update lower-third speaker name and title profiles (capped at 32 entries).
POST /api/v1/active_speaker { "enabled": true, "threshold": 0.12, "hold_ms": 900, "glow_boost": 0.65, "scale_pop": 0.025, "border_tint_rgba": [0.22, 0.72, 1.0, 0.92] } 200 Configure audio-reactive Active Speaker border/glow highlighting and scale pop (threshold, hold_ms, glow_boost, scale_pop, border_tint_rgba).

Hotkeys, Transport, Handoff & vMix Control (14)

Method Path Body Status Description
POST /api/v1/hotkeys HotkeyConfig 200 / 400 Validate, normalize, apply live, and persist Windows desktop keyboard shortcuts to config.json. Rejects unknown keys or duplicate bindings with 400.
POST /api/v1/handoff { "mode": "motion_masked", "frame_delay_frames": 3, "apply_to_vmix": false } 200 Configure temporal handoff mode (motion_masked, frame_delay_sync, unmasked_cut) and optional vMix SetFrameDelay calibration.
POST /api/v1/transport { "protocol": "omt" | "ndi" | "auto" } 202 Switch the active IP video transport between OMT 1.0, Full NDI 6, or Auto (OMT + Full NDI 6) and persist to config.json.
POST /api/v1/discover — 202 Trigger an immediate OMT / NDI DNS-SD (mDNS) discovery refresh across the broadcast NIC.
POST /api/v1/vmix/bind_return — 202 Bind vMix's DVE FX Return input to the running DVE FX engine.
POST /api/v1/vmix/release — 202 Release Program from DVE FX Return back to the native vMix target input.
POST /api/v1/vmix/cut — 202 Send a native vMix CutDirect command over TCP 8099.
POST /api/v1/vmix/fade { "duration_ms": 500 } (optional) 202 Send a native vMix Fade command (defaults to 500 ms) over TCP 8099.
POST /api/v1/vmix/ftb — 202 Toggle native vMix FadeToBlack over TCP 8099.
POST /api/v1/vmix/create_layout { "kind": "2up_wide" } 202 Create one of 48 native vMix MultiView (including stock vMix geometries) or transparent Overlay PIP starter layouts (also accepts legacy aliases 2up, pip, 4up).
POST /api/v1/setup/complete { "completed": true } 200 Persist whether the first-run vMix Setup Checklist opens automatically on startup.
POST /api/v1/setup/open_presets — 202 Open the local folder containing dvefx-return.vmix and dvefx-preview.vmix in Windows Explorer. (localhost only)
POST /api/v1/benchmark/m0 { "cycles": 20 } 202 Run the M0 dormant-socket OMT wake latency benchmark (cycles clamped to 3..=200; skipped while live on air). (localhost only)
POST /api/v1/license { "license_key": "DVEFX-...", "refresh": false, "token": "DVEFX1...", "clear": false, "watermark_enabled": null } 200 / 400 / 422 / 504 Activate a license key online, refresh an existing activation, apply/clear a local Ed25519 token, or toggle trial rehearsal watermark preview. (localhost only)

Live Translate & Captions (5)

Method Path Body Status Description
GET /api/v1/translate/status — 200 Return sanitized DVE FX Live Translate & Captions telemetry and non-secret active configuration (never exposes service credentials or RTMP stream keys).
POST /api/v1/translate/start { "config": null } 202 / 422 Start DVE FX Live Translate & Captions, optionally applying an updated non-secret configuration.
POST /api/v1/translate/stop — 202 Gracefully stop DVE FX Live Translate & Captions, drain active audio/captions, and flush transcripts.
POST /api/v1/translate/clear_captions — 202 Immediately clear active burned-in, OMT, and CEA-608/708 captions.
POST /api/v1/translate/test — 202 Trigger the free 5-second bundled offline test voice & caption rehearsal.

Camera FX (5)

Method Path Body Status Description
GET /api/v1/camera_fx — 200 Return sanitized DVE FX per-camera Camera FX configuration (CameraFxConfig, including virtual backgrounds, skin touch-up, auto-reframe, and Color & Lens FX stylize) and live GPU/OMT telemetry (CameraFxTelemetry).
POST /api/v1/camera_fx/input { "input_key": "...", "config": { ... }, "remove": false } 202 / 400 Configure or remove DVE FX per-camera background blur/replacement, skin touch-up, auto-reframe, Color & Lens FX (stylize), and standalone OMT/NDI output for a vMix input. Combine matte/face effects with Color & Lens FX or run Color & Lens FX standalone.
POST /api/v1/camera_fx/reframe { "input_key": "..." } 202 / 400 Trigger a one-shot manual Auto-Reframe solve on the selected vMix input.
POST /api/v1/camera_fx/download — 202 Download and SHA-256 verify Camera FX effect assets into the local DVE FX cache.
GET /api/v1/presets/vmix/camera_fx ?key=<input_key>&protocol=omt|ndi 200 Download a ready-to-append .vmix OMT or Full NDI 6 input preset stub (DVE FX Cam - <Title>) for a configured Camera FX input.