beplus-mcp 0.53.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +9 -6
- package/dist/index.js.map +1 -1
- package/dist/remote-server.js +9 -6
- package/dist/remote-server.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -25104,7 +25104,8 @@ var VIDEO_MODELS = [
|
|
|
25104
25104
|
"kwaivgi/kling-v2.6",
|
|
25105
25105
|
"kwaivgi/kling-v2.6-motion-control",
|
|
25106
25106
|
"kwaivgi/kling-v3-video",
|
|
25107
|
-
"kwaivgi/kling-v3-omni-video"
|
|
25107
|
+
"kwaivgi/kling-v3-omni-video",
|
|
25108
|
+
"kwaivgi/kling-v4-video"
|
|
25108
25109
|
];
|
|
25109
25110
|
var UPSCALE_IMAGE_VARIANTS = [
|
|
25110
25111
|
"Wonder 3.5",
|
|
@@ -26269,12 +26270,12 @@ ${BUDGET_BLOCKED_GUIDANCE}`);
|
|
|
26269
26270
|
// manda prompt — é herdado do draft original); validado no handler.
|
|
26270
26271
|
prompt: external_exports.string().optional().describe("Descri\xE7\xE3o do v\xEDdeo desejado. Omita s\xF3 ao usar `draft_task_id`."),
|
|
26271
26272
|
model: external_exports.enum(VIDEO_MODELS).default(DEFAULTS.videoModel).describe(
|
|
26272
|
-
"seedance-2.0-fast = barato/r\xE1pido; seedance-2.5 = at\xE9 30s num take, 50 refs e at\xE9 1080p; seedance-2.0 = \
|
|
26273
|
+
"seedance-2.0-fast = barato/r\xE1pido; seedance-2.5 = at\xE9 30s num take, 50 refs e at\xE9 1080p; seedance-2.0 = 4K no Seedance; kling-v4-video = Kling 4.0, at\xE9 30s em 720p/1080p/4K; kling-v3-video = alternativa."
|
|
26273
26274
|
),
|
|
26274
26275
|
aspect_ratio: external_exports.enum(VIDEO_ASPECT_RATIOS).optional().describe("Propor\xE7\xE3o. Padr\xE3o 16:9. `adaptive` (herda dos inputs) s\xF3 no seedance-2.5."),
|
|
26275
26276
|
resolution: external_exports.enum(VIDEO_RESOLUTIONS).optional().describe("480p/720p/1080p/4K (4K direto S\xD3 no seedance-2.0 standard; no 2.5 o 4K \xE9 s\xF3 na vers\xE3o final de um draft, com draft_task_id; fast e mini param em 720p). Padr\xE3o 720p."),
|
|
26276
26277
|
duration: external_exports.number().int().min(3).max(60).optional().describe(
|
|
26277
|
-
"Dura\xE7\xE3o em segundos. Seedance 2.5: 4\u201330 (granular). Seedance 2.0/2.0-fast: 4\u201315. Kling: 5 ou 10. O backend valida por modelo \u2014 consulte list_models p/ os valores aceitos. Padr\xE3o 5."
|
|
26278
|
+
"Dura\xE7\xE3o em segundos. Seedance 2.5: 4\u201330 (granular). Seedance 2.0/2.0-fast: 4\u201315. Kling 4.0: 3\u201330. Kling 3.0: 3\u201315. Kling 2.x: 5 ou 10. O backend valida por modelo \u2014 consulte list_models p/ os valores aceitos. Padr\xE3o 5."
|
|
26278
26279
|
),
|
|
26279
26280
|
negative_prompt: external_exports.string().max(2500).optional().describe("O que evitar no v\xEDdeo (Kling)."),
|
|
26280
26281
|
mode: external_exports.enum(["standard", "pro"]).optional().describe("Qualidade de gera\xE7\xE3o (Kling): standard ou pro."),
|
|
@@ -26316,12 +26317,14 @@ ${BUDGET_BLOCKED_GUIDANCE}`);
|
|
|
26316
26317
|
const MAX_RESOLUTION = {
|
|
26317
26318
|
"bytedance/seedance-2.0-mini": ["480p", "720p"],
|
|
26318
26319
|
"bytedance/seedance-2.0-fast": ["480p", "720p"],
|
|
26319
|
-
"bytedance/seedance-2.5": ["480p", "720p", "1080p"]
|
|
26320
|
+
"bytedance/seedance-2.5": ["480p", "720p", "1080p"],
|
|
26321
|
+
// Kling 4.0 (Higgsfield, enum provado na API em 21/11/2026).
|
|
26322
|
+
"kwaivgi/kling-v4-video": ["720p", "1080p", "4K"]
|
|
26320
26323
|
};
|
|
26321
26324
|
const allowedResolutions = args.model && !args.draft_task_id ? MAX_RESOLUTION[args.model] : void 0;
|
|
26322
26325
|
if (allowedResolutions && args.resolution && !allowedResolutions.includes(args.resolution)) {
|
|
26323
26326
|
return errorResult(
|
|
26324
|
-
`${args.model} s\xF3 suporta ${allowedResolutions.join(" ou ")} (voc\xEA pediu ${args.resolution}). Use seedance-2.0 (standard) para 4K.`
|
|
26327
|
+
`${args.model} s\xF3 suporta ${allowedResolutions.join(" ou ")} (voc\xEA pediu ${args.resolution}). Use seedance-2.0 (standard) ou kling-v4-video para 4K.`
|
|
26325
26328
|
);
|
|
26326
26329
|
}
|
|
26327
26330
|
const isSeedance25 = args.model === "bytedance/seedance-2.5";
|
|
@@ -31680,7 +31683,7 @@ N\xF3s: ${Object.entries(ids).map(([k, v]) => `${k}=${v}`).join(" \xB7 ")}` : ""
|
|
|
31680
31683
|
import { createRequire } from "module";
|
|
31681
31684
|
var require2 = createRequire(import.meta.url);
|
|
31682
31685
|
function readVersion() {
|
|
31683
|
-
if ("0.
|
|
31686
|
+
if ("0.54.0") return "0.54.0";
|
|
31684
31687
|
try {
|
|
31685
31688
|
const pkg = require2("../package.json");
|
|
31686
31689
|
return pkg.version ?? "0.0.0-unknown";
|