1. Obtain API Key

  1. Open the SiliconFlow official website and register an account (if you already have one, simply log in).
  2. 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

  1. Go Dify “Settings”.
  2. Select “Model Provider” from the navigation bar and add a compatible OpenAI interface model service platform.
  3. Set the corresponding SiliconCloud Model Name, API Key, and API endpoint.

3. Using SiliconFlow Image Generation Models in Dify

Refer to Using SiliconFlow Image Generation Models in Dify.