This Sant Jordi we genererate unique and digital roses with AI

Home » Blog »

This Sant Jordi we genererate unique and digital roses with AI
Authors:

#RosaUPC23 is presented on April 19, where the UPC offers this Sant Jordi the possibility to choose a digital rose or generate one of your own, from a drawing and an associated text.

On April 19, on the occasion of the day of Sant Jordi, the Polytechnic University of Catalonia – BarcelonaTech (UPC) offers with the initiative Roses UPC(#RosaUPC23), the possibility to create, share and send the image of a unique and digital rose formed by the union of computer science, creativity and artificial intelligence.

Each rose is initiated from a descriptive text and a drawing entered by the user, using the computer cursor or through the screen if done from the cell phone. It does not need to be a very elaborate drawing, it can be just a sketch or a trace of the figure.

In addition, you can change the width of the drawing or erase what has been done, before seeing an animation of the strokes that have been drawn and pressing the ‘create rose’, button, which begins the process of generating the rose with artificial intelligence.

The result of this process is formed from a generative deep learning model called ControlNet, which consists of neural networks and is based on the text-to-image model called Stable Diffusion. This model is designed to create images from text and a simple drawing (Model and Original Code on GitHub), that is, by giving it an input text, it generates an image that matches the description of this text

Finally, an image is generated, with one or several roses, which follows the shape of the sketch and tries to reflect the descriptive text. Once generated, a link is sent to the user’s email address to view the finished rose, so that it can be shared and a dedication can be written to the person who wants to give it as a gift.

Each rose created becomes part of the UPC Roses gallery, which can be shared via link, WhatsApp or Twitter, as well as downloaded and distributed freely, without commercial use, under the Creative Commons CC BY-NC-ND 4.0 license.

Following last year’s success (more than 7,000 artistic roses generated with AI), the InLab FIB has promoted the UPC Roses initiative with the UPCArts program and with the collaboration of the UPC Communication Service. On April 19, the program will be presented as part of Sant Jordi Digital at the 2023 UPC.

You can follow the best images that are being created through the Instagram profile RosesUPC and with the hashtag #RosaUPC23.