> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.merge.dev/merge-gateway/capabilities/multimodal/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server. # Multimodal > Build once. Connect to every API, tool, and LLM. Ship products and agents to production without owning the integration stack. ## Docs - [Multimodal](https://docs.merge.dev/merge-gateway/capabilities/multimodal/overview.md): Which endpoint and SDK surface handles each modality in Gateway, the inline size caps for media in chat requests, and how to find models that support each one. - [Images](https://docs.merge.dev/merge-gateway/capabilities/multimodal/images.md): Send images to vision-capable models on Gateway with the image_url or image content block, the OpenAI SDK, or AI SDK file parts. - [Documents](https://docs.merge.dev/merge-gateway/capabilities/multimodal/documents.md): Send PDF documents to document-capable models on Gateway as base64 or a URL with the document content block or AI SDK file parts. - [Image generation](https://docs.merge.dev/merge-gateway/capabilities/multimodal/image-generation.md): Generate images on Gateway with POST /v1/images/generations or inline on /v1/responses with image-capable chat models, and read per-token or per-image pricing. - [Image editing](https://docs.merge.dev/merge-gateway/capabilities/multimodal/image-editing.md): Edit images on Gateway with POST /v1/images/edits: the multipart request, reference images and masks, upload limits, errors, and image-input billing. - [Text to speech](https://docs.merge.dev/merge-gateway/capabilities/multimodal/text-to-speech.md): Generate speech on Gateway with POST /v1/audio/speech: raw audio bytes in the response, request fields, vendor-specific voices, and per-character billing. - [Speech to text](https://docs.merge.dev/merge-gateway/capabilities/multimodal/speech-to-text.md): Transcribe audio on Gateway with POST /v1/audio/transcriptions: the multipart request, the JSON transcript response, duration-based billing, and size limits. - [Live voice](https://docs.merge.dev/merge-gateway/capabilities/multimodal/live-voice.md): Connect to OpenAI GPT-Live (openai/gpt-live-1) through Gateway at wss://api-gateway.merge.dev/v1/live/sessions: authentication, session.start, delegation, per-second billing, limits, and close codes. - [Video generation](https://docs.merge.dev/merge-gateway/capabilities/multimodal/video-generation.md): Generate video on Gateway through the async POST /v1/videos job flow: submit a prompt with optional media, poll status, download the MP4, and read per-second billing.