Files
Amazon_img/config.example.env
2026-01-06 23:45:28 +08:00

25 lines
570 B
Bash
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.

# 速创API配置
API_KEY=your_api_key_here
API_BASE_URL=https://api.wuyinkeji.com
# 生图接口
GENERATE_API=/api/img/nanoBanana-pro
# 查询接口(图片生成结果查询)
QUERY_API=/api/img/drawDetail
# 图片配置
SOURCE_IMAGE_URL=https://your-image-host.com/P1191464.JPG
# 或者如果使用本地图片,需要先上传到图床服务
# 生成配置
IMAGE_SIZE=2K
ASPECT_RATIO=1:1
# 查询间隔(毫秒)- 建议10秒减少API调用频率
QUERY_INTERVAL=10000
# 最大查询次数 - 建议120-180次对应20-30分钟
MAX_QUERY_COUNT=120