1. Obtain API Key
- Open the SiliconFlow official website and register an account (if you already have one, simply log in).
- After registration, go to API Key, create a new API Key, and copy the key for later use.
2. Using SiliconFlow Language Models in Dify
2.1 Using the Built-in SiliconFlow Model API in Dify
2.2 Use SiliconFlow Models Not Included in Dify’s Source Code
- Go Dify “Settings”.
- Select “Model Provider” from the navigation bar and add a compatible OpenAI interface model service platform.
- Set the corresponding SiliconCloud Model Name, API Key, and API endpoint.
- Model Name: Choose from the model-list documentation.
- API Key: Obtain from https://cloud.siliconflow.com/account/ak.
- API Endpoint URL: https://api.siliconflow.com/v1