Can 2.5 Pro TTS be generated via API?

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?

Hello PMA_John, woud it be possible to see your full request to the model? Sounds like a certain parameter is not supported and would love to help you get to the bottom of this.