Utilizor
Contact Us

vibe coding

Genkit Flow Creator

Generate a complete Genkit flow in TypeScript for a specific AI task, including Zod schemas.

Your Prompt

Write a Genkit flow in TypeScript named `[flowName]Flow`. The flow should take a string input representing a [input description, e.g., 'user review'] and use the Gemini Pro model to output a JSON object containing a `sentiment` (positive, negative, or neutral) and a `summary` of the input text. Use Zod for input and output schema validation. Provide the complete code for the file.