소스 정보
- 저장소
- dwzhu-pku/PaperBanana
- 최근 소스 활동
- 2026년 6월 22일 04:13
- 감지된 SKILL.md 언어
- 영어
- 스타
- 7,041
- 포크
- 531
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/dwzhu-pku/PaperBanana --skill paperbanana명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | paperbanana |
| description | Generate publication-quality academic diagrams from paper methodology text |
| license | MIT-0 |
| dependencies | {"env":["OPENROUTER_API_KEY (recommended)","GOOGLE_API_KEY (alternative)"],"runtime":["python3","uv"]} |
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.
cd <repo-root>
uv pip install -r requirements.txt
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:
export OPENROUTER_API_KEY="sk-or-v1-..."
Option 2: Google API key — direct access to Gemini API:
export GOOGLE_API_KEY="your-key-here"
If both keys are configured, OpenRouter is used by default.
python skill/run.py \
--content "METHOD_TEXT" \
--caption "FIGURE_CAPTION" \
--task diagram \
--output output.png
| 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.
The absolute path of each saved image is printed to stdout, one per line.
python skill/run.py \
--content "We propose a transformer-based encoder-decoder architecture. The encoder consists of 12 self-attention layers with residual connections. The decoder uses cross-attention to attend to encoder outputs and generates the target sequence autoregressively." \
--caption "Figure 1: Overview of the proposed transformer architecture" \
--task diagram \
--output architecture.png
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 Scientists Dawei Zhu, Rui Meng, Yale Song, Xiyu Wei, Sujian Li, Tomas Pfister, Jinsung Yoon arXiv: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.