SiliconFlow (Flux AI Supported)

Tool author @hjlarry.

SiliconFlow provides high-quality GenAI services based on excellent open-source foundation models. You can use SiliconFlow in Dify to call image generation models like Flux and Stable Diffusion, and build your own AI image generation application.

1. Apply for SiliconCloud API Key

Create a new API Key on the SiliconCloud API management page and ensure that you have sufficient balance.

2. Fill in the Configuration in Dify

In the Dify tool page, click on SiliconCloud > To Authorize and fill in the API Key.

3. Using the Tool

  • Chatflow/Workflow Application

Chatflow and Workflow applications both support adding SiliconFlow tool nodes. You can pass user input content to the SiliconFlow tool node's "prompt" and "negative prompt" boxes through variables, adjust the built-in parameters as needed, and finally select the output content (text, images, etc.) of the SiliconFlow tool node in the "end" node's reply box.

  • Agent Application

In the Agent application, add the Stable Diffusion or Flux tool, and then send a picture description in the conversation box to call the tool to generate images.

Last updated