Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

400112 error on streaming.new #3

Open
flvlef opened this issue May 14, 2024 · 2 comments
Open

400112 error on streaming.new #3

flvlef opened this issue May 14, 2024 · 2 comments

Comments

@flvlef
Copy link

flvlef commented May 14, 2024

Hello there,

I'm able to get a token and both avatar and voice IDs but once starting I keep having 401 (400112) errors
Avatar and voice IDs are working just fine on the Web console at app.heygen.com/streaming-avatar.

@agmmnn
Copy link

agmmnn commented May 18, 2024

  • For avatars: Not every avatar is supported in the API. You can use some avatars from the avatar library like josh_lite3_20230714 or Lily_public_pro1_20230614. Also, you can upgrade your custom avatar to a streaming avatar for a certain fee, which will then be supported in both the API and the interface.
  • For voices: Use our v1/voice.list endpoint. If the voice returned has "support_realtime": true, then the streaming API supports that voice. [Screenshot]

@flvlef
Copy link
Author

flvlef commented May 28, 2024

Thank you @agmmnn ,
I have the following error while requesting v1/voice.list or v2/voices :
{"code":400599,"message":"Your account doesn't have API access"}
I do have an enterprise account with an API key works ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants