AI Story Generator With Voice Narration - AI Story Creator With Voice Narration Using ChatGPT & Content Creator Extension in PictoBlox
by karishmathakur in Design > Software
36 Views, 0 Favorites, 0 Comments
AI Story Generator With Voice Narration - AI Story Creator With Voice Narration Using ChatGPT & Content Creator Extension in PictoBlox
Stories inspire imagination, creativity, and learning. But what if children could create their own unique stories with the help of Artificial Intelligence?
In this project, we build an AI Story Generator with Voice Narration using PictoBlox. By combining the ChatGPT Extension, Content Creation Extension, and Text-to-Speech Extension, users can simply choose a Character, Theme, and Place, and the AI instantly generates an original story and narrates it aloud.
This interactive project demonstrates how Generative AI can be used in education to make storytelling more engaging and personalized.
Supplies
Hardware
- Laptop or Computer
- Speakers or Headphones
- Internet Connection
Software
- PictoBlox
- ChatGPT Extension
- Content Creation Extension
- Text-to-Speech Extension
Set Up the Stage and Add Sprites
To create an engaging storytelling environment, begin by customizing the stage and adding a storyteller character.
Add the Backdrops
- Click on the Choose a Backdrop button located at the bottom-right of the PictoBlox stage.
- From the backdrop library, select and add the following backdrops:
- Mountain – Used as the main welcome screen.
- Space – Displayed while selecting the character.
- Jurassic – Displayed while selecting the theme.
- Nebula – Displayed while selecting the place.
- These different backdrops make each stage of the interaction visually appealing and help children stay engaged.
Add the Story Teller Sprite
- Click on the Choose a Sprite button.
- Search for and select the Fairy sprite from the sprite library.
- Position the Fairy sprite on the stage to act as the AI Story Teller that guides users throughout the project.
- The Fairy greets the user, provides instructions, and narrates the generated story using the Text-to-Speech extension.
With the stage and sprite ready, you can now start building the interactive AI Story Generator.
Set Up the User Interface Using the Content Creation Extension
To create an interactive and user-friendly interface, use the Content Creation extension in PictoBlox.
- Click on the Choose Extension button located at the bottom-left corner of the PictoBlox window.
- From the extension library, add the Content Creation extension to your project.
- Select the Make a Paragraph block and create a paragraph named "NeoNarrate" to serve as the main interface for the story generator.
- Customize the paragraph by adjusting its theme, style, font, and alignment to make it visually appealing and easy to read.
- Inside the paragraph, create three interactive buttons:
- Character – Allows the user to choose the main hero of the story.
- Theme – Lets the user select the message or idea for the story.
- Place – Enables the user to choose where the adventure will take place.
- Arrange the buttons neatly within the paragraph so that users can easily click and provide their choices.
- Once the interface is ready, the NeoNarrate panel acts as the central menu from which children can select the story elements before the AI generates and narrates their personalized story.
Create the Welcome Screen
Start by designing a welcoming interface for the user.
- Set an attractive backdrop.
- Display the Story Teller sprite.
- Greet the user with a friendly message:
- "Hi! Let's create magical stories together today!"
- Use the Text-to-Speech extension to speak the welcome message.
- Ask the user to choose a Character, Theme, and Place by clicking the available buttons.
This creates an interactive introduction before the story creation begins.
Select the Character
When the Character button is clicked:
- Hide the menu panel.
- Change the backdrop to match the character selection scene.
- Ask:
- "Who will be the main hero of the story?"
- Store the user's response in the Character variable.
- Return to the main menu after saving the input.
Examples:
- Robot
- Dragon
- Princess
- Astronaut
- Pirate
Select the Theme
When the Theme button is clicked:
- Change the backdrop.
- Ask:
- "What message or idea should the story focus on?"
- Save the response in the Theme variable.
- Return to the main menu.
Examples:
- Friendship
- Kindness
- Courage
- Honesty
- Teamwork
Select the Place
When the Place button is clicked:
- Display a new backdrop.
- Ask:
- "Where should the adventure take place?"
- Store the answer in the Place variable.
- Broadcast the event to begin story generation.
Examples:
- Space Station
- Enchanted Forest
- Castle
- Underwater City
- Desert Island
Generate the Story Using ChatGPT
After collecting all three inputs:
- Display the message:
- "I am ready with a story for you!"
- Use the ChatGPT Extension to generate a story.
Prompt used:
Make a story over Place, Theme, and Character in 100 words.
The AI combines the selected inputs and creates a completely original story.
Once the story is generated:
- Display the generated text on the screen.
- Use the Text-to-Speech Extension to read the story aloud.
- The narration makes the experience more interactive, especially for young learners who enjoy listening while following along.