Skip to main content
@gekoai/sdk ships a CLI, so you can use both directions of the API without writing code.
Set your key once:

Commands

say <text>

Synthesize text to a .wav file.

transcribe <file>

Transcribe a local audio file, or a public URL with --url.
Pass a file or --url, not both. Accepts any container ffmpeg reads (wav, mp3, m4a, flac, ogg, opus), up to 2 hours per request.
The transcript goes to stdout and the cost line to stderr, so redirecting captures only the text:

voices

List voices for a model (no key required).

models

List available text-to-speech models (no key required).

Global flags

Exit codes

Scripting examples

Generate a clip per line of a file:
Transcribe a directory of recordings into one transcript each:

Next steps

TypeScript SDK

The programmatic client behind the same CLI.

Authentication

Create a key and set GEKO_API_KEY.

Pick a voice

Browse the catalog and audition each voice.

Errors & retries

What each exit code maps to under the hood.