Skip to content
vp.Ven Petrov
WorkAI demoWritingResourcesResume / CVAboutAt a glance
← Projects & notes
Between UsProject story · 5 min read

Between Us: keeping control of a generated film

A more emotional dialogue take still needed convincing acting and framing. I kept the alternatives, widened shots to reveal gestures and changed the workflow when its studio limited the films I wanted to make.

Ven PetrovLocal film workflow

I wanted Between Us to produce a conversation that felt specific to the scene: voices with tension, expressions that responded to it and gestures the viewer could actually see. Getting a generated clip back was only one step toward that.

The dialogue revisions gave me a take I preferred. The pictures raised different problems. One character looked less expressive, the framing was too close, and an edit hid a gesture that was already in the source. Later, the browser studio I had requested became a restriction on the situations and casts I wanted to create.

I worked with AI coding agents on the local workflow, using ElevenLabs for dialogue, MiniMax H3 through Replicate for video and HyperFrames for assembly. The film below is the 75.5-second wider edit with the original pilot cast and approved dialogue. Creative acceptance is still ongoing.

Your browser cannot play this video. Open the saved film.
Read the dialogue generation script ↗
The wider edit with the original cast, 75.5 seconds. This is a saved working version; the full acting and mouth-timing review remains open. The linked script is the generation input, not a verified transcript.

Keep the first take before trying another

The first script was short. I asked for a longer exchange with more emotion and information, and wording that fitted the situation being played.

For the pilot I chose Sarah and Roger as voices. Those were temporary choices. I wanted later episodes to support different casts and a manually entered voice ID.

After listening to the first dialogue take, I liked its direction but asked for more emotional charge. Before generating another, I asked to save the take we already had in case the next one was worse.

I preferred the louder revised delivery because it brought out Clara's frustration. For later arguments, I asked for a louder, faster direction so the verbal conflict felt more realistic. That was my judgement after listening; a timing check could not make that creative choice for me.

The take I kept, and the one I preferred

Original dialogue

Saved before trying a more emotionally charged version.

Your browser cannot play this audio.Original generation script ↗

Revised dialogue

The louder delivery I preferred for Clara’s frustration.

Your browser cannot play this audio.Revised generation script ↗
The same fictional dialogue, with revised delivery direction. Each link opens the matching fictional dialogue script. These are model inputs, not independently checked transcripts.

Both takes remain available. That lets the choice be heard, rather than leaving only the file that happened to be generated last.

Show the acting that is already in the shot

My reaction to the video was mixed. Clara's expressions and lip sync looked good to me. Adrian was less expressive, blurrier and weaker in mouth timing. I pointed out that the camera was too close and showed too little of the environment.

I asked for hands, posture and gestures that could carry more of the conflict. I also wanted the freedom to explore more realistic characters and different casts.

Inspecting the edit exposed a specific framing issue: all six Adrian shots had been enlarged by about 1.56 times. The source already contained a gesture that the delivered crop hid. A wider edit could bring that gesture back into view using the existing footage.

Your browser cannot play this video. Open the comparison.
Left: the wider edit. Right: the original crop. The saved comparison shows more of the hand, bag and kitchen without purchasing another performance. Playback is a 20.875-second excerpt; the poster is a still from the review.

The comparison keeps the original cast and dialogue, so the framing can be judged separately. At the shown moment, the wider frame includes the hand, bag and more of the kitchen. It shows what the crop changed. The still does not establish that every spoken word matches the mouth throughout the film.

There is also a separate recast edition with different character designs. Its ending uses one extra second of existing footage, making it 76.5 seconds. The version with the original timing was preserved too. These editions should remain distinguishable when comparing the work.

When the studio started limiting the work

I first asked for a private browser interface because a collaborator could not install Codex or run HyperFrames on their machine. I wanted them to be able to brainstorm and contribute without breaking the project files.

Once the studio existed, its fixed interface assumed two characters. I wanted to create different situations and casts. The work I wanted to speed up needed ordered, editable instructions and control over the LLMs.

I asked to remove the studio because it added complexity, and returned to directing the work in Codex. The workflow now has stage instructions and saved checkpoints. I can inspect the inputs to a stage and resume from it as the film changes.

Preserve the work behind each choice

The selected dialogue is a locked audio master. Shot timing refers to that recording, and generated video audio is muted during assembly. A review is bound to the exact audio, source clip and edit it covered. If an input changes, the affected review becomes stale.

Paid generation also needs a careful recovery path. A provider may accept a request, then its response can be lost before the local database saves the job ID. An audit found that window in the implementation; it was not evidence that I had actually been charged twice for a shot.

The revised code records responses in a disk journal and recovers an existing job where possible. An unknown outcome is held for investigation instead of automatically submitting another paid request. Offline crash tests check that losing a response does not trigger a second purchase.

The films, takes, comparisons and workflow are saved. The hardened release records 100 tests and a replay from preserved media. A complete normal-speed review of acting and mouth timing is still pending, along with new live provider trials and checks on another machine. Those are the next checks needed to judge the whole workflow, beyond the parts I can show here.

Project sources & checks
Creative direction

Original user feedback asks for longer, situation-specific dialogue, preservation of the earlier take, louder delivery, wider framing, gestures and flexible casts and voices.

Media on this page

Preserved original dialogue takes, the 75.5-second wider edit with the original pilot cast, a 20.875-second original/wider comparison and a frame comparison. These are existing production artifacts.

Other saved edition

The separate recast edition is 76.5 seconds, including 24 additional native ending frames. It uses different character designs from the wider original-pilot film shown here.

Workflow and recovery

Saved workflow instructions, immutable review bindings, a flushed provider-response journal and offline fault tests support revision and recovery. The hardened release records 100 tests and a replay using preserved media.

Current limits

Complete normal-speed acceptance of acting and mouth timing, new live provider trials and deployment to another machine remain pending.

On this page
Keep the first take before trying anotherShow the acting that is already in the shotWhen the studio started limiting the workPreserve the work behind each choiceSources & checks
ElevenLabsMiniMax H3HyperFramesRecoveryLLMs

Connected to this

All writing
Product-description comparison bench · Experiment

Where did the product description get that detail wrong?

Warloop: Echoes of Solmara · Project story

Warloop: turning generated character art into a playable prototype

Ven PetrovSoftware engineer · Barcelona
GitHub ↗LinkedIn ↗Email ↗

Find a project or a note

18 results

Transfutur ERP · ExperienceERP for transport and logisticsAs the sole engineer, I built an ERP from zero for transport and logistics. It supported roughly €5–6 million in annual invoicing across two offices, and I kept it running for about a year.Finance evidence desk · Project storyCan an AI reviewer improve a financial explanation?A finance review needs the right explanation as well as the right numbers. I tested one AI analyst, an added reviewer and self-review on the same public report. The added review produced fewer supported answers.Financial review lab · Project storyWhat contributed to an $86 million rise in operating income?I built a financial-report explorer around a question I could check: how did seven income-statement movements add up to an $86 million increase? The same source now supports comparisons of sales, cash flow and reported versus core results.MNQ time-series research · ExperimentA time-series model that failed on later dataA model gained about $2,351 in the research simulation, then lost about $1,728 in three later windows. I followed the experiment from data acquisition and time intervals to costs, evaluation and the decision to reject it for trading.Crude-oil narrative tracker · Project storyFollowing crude-oil news without losing the market numbersI used a short personal experiment to follow global events alongside crude-oil prices and position values. The prototype calculates the numbers before asking Claude Code for an assessment and keeps a limited recent history.NQ/MNQ backtest engine · Technical noteYesterday’s short was blocking today’s trades in the simulatorWhen input stopped before the scheduled close, the strategy forgot a position but a shared counter kept counting it. Closing the old position before resetting the day restored the trade record and released the block.Small-cap edge research · Project storyWhat would make a small-cap price pattern worth testing?I built a Python and DuckDB prototype to turn trading ideas into named tests, compare their costs and revisit them in later periods. The candidates deteriorated under further checks, and the source exposed a misleading pass flag.Gadgeon Europe applications · ExperienceConnected-device dashboards and mobile apps at Gadgeon EuropeThe dashboards let people monitor energy use and control connected devices through data from several APIs. My work covered customized Ionic and Angular apps, integrations, store releases and maintenance.ctxforge · Project storyctxforge: turn “add search” into a task an agent can build“Add search” leaves decisions about data, matching and behavior unanswered. I built an editable toolkit that asks an LLM to uncover those requirements and show its assumptions before a coding agent starts.Sociedades Inactivas enquiries · Technical noteAn enquiry should survive a failed emailA failed notification should not make someone submit the same enquiry twice. The implemented form keeps the saved request and its reference while email delivery is retried; live activation is still pending.Astro local-services website · Project storyKeeping local service pages and their FAQs consistentA city page should only offer services enabled for that location. I used shared Astro templates with explicit availability rules, and one FAQ selection for both the visible page and its structured data.3D Spaces website migration · Project storyMoving 3D Spaces without moving its mailboxThe website could move to Next.js and Vercel, while email still depended on the old host. I carried over the pages, enquiry flow and analytics, then checked what the cutover had actually preserved.Capture CRM · Project storySave the listing now, connect the person when the details arriveA classified listing may arrive before its phone number or contact name. Capture CRM keeps those records separate, then lets a later capture complete the existing listing and bring contact status back to the browsing page.Product-description comparison bench · ExperimentWhere did the product description get that detail wrong?A product description can go wrong when the image is read or when the copy is written. This local bench exposes both steps, lets me switch models and records request measurements. A matched quality comparison is still unfinished.Between Us · Project storyBetween Us: keeping control of a generated filmA more emotional dialogue take still needed convincing acting and framing. I kept the alternatives, widened shots to reveal gestures and changed the workflow when its studio limited the films I wanted to make.Restaurant-service voice agent · ExperimentDesigning a restaurant-service call around the real offerThe first correction was the offer: a paid service had become a free visit in one draft. I then compared how the Spanish voice-agent prompts handled new speakers, technical limits and booking results.Vapi and Telnyx voice integration · Technical noteThe Vapi agent could speak, but it could not hear me clearlyI could hear the assistant, but it could not understand my distorted audio. Three codec tests changed the connection behavior and brought the greeting back; the caller-audio problem remains unresolved.Warloop: Echoes of Solmara · Project storyWarloop: turning generated character art into a playable prototypeGood-looking character images became tiny figures, a backwards walk and misplaced bosses in the game. I worked through the gap between generated art and playable behavior.
esc to close · Tab to move through results