
Create personalized greeting cards with AI-generated messages, cover art, and voice narration. Supports birthdays, weddings, thank yous, and custom occasions—perfect for customer outreach, employee recognition, or marketing campaigns.
git clone https://github.com/inworld-ai/greeting-card-node.git
cd greeting-card-nodenpm install
cd server && npm installCreate a .env file in the server/ directory:
INWORLD_API_KEY=your_inworld_api_key
ANTHROPIC_API_KEY=your_anthropic_api_key
GOOGLE_API_KEY=your_google_api_keyGet your Inworld API key from the Inworld Portal.
For development (with auto-reload):
npm run dev:allOr run frontend and backend separately:
# Terminal 1 - Backend
npm run dev:server
# Terminal 2 - Frontend
npm run devFor production:
npm run buildgreeting-card-node/
├── src/ # Frontend React application
│ ├── components/ # UI components
│ └── services/ # API services (TTS, sharing)
├── server/ # Backend Express server
│ ├── components/ # Inworld Runtime SDK integration
│ └── index.ts # API endpoints
├── public/ # Static assets (audio, fonts)
├── README.md # Documentation
├── package.json # Frontend dependencies
└── LICENSE # MIT LicenseThis template demonstrates three key Inworld technologies:
| Technology | Purpose | Endpoint |
|---|---|---|
| Inworld TTS | Voice narration for card messages | /api/tts |
| Voice Cloning API | Custom narrator from audio sample | /api/clone-voice |
| Runtime SDK | Audio streaming & orchestration | server/components/ |
Additional integrations:
We welcome contributions! Please see CONTRIBUTING.md for guidelines on how to contribute to this project.
This project is licensed under the MIT License - see the LICENSE file for details.