server: port: 0 #端口 spring: cloud: # nacos nacos: discovery: register-enabled: true server-addr: 127.0.0.1:8848 username: nacos-dev password: nacos-dev namespace: 33360858-b0c2-4364-b8fb-d8879aa272a0 circuitbreaker: sentinel: enabled: true sentinel: enabled: true transport: dashboard: 127.0.0.1:8858 port: 0 datasource: ds-flow-rules: nacos: server-addr: 127.0.0.1:8848 username: nacos-dev password: nacos-dev namespace: 81037616-96ae-412c-a060-a633ba9731b9 group-id: SENTINEL_GROUP data-id: ${spring.application.name}-flow-rules rule-type: flow data-type: json # 数据库配置 datasource: url: jdbc:mysql://127.0.0.1:3306/song?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&serverTimezone=Asia/Shanghai username: root password: 123456 # rabbitmq配置 rabbitmq: host: 127.0.0.1 port: 5672 # redis配置 redis: host: 127.0.0.1 port: 6379 database: 0 password: HorO9496sCopE clientName: ${spring.application.name}-redis # 日志配置 logging: level: com: atmob: central: debug mybatis: configuration: logImpl: org.apache.ibatis.logging.stdout.StdOutImpl tencent: cloud: cos: secretId: AKIDkJbcBds6DAybJtEI6j8G9rNkvqgKl061 secretKey: pSqyqa7NN6ZmkRbZIn10lgQwDEySpz1r bucketName: ai-1255984948 cdnHost: https://cdn1.qiaoyanai.cn replaceHosts: "[cdn1.suno.ai]": 'cdn1.qiaoyanai.cn' "[cdn.suno.cafe]": 'cdn1.qiaoyanai.cn' config: suno: lyricsExpandEnabled: true lyricsExpandUrl: http://127.0.0.1:8880/project/ai/v1/expand/lyrics modelVersionMap: suno: 'chirp-v3-5' modelVersion: 'chirp-v4' allowUploadSuno: true allowSyncOnce: true remoteStoreSuno: true # 30 * 60 * 1000L; //30min taskExpiredMillis: 1800000 # 8 * 60 * 1000L; //8min taskTimeoutMillis: 720000 pollingIntervalMillis: 1000 handlingDelayMillis: 2000 resultPollingIntervalMillis: 10000 # 6 * 60 * 1000L; //6min resultPollingTimeoutMillis: 600000 maxRunningTasks: 5 retryCount: 1 hkApiHost: 'https://api.openai-hk.com' hkApiKey: 'Bearer hk-h4oewa10000348067b2e00b242fd5060095b1dd9b837ed6d' foxApiHost: 'https://api.sunoaiapi.com' foxApiKey: 'RbaujLQxaYdFoVxXW8smNuwhjO84EIM8' udioApiHost: 'https://api.sunoaiapi.com' udioApiKey: 'RbaujLQxaYdFoVxXW8smNuwhjO84EIM8' udioModelType: 'udio130-v1.5' duomiApiHost: 'http://duomiapi.com' duomiApiKey: 'FmX6sRUWPGgV583tWrqo6vGMPF' duomiApiCallback: aceDataApiHost: 'https://api.acedata.cloud' aceDataApiKey: 'Bearer 5351fd685dac480d97dd694bf8023e16' aceDataApiCallback: bltcyApiHost: 'https://api.bltcy.ai' bltcyApiKey: 'Bearer sk-VD4dGJSIJMp1vAMU6751BbCaD1F84315B78c2365D7966369' bltcyApiCallback: remoteStoreHost: - 'http://43.156.237.148:6007' - 'http://119.28.116.248:6007' - 'http://43.134.109.155:6007' - 'http://119.28.102.88:6007' - 'http://119.28.102.151:6007' # 是否将描述词通过fastGpt重新生成歌词 enableFastGptLyrics: true deepseekPollingIntervalMillis: 5000 deepseekPollingTimeoutMillis: 180000 cover: # 30 * 60 * 1000L; //30min taskExpiredMillis: 1800000 # 15 * 60 * 1000L; //15min taskTimeoutMillis: 900000 handlingDelayMillis: 2000 maxRunningTasks: 3 # 翻唱服务超时时间 15 * 60 * 1000L; //15min coverTimeoutMillis: 900000 # 豆包 doubao: doubaoAccessKeyId: 'AKLTYTFkZjYzNTc4NTQ5NGY1MzhkMGM4MGIyMjhkZDZiM2Y' doubaoAccessKeySecret: 'TkRVME5HWmlabVJpTURVek5HSTNZMkZqWlRoa05tVTFaVFF3TVRsbE5tUQ==' doubaoApiCallback: doubaoVersion: '2024-08-12' doubaoGenSongCountOnce: 1 doubaoDuration: 240 doubaoModelVersion: 'v4.0' # ["Folk", "Pop", "Rock", "Chinese Style", "Hip Hop/Rap", "R&B/Soul", "Punk", "Electronic", "Jazz", "Reggae", "DJ"] genreParams: - name: 民谣 value: Folk mappings: - Folk - 民谣 - name: 流行 value: Pop mappings: - Pop - 流行 - 流行音乐 - name: 摇滚 value: Rock mappings: - Rock - 摇滚 - name: 国风 value: Chinese Style mappings: - Chinese Style - 国风 - 古风 - name: 嘻哈 value: Hip Hop/Rap mappings: - Hip Hop/Rap - Hip Hop - Rap - 嘻哈 - name: R&B value: R&B/Soul mappings: - R&B/Soul - R&B - Soul - name: 朋克 value: Punk mappings: - Punk - 朋克 - name: 电子 value: Electronic mappings: - Electronic - 电子 - 电子乐 - name: 爵士 value: Jazz mappings: - Jazz - 爵士 - name: 雷鬼 value: Reggae mappings: - Reggae - 雷鬼 - name: DJ value: DJ mappings: - DJ # ['Happy', 'Dynamic/Energetic', 'Sentimental/Melancholic/Lonely', 'Inspirational/Hopeful', 'Nostalgic/Memory', 'Excited', 'Sorrow/Sad', 'Chill', 'Romantic'] moodParams: - name: 快乐 value: Happy mappings: - Happy - 快乐 - name: 活力 value: Dynamic/Energetic mappings: - Dynamic/Energetic - Dynamic - Energetic - 活力 - name: EMO value: Sentimental/Melancholic/Lonely mappings: - Sentimental/Melancholic/Lonely - Sentimental - Melancholic - Lonely - EMO - name: 鼓舞 value: Inspirational/Hopeful mappings: - Inspirational/Hopeful - Inspirational - Hopeful - 鼓舞 - name: 怀旧 value: Nostalgic/Memory mappings: - Nostalgic/Memory - Nostalgic - Memory - 怀旧 - name: R&B value: R&B/Soul mappings: - R&B/Soul - R&B - Soul - name: 兴奋 value: Excited mappings: - Excited - 兴奋 - name: 伤感 value: Sorrow/Sad mappings: - Sorrow/Sad - Sorrow - Sad - 伤感 - name: 放松 value: Chill mappings: - Chill - 放松 - name: 浪漫 value: Romantic mappings: - Romantic - 浪漫 # ["Female", "Male"] genderParams: - name: 女声 value: Female mappings: - Female - 女声 - Female Vocals - name: 男声 value: Male mappings: - Male - 男声 - Male Vocals # 过滤特殊标签,避免标签被当成歌词 filterTags: - '[Instrumental intro]' - '[Female Vocals]' - '[Male Vocals]' - '[End]' - '[Interlude]' # 豆包通用文生图参数 # 算法名称 reqKey: high_aes_general_v21_L # 模型版本名称 modelVersion: general_v2.1_L # 标准版:general_v20_9B_rephraser 美感版:general_v20_9B_pe reqScheduleConf: general_v20_9B_pe # 开启文本扩写 usePreLlm: true # 输出是否返回图片链接 returnUrl: true member: auth: # suno每首歌消耗7点 perSongCostCredit: 7 # suno每次生成2首歌 generateSongCountOnce: 2 # suno每次消耗14点 songsCostCredit: 14 # 豆包每首歌消耗14点 dbPerSongCostCredit: 14 # 豆包每次生成1首歌 dbGenerateSongCountOnce: 1 # 豆包每次消耗14点 dbSongsCostCredit: 14 mv: comfyuiHosts: - 'https://u155929-9379-f7cff3f4.westc.gpuhub.com:8443'