beplus-mcp 0.24.0 → 0.25.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 +25 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22038,7 +22038,7 @@ ${BUDGET_BLOCKED_GUIDANCE}`);
|
|
|
22038
22038
|
"generate_video",
|
|
22039
22039
|
{
|
|
22040
22040
|
title: "Gerar v\xEDdeo",
|
|
22041
|
-
description: "Gera um v\xEDdeo curto usando o IA Lab da BePlus. LENTO (geralmente 1-5+ min). Aguarda at\xE9 ~2 min; se n\xE3o terminar, retorna o generation_id e o status \u2014 ent\xE3o use check_generation. Consome diamantes (mais caro para dura\xE7\xF5es/resolu\xE7\xF5es maiores). Suporta image-to-video (`first_frame_image`), \xFAltimo frame (`last_frame_image`), refer\xEAncias de imagem/v\xEDdeo/\xE1udio, prompt negativo, \xE1udio gerado e mais \u2014 os campos aceitos variam por modelo (consulte list_models). `kling-v2.6-motion-control` usa `first_frame_image` + `motion_video`.
|
|
22041
|
+
description: "Gera um v\xEDdeo curto usando o IA Lab da BePlus. LENTO (geralmente 1-5+ min). Aguarda at\xE9 ~2 min; se n\xE3o terminar, retorna o generation_id e o status \u2014 ent\xE3o use check_generation. Consome diamantes (mais caro para dura\xE7\xF5es/resolu\xE7\xF5es maiores). Suporta image-to-video (`first_frame_image`), \xFAltimo frame (`last_frame_image`), refer\xEAncias de imagem/v\xEDdeo/\xE1udio, prompt negativo, \xE1udio gerado e mais \u2014 os campos aceitos variam por modelo (consulte list_models). `kling-v2.6-motion-control` usa `first_frame_image` + `motion_video`. Nos modelos Seedance, refer\xEAncia com rosto de pessoa REAL \xE9 bloqueada pelo provedor padr\xE3o (BytePlus) \u2014 use `real_people_references: true` para rotear pra fal.ai, que aceita (custa mais caro). Kling e outros provedores n\xE3o t\xEAm essa op\xE7\xE3o." + TEAM_GATING_NOTE,
|
|
22042
22042
|
inputSchema: {
|
|
22043
22043
|
// Sem teto local — ver nota em generate_image. O Seedance não publica
|
|
22044
22044
|
// limite; o Kling publica 2500 e o backend recusa dizendo quanto cortar.
|
|
@@ -22074,6 +22074,9 @@ ${BUDGET_BLOCKED_GUIDANCE}`);
|
|
|
22074
22074
|
video_task_type: external_exports.enum(["auto", "reference", "edit", "extend"]).optional().describe(
|
|
22075
22075
|
"O que fazer com os v\xEDdeos de refer\xEAncia (s\xF3 seedance-2.5): `reference` gera um v\xEDdeo novo; `edit` edita o original (exige 1 v\xEDdeo de 4-30s, a dura\xE7\xE3o vira a dele); `extend` estende o original. Sem isto o modelo adivinha e um par\xE2metro incompat\xEDvel s\xF3 falha DEPOIS da fila."
|
|
22076
22076
|
),
|
|
22077
|
+
real_people_references: external_exports.boolean().optional().describe(
|
|
22078
|
+
'S\xF3 Seedance (2.0/2.0-fast/2.0-mini/2.5): quando true, roteia pra fal.ai em vez da BytePlus \u2014 a BytePlus recusa refer\xEAncia com pessoa real, a fal aceita (mais caro). `first_frame_image` + `last_frame_image` continuam funcionando (viram image-to-video da fal, com end frame). Com isto ligado, `output_format` e `video_task_type` (edit/extend) n\xE3o t\xEAm equivalente na fal e s\xE3o recusados antes de cobrar \u2014 e `seedance-2.0-fast` com `resolution: "480p"` tamb\xE9m, porque a fal n\xE3o publica pre\xE7o para essa combina\xE7\xE3o.'
|
|
22079
|
+
),
|
|
22077
22080
|
project: external_exports.string().max(64).optional().describe('Projeto (uuid OU code curto, ex.: "VRAO-26"). S\xF3 omita se o usu\xE1rio J\xC1 confirmou o projeto ativo nesta sess\xE3o.'),
|
|
22078
22081
|
billing: BILLING_FIELD,
|
|
22079
22082
|
draft: external_exports.boolean().optional().describe(
|
|
@@ -22118,6 +22121,24 @@ ${BUDGET_BLOCKED_GUIDANCE}`);
|
|
|
22118
22121
|
if (!isSeedance25 && args.video_task_type && args.video_task_type !== "auto") {
|
|
22119
22122
|
return errorResult(`Editar e estender v\xEDdeo s\xF3 existe no seedance-2.5 (voc\xEA pediu ${args.model}).`);
|
|
22120
22123
|
}
|
|
22124
|
+
if (args.real_people_references && !args.model?.startsWith("bytedance/seedance-")) {
|
|
22125
|
+
return errorResult(`real_people_references s\xF3 existe nos modelos Seedance (voc\xEA pediu ${args.model}).`);
|
|
22126
|
+
}
|
|
22127
|
+
if (args.real_people_references) {
|
|
22128
|
+
const unsupported = [];
|
|
22129
|
+
if (args.output_format && args.output_format !== "mp4") unsupported.push("output_format");
|
|
22130
|
+
if (args.video_task_type && args.video_task_type !== "auto") unsupported.push("video_task_type (edit/extend)");
|
|
22131
|
+
if (args.model === "bytedance/seedance-2.0-fast" && args.resolution === "480p") {
|
|
22132
|
+
unsupported.push("resolution 480p (a fal n\xE3o publica pre\xE7o para seedance-2.0-fast nesta resolu\xE7\xE3o)");
|
|
22133
|
+
}
|
|
22134
|
+
if (args.draft) unsupported.push("draft (Modo Rascunho \u2014 s\xF3 existe na BytePlus)");
|
|
22135
|
+
if (args.draft_task_id) unsupported.push("draft_task_id (upscale de rascunho \u2014 s\xF3 existe na BytePlus)");
|
|
22136
|
+
if (unsupported.length > 0) {
|
|
22137
|
+
return errorResult(
|
|
22138
|
+
`Com real_people_references, a fal.ai n\xE3o suporta: ${unsupported.join(", ")}. Remova essas op\xE7\xF5es.`
|
|
22139
|
+
);
|
|
22140
|
+
}
|
|
22141
|
+
}
|
|
22121
22142
|
if ((args.video_task_type === "edit" || args.video_task_type === "extend") && !(args.reference_videos && args.reference_videos.length > 0)) {
|
|
22122
22143
|
return errorResult(`video_task_type "${args.video_task_type}" exige o v\xEDdeo original em reference_videos.`);
|
|
22123
22144
|
}
|
|
@@ -22173,7 +22194,8 @@ ${BUDGET_BLOCKED_GUIDANCE}`);
|
|
|
22173
22194
|
seed: args.seed,
|
|
22174
22195
|
output_format: args.output_format,
|
|
22175
22196
|
omni_reference_task_type: args.video_task_type,
|
|
22176
|
-
draft: args.draft
|
|
22197
|
+
draft: args.draft,
|
|
22198
|
+
realPeopleReferences: args.real_people_references
|
|
22177
22199
|
});
|
|
22178
22200
|
const start = await client.startGeneration(
|
|
22179
22201
|
compact({
|
|
@@ -23448,7 +23470,7 @@ ${calls.map(callLine).join("\n\n")}`);
|
|
|
23448
23470
|
import { createRequire } from "module";
|
|
23449
23471
|
var require2 = createRequire(import.meta.url);
|
|
23450
23472
|
function readVersion() {
|
|
23451
|
-
if ("0.
|
|
23473
|
+
if ("0.25.0") return "0.25.0";
|
|
23452
23474
|
try {
|
|
23453
23475
|
const pkg = require2("../package.json");
|
|
23454
23476
|
return pkg.version ?? "0.0.0-unknown";
|