Scenario Example
Using in Dify
Leverage the advantages of multiple SiliconFlow models and fast speed to quickly implement workflows/Agents in Dify.
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
- 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.
- On the Dify homepage, click “Settings” in the top-right corner and select “Model Provider” from the top-left menu.
- Find “SiliconFlow,” paste the previously copied API Key from the SiliconFlow platform, and click the “Save” button.
- Once successfully validated, you will see the models provided by SiliconFlow in the top section of the model provider list and can use SiliconFlow models in your applications.
2.2 Using SiliconFlow Models Not Currently Available in Dify’s Source Code
- Open Dify’s “Settings” for configuration.
- Select “Model Provider” from the navigation bar and add a model service platform compatible with the OpenAI API.
- Configure the corresponding SiliconFlow settings, including Model Name, API Key, and API Endpoint:
- Model Name: Select from the model-list documentation.
- API Key: Obtain it from https://cloud.siliconflow.com/account/ak. Note: If you need to use overseas models, complete identity verification first.
- API Endpoint URL: https://api.ap.siliconflow.com/v1
- After completing the setup, you will see the newly added models in the model list.