1. Obtain API Key

  1. Open the SiliconCloud 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 SiliconCloud Language Models in Dify

2.1 Using the Built-in SiliconCloud Model API in Dify

  1. Open the SiliconCloud 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. On the Dify homepage, click “Settings” in the top-right corner and select “Model Provider” from the top-left menu.
  3. Find “SiliconCloud,” paste the previously copied API Key from the SiliconCloud platform, and click the “Save” button.
  4. Once successfully validated, you will see the models provided by SiliconCloud in the top section of the model provider list and can use SiliconCloud models in your applications.

2.2 Using SiliconCloud Models Not Currently Available in Dify’s Source Code

  1. Open Dify’s “Settings” for configuration.
  2. Select “Model Provider” from the navigation bar and add a model service platform compatible with the OpenAI API.
  3. Configure the corresponding SiliconCloud settings, including Model Name, API Key, and API Endpoint:
  4. After completing the setup, you will see the newly added models in the model list.

3. Using SiliconCloud Image Generation Models in Dify

Refer to Using SiliconCloud Image Generation Models in Dify.