GithubHelp home page GithubHelp logo

philsad / my-story-time Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 16.57 MB

JavaScript 0.30% TypeScript 1.02% Ruby 0.05% Java 0.15% Objective-C 0.05% Objective-C++ 0.02% CSS 0.06% Jupyter Notebook 97.94% Python 0.41% Roff 0.01%

my-story-time's Introduction

My-Story-Time

Description

This is an illustrated story generator app allowing users to create stories based on a prompt and the pictures of themself.

You can try it out here.

This app use Next.js, Firebase, Runpod, ChatGPT, and Stable Diffusion XL with IP Adapter.

How it works

  1. User uploads a picture of themself.
  2. User enters a prompt for the story.
  3. ChatGPT generates a story based on the prompt.
  4. ChatGPT split chapters and generate Stable Diffusion prompts for each splits
  5. Stable Diffusion XL with IP Adapter with low weight generates an avatar based on the picture of the user
  6. Stable Diffusion XL with IP Adapter with high weight generates illustrations for each prompts based on the generated avatar --> this allow the generated pictures to have consistent style and head across the story

Directory Structure

  • Web App: ./web-app
  • Story and Prompts generation: ./back/functions/
  • Image Generation: ./back/runpod/

todos

  • refactor image generation for standalone use
  • use diffuser's IP Adapter for image generation to use prompt weighting (when IP Face is supported)
  • don't use IP Adapter for splits where the hero is not present

my-story-time's People

Contributors

philsad avatar emiliedeoliveira avatar rubengres avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.