Generating Children's Stories Using GPT-3 and DALL·E

Edwin Chen
Jun 29, 2022
Generating Children's Stories Using GPT-3 and DALL·E
A whole new world of AI awaits

Imagine being 5 years old, dreaming of new adventures for Pikachu and Aladdin, and turning those tales into a cartoon right in front of your eyes… (Perhaps even with you as the main character!) What kinds of new storybook experiences could GPT-3 and DALL·E enable?

My own kindergartener, Noah, loves new bedtime stories, so let’s find out.

GPT-3 Story Generation

First, I asked Noah what story he wanted. In his slightly paraphrased words: “I want a story about Ash and Pikachu commanding an army of Pokemon. They're attacking Team Rocket and enemy Pokemon from the land and ocean.”

I then asked GPT-3 to flesh out the story:

GPT-3 fleshes out a story about Ash and Pikachu vs. Team Rocket

It was a dark and stormy night, and Ash and Pikachu were leading their army of Pokemon into battle against Team Rocket and their enemy Pokemon. From the land came the sound of thundering footsteps and from the sea came the sound of crashing waves. The two sides met in the middle of the battlefield, and the battle began.

Pikachu and his army of electric-type Pokemon struck first, blasting the enemy with powerful thunderbolts. Team Rocket's Pokemon were no match for the might of Pikachu and his friends, and they soon began to retreat.

But the enemy Pokemon from the sea were not so easily defeated. They launched a counterattack with water-type moves, drenching Ash and Pikachu's army.

But Ash and Pikachu would not give up. They rallied their troops and fought back with everything they had. In the end, they emerged victorious, and the enemy was defeated.

Roald Dahl, watch out.

DALL·E Illustrations

Next, DALL·E generated visuals for the story. Inputting the raw sentences themselves didn’t work as well, so I tweaked them to improve the illustrations.

Here’s the storybook!

It was a dark and stormy night, and Ash and Pikachu were leading their army of Pokemon into battle against Team Rocket and their enemy Pokemon.

From the land came the sound of thundering footsteps and from the sea came the sound of crashing waves.

The two sides met in the middle of the battlefield, and the battle began.

Pikachu and his army of electric-type Pokemon struck first, blasting the enemy with powerful thunderbolts.

Team Rocket's Pokemon were no match for the might of Pikachu and his friends, and they soon began to retreat.

But the enemy Pokemon from the sea were not so easily defeated. They launched a counterattack with water-type moves, drenching Ash and Pikachu's army.

But Ash and Pikachu would not give up. They rallied their troops and fought back with everything they had.

In the end, they emerged victorious, and the enemy was defeated.

Isn't it incredible? What a time to be a child.

Want to see how Noah reacts and rates the story? (At Surge AI, we start training our data labelers from a young age.) Stay tuned and follow our @HelloSurgeAI Twitter account for updates as I read the story to him tonight…

Edwin Chen

Edwin Chen

Edwin oversees Surge AI's Engineering and Research teams — whether it's helping customers train large language models on human feedback, labeling data to build Toxicity and Spam classifiers, or scaling up an elite data labeling workforce. He previously led AI, Data Science, and Human Computation teams at Google, Facebook, and Twitter, and studied mathematics and linguistics at MIT.

surge ai logo

Data Labeling 2.0 for Rich, Creative AI

Superintelligent AI, meet your human teachers. Our data labeling platform is designed from the ground up to train the next generation of AI — whether it’s systems that can code in Python, summarize poetry, or detect the subtleties of toxic speech. Use our powerful data labeling workforce and tools to build the rich, human-powered datasets you need today.

Data Labeling for the
Richness of AI

Build human-powered datasets using our global labeling workforce and platform.

Follow Surge AI for the latest in AI, language, and data labeling!