dthyresson
    dthyresson/bedtime-story-writer
    Public

    Fork

    About

    Write a children's bedtime story

    Meta

    generate

    Tools

    No tools added to the Pipe.

    Readme

    bedtime-story-writer

    See: https://github.com/dthyresson/bedtime-storytime

    Powering a RedwoodJS Bedtime Storytime app.

    image

    Start writing a story by picking

    • a style (spooky, colorful, adventurous ...)
    • an animal (penguin, mouse, unicorn, whale ...)
    • a color for the animal
    • and activity (befriends aliens, goes to the doctor, rides a rollercoaster, bakes a cake for friends)

    It uses Langbase and OpenAI to write a children's bedtime story

    • title
    • summary
    • story

    for a "fantastical story about a green whale who rides the bus" or the "spooky story about the tomato fox who explores a cave".

    Then using the summary, Langbase and OpenAI generates another prompt to describe the instructions to generate a children's story book image.

    That description sent to Fal to generate an image.

    Stories get saved to stories in SQLite for viewing, searching and maybe sharing.

    You then get a bedtime story to enjoy!