Dall-e

Tool author @Dify.

DALL-E is an AI image generator developed by OpenAI that generates images based on text prompts. Dify has integrated the DALL-E tool, and the following are the steps to configure and use the DALL-E tool in Dify.

1. Apply for OpenAI's API Key

Please apply for an API Key at OpenAI Platform, and ensure that your account has sufficient Credits.

2. Fill in the configuration in Dify

In the Dify navigation page, click Tools > DALL-E > Authorize and fill in the API Key.

3. Use the tool

  • Chatflow / Workflow Applications

Both Chatflow and Workflow applications support the DALL-E tool node. After adding it, you need to fill in the "Input Variables → Prompt" in the node with variables to reference the user's input prompt or the content generated by the previous node. Finally, use the variable to reference the image output by DALL-E in the "End" node.

  • Agent Applications

Add the DALL-E tool in the Agent application, then send a picture description in the dialog box to call the tool to generate an AI image.

Last updated