r/LargeLanguageModels • u/Square-Addendum3454 • Oct 08 '26
Using an LLM to write prompts for aivideoapi clips, how do I stop it drifting between scenes?
Small side project: a local LLM (Qwen 2.5 14B) writes scene prompts for short product clips, and I send those to aivideoapi to render 5 second shots. The problem is consistency. By scene 4 the model has changed the product color, the room, sometimes the person. I'm passing the previous prompts in context, about 1,500 tokens total. Is this just a context and temperature thing, or should I be using a structured JSON scene spec the model has to fill in every time?
1
Upvotes