I’m not a programmer, but was able to get 2.5 Flash TTS working in Visual Studio with my API key to create audio from narration.
I changed the model to gemini-2.5-pro-preview-tts and am getting a 400 error: API call failed: 400 INVALID_ARGUMENT. {‘error’: {‘code’: 400, ‘message’: ‘This model only supports text output.’, ‘status’: ‘INVALID_ARGUMENT’}}
This is a TTS model. Wondering if there is a setting I need to change in my project or billing to allow use of this model? Is there something else I should be looking at instead?