reallygood8314k downloadsGenerate Knowledge Posters (infographics) from your notes using AI. Supports OpenAI, Gemini, Anthropic, and xAI.
Generate knowledge posters (infographics) from your Obsidian notes using AI
┌─────────────────────────────────────────┐
│ 🎨 Knowledge Poster 생성 중... │
│ │
│ ████████████░░░░░░░░ 60% │
│ │
│ ✅ 1. 노트 분석 완료 │
│ ✅ 2. 프롬프트 생성 완료 │
│ 🔄 3. 이미지 생성 중... │
│ ⏳ 4. 파일 저장 대기 │
└─────────────────────────────────────────┘
┌─────────────────────────────────────────┐
│ 📝 프롬프트 미리보기 │
│ │
│ 🤖 모델: gemini-2.0-flash-exp │
│ 📊 스타일: Infographic │
│ │
│ [이미지 생성] [다시 생성] [취소] │
└─────────────────────────────────────────┘
Once the plugin is listed in the Obsidian Community directory:
reallygood83/nanobanana-pro-obsidianmain.js, manifest.json, and styles.css to your vault's .obsidian/plugins/nanobanana-pro/ folderYou'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 |
Cmd/Ctrl + P)| 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:
| 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
Vault.process when embedding generated imagesContributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)This project is licensed under the MIT License - see the LICENSE file for details.
Made with 🍌 by NanoBanana PRO