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/messagesendpoint. - 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
generateContentREST endpoint. - GeminiTextClient Providers
-
Gemini text generation over the
generateContentREST endpoint. - MistralTextClient Providers
-
Mistral text generation over the OpenAI-style
/v1/chat/completionsAPI. - OllamaTextClient Providers
-
Ollama local text generation over the
/api/chatendpoint. - OpenAiImageClient Providers
-
OpenAI image generation over the
/v1/images/generationsendpoint. - 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.