Published by dugufeng
Author: dugufeng
Tags: language:english, image-generation, flux, siliconflow, qwen, python
This is an AI painting workflow. It receives the user's English painting request, uses the Qwen-8B LLM to intelligently convert it into an optimized English Flux.1 painting prompt, and then calls a Python script and the SiliconFlow API (FLUX.1-schnell model) to generate the final image.
v1.9.0+ (Please fill in the Dify version you have tested)1. SiliconFlow API Key:
[CORE] Set Environment Variable:
apikeysk-xxxxxxxx (Paste your actual API Key from SiliconFlow)Configure Tools:
Run the Workflow:
text variable, enter your English painting request (e.g., "A cat on the moon, cyberpunk style").result (the generated image).text input.Qwen/Qwen3-8B) Converts the English request into an optimized English Flux.1 prompt.apikey, calls the black-forest-labs/FLUX.1-schnell API to generate the image, and returns a Markdown-formatted image link.

image-generation/flux-painter-en