KosmoKrator

ai

ElevenLabs CLI for Cron Jobs

Use the ElevenLabs CLI for cron jobs with headless JSON commands, schema discovery, credentials, and permission controls.

6 functions 4 read 2 write API key auth

ElevenLabs CLI for Cron Jobs

Schedule repeatable integration workflows from cron while keeping credentials in KosmoKrator config.

Use the headless CLI from cron when an operation should run without an interactive agent session. The ElevenLabs CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# ElevenLabs CLI for Cron Jobs
kosmokrator integrations:configure eleven-labs --set api_key="$ELEVEN_LABS_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call eleven-labs.elevenlabs_list_voices '{"limit":1,"page":1}' --json

Discovery Before Execution

Agents and scripts can inspect ElevenLabs docs and schemas before choosing a function.

kosmo integrations:docs eleven-labs --json
kosmo integrations:docs eleven-labs.elevenlabs_list_voices --json
kosmo integrations:schema eleven-labs.elevenlabs_list_voices --json
kosmo integrations:search "ElevenLabs" --json
kosmo integrations:list --json

Useful ElevenLabs CLI Functions

FunctionTypeParametersDescription
eleven-labs.elevenlabs_list_voices Read limit, page List available ElevenLabs voices. Returns voice names, IDs, labels, and preview URLs. Use this to discover voices for text-to-speech generation.
eleven-labs.elevenlabs_get_voice Read voice_id Get detailed information about a specific ElevenLabs voice by its ID, including name, labels, description, and preview URL.
eleven-labs.elevenlabs_generate_speech Write text, voice_id, model_id, stability, similarity_boost Generate speech audio from text using an ElevenLabs voice. Returns base64-encoded audio. Specify a voice ID and model, with optional stability and similarity boost settings.
eleven-labs.elevenlabs_generate_sound Write text, model_id Generate a sound effect from a text description using ElevenLabs. Returns base64-encoded audio. Describe the sound you want (e.g., "thunder rumbling in the distance").
eleven-labs.elevenlabs_list_models Read limit, page List available ElevenLabs models. Returns model IDs, names, descriptions, and capabilities. Use this to find the right model for speech or sound generation.
eleven-labs.elevenlabs_get_current_user Read none Get the current ElevenLabs user profile, subscription tier, and character usage information.

Automation Notes

Related ElevenLabs CLI Pages