https://github.com/302ai/302_red_packet_generation
https://github.com/302ai/302_red_packet_generation
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/302ai/302_red_packet_generation
- Owner: 302ai
- License: mit
- Created: 2025-01-09T11:08:49.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-02-19T06:13:27.000Z (4 months ago)
- Last Synced: 2025-03-25T00:42:14.878Z (3 months ago)
- Language: TypeScript
- Size: 23.7 MB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#
π§§ AI Red Pocket Cover Generation πβ¨
Generate red packet cover images or videos using AI, crop them to suitable sizes and preview the red packet effect.

This is the open-source version of the [AI Red Pocket Cover Generation](https://302.ai/en/tools/rpcg/) from [302.AI](https://302.ai/en/). You can directly log in to 302.AI to use the online version with zero code and zero background, or modify and deploy it yourself according to your requirements.
## Interface Preview
Generate red packet cover images or videos based on input descriptions, and preview the red packet effect
## Project Features
### πΌοΈ Generate Cover Images
Generate cover images using AI based on selected models and prompts, and preview the red packet effect.
### πΉ Generate Cover Videos
Generate cover videos using AI based on selected models and prompts, and preview the red packet effect.
### π History Records
Save your creation history, never lose your memories, download anytime, anywhere.
### π Dark Mode
It supports dark mode to protect your eyes.
### π Multi-language Support
- Chinese Interface
- English Interface
- Japanese Interface## π© Future Update Plans
- [ ] New feature: Generate red envelope cover pendants and bubble pendants## π οΈ Tech Stack
- **Framework**: Next.js 14
- **Language**: TypeScript
- **Styling**: TailwindCSS
- **UI Components**: Radix UI
- **State Management**: Jotai
- **Form Handling**: React Hook Form
- **HTTP Client**: ky
- **i18n**: next-intl
- **Theming**: next-themes
- **Code Standards**: ESLint, Prettier
- **Commit Standards**: Husky, Commitlint## Development & Deployment
1. Clone the project
```bash
git clone https://github.com/302ai/302_red_packet_generation
cd 302_red_packet_generation
```2. Install dependencies
```bash
pnpm install
```3. Configure environment
```bash
cp .env.example .env.local
```
Modify the environment variables in `.env.local` as needed.4. Start development server
```bash
pnpm dev
```5. Build for production
```bash
pnpm build
pnpm start
```## β¨ About 302.AI β¨
[302.AI](https://302.ai/en/) is an enterprise-oriented AI application platform that offers pay-as-you-go services, ready-to-use solutions, and an open-source ecosystem.β¨
1. π§ Comprehensive AI capabilities: Incorporates the latest in language, image, audio, and video models from leading AI brands.
2. π Advanced application development: We build genuine AI products, not just simple chatbots.
3. π° No monthly fees: All features are pay-per-use, fully accessible, ensuring low entry barriers with high potential.
4. π Powerful admin dashboard: Designed for teams and SMEs - managed by one, used by many.
5. π API access for all AI features: All tools are open-source and customizable (in progress).
6. π‘ Powerful development team: Launching 2-3 new applications weekly with daily product updates. Interested developers are welcome to contact us.