Supported Features
The Aihubmix provider supports the following AI features, so your product is no longer limited to being LLM-driven:- Text Generation: Generate text content using various models
- Streaming Text: Real-time text streaming
- Image Generation: Create images from text prompts
- Vector Embeddings: Single and batch text embeddings
- Object Generation: Structured data generation
- Streaming Objects: Real-time structured data streaming
- Speech Synthesis: Text-to-speech
- Transcription: Speech-to-text
- Tools: Web search and other tools
Installation
Aihubmix is available in the@aihubmix/ai-sdk-provider
module. Install it via @aihubmix/ai-sdk-provider:
Provider Instance
You can import the default provider instance,aihubmix
, from @aihubmix/ai-sdk-provider
: