πŸ“– AI Model Setup Guide

Step-by-step instructions to obtain base_url, endpoint (Model ID), and API Key from major AI providers, and configure them in OpenClaw Assistant

Quick Navigation
πŸ”₯ Volcengine 🟣 Tongyi Qianwen πŸ€– MiniMax 🎬 Kling AI
πŸ”₯

Volcengine (Doubao)

ByteDance Β· Volcano Ark Platform Β· OpenAI-compatible API

Register a Volcengine Account

Visit volcengine.com to register and complete identity verification.

Enable Volcano Ark Service

Go to the Volcano Ark Console. First-time users will be guided to enable the model service. Find the model you need (e.g., Doubao-1.5-pro) in the "Model Marketplace" and click "Enable".

Create an Endpoint

In the left menu, click "Endpoint Management" β†’ "Create Endpoint", select an enabled model, and note the generated Endpoint ID (format: ep-xxxxxxxx-xxxxx). This is the Model ID / Endpoint in OpenClaw Assistant.

Get API Key

In the left menu, click "API Key Management" β†’ "Create API Key". Copy and save it securely. This is the API Key in OpenClaw Assistant.

OpenClaw Config FieldValue
base_url https://ark.cn-beijing.volces.com/api/v3
Model ID / Endpoint ep-xxxxxxxx-xxxxx (your Endpoint ID)
API Key Key from API Key Management page
πŸ’‘ Tip: Volcano Ark uses the OpenAI-compatible protocol. Select "OpenAI Compatible" provider in OpenClaw Assistant. You can also use the model name directly (e.g., doubao-1.5-pro-32k) as Model ID without creating an endpoint.
🟣

Tongyi Qianwen (Alibaba Cloud)

Alibaba Cloud Β· DashScope Platform Β· OpenAI-compatible API

Register an Alibaba Cloud Account

Visit alibabacloud.com to register and complete verification.

Enable DashScope Service

Go to the Bailian Console. First-time users will be guided to enable DashScope. Once enabled, you can call the Qwen model series.

Get API Key

In the Bailian console, click your avatar (top-right) β†’ "API-KEY Management" β†’ "Create New API-KEY". Copy and save it securely.

⚠️ Note: Each account can have up to 3 active API Keys. Deleted keys cannot be recovered.
OpenClaw Config FieldValue
base_url https://dashscope.aliyuncs.com/compatible-mode/v1
Model ID / Endpoint qwen-plus / qwen-turbo / qwen-max
API Key Key from API-KEY Management (sk-xxxxxxxx)
πŸ’‘ Tip: Tongyi Qianwen provides an OpenAI-compatible mode. The base_url must use the compatible-mode path. Popular models: qwen-plus (best value), qwen-max (best quality), qwen-turbo (fastest).
πŸ€–

MiniMax

MiniMax Open Platform Β· OpenAI-compatible API

Register on MiniMax Platform

Visit platform.minimaxi.com to register and sign in.

Create an API Key

Go to "Account Management" β†’ "API Keys", select "Pay-per-use API Key" (supports all models), and copy the key from the popup.

⚠️ Note: The API Key is shown only once upon creation. Copy and save it immediately.

Get Group ID (Optional)

Go to "Account Management" β†’ "Account Info" β†’ "Basic Info" to find your Group ID. The OpenAI-compatible interface does not require the Group ID.

OpenClaw Config FieldValue
base_url https://api.minimax.chat/v1
Model ID / Endpoint MiniMax-M1 / MiniMax-Text-01
API Key Key from the API Keys page
πŸ’‘ Tip: MiniMax supports the OpenAI Chat Completions interface. Select "OpenAI Compatible" provider in OpenClaw Assistant. Recommended models: MiniMax-M1 (best overall) or MiniMax-Text-01 (best value).
🎬

Kling AI

Kuaishou Β· Video/Image Generation Β· Separate Application Required

Register on Kuaishou Open Platform

Visit the Kuaishou Open Platform to register a developer account and complete verification.

Create an App and Apply for Access

In the developer center, create an app, select "Kling AI Video Generation", and submit your application. Review typically takes 1-3 business days.

Get API Key and Secret Key

After approval, go to "Key Management" to generate your Access Key (API Key) and Secret Key. Both keys need to be saved.

OpenClaw Config FieldValue
base_url https://api.klingai.com
Model ID / Endpoint kling-v1 (text/image-to-video) or specific API path
API Key Access Key from Key Management
⚠️ Note: Kling API is primarily for video/image generation, not text chat. For text-based AI features, use Volcengine, Tongyi Qianwen, or MiniMax instead.
πŸ’‘ Tip: You can also access Kling through third-party API aggregation platforms like DuckAPI, which simplifies the setup process.
πŸ’‘

Configure in OpenClaw Assistant

After obtaining your API credentials, follow these steps

Open AI Configuration Panel

In OpenClaw Assistant, click "πŸ€– AI Configuration" in the left sidebar.

Select Provider Type

For Volcengine, Tongyi Qianwen, and MiniMax, select the "OpenAI Compatible" tab. Anthropic (Claude) and OpenRouter have dedicated tabs.

Fill in Three Fields

Enter the base_url, Model ID / Endpoint, and API Key obtained above into the corresponding fields, then click "πŸ’Ύ Save Config".

πŸ›’ Easier Alternative: Don't want to register with each provider? Use DuckAPI to get a unified API Key that works with all major models. Learn more β†’