update api-key exp time

This commit is contained in:
jueming
2025-05-10 09:02:56 +08:00
parent bbe1d05633
commit 994bcda192
+1 -1
View File
@@ -52,7 +52,7 @@ class KLingAIAPIKey:
current_time = int(time.time())
payload = {
"iss": access_key,
"exp": current_time + 7200, # 30分钟后过期
"exp": current_time + 86400, # 1天后过期
"nbf": current_time - 5 # 5秒前开始生效
}