简介
基于 Vercel 官方 AI SDK v6 的权威开发指南,提供结构化输出、多模态 AI、MCP 工具等完整后端 AI 开发方案,助力开发者快速构建生产级 AI 应用。
原始描述
Build backend AI with Vercel AI SDK v6 stable. Covers Output API (replaces generateObject/streamObject), speech synthesis, transcription, embeddings, MCP tools with security guidance. Includes v4→v5 migration and 15 error solutions with workarounds. Use when: implementing AI SDK v5/v6, migrating versions, troubleshooting AI_APICallError, Workers startup issues, Output API errors, Gemini caching issues, Anthropic tool errors, MCP tools, or stream resumption failures.