beplus-mcp 0.10.1 → 0.11.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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -480,7 +480,7 @@ var VOICES = [
480
480
  ];
481
481
  var ASPECT_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "4:5", "5:4", "21:9"];
482
482
  var IMAGE_RESOLUTIONS = ["1K", "2K", "4K"];
483
- var VIDEO_RESOLUTIONS = ["480p", "720p", "1080p", "2K"];
483
+ var VIDEO_RESOLUTIONS = ["480p", "720p", "1080p", "4K"];
484
484
  var DEFAULTS = {
485
485
  imageModel: "google/nano-banana-2",
486
486
  imageAspect: "1:1",
@@ -677,7 +677,7 @@ ${footer}` }, ...blocks] };
677
677
  prompt: z.string().min(1).max(4e3).describe("Descri\xE7\xE3o do v\xEDdeo desejado."),
678
678
  model: z.enum(VIDEO_MODELS).default(DEFAULTS.videoModel).describe("seedance-2.0-fast = barato/r\xE1pido; seedance-2.0 = melhor; kling-v3-video = alternativa."),
679
679
  aspect_ratio: z.enum(ASPECT_RATIOS).optional().describe("Propor\xE7\xE3o. Padr\xE3o 16:9."),
680
- resolution: z.enum(VIDEO_RESOLUTIONS).optional().describe("480p/720p/1080p/2K. Padr\xE3o 720p."),
680
+ resolution: z.enum(VIDEO_RESOLUTIONS).optional().describe("480p/720p/1080p/4K (1080p/4K S\xD3 no seedance-2.0 standard; fast e mini aceitam apenas 480p/720p). Padr\xE3o 720p."),
681
681
  duration: z.number().int().min(3).max(60).optional().describe(
682
682
  "Dura\xE7\xE3o em segundos. Seedance 2.0/2.0-fast: 4\u201315 (granular). Kling: 5 ou 10. O backend valida por modelo \u2014 consulte list_models p/ os valores aceitos. Padr\xE3o 5."
683
683
  ),
@@ -699,9 +699,9 @@ ${footer}` }, ...blocks] };
699
699
  },
700
700
  async (args) => {
701
701
  try {
702
- if (args.model === "bytedance/seedance-2.0-mini" && args.resolution && args.resolution !== "480p" && args.resolution !== "720p") {
702
+ if ((args.model === "bytedance/seedance-2.0-mini" || args.model === "bytedance/seedance-2.0-fast") && args.resolution && args.resolution !== "480p" && args.resolution !== "720p") {
703
703
  return errorResult(
704
- `seedance-2.0-mini s\xF3 suporta 480p ou 720p (voc\xEA pediu ${args.resolution}). Use seedance-2.0 / seedance-2.0-fast para 1080p/2K.`
704
+ `${args.model} s\xF3 suporta 480p ou 720p (voc\xEA pediu ${args.resolution}). Use seedance-2.0 (standard) para 1080p/4K.`
705
705
  );
706
706
  }
707
707
  const firstFrame = await resolveRef(cfg, args.first_frame_image ?? args.reference_image);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beplus-mcp",
3
- "version": "0.10.1",
3
+ "version": "0.11.0",
4
4
  "description": "Conector MCP da equipe BePlus — gere imagens/vídeos/áudio e consulte calls, projetos e clientes pela sua conta BePlus (diamantes, limites e histórico aplicados pela plataforma).",
5
5
  "type": "module",
6
6
  "bin": {