5 Commits
Author SHA1 Message Date
Nakano Kenji 6247d6b018 feat(qwen): 新增通义千问(Qwen)图像生成能力支持
## 改动
- 新增 qwen_executor.py 与对应模板
- mcp_server 增加 generate_qwen_image 接口
- 更新依赖(uv.lock/pyproject.toml)
2026-02-18 23:36:59 +08:00
Nakano Kenji a94afd0818 feat(reroll): 新增生成历史记录系统和 reroll/history MCP 工具
- 新增 executor/history.py:HistoryManager(内存 deque + JSONL 持久化)

- generate 完成后自动记录历史(参数、seed、尺寸等)

- 新增 MCP 工具 list_anima_history 和 reroll_anima_image

- generate 和 reroll 均支持 repeat(多次 queue)和 batch_size

- HTTP server 新增 /history 和 /reroll 端点
2026-02-06 17:57:31 +08:00
Nakano Kenji a9039ee4f8 feat: add model pre-check and model path configuration
Model configuration:

- Add COMFYUI_MODELS_DIR for model pre-check (optional)

- Add ANIMATOOL_UNET_NAME, ANIMATOOL_CLIP_NAME, ANIMATOOL_VAE_NAME

- Add ANIMATOOL_CHECK_MODELS toggle

Model pre-check:

- Check if model files exist before generation

- Friendly error message with download link

- Skipped when COMFYUI_MODELS_DIR not set (remote ComfyUI)

Other improvements:

- Use config model names as defaults in _inject()

- Export DEFAULT_*_NAME constants
2026-02-03 21:32:07 +08:00
Nakano Kenji d31d284ad5 fix: change round_to default from 8 to 16 for Cosmos spatial_patch_size compatibility
Anima model (based on Cosmos architecture) requires latent space dimensions to be divisible by spatial_patch_size=2. Since VAE scales down by 8x, pixel dimensions must be divisible by 8*2=16.

Changes:

- Update round_to default from 8 to 16 in config.py and anima_executor.py

- Add align_dimension() function to align user-provided width/height

- Apply alignment to directly specified width/height (not just aspect_ratio)

- Update schema descriptions to document 16-multiple requirement
2026-02-03 21:24:27 +08:00
Nakano Kenji 7917b066f2 Initial release v1.0.0
- MCP Server: Native image display in Cursor/Claude
- ComfyUI HTTP API: /anima/health, /anima/schema, /anima/knowledge, /anima/generate
- Standalone FastAPI server and CLI tool
- Structured prompt system with 14 aspect ratio presets
- Expert knowledge base for Anima prompting
2026-02-03 16:18:57 +08:00