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

The preview_url in the response of createVoiceFromPreview is null, even though it's [required] #101

Open
alexstyl opened this issue Nov 5, 2024 · 0 comments

Comments

@alexstyl
Copy link

alexstyl commented Nov 5, 2024

The docs say that the response of /v1/text-to-voice/create-previews has a (required) preview_url.

However, when I run the following code, the preview_url is always null.

const response = await elevenLabsClient.textToVoice.createVoiceFromPreview({
            voice_name: name,
            voice_description: voice_description,
            generated_voice_id: voice_id
        })
response.preview_url

I think this is a bug, given the [required] label on the docs. Can you clarify?

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

1 participant