Classes completed
297
Quizzes submitted
285
Projects submitted
294
Hosted by: IIT Kanpur Antargani
Hosted by: IIT Kanpur Antargani
In this activity, you’ll explore the power of image inpainting to transform or repair images. Instead of generating an image solely from text, you’ll provide an existing image and a corresponding mask (where white areas indicate regions to be modified or restored). By supplying a textual prompt that describes the desired change, the AI model fills in the masked regions to create a seamless, restored, or altered image. This exercise is perfect for learning how to guide the creative process beyond full image synthesis—enabling detailed editing and repair of existing visuals.
In this activity, you'll generate an image using a text-to-image model (Stable Diffusion) and then enhance it with post-processing techniques. The session focuses on applying practical image adjustments such as increasing brightness, boosting contrast, and adding a soft-focus effect with Gaussian blur. Using Python libraries like Pillow, you'll learn how to transform raw AI-generated images into polished artworks, highlighting the impact of subtle adjustments on the overall visual quality. Enjoy exploring how post-processing can refine and elevate your creative output!
In this activity, students will build an interactive Text-to-Image Generator that takes textual descriptions (prompts) as input and generates corresponding images using the Hugging Face API with the Stable Diffusion model. The tool will allow users to generate creative artwork from simple descriptions, explore the potential of AI in creative fields, and understand how machine learning models process and generate images based on text.