Providers topic

Providers

The concrete clients that talk to each provider's HTTP API and implement one or more capabilities. The registry maps a ProviderId to the client for a given capability, so you can pick the provider at runtime instead of naming a class in your code.

Classes

ClaudeTextClient Providers
Anthropic Claude text generation over the /v1/messages endpoint.
ElevenLabsSoundEffectClient Providers
ElevenLabs sound-effect synthesis: a JSON POST that answers with audio.
ElevenLabsSpeechClient Providers
ElevenLabs text-to-speech: a JSON POST that answers with audio bytes.
FluxImageClient Providers
FLUX image generation: a submit, then a poll-until-Ready, then a download.
GeminiImageClient Providers
Gemini image generation over the generateContent REST endpoint.
GeminiTextClient Providers
Gemini text generation over the generateContent REST endpoint.
MistralTextClient Providers
Mistral text generation over the OpenAI-style /v1/chat/completions API.
OllamaTextClient Providers
Ollama local text generation over the /api/chat endpoint.
OpenAiImageClient Providers
OpenAI image generation over the /v1/images/generations endpoint.
ProviderRegistry Providers
Resolves a ProviderId and ProviderCredentials to a concrete client.
SunoMusicClient Providers
Suno music generation: submit a task, poll a record, then download.
VeoVideoClient Providers
Google Veo video generation: a long-running predict job, then a download.

Enums

ProviderId Providers
The providers this package can talk to.