@infimind/video-mcp-cli 1.0.3 → 1.0.4

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/server.js +2 -2
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -244,7 +244,7 @@ async function handleCreateVideoTask(apiBaseUrl, token, args) {
244
244
  const response = await callRestApi(apiBaseUrl, "/mcp/video/create", {
245
245
  token,
246
246
  prompt: args.prompt,
247
- sourceImage: args.sourceImage ? await processFileInput(args.sourceImage) : undefined,
247
+ sourceImage: args.sourceImage ? (await processFileInput(args.sourceImage)).data : undefined,
248
248
  model: args.model || "sora_video2-15s",
249
249
  size: args.size || "1280x704",
250
250
  seconds: args.seconds || 10,
@@ -322,7 +322,7 @@ async function handleGetVideoStatus(apiBaseUrl, token, args) {
322
322
  async function handleCreateVideoAnalysisTask(apiBaseUrl, token, args) {
323
323
  const response = await callRestApi(apiBaseUrl, "/mcp/video-analysis/create", {
324
324
  token,
325
- videoFile: await processFileInput(args.videoFile),
325
+ videoFile: (await processFileInput(args.videoFile)).data,
326
326
  }, "POST");
327
327
  const result = [
328
328
  `# 视频拆解任务已创建`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infimind/video-mcp-cli",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "MCP Server for Sora AI Video Generator - Access video generation features through Claude Desktop",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",