An intelligent greeting card generator powered by Google’s Gemini AI. Create personalized, heartfelt greetings in multiple languages
Used Gemini API to create generations. And Claude helped to write me code
An intelligent greeting card generator powered by Google’s Gemini AI. Create personalized, heartfelt greetings in multiple languages
Used Gemini API to create generations. And Claude helped to write me code
I totally forgot about this mini project and remembered about it only today. And decided to ship it immediately:)
I built a multilingual greeting card generator using React, TypeScript, and Google’s Gemini AI. Users select an occasion (Birthday or New Year), enter the recipient’s name, age, and interests, then choose from six tone options ranging from Official to Adult (with edgier humor). The app supports six languages including Russian, Kyrgyz, and English, with culturally-adapted prompts for each.
The UI uses a purple color scheme with a two-column layout - left side for inputs, right side for results. I implemented proper validation, loading states, and a copy-to-clipboard feature for the generated greetings. The Gemini API receives a detailed prompt requesting 2-5 sentences with emojis, using higher temperature (0.9) for the Adult tone to boost creativity.
The main challenge was crafting prompts that produce consistent, appropriate output across different languages and tones while maintaining the festive, personalized feel users expect from greeting cards.
Log in to leave a comment
perfect now I will never run out of anything to say. is cool, I don’t know if it’s a mistake but the page was in Russian you should translate it at least with AI
Hi, I wanted to let you know that the greeting generator on your site isn’t working. When I click ‘Generate,’ I get a red [generateGreeting] Generation error on the screen.
Also, the console is showing a 400 Bad Request error when Brave’s translator attempts to process the dynamic content. It seems like the API request for the greeting is failing on the server side (Render). Hope this helps you fix it!