Getting Started
By modifying the configuration, you can use the OpenAI SDK or softwares compatible with the OpenAI API to access the DMind API.
base_url*
api_key
* To support compatibility, you may also use https://brainchat.dmind.ai/v1. The
v1path refers to the API version, not the model version.
Also, the dmind models will be available through OpenRouter, allowing you to integrate it directly via OpenRouter-supported platforms and tools.
base_url*
https://openrouter.ai/api/v1 (managed by OpenRouter
api_key
Use your OpenRouter API key from your OpenRouter account
model
dmind/dmind-1
Invoke the Chat API
Once you have your API key, you can begin making your first DMind Model request using standard HTTP methods. Below is a simple example using curl for non-streamed output.
curl -X POST https://brainchat.dmind.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <Your API Key>" \
-d '{
"model": "dmind/dmind-1",
"messages": [
{"role": "user", "content": "What’s trending on Base chain?"}
],
"stream": false
}'For OpenRouter users:
Model ID:
dmind/dmind-1Works with any OpenRouter-compatible SDK or prompt tool
No need to change your base URL or API structure
Last updated