This workflow automates the process of transforming images sent via Line messaging into a Lego-style artwork using OpenAI’s DALL-E. When a user sends an image message to a Line bot, the workflow captures the image, creates a specialized prompt to instruct DALL-E to generate a Lego-style version, and finally returns the stylized image back to the user on Line.
The process starts with a webhook trigger that listens for incoming messages from Line. This webhook captures the message event, retrieves the image content using Line’s API, and passes the image data to a prompt creation node. The prompt node generates a descriptive instruction to guide DALL-E in producing a Lego-style image. Then, an OpenAI node sends the prompt to DALL-E, requesting the image conversion. Once DALL-E generates the new image, the workflow sends it back to the original Line user through a reply message.
This workflow is useful for creating engaging, customized images directly within chat conversations, particularly for fun branding, educational content, or social media posts involving creative image transformations.
