This is a Go Fiber API that integrates Google Gemini AI to generate jokes based on user-provided topics. It leverages Fiber and Google Generative AI SDK
- Go Fiber Framework for fast HTTP server handling.
- Google Gemini AI Integration for joke generation.
- Safety Filters to prevent harmful content.
- Structured Logging for debugging and monitoring.
- REST API with JSON Input/Output.
GEMINI_API_KEY=your_google_gemini_api_key
PORT=8080
/api/v1/post-gemini-joke
{
"joke_topic": "cloud computing",
"response": "Why do cloud engineers carry umbrellas? Because they work with high chances of showers!"
}