Files
hmo 04db423416 Initial commit: skills library
- 70 skills with code and documentation
- Add .gitignore (ignore __pycache__, output/, temp/, venv/)
- Clean up test intermediates and caches
2026-04-26 19:27:40 +08:00

34 lines
668 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Image Service
图像生成/编辑/分析服务。
## 依赖
```bash
pip install httpx pillow numpy
```
## 配置
### 视觉分析 (Vision)
使用火山方舟 Coding Plan
```bash
# 环境变量 (可选,会使用默认值)
export VOLCENGINE_API_KEY="your_key"
```
**默认配置**:
- API: https://ark.cn-beijing.volces.com/api/coding/v3
- 模型: `doubao-seed-code` (唯一支持的视觉模型)
**注意**: Coding Plan 不支持专业的视觉模型(如 doubao-vision-pro),只能使用 `doubao-seed-code`
## 功能
- 文生图 (text_to_image.py)
- 图生图 (image_to_image.py)
- 图片理解 (image_to_text.py)
- 长图拼接 (merge_long_image.py)