A powerful Dify plugin for generating stunning images from text prompts, refining hand‑drawn sketches, and generating creative posters using the Tonyi API.
ImageTool allows you to seamlessly integrate image generation into your Dify workflows. With just a few simple steps, you can:
- Generate detailed images from text prompts
- Transform rough sketches (doodles) into polished artwork
- Generate creative posters from titles, subtitles, body text, and prompts
Powered by the Tonyi API, this plugin brings AI‑driven creativity directly into your Dify projects.
- Obtain a Tonyi API Key
- Visit the AliCloud Bailian Console and apply for an API key.
- Install the ImageTool Plugin
- In Dify, open the Plugins Marketplace.
- Search for "ImageTool" and click Install.
- Authorize in Dify
- Navigate to Tools > ImageTool > Authorize in the Dify sidebar.
- Enter your Tonyi API key and click Save.
Once authorized, you can use the following core features:
Enter a descriptive text prompt and let the Tonyi API render it into a high‑quality image.
Tip: Be as specific as possible with colors, styles, and composition to guide the AI.
Upload a simple sketch or draw one directly in Dify. ImageTool will use the Tonyi API to refine hand‑drawn sketches into polished artwork.
Generate creative posters from titles, subtitles, body text, and prompts. This feature is ideal for designing brand promotional posters, event flyers, and social media covers using pre-defined or custom poster templates.
Have a feature request or found a bug? We welcome your feedback!
- Submit an issue: GitHub Issues
- Pull Requests: Feel free to fork the repo, make changes, and submit a PR.



