Efficient Script Analysis: Real-Time Data Extraction & DedupeEfficient Script Analysis: Real-Time Data Extraction & Dedupe
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
Upload a script and the AI pipeline pulls every production element — characters, extras, props, locations, time of day — out of every scene. Extraction runs in batches sized to balance throughput and context: five or six scenes per call, capped at fifty thousand characters, ninety seconds per batch. If the primary provider returns empty or invalid JSON, the chain falls back to a second provider, then a third, then to a per-scene retry. Output gets a separate validation pass to catch hallucinated entries and merge near-duplicates.
Character names go through a fuzzy dedup pass. Scripts that refer to the same person three different ways collapse to one entry without losing the underlying mentions. Results stream to the frontend in real time as each batch comes in. Every element is color-coded inline on the script with a sidebar that jumps to every occurrence.
Uploads dedupe by content hash. If two users upload the same script — common when a producer and a line producer are on the same project — the second upload short-circuits to the cached result. A distributed lock keeps the first run from being repeated under load. If the lock holder dies before producing a result, waiting workers fall back to running it themselves with a timeout.
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started