#端口号 server: port: 8085 spring: data: redis: #Redis服务器IP host: 127.0.0.1 #Redis服务器连接端口 port: 6379 #Redis服务器连接密码 password: test123456 #连接超时时间(毫秒) timeout: 10000 pic: save: #图片保存方式, 1不保存,使用网络图片 ,2本地保存 type: 2 #图片保存路径 path: /var/pic #模版配置 templates: name: green #小说内容保存配置 content: save: storage: db # 小说内容存储方式:db-数据库,txt-TXT文本 path: /Users/xiongxiaoyang/books # 小说TXT文本保存路径 # HTTP 代理配置 http: proxy: # 是否开启 HTTP 代理,true-开启,false-不开启 enabled: false # 代理 IP ip: us.swiftproxy.net # 代理端口号 port: 7878 # 代理用户名 username: swiftproxy_u # 代理密码 password: swiftproxy_p --- #--------------------- Spring AI 配置---------------------- spring: ai: openai: image: enabled: true base-url: https://api.siliconflow.cn api-key: sk-rrrupturhdofbiqzjutduuiceecpvfqlnvmgcyiaipbdikoi options: model: Kwai-Kolors/Kolors response_format: URL api-key: sk-rrrupturhdofbiqzjutduuiceecpvfqlnvmgcyiaipbdikoi base-url: https://api.siliconflow.cn chat: options: model: deepseek-ai/DeepSeek-R1-Distill-Llama-8B