04db423416
- 70 skills with code and documentation - Add .gitignore (ignore __pycache__, output/, temp/, venv/) - Clean up test intermediates and caches
34 lines
668 B
Markdown
34 lines
668 B
Markdown
# 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)
|