Inspiration

A lot of movies have great stories but also awkward or inappropriate scenes that make them uncomfortable to watch with family or in community spaces. We wanted a way to enjoy films without constantly reaching for the remote. As students, we also saw this as a cool technical challenge: can AI understand a movie well enough to intelligently fix it instead of just censoring it?

What it does

Halal Cut automatically detects inappropriate scenes in a movie and replaces them with short, funny, wholesome alternatives (like high-fives, fist bumps, or neutral cutaway moments), while keeping the rest of the story intact.

Instead of removing scenes entirely, Halal Cut preserves flow, timing, and context — so the movie still makes sense, just without the awkward parts.

How we built it

Extracted subtitles and audio to analyze dialogue and context

Used AI models to detect flagged scenes based on timing, dialogue, and visual cues

Pulled reference frames to maintain visual continuity

Generated short replacement scenes using text-to-video models

Reinserted the new scenes seamlessly back into the original video

The pipeline was designed to be modular, so detection, generation, and replacement can be improved independently.

Challenges we ran into

Identifying scenes where subtitles were “clean” but visuals were not

Keeping scene replacements short enough to feel natural

Maintaining consistent lighting, camera angles, and tone

Balancing cost, speed, and quality across different video generation models

Accomplishments that we're proud of

Built a full end-to-end pipeline from movie input to edited output

Successfully replaced scenes instead of just muting or cutting them

Designed prompts that produce context-aware, non-jarring replacements

Created something that’s both technically interesting and socially meaningful

What we learned

Multimodal AI (audio + text + vision) is essential for understanding real media

Scene replacement is much harder than scene removal — but far more powerful

Prompt quality matters just as much as model choice

Ethical media tools can still be fun, creative, and user-friendly

What's next for Halal Cut

User-customizable filters (family-friendly, kids mode, etc.)

Support for TV shows and streaming content

Better continuity using scene-aware video models

Browser or streaming-side integration for real-time filtering

Built With

Share this project:

Updates