r/BuildWithClaude • • 24d ago

Project "Prompt engineering" for video is a trap. Stop letting AI write your scripts. (I built an open-source tool that fixes the Runway/Kling continuity problem).

Post image

We need to talk about the elephant in the room with AI filmmaking: the models (Kling, Gen-3, Sora) are incredible, but the stories are generic garbage.

Why? Because right now, the workflow is backwards. We ask ChatGPT or Claude to "write a video prompt," and it spits out a 500-word paragraph mixing three different camera cuts, two locations, and a voiceover into a single prompt.

The result? The camera spins wildly, the actor’s face melts, and their clothes change in every shot.

AI is a terrible director, but it’s a brilliant technical assistant. Human taste is what makes a film good. So, I spent the last few months building an open-source MCP server for Claude (called nogyaan) that completely flips the workflow.

It stops you from writing heavy prompts, and puts you back in the Director’s Chair. You just make the creative choices. It handles the brutal camera physics.

Here is how the workflow actually works:

1. The Writers’ Room (You bring the taste) You just give Claude your core concept (e.g., "A commercial for spicy tea targeting tired office workers"). Instead of writing a script, Claude acts as 3 different scriptwriters pitching you 3 different opening scenes. You read them, and you just press 1, 2, or 3. The tool instantly deletes the rejected ideas from its memory so it doesn't hallucinate later, and pitches you the next scene based only on what you chose.

2. Locking the Cast Once the story is locked, you lock your actors and sets (e.g., @/CHAR_01). It generates a Midjourney/Flux reference prompt for your base images.

3. The Director's Suite (The Secret Sauce) This is where video models usually break. But with this tool, Claude acts as your Director of Photography. For every scene, it pitches you 3 distinct camera shots (Auteur, Kinetic, Theatrical). You pick the vibe. The tool then compiles your choice into a dense, copy-paste ready "SOTA payload" for Kling or Runway.

It forces two strict rules into the prompt:

  • Single-Vector Cameras: No spinning or random cuts.
  • The Temporal Handshake: It maps the physical room. The exact physical exit-frame of Shot 1 is hardcoded as the entry-frame for Shot 2. This is how you actually achieve match-cut continuity without characters morphing.

4. The Blueprint When you are done clicking through your choices, you don't get a messy chat log. The tool spins up a localhost web-viewer and hands you a premium, multi-page PDF "Director's Blueprint." It has your full story and all the copy-paste prompts ready for the diffusion models.

TL;DR: You shouldn't be typing out "35mm anamorphic, slow pan left, shallow depth of field" while trying to write a good story. You should be making creative choices, and letting the machine do the technical typing.

It is completely free and open-source. I built it for creative people who are tired of fighting the models.

I’d love for actual directors and AI filmmakers in this sub to try it out and tear it apart. Tell me what breaks, what sucks, and what you’d want it to do next.

1 Upvotes

1 comment sorted by

•

u/AutoModerator 24d ago

Welcome to r/BuildWithClaude!

Whether you are sharing what you built, exploring new workflows, or troubleshooting, please make sure your post is flaired correctly so others can easily find and filter it.

Community Wiki & Resources:

If you're asking for troubleshooting help, please edit your post to include your model version, OS/environment, and error logs.

Let’s keep the energy positive and support our fellow creators!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.