Skip to content

Project for 2024 TikTok TechJam, awarded 3rd Prize and Public Vote Top3 Prize

License

Notifications You must be signed in to change notification settings

Joan-gao/livedesign-pro

Repository files navigation

LiveDesign Pro

Introduction

This project developed an EventPage design platform that streamlines the entire process from creation to publication. Integrating ChatGPT and Midjourney enables efficient image generation and smart copywriting, significantly lowering design barriers. Users can add interactive elements like text, stickers, and buttons to enhance live stream engagement and conversion rates. The platform is designed to optimize the TikTok live streaming experience, making event page creation quick and easy.

Technologies Use

  1. Frontend: React, Typescript, JavaScript, Tailwind css
  2. UI Toolkit: Ant Design
  3. Backend: Flask
  4. AI Integration: ChatGPT API, Midjourney API
  5. Hosting: Firebase, Heroku

Core Features

  1. GeneratePage
  • Functionality: Users can choose between creation and examples. In creation, they fill out a form describing their event poster idea, select a style (real or anime), and choose a size (1:1 or 16:9). They can also view and apply example event pages for reference and further modification.
  1. ChatPage
  • Functionality: After submitting the form, users enter the chat page to interact with the Midjourney AI bot. The bot generates descriptions and image examples based on the user's input. Users can modify prompts or regenerate images before selecting and moving to the next step.
  1. DesignPage
  • Functionality: Provides a toolbar for editing the event page, allowing users to add text, components, music, and copywriting. Users can edit button titles and links for interactive elements like live subscriptions and coupon collections. Once editing is complete, they can publish directly to their TikTok video page.

Technical Highlights

  1. Precise Image Generation: Integrating Midjourney API and ChatGPT API to enable precise text-to-prompt-to-image generation. ChatGPT converts user descriptions into professional prompts for Midjourney, which then generates the images. It also supports image-to-image functionality for detailed modifications.

  2. Interactive Component Manipulation: Utilizing React-RND for interactive component manipulation, allowing users to freely drag, resize, and scale elements on the DesignPage.

  3. Advanced Interactive Behaviors: Enabling users to define interactive behaviors by customizing button titles and links, as well as adding advanced interactions such as generating QR codes, triggering pop-ups for live stream subscriptions, and displaying coupon messages, providing ideas for future interactive features.

  4. Smart Copywriting: Leveraging ChatGPT API to refine user drafts using prompt engineering, the smart copywriting feature generates TikTok-style content and adds relevant tags to enhance video engagement.

How to Run

  1. Frontend
  • Install dependencies
npm install
  • Start the frontend server
npm run start
  1. Backend
  • Navigate to the backend directory
cd backend
  • Create a virtual environment
python3 -m venv .venv
  • Activate the virtual environment
.venv\Scripts\activate  # Windows
source .venv/bin/activate  # macOS/Linux
  • Install dependencies
pip install -r requirements.txt
  • Run the Flask application
flask --app ChatPage run

Links

Contributors

  • Xinyi Gao [Linkedin][GitHub]: Product Design, UI/UX Design, Front-end Development
  • Viet Doan [Linkedin][GitHub]: UI/UX Design, Front-end Development
  • Li Cui [Linkedin][GitHub]: AI Integration, Backend Development

Credits

The TikTok UI Clone was created by s-shemmee.

About

Project for 2024 TikTok TechJam, awarded 3rd Prize and Public Vote Top3 Prize

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •