elevenlabs-python
elevenlabs-python copied to clipboard
(request): Provide C# or .NET SDK
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?