LobeHub
Configure 魔方AI in LobeHub as a custom Anthropic provider, fetch and enable models, and verify the connection in chat.
Connect LobeHub to 魔方AI manually by adding a custom Anthropic-compatible provider.
1. Open LobeHub Settings
Open the account menu in LobeHub, then click Settings.

2. Add a Custom Provider
In Settings, select Provider, then click Add Custom Provider at the top of the provider list.

3. Configure 魔方AI
Enter the following values in the custom provider form:
- Provider ID:
mofang - Provider Name:
魔方AI - Request Format: Anthropic
- Proxy URL:
https://www.mofangai001.cn/v1 - API Key: Obtain it from 魔方AI. The placeholder used in this guide is
sk-your-api-key.
Click Create after checking the values.

4. Fetch and Enable Models
Open the new 魔方AI provider and click Fetch models. After the model list loads, enable the models you need and adjust the available models as required.


5. Test the Connection in Chat
Return to the chat page, select an enabled 魔方AI model, and send a test message to confirm that the connection works.

