How I Used ChatGPT to Win a Hackathon Worth Rs 75,000 ๐Ÿ’ป๐Ÿ’ธ

ยท

3 min read

How I Used ChatGPT to Win a Hackathon Worth Rs 75,000 ๐Ÿ’ป๐Ÿ’ธ

Have you ever participated in a hackathon? It's an exciting event where teams of developers and designers come together to build a project from scratch in a limited amount of time. Recently, I had the opportunity to participate in Hackverse 4.0, a 24-hour hackathon organized at NIT Surathkal, Karnataka, India. And I am proud to say that my team won the first prize of Rs 75,000 by building an interactive storytelling app called StoryWizard.

What is Story Wizard?

Story Wizard is a web app that uses GPT-3 Turbo API and Stable Diffusion API to generate narrative stories. We created this app to make storytelling more engaging and fun for children. As we all know, kids love stories. Still, it can be a challenging task for parents and teachers to keep up with their constant demand for new ones. Our project offers a solution to this problem by providing a vast library of pre-made stories on various topics and the ability to generate new stories based on children's interests.

The app has an interactive UI that is user-friendly, with a straightforward interface that children can easily navigate. Whether they want to browse through pre-made stories or generate a new one based on their interests, the app provides a seamless experience. To make it more engaging, we added a feature that allows children to ask follow-up questions about the stories, and the app will narrate the answers, creating an interactive experience that encourages curiosity and engagement.

How did we use ChatGPT?

ChatGPT is a large language model trained by OpenAI based on the GPT-3.5 architecture. We used ChatGPT's GPT-3 Turbo API to generate narrative stories for our app. We had an initial prompt of generating a children-friendly short story according to the input keywords. With this API, we were able to generate stories that sounded natural and engaging, making the app more appealing to children.

We also used Google Cloud Text-to-Speech Conversion to convert the stories to speech so that we could have a play-pause button. Children can listen to the stories while looking at the accompanying visuals or images generated by Stable Diffusion. Along with that we also used GPT to answer follow-up questions. So children could pause the narration and ask questions related to the story if they have any doubts. Hence, we were able to create an immersive storytelling experience that children will love.

Conclusion

This is just the beginning of how we can harness the power of AI tools to build truly amazing applications. Story Wizard, developed during Hackverse 4.0, is a prime example of how AI can enhance traditional experiences like storytelling and transform them into interactive and engaging adventures for children. With the capabilities of GPT-3 Turbo API and Stable Diffusion API, we were able to generate natural and captivating stories, while Google Cloud Text-to-Speech Conversion brought them to life through audio narration. The possibilities are boundless as we explore how AI can revolutionize various fields, from education to entertainment, and beyond. As we continue to push the boundaries of technology, we can look forward to even more innovative applications that make our lives richer and more exciting.

Hackathon :

Hackverse 4.0

Github :

Frontend Backend

Team :

  • Aashray Katiyar

  • Abhinav Pandey

  • Gautham Krishnan

ย