dwzhu-pku/paperbanana/skill
- community
Checking that the SKILL.md file is still in the repository.
Generate publication-quality academic diagrams from paper methodology text
Install
npx vskill@latest install dwzhu-pku/paperbanana/skillSKILL.md
PaperBanana
Generate publication-quality academic diagrams and pipeline figures from a paper's methodology section and figure caption. PaperBanana orchestrates a multi-agent pipeline (Retriever, Planner, Stylist, Visualizer, Critic) to produce camera-ready figures suitable for venues like NeurIPS, ICML, and ACL.
Environment Setup
Set your API key via environment variable or in configs/model_config.yaml.
Option 1 (Recommended): OpenRouter API key — one key for both text reasoning and image generation:
Option 2: Google API key — direct access to Gemini API:
If both keys are configured, OpenRouter is used by default.
Usage
Parameters
| Parameter | Required | Default | Description | |
|---|---|---|---|---|
--content | Yes* | Method section text to visualize | ||
--content-file | Yes* | Path to a file containing the method text (alternative to --content) | ||
--caption | Yes | Figure caption or visual intent | ||
--task | No | diagram | Task type: diagram | |
--output | No | output.png | Output image file path | |
--aspect-ratio | No | 21:9 | Aspect ratio: 21:9, 16:9, or 3:2 | |
--max-critic-rounds | No | 3 | Maximum critic refinement iterations | |
--num-candidates | No | 10 | Number of parallel candidates to generate | |
--retrieval-setting | No | auto | Retrieval mode: auto, manual, random, or none | |
--main-model-name | No | gemini-3.1-pro-preview | Main model for VLM agents. Provider auto-detected from configured API key | |
--image-gen-model-name | No | gemini-3.1-flash-image-preview | Model for image generation. Also supports gemini-3-pro-image-preview | |
--exp-mode | No | demo_full | Pipeline: demo_full (with Stylist) or demo_planner_critic (without Stylist) |
*One of --content or --content-file is required.
When --num-candidates > 1, output files are named <stem>_0.png, <stem>_1.png, etc.
Output
The absolute path of each saved image is printed to stdout, one per line.
Examples
Diagram
Important Notes
- Runtime: A single candidate typically takes 3-10 minutes depending on model and network conditions. With the default 10 candidates running in parallel, expect ~10-30 minutes total. Plan accordingly.
- API calls: Each candidate involves multiple LLM calls (Retriever + Planner + Stylist + Visualizer + up to 3 Critic rounds). Candidates run in parallel for efficiency.
- Image generation: The Visualizer agent calls an image generation model (Gemini Image) to render diagrams.
About
PaperBanana is based on the PaperVizAgent framework, a reference-driven multi-agent system for automated academic illustration. It was developed as part of the research paper:
PaperBanana: Automating Academic Illustration for AI ScientistsDawei Zhu, Rui Meng, Yale Song, Xiyu Wei, Sujian Li, Tomas Pfister, Jinsung YoonarXiv:2601.23265
The framework introduces a collaborative team of five specialized agents — Retriever, Planner, Stylist, Visualizer, and Critic — to transform raw scientific content into publication-quality diagrams. Evaluation is conducted on the PaperBananaBench benchmark.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskill/SKILL.md
Popularity
- Repository stars
- 5,330
- Repository forks
- 359
- 7-day trend score
- 43
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dwzhu-pku/paperbanana/skill)