Dify
How to Integrate Dify
i. On the model provider page, select "OpenAI-API-compatible" and choose "Add Model".
ii. In the model configuration:
Model Name: Enter the full model name officially provided by cloudsway;
API Key: Enter the AK obtained from the cloudsway console (SK is not required);
API endpoint URL: https://genaiapi.cloudsway.net/v1/ai/{ENDPOINT_PATH}
iii. After configuration, your model will be visible here, indicating successful configuration.
How to Integrate Chatbox
i. In the settings interface, you can customize the model provider for marking.
ii. In the model configuration:
Name: Customizable for identification
API Host: Fixed as: https://genaiapi.cloudsway.net/v1
API Path: /ai/{endpoint}/chat/completions
Improve Network Compatibility: It is recommended to enable this option.
API Key: AK obtained from the console
Model: The model name officially provided by cloudsway, such as MaaS-DS-R1
iii. After configuration, save and you can test the conversation.