feat(ai-art): 新增API易生图脚本和连通性测试

- 新增 image_gen.py:支持文生图/风格校准/双参考融合三种模式
- 新增 .env.example:API易平台配置模板
- 更新 .gitignore:排除 .env 密钥文件
- 首张连通性测试图已生成(GPT-Image-2)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-10 00:48:29 +08:00
parent bb34641bfe
commit a20eec8d57
5 changed files with 483 additions and 0 deletions
@@ -0,0 +1,8 @@
{
"model": "gpt-image-2",
"prompt": "3D low-poly game art, flat cel-shaded with solid color blocks, bright warm-cool balanced saturated palette, soft diffused lighting with subtle shadows, simplified geometric forms with clean edges, low-angle third-person perspective, nostalgic warm summer atmosphere, a simple red cube on a white background, test image",
"mode": "connection_test",
"size": "1024x1024",
"quality": "low",
"timestamp": "2026-06-10T00:35:40.485529"
}