Skip to content

JonanthaW/AI_Tales

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Creating playful stories with AI

As artificial intelligence (AI) continues to develop and evolve, it has begun to revolutionize the way we create and consume content. One area where this is particularly evident is in the world of storytelling. With the help of AI algorithms, it is now possible to generate narratives that incorporate both text and image elements, creating a more immersive and engaging experience for readers.

These AI-powered storytelling tools work by analyzing large datasets of text and images, identifying patterns and connections between the two. This allows algorithms to create unique and compelling narratives tailored to the audience's specific needs and preferences.

One of the most exciting applications of AI-generated stories is in the realm of visual storytelling. By combining text and image elements, these narratives can convey complex ideas and emotions in an accessible and impactful way. This has led to the development of a new genre of storytelling known as "computational creativity", which aims to push the boundaries of traditional storytelling by incorporating cutting-edge technology into the creative process.

Overall, the use of AI in creating short stories with image and text has the potential to revolutionize the way we think about storytelling. As these tools continue to develop and evolve, we can expect to see a whole new world of engaging and immersive storytelling that is sure to capture the hearts and minds of audiences everywhere.

Tools used:

  • ChatGPT
  • Stable Diffusion

Script

I'm using the official NodeJS package to generate captivating stories. The script being used is tuned to maximize the potential of the OpenAI language model, resulting in a rich and immersive storytelling experience. Get ready to be transported to new worlds and meet unforgettable characters.

model: "gpt-3.5-turbo"

How to run:

## First you have to clone this repo
git clone https://github.com/JonanthaW/AI_Tales.git


(OPTIONAL)
## Then you have to install essentials packages
npm install openai
npm install --save noun-json
npm install --save verb-corpus
npm install install adjectives

(Or you can use your own list of words)

## Don't forget to put your API_KEY in the .env
https://platform.openai.com/account/api-keys

## run it with NODEJS (If you dont have it, you can download it for free -> https://nodejs.org/en)
nodejs index.js

References:

Tales:

Below you can check some stories and tales created using these tools: