IBM语音文本用户名和密码问题 [英] IBM speech-to-text username and password issue

查看:157
本文介绍了IBM语音文本用户名和密码问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用AI助手,并且我使用google进行Python中的文本到语音识别,但这是一种缓慢且不太准确的方法.因此,我在IBM中创建了一个帐户,并获得了文本语音转换凭证,但是如您所见,该格式要求输入,用户名和密码,但是IBM迁移到了API密钥.

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?

推荐答案

通常,有一个新的IAM Authenticator包装器/程序包/模块可以处理服务的身份验证.您可以在 Python文本中看到IAM身份验证器语音样本.

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.

如果您碰巧使用了一些需要用户名和密码的API,请使用 apikey 作为用户名,并使用API​​密钥作为密码.

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

这篇关于IBM语音文本用户名和密码问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆