Hair & Liquid Mattes
9.4 ms / framePulls crisp alpha cutouts around hair, glass, and splashes without edge tearing.
UGCFansStudio & Ad EngineCombines Academica alpha matting, camera-aware background compositing, and frame-locked lip-sync into one automated ad production line.
Pulls crisp alpha cutouts around hair, glass, and splashes without edge tearing.
Bilateral temporal smoothing eliminates frame-to-frame mask chatter across fast pans.
Generates localized spoken variants from one studio creator capture.
Auto-frames moving subjects and products for paid social and storefront placements.
# Extract foreground alpha matte and relit studio compositecurl -X POST https://api.academica.sh/v1/vision/matte \-H "X-API-Key: ac_live_9f4b...837a" \-H "Content-Type: application/json" \-d '{"clip_id": "studio_take_04","aspect_ratios": ["9:16", "16:9"],"temporal_stabilize": true,"background_preset": "podium_warm"}'
{"clip_id": "studio_take_04","frames_processed": 180,"matte_edge_f1": 0.984,"temporal_flicker_score": 0.008,"exports": [{ "aspect": "9:16", "resolution": "1080x1920", "status": "ready" },{ "aspect": "16:9", "resolution": "1920x1080", "status": "ready" }],"elapsed_ms_per_frame": 9.4}
| Endpoint | Capability | Behavior |
|---|---|---|
| POST /v1/vision/matte | Foreground Cutouts | Returns per-frame PNG alpha masks and subject bounds for product and creator clips. |
| POST /v1/vision/video/step | Auto-Framing | Tracks active subjects across frames to keep 9:16 and 1:1 crops centered smoothly. |
| POST /v1/structr | Ad Brief Validation | Enforces structured script beats, brand guardrails, and compliance schemas before render. |