| { |
| "scene_type": "balanced", |
| "scene_type_config": { |
| "speech_prob": 1.0, |
| "music_prob": 1.0, |
| "ambience_prob": 1.0, |
| "sfx_range": [ |
| 2, |
| 6 |
| ], |
| "duck_music": true, |
| "duck_sfx": true, |
| "gain_offsets": { |
| "speech": 0.0, |
| "music": 0.0, |
| "ambience": 0.0, |
| "sfx": 0.0 |
| } |
| }, |
| "scene_plan": { |
| "events": [ |
| { |
| "timestamp": 25.5, |
| "description": "Wine glass clinking" |
| }, |
| { |
| "timestamp": 53.2, |
| "description": "Beer mug on table" |
| }, |
| { |
| "timestamp": 78.4, |
| "description": "Rustling paper bill" |
| }, |
| { |
| "timestamp": 115.0, |
| "description": "Fork scraping plate" |
| }, |
| { |
| "timestamp": 142.8, |
| "description": "Distant background laughter" |
| } |
| ], |
| "gemini_context": { |
| "music_tag": "confusion scape", |
| "ambience_cue": "Lively restaurant background with muffled chatter and clinking cutlery", |
| "events": [ |
| { |
| "sound": "Wine glass clinking", |
| "timestamp": 25.5 |
| }, |
| { |
| "sound": "Beer mug on table", |
| "timestamp": 53.2 |
| }, |
| { |
| "sound": "Rustling paper bill", |
| "timestamp": 78.4 |
| }, |
| { |
| "sound": "Fork scraping plate", |
| "timestamp": 115.0 |
| }, |
| { |
| "sound": "Distant background laughter", |
| "timestamp": 142.8 |
| } |
| ] |
| }, |
| "dialogue_duration_sec": 164.008, |
| "token_usage": { |
| "usage_metadata": { |
| "prompt_token_count": 4641, |
| "candidates_token_count": 180, |
| "total_token_count": 5643, |
| "cached_content_token_count": 3229 |
| }, |
| "model": "gemini-3-flash-preview" |
| }, |
| "scene_type": "balanced", |
| "scene_type_config": { |
| "speech_prob": 1.0, |
| "music_prob": 1.0, |
| "ambience_prob": 1.0, |
| "sfx_range": [ |
| 2, |
| 6 |
| ], |
| "duck_music": true, |
| "duck_sfx": true, |
| "gain_offsets": { |
| "speech": 0.0, |
| "music": 0.0, |
| "ambience": 0.0, |
| "sfx": 0.0 |
| } |
| }, |
| "has_music": true, |
| "has_ambience": true |
| }, |
| "critic_adjustments": { |
| "speech": { |
| "compressor": { |
| "threshold": -22, |
| "ratio": 4.0 |
| }, |
| "reverb": { |
| "type": "large_room", |
| "wet_amount": 0.2 |
| }, |
| "gain_db": 6.0 |
| }, |
| "music": { |
| "gain_db": -14.0, |
| "low_cut_hz": 180, |
| "reverb": { |
| "type": "large_room", |
| "wet_amount": 0.15 |
| } |
| }, |
| "ambience": { |
| "gain_db": -6.0 |
| }, |
| "sfx": { |
| "gain_db": -13.0, |
| "reverb": { |
| "type": "room", |
| "wet_amount": 0.017 |
| }, |
| "low_cut_hz": 100 |
| } |
| }, |
| "sfx_event_settings": { |
| "sfx_0": { |
| "gain_db": -2.0, |
| "reverb": { |
| "type": "small_room", |
| "wet_amount": 0.25 |
| } |
| }, |
| "sfx_1": { |
| "gain_db": 0.0, |
| "reverb": { |
| "type": "small_room", |
| "wet_amount": 0.2 |
| } |
| }, |
| "sfx_2": { |
| "gain_db": -5.0, |
| "reverb": { |
| "type": "dry", |
| "wet_amount": 0.0 |
| } |
| }, |
| "sfx_3": { |
| "gain_db": -6.0, |
| "reverb": { |
| "type": "small_room", |
| "wet_amount": 0.15 |
| } |
| }, |
| "sfx_4": { |
| "gain_db": -3.0, |
| "reverb": { |
| "type": "large_room", |
| "wet_amount": 0.4 |
| } |
| } |
| }, |
| "token_usage": { |
| "director": { |
| "usage_metadata": { |
| "prompt_token_count": 4641, |
| "candidates_token_count": 180, |
| "total_token_count": 5643, |
| "cached_content_token_count": 3229 |
| }, |
| "model": "gemini-3-flash-preview" |
| }, |
| "critic": { |
| "usage_metadata": { |
| "prompt_token_count": 5753, |
| "candidates_token_count": 591, |
| "total_token_count": 7227 |
| }, |
| "model": "gemini-3-flash-preview" |
| }, |
| "total_token_count": 12870 |
| }, |
| "outputs": { |
| "raw": null, |
| "rough": { |
| "stem_paths": { |
| "speech": "rough/speech.wav", |
| "music": "rough/music.wav", |
| "ambience": "rough/ambience.wav", |
| "sfx": "rough/sfx.wav" |
| }, |
| "mix_path": "rough/mix.wav", |
| "loudness": { |
| "integrated_lufs": -26.898926991612313, |
| "true_peak_dbtp": -11.002405654464509 |
| } |
| }, |
| "linear": { |
| "stem_paths": { |
| "speech": "linear/speech.wav", |
| "music": "linear/music.wav", |
| "ambience": "linear/ambience.wav", |
| "sfx": "linear/sfx.wav" |
| }, |
| "mix_path": "linear/mix.wav", |
| "envelope_path": "linear/gain_envelope.json", |
| "additivity_error": 0.0, |
| "loudness": { |
| "loudness_lufs": -16.661135185308417, |
| "true_peak_dbtp": -0.999854487670355 |
| }, |
| "additivity_error_pcm16": 0.0, |
| "peak_normalization": { |
| "applied": true, |
| "gain_db": -0.2629, |
| "target_peak_dbfs": -1.0, |
| "note": "shared gain on mix and all stems; preserves mix == sum(stems)" |
| } |
| }, |
| "release": { |
| "stem_paths": { |
| "speech": "release/speech.wav", |
| "music": "release/music.wav", |
| "ambience": "release/ambience.wav", |
| "sfx": "release/sfx.wav" |
| }, |
| "mix_path": "release/mix.wav", |
| "loudness": { |
| "integrated_lufs": -27.02089354833878, |
| "true_peak_dbtp": -13.333512634628716 |
| } |
| } |
| }, |
| "linear_additivity_verified": true |
| } |