PaperBanana: Automating Academic Illustration For AI Scientists
翻译准备中
开发工具Python · Jupyter NotebookGitHub @dwzhu-pku自行安装运营者未确认
试用过了吗? 点一下就好,无需登录。
尚未检测到更新。GitHub 发布版本后会显示在这里。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Hi everyone! The original version of PaperBanana is already open-sourced under Google-Research as PaperVizAgent. This repository forked the content of that repo and aims to keep evolving toward better support for academic paper illustration—though we have made solid progress, there is still a long way to go for more reliable generation and for more diverse, complex scenarios. PaperBanana is intended to be a fully open-source project dedicated to facilitating academic illustration for all researchers. Our goal is simply to benefit the community, so we currently have no plans to use it for commercial purposes.
clawhub install paperbanana.PaperBanana is a reference-driven multi-agent framework for automated academic illustration generation. Acting like a creative team of specialized agents, it transforms raw scientific content into publication-quality diagrams and plots through an orchestrated pipeline of Retriever, Planner, Stylist, Visualizer, and Critic agents. The framework leverages in-context learning from reference examples and iterative refinement to produce aesthetically pleasing and semantically accurate scientific illustrations.
Here are some example diagrams and plots generated by PaperBanana:
PaperBanana achieves high-quality academic illustration generation by orchestrating five specialized agents in a structured pipeline:
git clone https://github.com/dwzhu-pku/PaperBanana.git
cd PaperBanana
PaperBanana supports configuring API keys from a YAML configuration file or via environment variables.
We recommend duplicate the configs/model_config.template.yaml file into configs/model_config.yaml to externalize all user configurations. This file is ignored by git to keep your api keys and configurations secret. In model_config.yaml, remember to fill in the two model names (defaults.main_model_name and defaults.image_gen_model_name) and set at least one API key under api_keys—for example only google_api_key (Gemini), or only openrouter_api_key (OpenRouter). You do not need both; either one is enough. If both are configured, OpenRouter is preferred for routing when available.
Note that if you need to generate many candidates simultaneously, you will require an API key that supports high concurrency.
We use uv to manage Python packages. Please install uv following the instructions here.
Create and activate a virtual environment
uv venv # This will create a virtual environment in the current directory, under .venv/
source .venv/bin/activate # or .venv\Scripts\activate on Windows
Install python 3.12
uv python install 3.12
Install required packages
uv pip install -r requirements.txt
以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗