#We're a rapidly growing business that offers features built on top of ElevenLabs services. The pace

1 messages · Page 1 of 1 (latest)

gloomy sailBOT
#
AI-generated Answer for domski_81098

Currently, ElevenLabs does not offer an official Ruby SDK. While there is no information available about plans to release one, you can explore alternative approaches to generate or integrate with the ElevenLabs API in Ruby.

Here are some recommendations you could try:

  1. Custom Wrapper: You can create a lightweight Ruby wrapper around the ElevenLabs API by directly using the API References. This approach involves manually implementing the required endpoints using an HTTP client like Net::HTTP, Faraday, or HTTParty.

  2. OpenAPI Generator: If previous attempts with OpenAPI generators were challenging, ensure you're using the latest version of the ElevenLabs OpenAPI specification and the Ruby generator. Fine-tuning the generator's configuration or manually adjusting the generated code might help address issues.

  3. Community Support: Consider joining ElevenLabs' Discord or other developer communities to connect with others who may have tackled similar challenges. They might share insights or even existing Ruby implementations.

  4. Enterprise Inquiry: If your business growth justifies it, you could reach out to the Enterprise team to discuss potential collaboration or support for your specific needs.

If none of these options are feasible, you may need to continue with your current workaround until a more robust solution becomes available.

echo juniper
#

@ancient ore i have implemented this solution in ruby as well, not exactly using a ruby sdk but doing a proxy python server. Do not try to do it in ruby, concurrency and websockets gems in ruby are buggy

gloomy sailBOT
#
AI-generated Answer for damuz91

Currently, there is no mention of plans for ElevenLabs to publish a Ruby SDK. However, you can still integrate ElevenLabs' APIs into your Ruby services by using alternative approaches. Since generating a Ruby SDK has proven challenging, here are a few recommendations:

  1. Proxy Python Server: As you mentioned, setting up a lightweight Python server to act as a proxy for handling API requests is a practical solution. Python's mature libraries for concurrency and WebSocket support make it a reliable choice. Your Ruby application can communicate with this Python server via HTTP or another protocol.

  2. Direct API Integration: Instead of relying on an SDK, you can directly interact with ElevenLabs' APIs using Ruby's HTTP libraries, such as Net::HTTP or Faraday. While this requires more manual effort, it gives you full control over the API calls.

  3. Custom SDK Generation: If you want to continue exploring SDK generation, you might try refining your OpenAPI or AsyncAPI specifications to better suit the generators. Tools like openapi-generator can sometimes be customized with templates to produce more usable Ruby code.

  4. Community Support: Consider reaching out to the ElevenLabs community, such as their Discord, for advice or shared solutions. Other developers may have tackled similar challenges and could offer insights.

If concurrency and WebSocket support are critical, and Ruby's libraries are proving unreliable, the proxy Python server might be your best option for now.

ancient ore