DEV Community

Cover image for Rewrite Movie/TV endings with AI
Nabil Alamin
Nabil Alamin

Posted on

13 3 3 2 2

Rewrite Movie/TV endings with AI

This is a submission for the Cloudflare AI Challenge.

What I Built

A simple site where you can reimagine how your favourite shows ended (unsatisfactory or cancelled too early). Using GenAI you can get a summary and an accompanying illustration for up to 5 different alternate endings.

Demo

GIF demo

My Code

GitHub logo arndom / ending-maker

Reimagine your favourite TV and Movie endings

About Ending Maker 🌟

banner-demo

 

Stack

  • NextJS
  • TailwindCSS
  • MUI BaseUI
  • Cloudfare Pages
  • Cloudfare Workers REST API

 

Development

# install dependencies
npm i

# run locally
npm run dev
Enter fullscreen mode Exit fullscreen mode

Leave a 🌟 if you found this interesting.




Journey

I always rewatch the Forever TV series, it was a great show imo but for some reason, it got cancelled after the first season and on a cliffhanger at that😩...ever since then, I've wanted a comeback or maybe even a reboot but a man can only dream.

So when I saw this hackathon I thought this could be my chance to sate my desire to some extent. This site uses Text Generation to offer possible endings and then uses Image Generation to add further niceties.

Multiple Models

  • Text Generation: llama-2-7b-chat-int8
  • Image Generation: stable-diffusion-xl-lightning

API Trace View

How I Cut 22.3 Seconds Off an API Call with Sentry πŸ•’

Struggling with slow API calls? Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more β†’

Top comments (2)

Collapse
 
hikolakita profile image
Hikolakita β€’

Oh wow, that's very impressive. You did a very good job. Best wishes for the contest, since you made an original submission that remind me my favorites movies & TV shows. Awesome!

Collapse
 
arndom profile image
Nabil Alamin β€’

Thanks 😁

Some comments may only be visible to logged-in visitors. Sign in to view all comments.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more