From 994bcda19294ae5cf1b4b395616d64bbc7d5515c Mon Sep 17 00:00:00 2001 From: jueming Date: Sat, 10 May 2025 09:02:56 +0800 Subject: [PATCH] update api-key exp time --- nodes/api_key.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/api_key.py b/nodes/api_key.py index fc2d8a5..484d7fa 100644 --- a/nodes/api_key.py +++ b/nodes/api_key.py @@ -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秒前开始生效 }