Merged
Conversation
Add `!banana <prompt>` command that generates images via Google's Gemini nano banana image generation API. The command calls the Gemini generateContent endpoint with IMAGE response modality, stores the base64 result in an in-memory image store, and returns a URL served by a new /generated-images route on Yetibot's web server. Chat platforms like Slack auto-detect the .png URL and render it inline. New files: - src/yetibot/core/commands/banana.clj - command implementation - src/yetibot/core/webapp/routes/images.clj - image serving route Configuration: set `gemini.api.key` in config (model is configurable, defaults to gemini-2.0-flash-exp). https://claude.ai/code/session_015e8b7fdnMevAe3y5WcbwHU
Add `!bameme <template>: <text>` command that generates meme-style images via Gemini with a system prompt instructing it to produce classic meme layouts (Impact font, top/bottom text). Supports both template-style (`!bameme drake: option A / option B`) and freeform (`!bameme when the code works first try`) inputs. Extract shared Gemini API logic into yetibot.core.util.gemini to avoid duplication between banana and bameme commands. Both commands now use the shared config, API call, and image extraction utilities. https://claude.ai/code/session_015e8b7fdnMevAe3y5WcbwHU
devth
approved these changes
Feb 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add !banana and !bameme commands for fun and profit