1. Get API Key

  1. the website and register an account (if you have an account, log in directly).
  2. After completing the registration, go to the API Key page and create a new API Key. Copy the key for later use.

2. Cloud Language Model Series in Dify

2.1 Invoke the APIs of the built-in SiliconCloud models in Dify

  1. Open the SiliconCloud website and register an account (if you have an account, log in directly). After completing the registration, go to the API Key page and create a new API Key. Copy the key use.
  2. In the Dify homepage, click on the gear icon in the upper right corner and then select “Settings”. Click on the gear icon in the upper left corner and choose “Model Supplier”.
  3. Silicon paste the previously copied API Key from the SiliconCloud platform, and then click the “Save” button.
  4. After validation, you will see SiliconCloud-provided models at the top of the model supplier area, and you can use these models in your application.

2.2 Use SiliconCloud 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.

  4. will see the newly added model in the model list.

3. Use SiliconCloud Image Generation Model Series in Dify

Refer to Using SiliconCloud Image Generation Model Series in Dify for the English translation.