Generate knowledge posters (infographics) from your Obsidian notes using AI
- π¨ AI-Powered Infographic Generation: Transform your notes into beautiful visual posters
- π€ Multiple AI Providers: Choose from OpenAI, Google Gemini, Anthropic Claude, or xAI Grok
- π Prompt Preview & Edit: Review and customize the generated prompt before creating images
- π 6 Visual Styles: Infographic, Poster, Diagram, Mind Map, Timeline, Cartoon (Comic Strip)
- π Auto-Retry: Automatic retry on transient failures with exponential backoff
- π Progress Tracking: Real-time progress modal with step-by-step feedback
- π Dark Mode Support: Fully compatible with Obsidian's dark theme
βββββββββββββββββββββββββββββββββββββββββββ
β π¨ Knowledge Poster μμ± μ€... β
β β
β ββββββββββββββββββββ 60% β
β β
β β
1. λ
ΈνΈ λΆμ μλ£ β
β β
2. ν둬ννΈ μμ± μλ£ β
β π 3. μ΄λ―Έμ§ μμ± μ€... β
β β³ 4. νμΌ μ μ₯ λκΈ° β
βββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββ
β π ν둬ννΈ λ―Έλ¦¬λ³΄κΈ° β
β β
β π€ λͺ¨λΈ: gemini-2.0-flash-exp β
β π μ€νμΌ: Infographic β
β β
β [μ΄λ―Έμ§ μμ±] [λ€μ μμ±] [μ·¨μ] β
βββββββββββββββββββββββββββββββββββββββββββ
Once the plugin is listed in the Obsidian Community directory:
- Open Settings β Community plugins
- Turn off Restricted mode if it is enabled
- Select Browse and search for NanoBanana PRO
- Install and enable the plugin
- Add a Google API key in the plugin settings
- Install the BRAT plugin
- Open BRAT settings
- Click Add Beta Plugin
- Enter:
reallygood83/nanobanana-pro-obsidian - Enable the plugin
- Download the latest release from Releases
- Extract
main.js,manifest.json, andstyles.cssto your vault's.obsidian/plugins/nanobanana-pro/folder - Reload Obsidian
- Enable the plugin in Settings β Community plugins
You'll need at least a Google API Key for image generation. Optionally configure other providers for prompt generation:
| Provider | Required | Purpose |
|---|---|---|
| β Yes | Image generation (always required) | |
| OpenAI | Optional | Prompt generation |
| Anthropic | Optional | Prompt generation |
| xAI | Optional | Prompt generation |
Get your API keys:
This plugin is free. Image and prompt generation use the API keys you provide, and those providers may charge usage fees.
This plugin sends the active note's content to the AI providers you configure, so it can generate a prompt and an image. Nothing is sent to the plugin author.
| Service | Host | When it is used |
|---|---|---|
| Google Gemini | generativelanguage.googleapis.com |
Prompt generation (if Google is selected) and all image generation |
| OpenAI | api.openai.com |
Prompt generation, only if you select OpenAI |
| Anthropic | api.anthropic.com |
Prompt generation, only if you select Anthropic |
| xAI | api.x.ai |
Prompt generation, only if you select xAI |
API keys are stored locally in your Obsidian plugin data and are sent only to the matching provider.
| Setting | Default | Description |
|---|---|---|
| AI Provider | Provider for prompt generation | |
| Prompt Model | gemini-2.0-flash-exp | Model for generating image prompts |
| Image Model | gemini-2.0-flash-exp | Model for generating images |
| Image Style | Infographic | Visual style preset |
| Show Preview | β Enabled | Preview prompt before generation |
| Show Progress | β Enabled | Show progress modal |
| Attachment Folder | 999-Attachments | Where to save images |
| Auto-Retry Count | 2 | Retry on transient failures |
- Open a note with content
- Use Command Palette (
Cmd/Ctrl + P) - Search for "Generate Knowledge Poster"
- (Optional) Edit the prompt in preview modal
- Wait for generation to complete
- Image will be embedded at the top of your note
| Command | Description |
|---|---|
| Generate Knowledge Poster | Full generation process |
| Generate Prompt Only | Generate and copy prompt to clipboard |
| Regenerate Last Poster | Retry last generation with same prompt |
You can assign custom hotkeys in Settings β Hotkeys:
- Search for "NanoBanana" to find all commands
| Style | Description | Best For |
|---|---|---|
| π Infographic | Charts, icons, visual hierarchy | Data-driven content |
| π¨ Poster | Bold typography, strong imagery | Announcements, summaries |
| π Diagram | Technical, clear connections | System architecture |
| π§ Mind Map | Central concept with branches | Brainstorming, concepts |
| π Timeline | Progression and milestones | Historical, processes |
| π¬ Cartoon | Comic strip with sequential panels | Stories, tutorials, step-by-step |
β Go to Settings β NanoBanana PRO and add your API key
β Wait a few minutes and try again. Consider upgrading your API plan.
β Modify your note content or try a different style
β Try regenerating with a different style, or edit the prompt in preview mode
β The model may not support image generation. Try gemini-2.0-flash-exp or similar.
# Clone the repository
git clone https://github.com/reallygood83/nanobanana-pro-obsidian.git
cd nanobanana-pro-obsidian
# Install dependencies
npm install
# Build for production
npm run build
# Development mode (watch)
npm run dev.
βββ src/
β βββ main.ts # Plugin entry point
β βββ types.ts # TypeScript interfaces
β βββ settings.ts # Settings tab UI
β βββ settingsData.ts # Default settings
β βββ progressModal.ts # Progress modal UI
β βββ previewModal.ts # Prompt preview modal
β βββ services/
β βββ promptService.ts # AI prompt generation
β βββ imageService.ts # Image generation
β βββ fileService.ts # File operations
βββ manifest.json
βββ package.json
βββ styles.css
βββ README.md
- Prepare the plugin for the Obsidian Community directory
- Mask API keys in settings
- Disclose network use and third-party AI providers
- Use
Vault.processwhen embedding generated images
- Initial release
- Support for 4 AI providers (OpenAI, Google, Anthropic, xAI)
- 5 image styles
- Progress modal with step tracking
- Prompt preview and edit
- Auto-retry with exponential backoff
- Korean and English UI support
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Obsidian for the amazing platform
- Google Gemini for image generation capabilities
- All the amazing AI providers making this possible
Made with π by NanoBanana PRO