Skip to main content

Using Gen AI to write Kids Books

I have been exploring the variety of options that are available with Gen AI. Not just the different AI tools but the differ things they can be used for. In my day job they can be great for rewriting bits of code or looking up how to do specific tasks in python but the data I work with means I could never ask for anything specific. I am still looking for an interesting home coding project to do but in the meantime I have gotten creative. 

Working with my daughter I have started to create some books for kids. Probably best aimed at around the 6-10 year old mark, they are just fun books with a bit of a laugh in them. The great thing is that it is fairly easy to make the bulk of these books using GenAI which I have also used for cover art and for a bunch of logos and banners for a websites. 

The Website is here and the first book is here (only £0.99 from Amazon). 

The writing process:

Prompt 1: I have idea xyz for a children's book aimed at 6-8 year olds, here is an guide blah blah please write some sections for the book. Note that that might take a few attempts to get the full list of sections and sometimes the sections will need breaking down into chapters. 

Prompt 2: Get the sections / breakdown from the first prompts and plug them into the tools asking for it to write the section. Plug them together. 

Proof Read: The next step is manual but read through the story and check it flows and makes sense. 

Pictures: I used Ideogram to generate my images as it does a better job with text than CoPilot using DALL-E. 



Convert to ePub
: Download as a DOCX and then import into calibre (which is free) and then you can convert it to ePub. There is then a tool to check how things will convert in Kindle. You may have to play around with the contents page to get it to put chapters in correctly. But that probably requires a whole post on its own. 

Overall it is really simple to make a kids picture book using Gen AI and put it on Kindle. I reckon if I put an hours worth of time into it everyday I could easily generate a book a week and once I have a more streamlined process maybe 2. 

So far my daughter has loved both the books I have made and has actually read them both from start to finish. Imagine doing that over 10 years and having circa 1000 books illustrated kids books on Amazon. I mean realistically they aren't going to sell in their thousands but, if you were to make on average 50p profit per sale, and sell 2 of each book a week that is still £1000 a week! 

Comments

Popular posts from this blog

Keboola Flows

Really finding Keboola was the thing that kickstarted this project otherwise I would be trying to build custom code on a python cloud server and building everything from scratch.  In Keboola you build you data sources and destinations using connection details which is fairly simple and something I will likely cover in another post, same goes for transformations etc. Here though I am going to discuss Flows, this is where you bring everything together. On my free account there are some limitations.  My easiest flow is very basic:  Pull parkrun results e-mail from Gmail to Google Sheets (actually done by Zap not Keboola).  Keboola will, as often as I like, in this case once a week, pull the data from the sheet into its storage.  It will then transfer this to the target database. Currently I have this setup to be MySQL database but I can and might expand that to the Snowflake instance within Keboola.  I then, outside of Keboola, connect to the MySQL database f...

Zoho Analytics

Have I finally found my BI Tool, one that lets me import data from Snowflake and share it for free? I know, no sooner have I posted about how hard it was to find a tool that could do anything from Snowflake than I come across Zoho. You can check out my dashboard on the following page . Below is a diagram that outlines the processes I have used to obtain this data. In summary my parkrun e-mail is pushed to Google Sheets every week by Zapier and Forms I submit every day are used to track the strength training I do. Keboola is then used to ingest this data into MySQL and or Snowflake where I then use views or the built in transformation processes in Keboola to shift the data into a format for reporting. Google Data Studio then connects to MySQL and Zoho to Snowflake to visualise the data. 

Creating a date dimension in dbt and Snowflake

A lot of the data that I am working with doesn't lend itself to creating complex star schemas (more on data modelling in a later post) however I want to try and at least want to go to some effort. The one thing that pretty much all my tables have in common is date, so I want to build a date dimension. My strength training happens on a day, my running and walking, parkrun and hopefully the weather data I intend to integrate will have a date on it. This means if I have a date dimension and I aggregate my various facts at date level I can use them together in a single visualisation.  There are various methods I could have used to create the date dimension and I went with using the dbt spine, this was really simple using the utilities:  Used the date functions in Snowflake to extract relevant fields such as year, month, day in words and year month etc.