@vibeframe/mcp-server 0.52.0 → 0.52.1

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 +6 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -449842,7 +449842,7 @@ Run 'vibe setup --show' to check API key status.
449842
449842
  Run 'vibe schema generate.<command>' for structured parameter info.
449843
449843
  `
449844
449844
  );
449845
- generateCommand.command("image").alias("img").description("Generate image using AI (Gemini, DALL-E, or Runway)").argument("[prompt]", "Image description prompt (interactive if omitted)").option("-p, --provider <provider>", "Provider: gemini, openai, grok, runway (dalle is deprecated)", "gemini").option("-k, --api-key <key>", "API key (or set env: OPENAI_API_KEY, GOOGLE_API_KEY)").option("-o, --output <path>", "Output file path (downloads image)").option("-s, --size <size>", "Image size (openai: 1024x1024, 1536x1024, 1024x1536)", "1024x1024").option("-r, --ratio <ratio>", "Aspect ratio (gemini: 1:1, 1:4, 1:8, 4:1, 8:1, 16:9, 9:16, 3:4, 4:3, etc.)", "1:1").option("-q, --quality <quality>", "Quality: standard, hd (openai only)", "standard").option("--style <style>", "Style: vivid, natural (openai only)", "vivid").option("-n, --count <n>", "Number of images to generate", "1").option("-m, --model <model>", "Gemini model: flash, 3.1-flash, latest (Nano Banana 2), pro (4K)").option("--dry-run", "Preview parameters without executing").addHelpText("after", `
449845
+ generateCommand.command("image").alias("img").description("Generate image using AI (Gemini, DALL-E, or Runway)").argument("[prompt]", "Image description prompt (interactive if omitted)").option("-p, --provider <provider>", "Provider: gemini, openai, grok, runway (dalle is deprecated)", "gemini").option("-k, --api-key <key>", "API key (or set env: OPENAI_API_KEY, GOOGLE_API_KEY)").option("-o, --output <path>", "Output file path (downloads image)").option("-s, --size <size>", "Image size (openai: 1024x1024, 1536x1024, 1024x1536)", "1024x1024").option("-r, --ratio <ratio>", "Aspect ratio (gemini: 1:1, 1:4, 1:8, 4:1, 8:1, 16:9, 9:16, 3:4, 4:3, etc.)", "1:1").option("-q, --quality <quality>", "Quality: standard, hd (openai only)", "standard").option("--style <style>", "Style: vivid, natural (openai only)", "vivid").option("-n, --count <n>", "Number of images to generate", "1").option("-m, --model <model>", "Model. Gemini: flash, 3.1-flash, latest, pro. OpenAI: 1.5 (default), 2 (gpt-image-2)").option("--dry-run", "Preview parameters without executing").addHelpText("after", `
449846
449846
  Examples:
449847
449847
  $ vibe generate image "a sunset over the ocean" -o sunset.png
449848
449848
  $ vibe gen img "logo design" -o logo.png -p openai
@@ -449909,7 +449909,10 @@ Examples:
449909
449909
  if (provider === "dalle" || provider === "openai") {
449910
449910
  const openaiImage = new OpenAIImageProvider();
449911
449911
  await openaiImage.initialize({ apiKey });
449912
+ const modelAlias = options.model;
449913
+ const openaiModel = modelAlias === "2" || modelAlias === "gpt-image-2" ? "gpt-image-2" : void 0;
449912
449914
  const result = await openaiImage.generateImage(prompt3, {
449915
+ model: openaiModel,
449913
449916
  size: options.size,
449914
449917
  quality: options.quality,
449915
449918
  style: options.style,
@@ -449919,7 +449922,8 @@ Examples:
449919
449922
  spinner2.fail(result.error || "Image generation failed");
449920
449923
  exitWithError(apiError(result.error || "Image generation failed", true));
449921
449924
  }
449922
- spinner2.succeed(source_default.green(`Generated ${result.images.length} image(s) with OpenAI GPT Image 1.5`));
449925
+ const modelLabel = openaiModel === "gpt-image-2" ? "GPT Image 2" : "GPT Image 1.5";
449926
+ spinner2.succeed(source_default.green(`Generated ${result.images.length} image(s) with OpenAI ${modelLabel}`));
449923
449927
  if (isJsonMode()) {
449924
449928
  const outputPath = options.output ? resolve25(process.cwd(), options.output) : void 0;
449925
449929
  if (outputPath && result.images.length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibeframe/mcp-server",
3
- "version": "0.52.0",
3
+ "version": "0.52.1",
4
4
  "description": "VibeFrame MCP Server - AI-native video editing via Model Context Protocol",
5
5
  "type": "module",
6
6
  "bin": {
@@ -57,8 +57,8 @@
57
57
  "tsx": "^4.21.0",
58
58
  "typescript": "^5.3.3",
59
59
  "vitest": "^1.2.2",
60
- "@vibeframe/core": "0.52.0",
61
- "@vibeframe/cli": "0.52.0"
60
+ "@vibeframe/cli": "0.52.1",
61
+ "@vibeframe/core": "0.52.1"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=20"