D140: require Kling key from environment
This commit is contained in:
parent
b924782ef7
commit
7a59722b28
@ -15,8 +15,8 @@ const fs = require('fs');
|
||||
const path = require('path');
|
||||
const https = require('https');
|
||||
|
||||
// ═══ 从环境变量或默认读取 ═══
|
||||
const API_KEY = process.env.KLING_API_KEY || 'api-key-kling-x-6H9AH4VeTP986fQxXb8qhQ_ovU_QGaKzF6FX8A-iY';
|
||||
// ═══ 从环境变量读取 ═══
|
||||
const API_KEY = process.env.KLING_API_KEY || '';
|
||||
const BASE_URL = 'api-beijing.klingai.com';
|
||||
const POLL_INTERVAL = 2000;
|
||||
const MAX_POLL = 180;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user