@api-emulator/elevenlabs
v0.2.2
Published
ElevenLabs provides voice AI APIs for text-to-speech, voices, models, generated audio history, and user subscription metadata.
Readme
@api-emulator/elevenlabs
ElevenLabs provides voice AI APIs for text-to-speech, voices, models, generated audio history, and user subscription metadata.
Use this emulator for local tests, CI, and offline agent runs. It keeps your tests separate from the production API.
Start the emulator
- Install the package.
npm install @api-emulator/elevenlabs- From this registry, start the emulator.
npx -p api-emulator api --plugin ./providers/@elevenlabs/api-emulator.mjs --service elevenlabsThe emulator uses the local URL that api-emulator prints. Set your client base URL to this local URL.
Supported API
The emulator source lists the supported local API endpoints.
Coverage
- Level:
stub - Meaning: This emulator has a small starter API.
- Evidence: starter surface with smoke coverage.
Credentials
Use a fixed bearer token or API key in each test. The emulator does not send these credentials to the provider.
Test data
Add repeatable test data to the provider configuration.
elevenlabs:
# Add provider-specific seed state here.