Tellers CLI to interact with tellers.ai from the terminal.
Build the CLI:
# Generate the client crate
scripts/generate_api.sh
# Build the CLI
cargo build --releaseSet your API key:
export TELLERS_API_KEY=sk_...Optional:
export TELLERS_API_BASE=https://api.tellers.aitellers "prompt"— displays a minimal chat TUI from a streamed responsetellers --full-auto --background "prompt"— starts a chat and prints only the chat id
Upload media files to Tellers:
tellers upload /path/to/media_folderCommon flags:
--disable-description-generation— Disable automatic time-based media description generation (enabled by default)--dry-run— Analyze files without uploading--force-upload— Upload files even if they were already uploaded--local-encoding— Enable local encoding before upload--parallel-uploads <N>— Number of parallel uploads (default: 4)--ext <EXT>— Filter files by extension (e.g.,--ext mp4 --ext mov)--in-app-path <PATH>— Set the in-app path for uploaded files
- Argument parsing via Clap 4.x. See
clapdocs: docs.rs/clap - Minimal TUI via Ratatui. See
ratatuisite: ratatui.rs - API client generated from OpenAPI spec using
openapi-generator. Seescripts/generate_api.sh.
Requires openapi-generator:
brew install openapi-generatorSpec location (update as needed): src/tellers_api/openapi.tellers_public_api.yaml
Generate the client crate:
scripts/generate_api.sh