{ "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": 4.5, "description": "lighter flick" }, { "timestamp": 18.2, "description": "distant wedding applause" }, { "timestamp": 32.0, "description": "crickets chirping softly" }, { "timestamp": 48.5, "description": "distant glass clinking" }, { "timestamp": 62.1, "description": "heavy suit fabric rustle" } ], "gemini_context": { "music_tag": "comedy", "ambience_cue": "distant wedding reception with muffled chatter and music", "events": [ { "sound": "lighter flick", "timestamp": 4.5 }, { "sound": "distant wedding applause", "timestamp": 18.2 }, { "sound": "crickets chirping softly", "timestamp": 32.0 }, { "sound": "distant glass clinking", "timestamp": 48.5 }, { "sound": "heavy suit fabric rustle", "timestamp": 62.1 } ] }, "dialogue_duration_sec": 69.66933333333333, "token_usage": { "usage_metadata": { "prompt_token_count": 2281, "candidates_token_count": 173, "total_token_count": 2982, "cached_content_token_count": 1633 }, "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": 3.5 }, "reverb": { "type": "open_field", "wet_amount": 0.1 }, "gain_db": 6.0 }, "music": { "gain_db": -13.5, "low_cut_hz": 160 }, "ambience": { "gain_db": -6.0 }, "sfx": { "gain_db": -6.0, "reverb": { "type": "room", "wet_amount": 0.016 } } }, "sfx_event_settings": { "sfx_0": { "gain_db": 1.0, "reverb": { "type": "dry", "wet_amount": 0.05 } }, "sfx_1": { "gain_db": -2.5, "reverb": { "type": "large_room", "wet_amount": 0.35 } }, "sfx_2": { "gain_db": 0.0, "reverb": { "type": "open_field", "wet_amount": 0.2 } }, "sfx_3": { "gain_db": -5.0, "reverb": { "type": "large_room", "wet_amount": 0.4 } }, "sfx_4": { "gain_db": -1.5, "reverb": { "type": "dry", "wet_amount": 0.1 } } }, "token_usage": { "director": { "usage_metadata": { "prompt_token_count": 2281, "candidates_token_count": 173, "total_token_count": 2982, "cached_content_token_count": 1633 }, "model": "gemini-3-flash-preview" }, "critic": { "usage_metadata": { "prompt_token_count": 3390, "candidates_token_count": 561, "total_token_count": 5009 }, "model": "gemini-3-flash-preview" }, "total_token_count": 7991 }, "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.766317653737268, "true_peak_dbtp": -8.97922257251942 } }, "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": -19.819898730924645, "true_peak_dbtp": -0.999854487670355 }, "additivity_error_pcm16": 0.0, "peak_normalization": { "applied": true, "gain_db": -1.3974, "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": -26.928386922216678, "true_peak_dbtp": -8.250292973447351 } } }, "linear_additivity_verified": true }