Search code examples
pythonibm-cloudwatson-assistant

IBM speech-to-text username and password issue


I'm working on an AI assistant, and for text-to-speech recognition in Python I used google, but it's way to slow and not really accurate. So I created an account in IBM and get text-to-speech credentials, but as you can see the format asks for the input, username and password but IBM migrated to API keys.

I don't know what should I put in username and password since I only have the key. What should I put there?

AI Text to speech


Solution

  • In general, there is a new IAM Authenticator wrapper / package / module which handles authentication for the services. You can see the IAM Authenticator in this Python text-to-speech sample.

    If you happen to use some API which requires username and password, then use apikey as username and the API key as password.