If you're chronically online like I am, you're used to seeing tons of reels of people who travel to all these "authentic" destinations: Sao paulo, Marrakech, Cairo, Bangkok, and Bali. On Instagram or TikTok, it's pretty common to accompany your posts with a soundtrack, and it's the norm to post the latest trending songs to garner likes and reposts.
No shame here.
We all want validation, but so do the local economies we're coming from, and they hardly benefit when our money goes to international hotel chains and global brands. However, there are a few ways we can support locals while still making sure your pics eat, and one of them is by supporting local artists.
With Ethni-CITY, we connect your pics to the local artists of the countries you visit to curate a niche storyboard that puts artists' songs on your posts, helping them monetize their craft, gain recognition, and in turn boost their micro-economy as your pics garner likes.
To build this, I weaved spatial data with cultural analysis.
Using Gemini 3.1 pro preview as the main model, the app performs a deep multimodal analysis of your uploaded photos and then identifies the city and country the picture was taken in by looking for landmarks, cultural motifs, textile patterns and lighting conditions to determine.
I used Cesium JS along with Google Cloud photorealistic tiles, the agent transports you to the location of the photo, helping to tell a centric story.
To ensure the app survives the "Hackathon Hug," I implemented a hierarchical fallback logic:
Tier 1:
gemini-3.1-pro-previewfor high-fidelity creative direction.Tier 2:
gemini-2.0-flashfor high-speed fallback.Tier 3:
gemini-1.5-flash-8bfor emergency quota resilience.
CHALLENGES FIXED:
- By integrating a heavyweight library like Cesium into NextJS App router environment, posed significant challenges with asset serving and Typescript definitions. I had to automate the movement of Cesium's build assets into the public directory during the pre-build phase to ensure the tiles are rendered correctly in production.
I'm grateful for Gemini for providing the tools to curate this experience and help promote local artists from around the world.
Explore the project on GitHub:[ https://github.com/david-ac1/Ethni-CITY]
Watch the demo:[ https://youtu.be/kdrUzPtRw9Y?si=EzWt6DvbdbLjOk4V]
#GeminiLiveAgentChallenge #GoogleAI #GoogleCloud #Gemini
Top comments (0)