base_url = "https://api.coze.cn/v1"
coze_token = "sat_12nW40INoJxArrDXbY4lSCoudbqkOYTcphC99BP2efWyzxmsk4q81WDX3ezWgqZ5"
workflow_id = "7608812635877900322"
STITCH_WORKFLOW_ID = "7608813873483300907"


# MySQL 配置
mysql_host = "8.136.19.173"
mysql_user = "aiimage"
mysql_password = "WTFrb5y6hNLz6hNy"  # 请修改为您的数据库密码
mysql_database = "aiimage"


cache_path = "./user_data"

region = "cn-hangzhou"
endpoint = "oss-cn-hangzhou.aliyuncs.com"
bucket = "nanri-ai-images"
accessKeyId = "LTAI5tNpyvzMNz9f2dHarsm8"
accessKeySecret = "bQSZnFH455i8tzyOgeahJmUzwmhynz"
bucket_path = "nanri-image/"

file_url_pre = f"https://{bucket}.oss-cn-hangzhou.aliyuncs.com/"

import os
# backend_java_base_url = os.environ.get('BACKEND_JAVA_BASE_URL', 'http://127.0.0.1:18080').rstrip('/')
backend_java_base_url = os.environ.get('BACKEND_JAVA_BASE_URL', 'http://8.136.19.173:18080').rstrip('/')
os.environ['OSS_ACCESS_KEY_ID'] = accessKeyId
os.environ['OSS_ACCESS_KEY_SECRET'] = accessKeySecret
os.environ['SECRET_KEY'] = "ddffc7c1d02121d9554d7b080b2511b6"


debug = True
version = "1.0.0"
APP_UPDATE_URL = ""
os.environ['APP_VERSION'] = version
os.environ['APP_UPDATE_URL'] = version


