Add .env file
This commit is contained in:
25
.env
Normal file
25
.env
Normal file
@@ -0,0 +1,25 @@
|
||||
# 速创API配置
|
||||
API_KEY=G9rXx3Ag2Xfa7Gs8zou6t6HqeZ
|
||||
API_BASE_URL=https://api.wuyinkeji.com
|
||||
|
||||
# 生图接口
|
||||
GENERATE_API=/api/img/nanoBanana-pro
|
||||
|
||||
# 查询接口(根据实际API文档调整)
|
||||
QUERY_API=/api/img/query
|
||||
|
||||
# 图片配置
|
||||
SOURCE_IMAGE_URL=https://test.fukit.cn/autoupload/fr/oRqOn_bHTFAUPpBiITHQh3601oMrbcl2K9AGanrQpheyl5f0KlZfm6UsKj-HyTuv/20260103/pnJi/1500X1998/P1191464.JPG
|
||||
#https://your-image-host.com/P1191464.JPG
|
||||
# 或者如果使用本地图片,需要先上传到图床服务
|
||||
|
||||
# 生成配置
|
||||
IMAGE_SIZE=2K
|
||||
ASPECT_RATIO=1:1
|
||||
|
||||
# 查询间隔(毫秒)
|
||||
QUERY_INTERVAL=10000
|
||||
|
||||
# 最大查询次数
|
||||
MAX_QUERY_COUNT=120
|
||||
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,5 +1,5 @@
|
||||
node_modules/
|
||||
.env
|
||||
#.env
|
||||
*.log
|
||||
.DS_Store
|
||||
img_2/*.jpg
|
||||
|
||||
Reference in New Issue
Block a user