elevenlabs-python icon indicating copy to clipboard operation
elevenlabs-python copied to clipboard

(request): Provide C# or .NET SDK

Open tozzi21 opened this issue 2 years ago • 0 comments

Attempting to replicate the Websockets demo in C# using standard ClientWebSocket()

{"text":" ","voice_settings":{"stability":0.5,"similarity_boost":0.8},"xi_api_key":"77024c905a5d730d60xxxxxxxxxxx"} {"text":"Say this sentence including space ","try_trigger_generation":true} {"text":""}

Response is always:

{"message":"Could not parse input message as JSON, ensure to send a valid JSON.","error":"input_message_json_decode_fail","code":1008}

Example code taken from the docs. Seems simple enough but error msg is not helpful. It is valid JSON.

How to resolve this streaming request error?

tozzi21 avatar Dec 12 '23 01:12 tozzi21