elevenlabs / elevenlabs-docs

Documentation for elevenlabs.io/docs
https://elevenlabs.io/docs
64 stars 276 forks source link

Issue on docs: edit-voice response type #315

Open bettiolo opened 3 months ago

bettiolo commented 3 months ago

Path: /api-reference/edit-voice

Response voices.edit shouldn't be of type any - Also, the npm package returns unknown for that method.

in reality, it returns something like { status: 'ok'} - we should document how it returns errors.

With status 400, response is:

Body: {
  "detail": {
    "status": "invalid_content",
    "message": "File file_3QelOuPiLO is corrupted. Please ensure it is playable audio."
  }
}