UNIT 4
Generation of Painting, Music, and Play
Generative AI can automatically create digital paintings and artwork from text descriptions, images, or sketches.
Example
Prompt:�"A beautiful village surrounded by mountains during sunset in water colour style."
The AI generates a new painting according to the given description.
Applications
2. Generation of Music 🎵
Generative AI can create new music compositions by learning patterns from existing musical data.
It can generate:
Example
Prompt:�"Generate relaxing piano music for meditation."
The model generates a suitable melody, rhythm, and musical arrangement.
Applications
3. Generation of Play / Games 🎮
Example
Prompt:�"Create a fantasy adventure game where a player explores a magical forest."
AI can generate the story, characters, dialogues, challenges, and environment.
Applications
A GAN consists of two neural networks:
Different GAN variants have been developed to improve image quality, training stability, controllability, and generation performance.
Variants of GAN
Generative Adversarial Networks (GANs) have several types, each designed for a specific purpose such as image generation, image translation, stability, or controlled generation.
Types of GAN
Types of GAN
Cycle GAN
This GAN is made for Image-to-Image translations, meaning one image to be mapped with another image. For example , if summer and winter are made to undergo the process of Image-Image translation we find a mapping function that could convert summer images into that of winter images and vice versa by adding or removing features according to the mapping function, such that the predicted output and actual output have minimized loss.�
1.Seasonal Transfer: CycleGAN can transform images between different seasons, such as converting winter scenes into summer landscapes and vice versa.
2.Collection Style Transfer: CycleGAN can learn styles from entire artwork collections such as Van Gogh, Monet and Cezanne, allowing it to generate diverse artistic image styles
3.Object Transformation: CycleGAN can transform objects between different classes, such as apples to oranges or zebras to horses, making it useful for image editing and content generation.
Applications
Using Cyclic GAN to Generate Paintings
Applications
Neural Style Transfer
Working Procedure
Style Transfer
Definition
Style Transfer is a technique in Artificial Intelligence (AI) that changes the visual appearance of an image by applying the style of another image while preserving the original image's main content.
For example, we can convert an ordinary photograph into a painting that looks like a Van Gogh artwork.
Music Generating RNN
Working Principle of Music-Generating RNN
5. Applications
MuseGAN is a deep learning model based on a Generative Adversarial Network (GAN) that automatically generates multi-track music. It learns musical patterns from existing music and creates new compositions containing multiple instruments, such as piano, bass, drums, and strings.
MuseGAN
Architecture of MuseGAN
The architecture consists of two main neural networks:
Working Principle of MuseGAN
Explanation of the steps