tejasashinde's picture
Added steps to tun the app in README
8af77ed verified

A newer version of the Gradio SDK is available: 6.1.0

Upgrade
metadata
title: Birthday Greeting Card Generator
emoji: πŸŽ‚
colorFrom: red
colorTo: yellow
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: true
license: mit
short_description: Create beautifully personalized cards for ages 1 to 100
tags:
  - building-mcp-track-creative
  - birthday-greeeting-card
  - mcp-1st-birthday
  - gradio

πŸŽ‚ Birthday Greeting Card Generator

Create beautifully personalized cards for ages 1 to 100 using AI


πŸš€ Purpose

This app helps create personalized birthday cards by combining many parameeters like recepient type, tone, theme, age, and an interactive Fabric.js editor β€” allowing anyone to create, customize, and download a beautiful birthday card effortlessly.

Watch Birthday Greeting Card Generator in action

Social Meedia Post on X


✨ Key Features of Birthday Greeting Card Generator

  • 🎯 Personalized birthday wish selection based on tone, theme, age, and recipient type from https://huggingface.co/datasets/tejasashinde/birthday_quotes_1_to_100 dataset
  • πŸ–ΌοΈ AI-generated background images using Flux Dev, matched to the selected parameters
  • ✏️ Fully Interactive editable greeting card canvas using Fabric.js, allowing drag, resize, modify text, and add extra elements
  • πŸ“₯ One-click download of the final birthday card as a JPEG image

🧠 Models, Dataset, and APIs Used


πŸ› οΈ Core Functionality Overview

  1. User enters name, age and selects tone, theme, and recipient type.
  2. The system fetches the best-matching birthday wish_text from the Hugging Face dataset.
  3. Flux Dev generates a personalized background image using the same parameters and gpt-oss/120b model generates a short personalized wish using same parameters.
  4. The matching wish_text + background image are loaded into a Fabric.js canvas for full customization.
  5. User downloads the final, edited card as a JPEG.
  6. Can repeat the same process via MCP Server.

πŸ§ͺ Steps to run the app:

  1. Install dependencies after clonning with:
pip install -r requirements.txt
  1. Put your Nebius API token in .env
  2. Run the app with:
python app.py

Made with ❀️ using Gradio, GPT-OSS/120B, Nebius API for MCP 1st Birthday on Hugging FaceπŸ€—

Created by tejasashinde