---
title: Getting Started with AI Gateway
product: vercel
url: /docs/ai-gateway/getting-started
canonical_url: "https://vercel.com/docs/ai-gateway/getting-started"
last_updated: 2026-08-22
type: tutorial
prerequisites:
  - /docs/ai-gateway
related:
  - /docs/ai-gateway/getting-started/text
  - /docs/ai-gateway/getting-started/image
  - /docs/ai-gateway/getting-started/video
  - /docs/ai-gateway/getting-started/realtime
  - /docs/ai-gateway/getting-started/speech
summary: Get started with AI Gateway by generating text, images, video, speech, or transcriptions, or by building realtime voice agents.
install_vercel_plugin: npx plugins add vercel/vercel-plugin
---

# Getting Started with AI Gateway

Choose a quickstart to set up a project and make your first request:


<!-- docsgraph:related -->
## Related pages

> **For AI agents:** Follow these links to understand how this page connects to the rest of the Vercel ecosystem. For the full cross-link map (inbound, outbound, prerequisites, and semantic neighbors), see the .graph.md link below.

- [How to build AI Agents with Vercel and the AI SDK](https://vercel.com/kb/guide/how-to-build-ai-agents-with-vercel-and-the-ai-sdk?from=related&source_path=%2Fdocs%2Fai-gateway%2Fgetting-started&source_site=vercel-docs&relationship=related) — Learn how to build, deploy, and scale AI agents on Vercel using the AI SDK. This guide covers calling LLMs, defining too
- [Build realtime voice agents on AI Gateway](https://vercel.com/blog/realtime-voice-agents-on-ai-gateway?from=related&source_path=%2Fdocs%2Fai-gateway%2Fgetting-started&source_site=vercel-docs&relationship=related)
- [Text Generation](https://vercel.com/docs/ai-gateway/modalities/text-generation?from=related&source_path=%2Fdocs%2Fai-gateway%2Fgetting-started&source_site=vercel-docs&relationship=related) — Generate and stream text from hundreds of models through AI Gateway, with tool calling and structured output.
- [Text to Speech](https://vercel.com/docs/ai-gateway/modalities/text-to-speech?from=related&source_path=%2Fdocs%2Fai-gateway%2Fgetting-started&source_site=vercel-docs&relationship=related) — Generate spoken audio from text with speech models through Vercel AI Gateway.
- [Image Generation](https://vercel.com/docs/ai-gateway/modalities/image-generation?from=related&source_path=%2Fdocs%2Fai-gateway%2Fgetting-started&source_site=vercel-docs&relationship=related) — Generate and edit images using AI models through Vercel AI Gateway with support for multiple providers and modalities.
- [Text Generation](https://vercel.com/docs/ai-gateway/sdks-and-apis/responses/text-generation?from=related&source_path=%2Fdocs%2Fai-gateway%2Fgetting-started&source_site=vercel-docs&relationship=related) — Generate text responses with the OpenAI Responses API through AI Gateway.
- [AI SDK for Python](https://vercel.com/docs/ai-gateway/sdks-and-apis/ai-sdk-python?from=related&source_path=%2Fdocs%2Fai-gateway%2Fgetting-started&source_site=vercel-docs&relationship=related) — Build AI-powered Python applications using the AI SDK for Python with AI Gateway for unified access to 200+ models.

Full cross-link map for this page: [/docs/ai-gateway/getting-started.graph.md](/docs/ai-gateway/getting-started.graph.md?from=related&source_path=%2Fdocs%2Fai-gateway%2Fgetting-started&source_site=vercel-docs&relationship=graph)
<!-- /docsgraph:related -->

**Text Generation**: Generate and stream text with GPT 5.6 Sol, Claude Opus 5, Gemini 3.7 Flash, Llama 4 Maverick, and 350+ more models. [Learn more →](/docs/ai-gateway/getting-started/text)

**Image Generation**: Create images from text prompts or edit existing images with Gemini 3.1 Flash Image, GPT Image 2, FLUX.2 \[flex], and more. [Learn more →](/docs/ai-gateway/getting-started/image)

**Video Generation**: Create videos from text prompts, images, or video input with Veo 3.1, Seedance 2.5, Kling v3.0, Grok Imagine, and more. Run them over a single request or as background jobs. [Learn more →](/docs/ai-gateway/getting-started/video)

**Realtime**: Build low-latency, speech-to-speech voice agents that listen and respond over WebSockets. [Learn more →](/docs/ai-gateway/getting-started/realtime)

**Speech**: Generate spoken audio from text and transcribe audio back to text with TTS-1, Whisper, and more. [Learn more →](/docs/ai-gateway/getting-started/speech)


---

[View full sitemap](/docs/sitemap)
