Build a Star Wars themed AI Application with Genkit JS, Gemini 2 0 Flash and Imagen 3

Apr 20,2025

Learn coding with Connie


In this video, I showed how to define flows to call a tool to make a backend request to the Star Wars People API to get a list of characters by name. Then, the characters are used to write a Star Wars fiction and create a Star Wars poster with a title. The flows are deployed to an express server as POST endpoints. Finally, the context provider authenticates and authorizes the flows to protect the endpoints when appropriate request header is provided.

- Action Context: https://firebase.google.com/docs/genkit/context
- Creating Flows: https://firebase.google.com/docs/genkit/flows
- Tool Calling: https://firebase.google.com/docs/genkit/tool-calling
- Authorization: https://firebase.google.com/docs/genkit/auth
- Node.js Deployment: https://firebase.google.com/docs/genkit/deploy-node
- Imagen 3 Prompt Guide: https://ai.google.dev/gemini-api/docs/imagen-prompt-guide#generate-text

#firebasestudio #gemini20flash #imagen3 #genkit #generativeai

GenerativeAIgenkitgemini20flash#imagen3#firebasestudio