v0.5.0
Released November 30, 2026
v0.5.0 follows v0.4.0 with a focus on new models: Alibaba Wan video, Amazon Bedrock Nova Canvas, Google speech translation over Gemini Live, Vertex-native image and embedding models, Gateway speech, Cartesia realtime Ink, plus expanded catalogs of image, speech, and language model IDs on Fal, TogetherAI, Groq, ElevenLabs, and QuiverAI. ElevenLabs also gains streaming speech and Scribe v2 realtime transcription.
dotnet add package Vercel.AI --version 0.5.0The Mistral LiveKit adapter is a separate package and targets net10.0 only:
dotnet add package Vercel.AI.Mistral.LiveKit --version 0.5.0Vercel.AI still targets net10.0 and netstandard2.0.
The full changelog is on the GitHub release. Compare: v0.4.0…v0.5.0.
New models at a glance
Section titled “New models at a glance”| Provider | What’s new | How to call it |
|---|---|---|
| Alibaba | Wan video models: text-to-video, image-to-video, reference-to-video, and the all-in-one wan3.0-video |
AlibabaProvider.Create().Video("wan3.0-video") or "wan2.7-t2v" |
| Amazon Bedrock | Nova Canvas image generation (file and mask inputs, up to 5 images per call) | AmazonBedrockProvider.Create().Image("amazon.nova-canvas-v1:0") |
| Speech translation over the Gemini Live API | SpeechTranslationModel("gemini-3.5-live-translate-preview") |
|
| Google Vertex | Vertex-native image and embedding models | ImageModel("gemini-3-pro-image-preview"), EmbeddingModel("gemini-embedding-2") |
| Gateway | Speech models, plus a Transcription alias |
Speech("openai/tts-1"), Transcription(id) |
| Cartesia | Realtime Ink speech-to-text | RealtimeModel("ink-2") or ExperimentalRealtime.Model("ink-2") |
| Fal | Catalog of image and speech model IDs (video IDs were already in v0.4.0) | ImageModel("fal-ai/flux/dev"), SpeechModel("fal-ai/minimax/speech-02-hd") |
| TogetherAI | Image catalog, including FLUX.2 and Gemini 3 image | ImageModel("black-forest-labs/FLUX.2-pro") or "google/gemini-3-pro-image" |
| Groq | Language model catalog (Llama 4, GPT-OSS, Kimi, Qwen, and others) | LanguageModel("openai/gpt-oss-120b") or "llama-3.3-70b-versatile" |
| ElevenLabs | Streaming speech and dialogue, Scribe v2 realtime transcription, and a full speech catalog | SpeechModel("eleven_flash_v2_5") with StreamSpeech; TranscriptionModel("scribe_v2_realtime") |
| QuiverAI | Image catalog for the Arrow 1 family (Arrow 2 language models were already in v0.4.0) | ImageModel("arrow-1.1") or "arrow-1.1-max" |
Every provider except the LiveKit adapter still ships in the one Vercel.AI package. String model ids on AiClient continue to go to the Vercel AI Gateway by default.
Alibaba Wan video
Section titled “Alibaba Wan video”Alibaba now has a video model, in addition to the existing chat and embedding APIs (#1897). Video and VideoModel talk to the DashScope native endpoint (default https://dashscope-intl.aliyuncs.com), not the OpenAI-compatible chat base URL. The provider id is alibaba.video. The API key is ALIBABA_API_KEY, with DASHSCOPE_API_KEY as a fallback.
Known video IDs:
- Text-to-video:
wan2.6-t2v,wan2.5-t2v-preview,wan2.7-t2v,wan2.7-t2v-2026-06-12 - Image-to-video:
wan2.6-i2v,wan2.6-i2v-flash - Reference-to-video:
wan2.6-r2v,wan2.6-r2v-flash,wan2.7-r2v,wan2.7-r2v-2026-06-12 - All-in-one:
wan3.0-video(the mode comes from the media on the request)
GenerateVideoRequest.Model is IVideoCaller?. Video returns IVideoModel, so the call site casts. Prompt is a VideoPrompt, not a string.
using Vercel.AI.Alibaba;using Vercel.AI.Operations;
var alibaba = AlibabaProvider.Create();var video = await GenerateVideo.GenerateVideoAsync( new GenerateVideoRequest { Model = (IVideoCaller)alibaba.Video("wan3.0-video"), Prompt = new VideoPrompt("A lantern festival at night, seen from a crowded river"), });Other IDs are sent through. Wan 2.6 and earlier use the legacy DashScope protocol; Wan 2.7 and Wan 3.0 use later protocols with resolution tiers and different media slots.
Amazon Bedrock Nova Canvas
Section titled “Amazon Bedrock Nova Canvas”Amazon Bedrock gains an image model (#1809). The catalog entry for amazon.nova-canvas-v1:0 allows file inputs, mask inputs, and up to five images per call. Other image IDs are accepted with unknown capabilities. Image returns AmazonBedrockImageModel, which implements IImageCaller, so no cast is needed. Size is a 1024x1024-style string. Credentials follow the existing Bedrock provider (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and region).
using Vercel.AI.AmazonBedrock;using Vercel.AI.Operations;
var bedrock = AmazonBedrockProvider.Create();var image = await GenerateImage.GenerateImageAsync( new GenerateImageRequest { Model = bedrock.Image("amazon.nova-canvas-v1:0"), Text = "A red kayak on a still alpine lake at sunrise", Size = "1024x1024", });Google speech translation
Section titled “Google speech translation”Google adds a speech translation model over the Gemini Live API WebSocket (#1934). The model id is gemini-3.5-live-translate-preview. The provider id is google.generative-ai.speech-translation. The API key is GOOGLE_GENERATIVE_AI_API_KEY.
SpeechTranslationModel returns ISpeechTranslationModel. StreamTranslateRequest.Model is ISpeechTranslationCaller?, so the call site casts. TargetLanguage is required. Input audio must be 16 kHz 16-bit PCM (new AudioFormat("audio/pcm", 16000)). Gemini Live auto-detects the source language and always outputs 24 kHz 16-bit PCM: setting SourceLanguage or OutputAudioFormat adds an unsupported warning and is not sent.
using Vercel.AI.Google;using Vercel.AI.Operations;
var audio = new AudioChunkStream();var result = StreamTranslate.Start( new StreamTranslateRequest { Model = (ISpeechTranslationCaller) GoogleProvider.Create().SpeechTranslationModel("gemini-3.5-live-translate-preview"), Audio = audio, InputAudioFormat = new AudioFormat("audio/pcm", 16000), TargetLanguage = "es", });
audio.Write(pcm16kHzChunk); // byte[] of 16 kHz 16-bit PCMaudio.Complete();
var translation = await result.TranslationText;Write 16 kHz PCM chunks with AudioChunkStream.Write, then Complete(). TranslationText and SourceText complete when the stream finishes.
ElevenLabs streaming speech
Section titled “ElevenLabs streaming speech”v0.4.0 generated ElevenLabs speech, music, sound effects, and dialogue as one buffered result. v0.5.0 adds WebSocket streaming speech and text-to-dialogue streaming (#1835), plus Scribe v2 realtime transcription (scribe_v2_realtime) (#1916). The speech catalog now lists the known IDs, including eleven_flash_v2_5, eleven_v4, eleven_v3, music_v2_5, and eleven_text_to_sound_v2 (#1736).
StreamSpeechRequest.Model is IStreamingSpeechCaller. SpeechModel returns ISpeechModel, so the call site casts, as in examples/StreamSpeechElevenLabsBasic.
using System.Runtime.CompilerServices;using Vercel.AI.ElevenLabs;using Vercel.AI.Operations;
var result = StreamSpeech.Start( new StreamSpeechRequest { Model = (IStreamingSpeechCaller) ElevenLabsProvider.Create().SpeechModel("eleven_flash_v2_5"), TextStream = TextDeltas(), OutputFormat = new SpeechAudioFormat("audio/mpeg"), });
await foreach (var chunk in result.AudioStream){ // write chunk to a file or a playback buffer}
static async IAsyncEnumerable<SpeechTextPart> TextDeltas( [EnumeratorCancellation] CancellationToken cancellationToken = default){ foreach (var delta in new[] { "Hello from the AI SDK! ", "This sentence is streamed in pieces." }) { yield return delta; await Task.Yield(); }}eleven_v3* and eleven_v4* ids stream only as dialogue. Set providerOptions.elevenlabs.dialogue.voices, and name the speaker on each SpeechTextPart. eleven_v3_conversational accepts exactly one voice. Plain speech streaming, as in the sample above, uses an id such as eleven_flash_v2_5. See examples/StreamSpeechElevenLabsDialogue and examples/StreamSpeechElevenLabsStreamText.
Music ids (music_*, for example music_v2_5) and sound-effect ids (eleven_text_to_sound*, for example eleven_text_to_sound_v2) do not stream. Generate them with GenerateSpeech.GenerateSpeechAsync. eleven_monolingual_v1 and eleven_multilingual_v1 do not support streaming. The API key is ELEVENLABS_API_KEY.
Fal, TogetherAI, Groq, and QuiverAI catalogs
Section titled “Fal, TogetherAI, Groq, and QuiverAI catalogs”These providers could already accept string model IDs. v0.5.0 adds catalogs so known IDs get documented capabilities and provider options.
- Fal (#1737): 56 image IDs (for example
fal-ai/flux/dev,fal-ai/flux-pro/kontext,fal-ai/qwen-image,fal-ai/imagen4/preview,fal-ai/ideogram/character) and 7 speech IDs (for examplefal-ai/minimax/speech-02-hd,fal-ai/dia-tts,resemble-ai/chatterboxhd/text-to-speech). The catalog also lists transcription IDswhisperandwizper, and the video IDs from v0.4.0 (luma-dream-machine,luma-ray-2, and others). - TogetherAI (#1984): image IDs including
black-forest-labs/FLUX.2-pro,black-forest-labs/FLUX.2-flex,black-forest-labs/FLUX.2-dev, the FLUX.1 Kontext family, andgoogle/gemini-3-pro-image. - Groq (#1937): documented language IDs such as
llama-3.3-70b-versatile,meta-llama/llama-4-maverick-17b-128e-instruct,openai/gpt-oss-120b,moonshotai/kimi-k2-instruct-0905, andqwen/qwen3.6-27b. Browser search is supported on model ids that start withopenai/gpt-oss. - QuiverAI (#1731, #1777): image IDs
arrow-1,arrow-1.1,arrow-1.1-max, plusarrow-2andarrow-2-telos. Language IDs remainarrow-2andarrow-2-telos.
Other model APIs
Section titled “Other model APIs”- Google Vertex now uses Vertex-native image and embedding models (#1931). Image IDs must start with
gemini-.gemini-embedding-2andgemini-embedding-2-previewuse the:embedContentendpoint; other embedding IDs use:predict. - Gateway adds
Speech/SpeechModel(both threw in v0.4.0) and aTranscriptionalias of the existingTranscriptionModel. Call speech withSpeech("openai/tts-1")(#1921). - Cartesia adds realtime Ink models:
CartesiaProvider.Create().RealtimeModel("ink-2")(#1909). - Mistral adds
Chat(modelId), andLanguageModelnow returns thatMistralChatLanguageModel.Conversationis unchanged (#1953).
Also in this release
Section titled “Also in this release”GenerateTextOptions.MaxRetriesretries each model call and throwsRetryErrorwhen retries are exhausted (#2053).GenerateObjectOptions<T>.Transformruns after schema validation onGenerateObjectAsync. For an array output it runs once per element, and it cannot make an invalid value valid (#2066).- Stopping a
StreamObjectAsyncreader (PartialObjectStream,TextStream,ElementStream, orFullStream) before the end cancels the model stream (#1725). - Image models report
SupportsFileInputsandSupportsMaskInputs, and an image model can be wrapped withWrapImageModel(#2017). - MiniMax gains typed provider options (#2012).
- A single server-sent event is limited to 64 MiB. OpenAI Responses, xAI Responses, and Gateway video result events allow 512 MiB (#2056).
Behavior changes
Section titled “Behavior changes”Transcribe.TranscribeAsync accepts a transcription model passed through Model only when that model reports specification v4 (case-insensitive). A v2 or v3 model throws UnsupportedModelVersionException. A model resolved from ModelId is not version-checked (#2072).
Calling LanguageModel on a provider that has no language models throws NoSuchModelError (#1790).
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product