---
agent:
  instructions: "Search the site by keyword or question. The search API returns Markdown."
  endpoint: "https://platform.invideo.io/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# LLM provider formats

> Switch chat and text generation code to a Platform endpoint.

## Use your existing provider code

Keep your chat protocol and replace the provider credentials with a Platform API key. Use an enabled Platform text model ID from [Models](/models).

Set your client’s base URL to the value below. Keep your request options and select your model in the field shown. [Chat format details](/docs/chat/formats)

| Format | Platform base URL | Authentication | Model ID goes in |
| --- | --- | --- | --- |
| OpenAI Chat | `https://platform-api.invideo.io/v1` | `Authorization: Bearer $INVIDEO_API_KEY` | Body `model` |
| OpenAI Responses | `https://platform-api.invideo.io/v1` | `Authorization: Bearer $INVIDEO_API_KEY` | Body `model` |
| Anthropic Messages | `https://platform-api.invideo.io` | `x-api-key: $INVIDEO_API_KEY` | Body `model` |
| Gemini | `https://platform-api.invideo.io` | `x-goog-api-key: $INVIDEO_API_KEY` | SDK `model` argument or REST path `/v1beta/models/{model-id}:…` |
| xAI | `https://platform-api.invideo.io/xai/v1` | `Authorization: Bearer $INVIDEO_API_KEY` | Body `model` |
| DeepSeek | `https://platform-api.invideo.io/deepseek/v1` | `Authorization: Bearer $INVIDEO_API_KEY` | Body `model` |
| Moonshot AI | `https://platform-api.invideo.io/moonshot/v1` | `Authorization: Bearer $INVIDEO_API_KEY` | Body `model` |
| Z.ai | `https://platform-api.invideo.io/z-ai/api/paas/v4` | `Authorization: Bearer $INVIDEO_API_KEY` | Body `model` |
| OpenRouter | `https://platform-api.invideo.io/openrouter/api/v1` | `Authorization: Bearer $INVIDEO_API_KEY` | Body `model` |
| BytePlus | `https://platform-api.invideo.io/byteplus/api/v3` | `Authorization: Bearer $INVIDEO_API_KEY` | Body `model` |
| Perplexity | `https://platform-api.invideo.io/perplexity` | `Authorization: Bearer $INVIDEO_API_KEY` | Body `model` |
| MiniMax | `https://platform-api.invideo.io/minimax/anthropic/v1` | `x-api-key: $INVIDEO_API_KEY` | Body `model` |
