by llmsresearch
Open source implementation and extension of Google Research’s PaperBanana for automated academic figures, diagrams, and research visuals, expanded to new domains like slide generation.
# Add to your Claude Code skills
git clone https://github.com/llmsresearch/paperbananaLast scanned: 4/28/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-04-28T06:29:59.441Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": true
}paperbanana is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by llmsresearch. Open source implementation and extension of Google Research’s PaperBanana for automated academic figures, diagrams, and research visuals, expanded to new domains like slide generation. It has 2,096 GitHub stars.
Yes. paperbanana passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/llmsresearch/paperbanana" and add it to your Claude Code skills directory (see the Installation section above).
paperbanana is primarily written in Python. It is open-source under llmsresearch on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh paperbanana against similar tools.
No comments yet. Be the first to share your thoughts!
Based on votes and bookmarks from developers who liked this skill
Disclaimer: This is an unofficial, community-driven open-source implementation of the paper "PaperBanana: Automating Academic Illustration for AI Scientists" by Dawei Zhu, Rui Meng, Yale Song, Xiyu Wei, Sujian Li, Tomas Pfister, and Jinsung Yoon (arXiv:2601.23265). This project is not affiliated with or endorsed by the original authors or Google Research. The implementation is based on the publicly available paper and may differ from the original system.
An agentic framework for generating publication-quality academic diagrams and statistical plots from text descriptions. Supports OpenAI (GPT-5.2 + GPT-Image-1.5), Azure OpenAI / Foundry, Google Gemini, and Atlas Cloud providers.
paperbanana plot-batch runs many statistical plots from one manifest (CSV/JSON per item)paperbanana[pdf] / PyMuPDF), with per-page selectionpaperbanana studio) for diagrams, plots, evaluation, batch, and run browser/generate-diagram, /generate-plot, and /evaluate-diagramAtlas Cloud is a full-modal AI inference platform that gives developers a single AI API to access video generation, image generation, and LLM APIs. Instead of managing multiple vendor integrations, you connect once and get unified access to 300+ curated models across all modalities.
Check out Atlas Cloud's new coding plan promotion for more budget-friendly API access: https://www.atlascloud.ai/console/coding-plan
Try it in your browser: the Colab quickstart notebook walks through install → API key → diagram generation end-to-end, no local setup required.
pip install paperbanana
Or install from source for development:
git clone https://github.com/llmsresearch/paperbanana.git
cd paperbanana
pip install -e ".[dev,openai,google]"
Build the image from a clone of the repo and pass your API key at runtime:
docker build -t paperbanana .
docker run --rm -e GOOGLE_API_KEY paperbanana generate --help
To generate a diagram, mount your input and an outputs folder into /work:
docker run --rm -e GOOGLE_API_KEY \
-v "$(pwd)/method.txt:/work/method.txt:ro" \
-v "$(pwd)/outputs:/work/outputs" \
paperbanana generate --input method.txt --caption "Overview of our framework"
cp .env.example .env
# Edit .env and add your API key:
# OPENAI_API_KEY=your-key-here
# GOOGLE_API_KEY=your-key-here
#
# For Azure OpenAI / Foundry:
# OPENAI_BASE_URL=https://<resource>.openai.azure.com/openai/v1
#
# Optional Gemini overrides:
# GOOGLE_BASE_URL=https://your-gemini-proxy.example.com
# GOOGLE_VLM_MODEL=gemini-2.5-flash
# GOOGLE_IMAGE_MODEL=gemini-3-pro-image-preview
Or use the setup wizard for Gemini:
paperbanana setup
paperbanana generate \
--input examples/sample_inputs/transformer_method.txt \
--caption "Overview of our encoder-decoder architecture with sparse routing"
With input optimization and auto-refine:
paperbanana generate \
--input my_method.txt \
--caption "Overview of our encoder-decoder framework" \
--optimize --auto
Output is saved to outputs/run_<timestamp>/final_output.png along with all intermediate iterations and metadata.
Install the optional Gradio dependency, then start the app:
pip install 'paperbanana[studio]'
paperbanana studio
Open the URL shown in the terminal (default http://127.0.0.1:7860/). The Studio exposes the same workflows as the CLI: methodology diagrams, statistical plots, comparative evaluation, continuing a prior run, batch manifests (methodology or plot batch via the Batch tab), and a simple browser for run_* / batch_* output folders. Use --host, --port, --config, and --output-dir as needed.
PaperBanana implements a multi-agent pipeline with up to 7 specialized agents:
Phase 0 -- Input Optimization (optional, --optimize):
Phase 1 -- Linear Planning:
Phase 2 -- Iterative Refinement:
--auto)PaperBanana supports multiple VLM and image generation providers:
| Component | Provider | Model | Notes |
|---|---|---|---|
| VLM (planning, critique) | OpenAI | gpt-5.2 |
Default |
| Image Generation | OpenAI | gpt-image-1.5 |
Default |
| VLM | Atlas Cloud | deepseek-ai/DeepSeek-V3-0324 |
OpenAI-compatible chat endpoint |
| Image Generation | Atlas Cloud | openai/gpt-image-2/text-to-image |
Async prediction API |
| VLM | Google Gemini | gemini-2.5-flash |
Low cost |
| Image Generation | Google Gemini | gemini-3-pro-image-preview |
$0.134/image (1K) |
| VLM / Image | OpenRouter | Any supported model | Flexible routing |
Azure OpenAI / Foundry endpoints are auto-detected — set OPENAI_BASE_URL to your endpoint.
Gemini-compatible gateways are also supported — set GOOGLE_BASE_URL when needed.
Atlas Cloud uses ATLASCLOUD_BASE_URL=https://api.atlascloud.ai/v1 for chat and ATLASCLOUD_IMAGE_BASE_URL=https://api.atlascloud.ai/api/v1 for image generation.
Atlas Cloud official site: [https://www.atlascloud.ai/?utm_source=github&utm_medium=link&utm_campaign=paperbanana](https://ww