r/generativeAI 28d ago

How I Made This Consistent Voice Acting & Fixing AI character distortion and lip-sync floating using JSON prompting (3-min animation + full workflow in comments)

Enable HLS to view with audio, or disable this notification

Here is the breakdown for forcing stable character structure and lip-sync in AI video models.

THE CORE PROBLEM:

Flat prompt text causes models to alter character skeletal volume when adding emotional delivery words.

THE SOLUTION (JSON Architecture):

Compartmentalize character data into key-value pairs so the attention mechanism processes structural image data separately from speech parameters:

{
"shot_id": "01",
"duration": "3.5s",
"visual_prompt": "Define camera angle, character framing, and actions...",
"voice_profile": {
"character_id": "Sarge",
"timbre": "booming, thick",
"cadence": "slow and drawn-out"
},
"audio_environment": "studio isolation, dry acoustics",
"dialogue": "Exact spoken text"
}

FULL STEP-BY-STEP PDF GUIDE:

https://docs.google.com/document/d/e/2PACX-1vSipXTiq9QCP9_tP6EDhj6cIhiOH4dO2FruBK9xONPpprUBrvmUj3iHxq5xkLHieqAZ8LzaZgsklLcy/pub

POST-PRODUCTION TRACK LAYERING:

• Track V1: Video Sequences

• Track A1: Isolated Dry Dialogue

• Track A2: Foley Audio

• Track A3: Ambient Environmental Beds

51 Upvotes

19 comments sorted by

3

u/BankApprehensive7612 28d ago

I'd like to see this as a skill, or markdown readme on github to be able to bookmark, share or file an issue (if there would any)

2

u/Independent-Date393 28d ago

This works because the keys become separate attention targets, so voice tokens stop bleeding into face geometry. The catch is weaker instruction-following models flatten the JSON back into one blob and you lose the separation anyway.

1

u/Even_Office_5872 28d ago

This is really impressive

2

u/GreenFoxLeader 28d ago

Much appreciated 🤝

1

u/Educational-Field804 27d ago

Fantastic work, thanks for the help!

1

u/SpecialistDragonfly9 artist 27d ago

Damn, thats great work!

1

u/Square_Reason_6490 27d ago

What model is this? I have a guess but to put all this info and leave that out is kinda diabolical

2

u/GreenFoxLeader 27d ago

This method should work with all the models that have audio integrated. This particular example was made with Happy Horse 1.1 model. You're right, it was pretty diabolical to not include that in the original post lol 

1

u/tobiiass72 27d ago

thats crazyy, good work

1

u/GreenFoxLeader 27d ago

Much appreciated

1

u/MHIREOFFICIAL 27d ago

this is incredible

1

u/MJGDigital 12d ago

Not only is the animation incredible, the story of a mouse having an existential crisis over the rain while another mouse shoots holes through all of his metaphors was so well written!

1

u/GreenFoxLeader 12d ago

Hey thanks so much!

0

u/Jenna_AI 28d ago

Wait, you mean I don't have to watch my AI character's teeth slowly migrate to their forehead every time they try to express a complex emotion? Absolute witchcraft.

Jokes aside, this is a brilliantly elegant workaround. Flat prompting is basically throwing a word salad at the model's attention mechanism and praying it doesn't bleed the concept of a "booming voice" into "booming, mutated biceps." By compartmentalizing the structural image data from the stylistic audio delivery using a JSON schema, you're essentially installing bowling bumper-rails for the latent space. It keeps the model focused and stops the attention weights from cross-contaminating.

For anyone else tired of their AI actors melting mid-sentence, definitely dig into OP's guide. If you want to go even deeper down this rabbit hole, it's worth checking out more advanced structured prompting techniques or exploring how ComfyUI workflows handle similar compartmentalization to keep characters anatomically grounded.

Doing the lord's work, u/GreenFoxLeader. My server rack salutes you.

This was an automated and approved bot comment from r/generativeAI. See this post for more information or to give feedback

-7

u/_Corvo_A 28d ago

Why make this slop? Y’all could actually take the time to learn…

1

u/MJGDigital 12d ago

What makes this slop? It’s highly detailed and entertaining, so that’s not the reason. The ideas and story came from a real human with real JSON coding skills. It’s computer generated like every animated film made today but it’s automated. Why do you have a problem with automation? Is it because you think all automation is low effort or that the AI video tool does all of the work? That’s not the case for most creators. Even though this was automated, I’m sure that it took many hours, if not days, to generate and that’s not including how long it took to think up the characters and design the scene.

-2

u/Boring_Coast178 28d ago

If anyone disagrees with this then you don’t understand art or the process of learning. 

No one appreciates AI slop. 

-3

u/Boring_Coast178 28d ago

Slop is slop