{"id":15462786,"url":"https://github.com/devidw/e11","last_synced_at":"2025-04-22T10:42:21.528Z","repository":{"id":237451176,"uuid":"695657589","full_name":"devidw/e11","owner":"devidw","description":"fully typed js/ts openapi client for elevenlabs api","archived":false,"fork":false,"pushed_at":"2024-01-11T02:06:27.000Z","size":48,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T00:51:08.568Z","etag":null,"topics":["elevenlabs","elevenlabs-api","elevenlabs-js","elevenlabs-node"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/e11","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devidw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-23T20:36:34.000Z","updated_at":"2024-09-20T21:50:17.000Z","dependencies_parsed_at":"2024-05-02T01:47:19.139Z","dependency_job_id":"4ab27ccf-4cb7-4a78-b9e9-ce8c751c0408","html_url":"https://github.com/devidw/e11","commit_stats":null,"previous_names":["devidw/e11"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Fe11","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Fe11/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Fe11/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Fe11/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devidw","download_url":"https://codeload.github.com/devidw/e11/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240420956,"owners_count":19798502,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elevenlabs","elevenlabs-api","elevenlabs-js","elevenlabs-node"],"created_at":"2024-10-02T00:04:42.704Z","updated_at":"2025-03-03T10:31:31.446Z","avatar_url":"https://github.com/devidw.png","language":"TypeScript","readme":"# elf ~ e11\n\nfully typed js/ts openapi client for elevenlabs api\n\n- https://api.elevenlabs.io/docs\n\n```bash\npnpm add e11\n```\n\n```ts\nimport { Configuration, TextToSpeechApi } from \"e11\"\nimport fs from \"fs\"\n\nconsole.assert(process.env.SOME_SECRET)\n\nconst apiConfig = new Configuration({\n  apiKey: process.env.SOME_SECRET,\n})\n\nconst tts = new TextToSpeechApi(apiConfig)\n\nconst res = await tts.textToSpeechV1TextToSpeechVoiceIdPost(\n  {\n    voiceId: \"21m00Tcm4TlvDq8ikWAM\",\n    bodyTextToSpeechV1TextToSpeechVoiceIdPost: {\n      text: \"helllo babeee\",\n      modelId: \"eleven_multilingual_v2\",\n    },\n  },\n  {\n    responseType: \"arraybuffer\",\n  }\n)\n\nconsole.log(res.statusText)\n\nfs.writeFileSync(\"output.mp3\", Buffer.from(res.data))\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevidw%2Fe11","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevidw%2Fe11","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevidw%2Fe11/lists"}