@n8n/n8n-nodes-langchain 2.35.2 → 2.36.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 (227) hide show
  1. package/dist/node-definitions/.nodes-hash +1 -1
  2. package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v1/resource_image/index.schema.js +1 -1
  3. package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v1/resource_image/operation_generate.schema.js +1 -1
  4. package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v1/resource_video/index.schema.js +1 -1
  5. package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v1/resource_video/operation_text_to_video.schema.js +1 -1
  6. package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v11/resource_image/index.schema.js +1 -1
  7. package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v11/resource_image/operation_generate.schema.js +1 -1
  8. package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v11/resource_video/index.schema.js +1 -1
  9. package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v11/resource_video/operation_text_to_video.schema.js +1 -1
  10. package/dist/node-definitions/nodes/n8n-nodes-langchain/anthropic/v1/resource_file/index.schema.js +1 -1
  11. package/dist/node-definitions/nodes/n8n-nodes-langchain/anthropic/v1/resource_file/operation_upload.schema.js +1 -1
  12. package/dist/node-definitions/nodes/n8n-nodes-langchain/anthropic/v1/resource_prompt/index.schema.js +1 -1
  13. package/dist/node-definitions/nodes/n8n-nodes-langchain/anthropic/v1/resource_prompt/operation_generate.schema.js +1 -1
  14. package/dist/node-definitions/nodes/n8n-nodes-langchain/anthropic/v1/resource_text/index.schema.js +1 -1
  15. package/dist/node-definitions/nodes/n8n-nodes-langchain/anthropic/v1/resource_text/operation_message.schema.js +1 -1
  16. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_document/index.schema.js +1 -1
  17. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_document/operation_analyze.schema.js +1 -1
  18. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_file/index.schema.js +1 -1
  19. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_file/operation_upload.schema.js +1 -1
  20. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_file_search/index.schema.js +1 -1
  21. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_file_search/operation_create_store.schema.js +1 -1
  22. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_image/index.schema.js +1 -1
  23. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_image/operation_generate.schema.js +1 -1
  24. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_text/index.schema.js +1 -1
  25. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_text/operation_message.schema.js +1 -1
  26. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_video/index.schema.js +1 -1
  27. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_video/operation_generate.schema.js +1 -1
  28. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_document/index.schema.js +1 -1
  29. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_document/operation_analyze.schema.js +1 -1
  30. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_file/index.schema.js +1 -1
  31. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_file/operation_upload.schema.js +1 -1
  32. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_file_search/index.schema.js +1 -1
  33. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_file_search/operation_create_store.schema.js +1 -1
  34. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_image/index.schema.js +1 -1
  35. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_image/operation_generate.schema.js +1 -1
  36. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_text/index.schema.js +1 -1
  37. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_text/operation_message.schema.js +1 -1
  38. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_video/index.schema.js +1 -1
  39. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_video/operation_generate.schema.js +1 -1
  40. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_document/index.schema.js +1 -1
  41. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_document/operation_analyze.schema.js +1 -1
  42. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_file/index.schema.js +1 -1
  43. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_file/operation_upload.schema.js +1 -1
  44. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_file_search/index.schema.js +1 -1
  45. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_file_search/operation_create_store.schema.js +1 -1
  46. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_image/index.schema.js +1 -1
  47. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_image/operation_generate.schema.js +1 -1
  48. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_text/index.schema.js +1 -1
  49. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_text/operation_message.schema.js +1 -1
  50. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_video/index.schema.js +1 -1
  51. package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_video/operation_generate.schema.js +1 -1
  52. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatMinimax/index.ts +3 -1
  53. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatMinimax/v1.ts +0 -1
  54. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatMinimax/v11.schema.js +25 -0
  55. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatMinimax/v11.ts +59 -0
  56. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenRouter/v1.schema.js +1 -1
  57. package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenRouter/v1.ts +33 -0
  58. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/index.ts +3 -1
  59. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v1.schema.js +1 -0
  60. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v1.ts +4 -0
  61. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v11.schema.js +1 -0
  62. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v11.ts +4 -0
  63. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v2.schema.js +1 -0
  64. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v2.ts +4 -0
  65. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v21.schema.js +34 -0
  66. package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v21.ts +54 -0
  67. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/index.ts +3 -1
  68. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_image/index.schema.js +1 -1
  69. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_image/operation_generate.schema.js +1 -1
  70. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_text/index.schema.js +1 -1
  71. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_text/operation_message.schema.js +1 -1
  72. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/index.schema.js +1 -1
  73. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_image_to_video.schema.js +3 -3
  74. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_image_to_video.ts +8 -1
  75. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_text_to_video.schema.js +6 -6
  76. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_text_to_video.ts +4 -0
  77. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/index.schema.js +26 -0
  78. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/index.ts +21 -0
  79. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_audio/index.schema.js +18 -0
  80. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_audio/index.ts +10 -0
  81. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_audio/operation_text_to_speech.schema.js +32 -0
  82. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_audio/operation_text_to_speech.ts +75 -0
  83. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_image/index.schema.js +18 -0
  84. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_image/index.ts +10 -0
  85. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_image/operation_generate.schema.js +33 -0
  86. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_image/operation_generate.ts +64 -0
  87. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_text/index.schema.js +18 -0
  88. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_text/index.ts +10 -0
  89. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_text/operation_message.schema.js +31 -0
  90. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_text/operation_message.ts +82 -0
  91. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_video/index.schema.js +22 -0
  92. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_video/index.ts +15 -0
  93. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_video/operation_image_to_video.schema.js +38 -0
  94. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_video/operation_image_to_video.ts +122 -0
  95. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_video/operation_text_to_video.schema.js +36 -0
  96. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_video/operation_text_to_video.ts +82 -0
  97. package/dist/node-definitions/nodes/n8n-nodes-langchain/moonshot/v1/resource_text/index.schema.js +1 -1
  98. package/dist/node-definitions/nodes/n8n-nodes-langchain/moonshot/v1/resource_text/operation_message.schema.js +1 -1
  99. package/dist/node-definitions/nodes/n8n-nodes-langchain/ollama/v1/resource_text/index.schema.js +1 -1
  100. package/dist/node-definitions/nodes/n8n-nodes-langchain/ollama/v1/resource_text/operation_message.schema.js +1 -1
  101. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_audio/index.schema.js +1 -1
  102. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_audio/operation_generate.schema.js +1 -1
  103. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_file/index.schema.js +1 -1
  104. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_file/operation_upload.schema.js +1 -1
  105. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_image/index.schema.js +1 -1
  106. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_image/operation_generate.schema.js +1 -1
  107. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_audio/index.schema.js +1 -1
  108. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_audio/operation_generate.schema.js +1 -1
  109. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_file/index.schema.js +1 -1
  110. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_file/operation_upload.schema.js +1 -1
  111. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_image/index.schema.js +1 -1
  112. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_image/operation_generate.schema.js +1 -1
  113. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_audio/index.schema.js +1 -1
  114. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_audio/operation_generate.schema.js +1 -1
  115. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_file/index.schema.js +1 -1
  116. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_file/operation_upload.schema.js +1 -1
  117. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_image/index.schema.js +1 -1
  118. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_image/operation_generate.schema.js +1 -1
  119. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_audio/index.schema.js +1 -1
  120. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_audio/operation_generate.schema.js +1 -1
  121. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_file/index.schema.js +1 -1
  122. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_file/operation_upload.schema.js +1 -1
  123. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_image/index.schema.js +1 -1
  124. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_image/operation_generate.schema.js +1 -1
  125. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_audio/index.schema.js +1 -1
  126. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_audio/operation_generate.schema.js +1 -1
  127. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_file/index.schema.js +1 -1
  128. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_file/operation_upload.schema.js +1 -1
  129. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_image/index.schema.js +1 -1
  130. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_image/operation_generate.schema.js +1 -1
  131. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_audio/index.schema.js +1 -1
  132. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_audio/operation_generate.schema.js +1 -1
  133. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_file/index.schema.js +1 -1
  134. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_file/operation_upload.schema.js +1 -1
  135. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_image/index.schema.js +1 -1
  136. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_image/operation_generate.schema.js +1 -1
  137. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_audio/index.schema.js +1 -1
  138. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_audio/operation_generate.schema.js +1 -1
  139. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_file/index.schema.js +1 -1
  140. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_file/operation_upload.schema.js +1 -1
  141. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_image/index.schema.js +1 -1
  142. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_image/operation_generate.schema.js +1 -1
  143. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_audio/index.schema.js +1 -1
  144. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_audio/operation_generate.schema.js +1 -1
  145. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_file/index.schema.js +1 -1
  146. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_file/operation_upload.schema.js +1 -1
  147. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_image/index.schema.js +1 -1
  148. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_image/operation_generate.schema.js +1 -1
  149. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_audio/index.schema.js +1 -1
  150. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_audio/operation_generate.schema.js +1 -1
  151. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_file/index.schema.js +1 -1
  152. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_file/operation_upload.schema.js +1 -1
  153. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_image/index.schema.js +1 -1
  154. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_image/operation_generate.schema.js +1 -1
  155. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_conversation/index.schema.js +1 -1
  156. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_conversation/operation_create.schema.js +1 -1
  157. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_file/index.schema.js +1 -1
  158. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_file/operation_upload.schema.js +1 -1
  159. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_text/index.schema.js +1 -1
  160. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_text/operation_response.schema.js +1 -1
  161. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_conversation/index.schema.js +1 -1
  162. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_conversation/operation_create.schema.js +1 -1
  163. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_file/index.schema.js +1 -1
  164. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_file/operation_upload.schema.js +1 -1
  165. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_text/index.schema.js +1 -1
  166. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_text/operation_response.schema.js +1 -1
  167. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_conversation/index.schema.js +1 -1
  168. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_conversation/operation_create.schema.js +1 -1
  169. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_file/index.schema.js +1 -1
  170. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_file/operation_upload.schema.js +1 -1
  171. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_text/index.schema.js +1 -1
  172. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_text/operation_response.schema.js +1 -1
  173. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_conversation/index.schema.js +1 -1
  174. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_conversation/operation_create.schema.js +1 -1
  175. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_file/index.schema.js +1 -1
  176. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_file/operation_upload.schema.js +1 -1
  177. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_text/index.schema.js +1 -1
  178. package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_text/operation_response.schema.js +1 -1
  179. package/dist/nodes/llms/LMChatAnthropic/LmChatAnthropic.node.js.map +1 -1
  180. package/dist/nodes/llms/LMChatAnthropic/methods/searchModels.js +1 -4
  181. package/dist/nodes/llms/LMChatAnthropic/methods/searchModels.js.map +1 -1
  182. package/dist/nodes/llms/LMChatOpenAi/methods/loadModels.js +1 -4
  183. package/dist/nodes/llms/LMChatOpenAi/methods/loadModels.js.map +1 -1
  184. package/dist/nodes/llms/LmChatMinimax/LmChatMinimax.node.js +23 -11
  185. package/dist/nodes/llms/LmChatMinimax/LmChatMinimax.node.js.map +1 -1
  186. package/dist/nodes/llms/LmChatOpenRouter/LmChatOpenRouter.node.js +123 -5
  187. package/dist/nodes/llms/LmChatOpenRouter/LmChatOpenRouter.node.js.map +1 -1
  188. package/dist/nodes/mcp/McpTrigger/CredentialGateTool.d.ts +4 -0
  189. package/dist/nodes/mcp/McpTrigger/CredentialGateTool.js +24 -0
  190. package/dist/nodes/mcp/McpTrigger/CredentialGateTool.js.map +1 -0
  191. package/dist/nodes/mcp/McpTrigger/McpServer.d.ts +3 -3
  192. package/dist/nodes/mcp/McpTrigger/McpServer.js +10 -10
  193. package/dist/nodes/mcp/McpTrigger/McpServer.js.map +1 -1
  194. package/dist/nodes/mcp/McpTrigger/McpTrigger.node.js +66 -8
  195. package/dist/nodes/mcp/McpTrigger/McpTrigger.node.js.map +1 -1
  196. package/dist/nodes/vendors/MiniMax/actions/audio/tts.operation.js +1 -1
  197. package/dist/nodes/vendors/MiniMax/actions/audio/tts.operation.js.map +1 -1
  198. package/dist/nodes/vendors/MiniMax/actions/image/generate.operation.js +1 -1
  199. package/dist/nodes/vendors/MiniMax/actions/image/generate.operation.js.map +1 -1
  200. package/dist/nodes/vendors/MiniMax/actions/text/message.operation.js +22 -11
  201. package/dist/nodes/vendors/MiniMax/actions/text/message.operation.js.map +1 -1
  202. package/dist/nodes/vendors/MiniMax/actions/versionDescription.js +2 -1
  203. package/dist/nodes/vendors/MiniMax/actions/versionDescription.js.map +1 -1
  204. package/dist/nodes/vendors/MiniMax/actions/video/generate.i2v.operation.d.ts +2 -2
  205. package/dist/nodes/vendors/MiniMax/actions/video/generate.i2v.operation.js +144 -92
  206. package/dist/nodes/vendors/MiniMax/actions/video/generate.i2v.operation.js.map +1 -1
  207. package/dist/nodes/vendors/MiniMax/actions/video/generate.t2v.operation.d.ts +2 -2
  208. package/dist/nodes/vendors/MiniMax/actions/video/generate.t2v.operation.js +117 -73
  209. package/dist/nodes/vendors/MiniMax/actions/video/generate.t2v.operation.js.map +1 -1
  210. package/dist/nodes/vendors/MiniMax/actions/video/helpers.d.ts +9 -0
  211. package/dist/nodes/vendors/MiniMax/actions/video/helpers.js +94 -0
  212. package/dist/nodes/vendors/MiniMax/actions/video/helpers.js.map +1 -0
  213. package/dist/nodes/vendors/MiniMax/helpers/interfaces.d.ts +15 -0
  214. package/dist/nodes/vendors/MiniMax/helpers/modelOptions.d.ts +5 -0
  215. package/dist/nodes/vendors/MiniMax/helpers/modelOptions.js +17 -0
  216. package/dist/nodes/vendors/MiniMax/helpers/modelOptions.js.map +1 -0
  217. package/dist/nodes/vendors/MiniMax/transport/index.d.ts +9 -0
  218. package/dist/nodes/vendors/MiniMax/transport/index.js +56 -3
  219. package/dist/nodes/vendors/MiniMax/transport/index.js.map +1 -1
  220. package/dist/typecheck.tsbuildinfo +1 -1
  221. package/dist/types/nodes.json +4 -4
  222. package/dist/utils/N8nTool.js +3 -1
  223. package/dist/utils/N8nTool.js.map +1 -1
  224. package/dist/utils/helpers.d.ts +4 -2
  225. package/dist/utils/helpers.js +4 -2
  226. package/dist/utils/helpers.js.map +1 -1
  227. package/package.json +12 -12
@@ -0,0 +1,75 @@
1
+ /**
2
+ * MiniMax Node - Version 1.1
3
+ * Discriminator: resource=audio, operation=textToSpeech
4
+ */
5
+
6
+
7
+ interface Credentials {
8
+ minimaxApi: CredentialReference;
9
+ }
10
+
11
+ /** Generate speech audio from text input */
12
+ export type LcMinimaxV11AudioTextToSpeechParams = {
13
+ resource: 'audio';
14
+ operation: 'textToSpeech';
15
+ /**
16
+ * The speech synthesis model to use
17
+ * @default speech-2.8-hd
18
+ */
19
+ modelId?: 'speech-02-hd' | 'speech-02-turbo' | 'speech-2.6-hd' | 'speech-2.6-turbo' | 'speech-2.8-hd' | 'speech-2.8-turbo' | Expression<string>;
20
+ /**
21
+ * The text to convert to speech (max 10,000 characters)
22
+ */
23
+ text: string | Expression<string>;
24
+ /**
25
+ * Voice ID to use for speech synthesis. Browse available voices in the &lt;a href="https://platform.minimax.io/docs/faq/system-voice-id"&gt;MiniMax documentation&lt;/a&gt;.
26
+ * @default English_Graceful_Lady
27
+ */
28
+ voiceId?: string | Expression<string>;
29
+ /**
30
+ * Whether to download the generated audio as binary data. When disabled, only the audio URL is returned.
31
+ * @default true
32
+ */
33
+ downloadAudio?: boolean | Expression<boolean>;
34
+ /**
35
+ * Options
36
+ * @default {}
37
+ */
38
+ options?: {
39
+ /** Output audio format. WAV is only supported in non-streaming mode.
40
+ * @default mp3
41
+ */
42
+ audioFormat?: 'mp3' | 'pcm' | 'flac' | 'wav' | Expression<string>;
43
+ /** Emotion for synthesized speech. By default the model auto-selects the most natural emotion.
44
+ * @default calm
45
+ */
46
+ emotion?: 'angry' | 'calm' | 'disgusted' | 'fearful' | 'happy' | 'sad' | 'surprised' | Expression<string>;
47
+ /** Enhance recognition for a specific language
48
+ * @default auto
49
+ */
50
+ languageBoost?: 'Arabic' | 'auto' | 'Chinese' | 'English' | 'French' | 'German' | 'Indonesian' | 'Italian' | 'Japanese' | 'Korean' | 'Portuguese' | 'Russian' | 'Spanish' | 'Thai' | 'Turkish' | 'Vietnamese' | Expression<string>;
51
+ /** Speech pitch adjustment (-12 to 12, 0 = original pitch)
52
+ * @default 0
53
+ */
54
+ pitch?: number | Expression<number>;
55
+ /** Speech speed (0.5-2, higher = faster)
56
+ * @default 1
57
+ */
58
+ speed?: number | Expression<number>;
59
+ /** Speech volume (0.1-10, higher = louder)
60
+ * @default 1
61
+ */
62
+ volume?: number | Expression<number>;
63
+ };
64
+ };
65
+
66
+ export interface LcMinimaxV11AudioTextToSpeechSubnodeConfig {
67
+ tools?: ToolInstance[];
68
+ }
69
+
70
+ export type LcMinimaxV11AudioTextToSpeechNode = {
71
+ type: '@n8n/n8n-nodes-langchain.minimax';
72
+ version: 1.1;
73
+ isTrigger: true;
74
+ config: NodeConfig<LcMinimaxV11AudioTextToSpeechParams> & { credentials?: Credentials } & { subnodes?: LcMinimaxV11AudioTextToSpeechSubnodeConfig };
75
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * MiniMax - Image Resource - Zod Schema Factory
3
+ * Exports a factory that unions all operation schemas for this resource.
4
+ *
5
+ * Schema helpers (z, expressionSchema, etc.) are passed as parameters
6
+ * by the schema-validator, not imported from external files.
7
+ *
8
+ * @generated - CommonJS JavaScript for runtime loading
9
+ */
10
+
11
+ const getGenerateSchema = require('./operation_generate.schema');
12
+
13
+ module.exports = function getSchema(helpers) {
14
+ const { parameters, z } = helpers;
15
+ // Apply operation default if not set
16
+ const effectiveParams = parameters.operation === undefined ? { ...parameters, operation: 'generate' } : parameters;
17
+ return getGenerateSchema({ ...helpers, parameters: effectiveParams });
18
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * MiniMax - Image Resource
3
+ * Re-exports all operation types for this resource.
4
+ */
5
+
6
+ import type { LcMinimaxV11ImageGenerateNode } from './operation_generate';
7
+
8
+ export * from './operation_generate';
9
+
10
+ export type LcMinimaxV11ImageNode = LcMinimaxV11ImageGenerateNode;
@@ -0,0 +1,33 @@
1
+ /**
2
+ * MiniMax Node - Version 1.1 - Zod Schema
3
+ * Discriminator: resource=image, operation=generate
4
+ *
5
+ * Use .parse() for strict validation or .safeParse() for error handling.
6
+ *
7
+ * Schema helpers (z, expressionSchema, etc.) are passed as parameters
8
+ * by the schema-validator, not imported from external files.
9
+ *
10
+ * @generated - CommonJS JavaScript for runtime loading
11
+ */
12
+
13
+ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, toolInstanceSchema }) {
14
+
15
+ // Static subnode schema
16
+ const subnodesSchema = z.object({
17
+ tools: z.array(toolInstanceSchema).optional(),
18
+ }).strict();
19
+
20
+ return z.object({
21
+ parameters: z.object({
22
+ resource: z.literal('image'),
23
+ operation: z.literal('generate').default('generate'),
24
+ modelId: z.union([z.literal('image-01'), expressionSchema]).optional(),
25
+ prompt: stringOrExpression,
26
+ aspectRatio: z.union([z.literal('1:1'), z.literal('16:9'), z.literal('2:3'), z.literal('21:9'), z.literal('3:2'), z.literal('3:4'), z.literal('4:3'), z.literal('9:16'), expressionSchema]).optional(),
27
+ numberOfImages: numberOrExpression.optional(),
28
+ downloadImage: booleanOrExpression.optional(),
29
+ options: z.object({ promptOptimizer: booleanOrExpression.optional(), seed: numberOrExpression.optional() }).optional(),
30
+ }).optional(),
31
+ subnodes: subnodesSchema.optional(),
32
+ });
33
+ };
@@ -0,0 +1,64 @@
1
+ /**
2
+ * MiniMax Node - Version 1.1
3
+ * Discriminator: resource=image, operation=generate
4
+ */
5
+
6
+
7
+ interface Credentials {
8
+ minimaxApi: CredentialReference;
9
+ }
10
+
11
+ /** Create an image from a text prompt */
12
+ export type LcMinimaxV11ImageGenerateParams = {
13
+ resource: 'image';
14
+ operation: 'generate';
15
+ /**
16
+ * The model to use for image generation
17
+ * @default image-01
18
+ */
19
+ modelId?: 'image-01' | Expression<string>;
20
+ /**
21
+ * Text description of the image to generate (max 1500 characters)
22
+ */
23
+ prompt: string | Expression<string>;
24
+ /**
25
+ * Aspect ratio of the generated image
26
+ * @default 1:1
27
+ */
28
+ aspectRatio?: '1:1' | '16:9' | '2:3' | '21:9' | '3:2' | '3:4' | '4:3' | '9:16' | Expression<string>;
29
+ /**
30
+ * Number of images to generate per request (1-9)
31
+ * @default 1
32
+ */
33
+ numberOfImages?: number | Expression<number>;
34
+ /**
35
+ * Whether to download the generated image as binary data. When disabled, only the image URL is returned.
36
+ * @default true
37
+ */
38
+ downloadImage?: boolean | Expression<boolean>;
39
+ /**
40
+ * Options
41
+ * @default {}
42
+ */
43
+ options?: {
44
+ /** Whether to automatically optimize the prompt for better results
45
+ * @default false
46
+ */
47
+ promptOptimizer?: boolean | Expression<boolean>;
48
+ /** Random seed for reproducible outputs. Using the same seed and parameters produces the same image.
49
+ * @default 0
50
+ */
51
+ seed?: number | Expression<number>;
52
+ };
53
+ };
54
+
55
+ export interface LcMinimaxV11ImageGenerateSubnodeConfig {
56
+ tools?: ToolInstance[];
57
+ }
58
+
59
+ export type LcMinimaxV11ImageGenerateNode = {
60
+ type: '@n8n/n8n-nodes-langchain.minimax';
61
+ version: 1.1;
62
+ isTrigger: true;
63
+ config: NodeConfig<LcMinimaxV11ImageGenerateParams> & { credentials?: Credentials } & { subnodes?: LcMinimaxV11ImageGenerateSubnodeConfig };
64
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * MiniMax - Text Resource - Zod Schema Factory
3
+ * Exports a factory that unions all operation schemas for this resource.
4
+ *
5
+ * Schema helpers (z, expressionSchema, etc.) are passed as parameters
6
+ * by the schema-validator, not imported from external files.
7
+ *
8
+ * @generated - CommonJS JavaScript for runtime loading
9
+ */
10
+
11
+ const getMessageSchema = require('./operation_message.schema');
12
+
13
+ module.exports = function getSchema(helpers) {
14
+ const { parameters, z } = helpers;
15
+ // Apply operation default if not set
16
+ const effectiveParams = parameters.operation === undefined ? { ...parameters, operation: 'message' } : parameters;
17
+ return getMessageSchema({ ...helpers, parameters: effectiveParams });
18
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * MiniMax - Text Resource
3
+ * Re-exports all operation types for this resource.
4
+ */
5
+
6
+ import type { LcMinimaxV11TextMessageNode } from './operation_message';
7
+
8
+ export * from './operation_message';
9
+
10
+ export type LcMinimaxV11TextNode = LcMinimaxV11TextMessageNode;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * MiniMax Node - Version 1.1 - Zod Schema
3
+ * Discriminator: resource=text, operation=message
4
+ *
5
+ * Use .parse() for strict validation or .safeParse() for error handling.
6
+ *
7
+ * Schema helpers (z, expressionSchema, etc.) are passed as parameters
8
+ * by the schema-validator, not imported from external files.
9
+ *
10
+ * @generated - CommonJS JavaScript for runtime loading
11
+ */
12
+
13
+ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, toolInstanceSchema }) {
14
+
15
+ // Static subnode schema
16
+ const subnodesSchema = z.object({
17
+ tools: z.array(toolInstanceSchema).optional(),
18
+ }).strict();
19
+
20
+ return z.object({
21
+ parameters: z.object({
22
+ resource: z.literal('text').default('text'),
23
+ operation: z.literal('message').default('message'),
24
+ modelId: z.union([z.literal('MiniMax-M2'), z.literal('MiniMax-M2.1'), z.literal('MiniMax-M2.1-highspeed'), z.literal('MiniMax-M2.5'), z.literal('MiniMax-M2.5-highspeed'), z.literal('MiniMax-M2.7'), z.literal('MiniMax-M2.7-highspeed'), z.literal('MiniMax-M3'), expressionSchema]).optional(),
25
+ messages: z.object({ values: z.array(z.object({ content: stringOrExpression.optional(), role: z.union([z.literal('user'), z.literal('assistant'), expressionSchema]).optional() })).optional() }).optional(),
26
+ simplify: booleanOrExpression.optional(),
27
+ options: z.object({ hideThinking: booleanOrExpression.optional(), maxTokens: numberOrExpression.optional(), maxToolsIterations: numberOrExpression.optional(), temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), system: stringOrExpression.optional() }).optional(),
28
+ }).optional(),
29
+ subnodes: subnodesSchema.optional(),
30
+ });
31
+ };
@@ -0,0 +1,82 @@
1
+ /**
2
+ * MiniMax Node - Version 1.1
3
+ * Discriminator: resource=text, operation=message
4
+ */
5
+
6
+
7
+ interface Credentials {
8
+ minimaxApi: CredentialReference;
9
+ }
10
+
11
+ /** Send a message and get a response from a MiniMax model */
12
+ export type LcMinimaxV11TextMessageParams = {
13
+ resource: 'text';
14
+ operation: 'message';
15
+ /**
16
+ * The model to use for generating the response
17
+ * @default MiniMax-M3
18
+ */
19
+ modelId?: 'MiniMax-M2' | 'MiniMax-M2.1' | 'MiniMax-M2.1-highspeed' | 'MiniMax-M2.5' | 'MiniMax-M2.5-highspeed' | 'MiniMax-M2.7' | 'MiniMax-M2.7-highspeed' | 'MiniMax-M3' | Expression<string>;
20
+ /**
21
+ * Messages
22
+ * @default {"values":[{"content":"","role":"user"}]}
23
+ */
24
+ messages?: {
25
+ /** Values
26
+ */
27
+ values?: Array<{
28
+ /** The content of the message to be sent
29
+ */
30
+ content?: string | Expression<string>;
31
+ /** Role in shaping the model's response, it tells the model how it should behave and interact with the user
32
+ * @default user
33
+ */
34
+ role?: 'user' | 'assistant' | Expression<string>;
35
+ }>;
36
+ };
37
+ /**
38
+ * Whether to return a simplified version of the response instead of the raw data
39
+ * @default true
40
+ */
41
+ simplify?: boolean | Expression<boolean>;
42
+ /**
43
+ * Options
44
+ * @default {}
45
+ */
46
+ options?: {
47
+ /** Whether to strip chain-of-thought reasoning from the response, returning only the final answer
48
+ * @default true
49
+ */
50
+ hideThinking?: boolean | Expression<boolean>;
51
+ /** The maximum number of tokens to generate in the completion
52
+ * @default 1024
53
+ */
54
+ maxTokens?: number | Expression<number>;
55
+ /** The maximum number of tool iteration cycles the LLM will run before stopping. A single iteration can contain multiple tool calls. Set to 0 for no limit.
56
+ * @default 15
57
+ */
58
+ maxToolsIterations?: number | Expression<number>;
59
+ /** Controls the randomness of the output. Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.
60
+ * @default 0.7
61
+ */
62
+ temperature?: number | Expression<number>;
63
+ /** The maximum cumulative probability of tokens to consider when sampling
64
+ * @default 0.95
65
+ */
66
+ topP?: number | Expression<number>;
67
+ /** System Message
68
+ */
69
+ system?: string | Expression<string>;
70
+ };
71
+ };
72
+
73
+ export interface LcMinimaxV11TextMessageSubnodeConfig {
74
+ tools?: ToolInstance[];
75
+ }
76
+
77
+ export type LcMinimaxV11TextMessageNode = {
78
+ type: '@n8n/n8n-nodes-langchain.minimax';
79
+ version: 1.1;
80
+ isTrigger: true;
81
+ config: NodeConfig<LcMinimaxV11TextMessageParams> & { credentials?: Credentials } & { subnodes?: LcMinimaxV11TextMessageSubnodeConfig };
82
+ };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * MiniMax - Video Resource - Zod Schema Factory
3
+ * Exports a factory that unions all operation schemas for this resource.
4
+ *
5
+ * Schema helpers (z, expressionSchema, etc.) are passed as parameters
6
+ * by the schema-validator, not imported from external files.
7
+ *
8
+ * @generated - CommonJS JavaScript for runtime loading
9
+ */
10
+
11
+ const getImageToVideoSchema = require('./operation_image_to_video.schema');
12
+ const getTextToVideoSchema = require('./operation_text_to_video.schema');
13
+
14
+ module.exports = function getSchema(helpers) {
15
+ const { parameters, z } = helpers;
16
+ // Apply operation default if not set
17
+ const effectiveParams = parameters.operation === undefined ? { ...parameters, operation: 'textToVideo' } : parameters;
18
+ return z.union([
19
+ getImageToVideoSchema({ ...helpers, parameters: effectiveParams }),
20
+ getTextToVideoSchema({ ...helpers, parameters: effectiveParams }),
21
+ ]);
22
+ };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * MiniMax - Video Resource
3
+ * Re-exports all operation types for this resource.
4
+ */
5
+
6
+ import type { LcMinimaxV11VideoImageToVideoNode } from './operation_image_to_video';
7
+ import type { LcMinimaxV11VideoTextToVideoNode } from './operation_text_to_video';
8
+
9
+ export * from './operation_image_to_video';
10
+ export * from './operation_text_to_video';
11
+
12
+ export type LcMinimaxV11VideoNode =
13
+ | LcMinimaxV11VideoImageToVideoNode
14
+ | LcMinimaxV11VideoTextToVideoNode
15
+ ;
@@ -0,0 +1,38 @@
1
+ /**
2
+ * MiniMax Node - Version 1.1 - Zod Schema
3
+ * Discriminator: resource=video, operation=imageToVideo
4
+ *
5
+ * Use .parse() for strict validation or .safeParse() for error handling.
6
+ *
7
+ * Schema helpers (z, expressionSchema, etc.) are passed as parameters
8
+ * by the schema-validator, not imported from external files.
9
+ *
10
+ * @generated - CommonJS JavaScript for runtime loading
11
+ */
12
+
13
+ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas, toolInstanceSchema }) {
14
+
15
+ // Static subnode schema
16
+ const subnodesSchema = z.object({
17
+ tools: z.array(toolInstanceSchema).optional(),
18
+ }).strict();
19
+
20
+ return z.object({
21
+ parameters: z.object({
22
+ resource: z.literal('video'),
23
+ operation: z.literal('imageToVideo'),
24
+ modelId: z.union([z.literal('MiniMax-H3'), z.literal('I2V-01'), z.literal('I2V-01-Director'), z.literal('I2V-01-live'), z.literal('MiniMax-Hailuo-02'), z.literal('MiniMax-Hailuo-2.3'), z.literal('MiniMax-Hailuo-2.3-Fast'), expressionSchema]).optional(),
25
+ imageInputType: z.union([z.literal('url'), z.literal('binary'), expressionSchema]).optional(),
26
+ imageUrl: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"imageInputType":["url"]}}, defaults: {"imageInputType":"url"} }),
27
+ binaryPropertyName: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"imageInputType":["binary"]}}, defaults: {"imageInputType":"url"} }),
28
+ prompt: resolveOneOfSchemas({ parameters, variants: [{ schema: stringOrExpression, required: false, displayOptions: {"hide":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-H3"} }, { schema: stringOrExpression, required: true, displayOptions: {"show":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-H3"} }] }),
29
+ h3Duration: resolveSchema({ parameters, schema: z.union([z.literal(4), z.literal(5), z.literal(6), z.literal(7), z.literal(8), z.literal(9), z.literal(10), z.literal(11), z.literal(12), z.literal(13), z.literal(14), z.literal(15), expressionSchema]), required: false, displayOptions: {"show":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-H3"} }),
30
+ h3Resolution: resolveSchema({ parameters, schema: z.union([z.literal('768P'), z.literal('2K'), expressionSchema]), required: false, displayOptions: {"show":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-H3"} }),
31
+ duration: resolveSchema({ parameters, schema: z.union([z.literal(6), z.literal(10), expressionSchema]), required: false, displayOptions: {"hide":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-H3"} }),
32
+ resolution: resolveSchema({ parameters, schema: z.union([z.literal('512P'), z.literal('720P'), z.literal('768P'), z.literal('1080P'), expressionSchema]), required: false, displayOptions: {"hide":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-H3"} }),
33
+ downloadVideo: booleanOrExpression.optional(),
34
+ options: z.object({ promptOptimizer: booleanOrExpression.optional(), lastFrameInputType: z.union([z.literal('none'), z.literal('url'), z.literal('binary'), expressionSchema]).optional(), lastFrameImageUrl: stringOrExpression.optional(), lastFrameBinaryPropertyName: stringOrExpression.optional(), subjectReferenceInputType: z.union([z.literal('none'), z.literal('url'), z.literal('binary'), expressionSchema]).optional(), subjectReferenceImageUrl: stringOrExpression.optional(), subjectReferenceBinaryPropertyName: stringOrExpression.optional() }).optional(),
35
+ }).optional(),
36
+ subnodes: subnodesSchema.optional(),
37
+ });
38
+ };
@@ -0,0 +1,122 @@
1
+ /**
2
+ * MiniMax Node - Version 1.1
3
+ * Discriminator: resource=video, operation=imageToVideo
4
+ */
5
+
6
+
7
+ interface Credentials {
8
+ minimaxApi: CredentialReference;
9
+ }
10
+
11
+ /** Generate a video from an image, with optional last frame and subject reference */
12
+ export type LcMinimaxV11VideoImageToVideoParams = {
13
+ resource: 'video';
14
+ operation: 'imageToVideo';
15
+ /**
16
+ * The model to use for video generation
17
+ * @default MiniMax-H3
18
+ */
19
+ modelId?: 'MiniMax-H3' | 'I2V-01' | 'I2V-01-Director' | 'I2V-01-live' | 'MiniMax-Hailuo-02' | 'MiniMax-Hailuo-2.3' | 'MiniMax-Hailuo-2.3-Fast' | Expression<string>;
20
+ /**
21
+ * How to provide the first frame image
22
+ * @default url
23
+ */
24
+ imageInputType?: 'url' | 'binary' | Expression<string>;
25
+ /**
26
+ * Public URL of the image to use as first frame (JPG, JPEG, PNG, WebP, &lt;20MB)
27
+ * @displayOptions.show { imageInputType: ["url"] }
28
+ */
29
+ imageUrl: string | Expression<string>;
30
+ /**
31
+ * Input Data Field Name
32
+ * @hint The name of the input field containing the binary image data
33
+ * @displayOptions.show { imageInputType: ["binary"] }
34
+ * @default data
35
+ */
36
+ binaryPropertyName?: string | Expression<string>;
37
+ /**
38
+ * Optional text description of the video (max 2000 characters). Camera movements can be controlled using [command] syntax.
39
+ * @displayOptions.hide { modelId: ["MiniMax-H3"] }
40
+ */
41
+ prompt?: string | Expression<string>;
42
+ /**
43
+ * Duration of the generated video
44
+ * @displayOptions.show { modelId: ["MiniMax-H3"] }
45
+ * @default 5
46
+ */
47
+ h3Duration?: 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | Expression<number>;
48
+ /**
49
+ * Resolution of the generated video
50
+ * @displayOptions.show { modelId: ["MiniMax-H3"] }
51
+ * @default 2K
52
+ */
53
+ h3Resolution?: '768P' | '2K' | Expression<string>;
54
+ /**
55
+ * Duration of the generated video
56
+ * @displayOptions.hide { modelId: ["MiniMax-H3"] }
57
+ * @default 6
58
+ */
59
+ duration?: 6 | 10 | Expression<number>;
60
+ /**
61
+ * Resolution of the generated video. Available options depend on the model.
62
+ * @displayOptions.hide { modelId: ["MiniMax-H3"] }
63
+ * @default 768P
64
+ */
65
+ resolution?: '512P' | '720P' | '768P' | '1080P' | Expression<string>;
66
+ /**
67
+ * Whether to download the generated video as binary data. When disabled, only the video URL is returned.
68
+ * @default true
69
+ */
70
+ downloadVideo?: boolean | Expression<boolean>;
71
+ /**
72
+ * Options
73
+ * @default {}
74
+ */
75
+ options?: {
76
+ /** Whether to automatically optimize the prompt
77
+ * @displayOptions.hide { modelId: ["MiniMax-H3"] }
78
+ * @default true
79
+ */
80
+ promptOptimizer?: boolean | Expression<boolean>;
81
+ /** Provide a last frame image to generate a first-and-last-frame video. Available only for supported models.
82
+ * @default none
83
+ */
84
+ lastFrameInputType?: 'none' | 'url' | 'binary' | Expression<string>;
85
+ /** Last Frame Image URL
86
+ * @displayOptions.show { lastFrameInputType: ["url"] }
87
+ */
88
+ lastFrameImageUrl?: string | Expression<string>;
89
+ /** Last Frame Data Field Name
90
+ * @displayOptions.show { lastFrameInputType: ["binary"] }
91
+ * @default lastFrame
92
+ */
93
+ lastFrameBinaryPropertyName?: string | Expression<string>;
94
+ /** Provide a face photo for facial consistency in the generated video. Only supported by MiniMax-Hailuo-2.3.
95
+ * @displayOptions.hide { modelId: ["MiniMax-H3"] }
96
+ * @default none
97
+ */
98
+ subjectReferenceInputType?: 'none' | 'url' | 'binary' | Expression<string>;
99
+ /** Subject Reference Image URL
100
+ * @displayOptions.show { subjectReferenceInputType: ["url"] }
101
+ * @displayOptions.hide { modelId: ["MiniMax-H3"] }
102
+ */
103
+ subjectReferenceImageUrl?: string | Expression<string>;
104
+ /** Subject Reference Data Field Name
105
+ * @displayOptions.show { subjectReferenceInputType: ["binary"] }
106
+ * @displayOptions.hide { modelId: ["MiniMax-H3"] }
107
+ * @default subjectReference
108
+ */
109
+ subjectReferenceBinaryPropertyName?: string | Expression<string>;
110
+ };
111
+ };
112
+
113
+ export interface LcMinimaxV11VideoImageToVideoSubnodeConfig {
114
+ tools?: ToolInstance[];
115
+ }
116
+
117
+ export type LcMinimaxV11VideoImageToVideoNode = {
118
+ type: '@n8n/n8n-nodes-langchain.minimax';
119
+ version: 1.1;
120
+ isTrigger: true;
121
+ config: NodeConfig<LcMinimaxV11VideoImageToVideoParams> & { credentials?: Credentials } & { subnodes?: LcMinimaxV11VideoImageToVideoSubnodeConfig };
122
+ };
@@ -0,0 +1,36 @@
1
+ /**
2
+ * MiniMax Node - Version 1.1 - Zod Schema
3
+ * Discriminator: resource=video, operation=textToVideo
4
+ *
5
+ * Use .parse() for strict validation or .safeParse() for error handling.
6
+ *
7
+ * Schema helpers (z, expressionSchema, etc.) are passed as parameters
8
+ * by the schema-validator, not imported from external files.
9
+ *
10
+ * @generated - CommonJS JavaScript for runtime loading
11
+ */
12
+
13
+ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas, toolInstanceSchema }) {
14
+
15
+ // Static subnode schema
16
+ const subnodesSchema = z.object({
17
+ tools: z.array(toolInstanceSchema).optional(),
18
+ }).strict();
19
+
20
+ return z.object({
21
+ parameters: z.object({
22
+ resource: z.literal('video'),
23
+ operation: z.literal('textToVideo').default('textToVideo'),
24
+ modelId: z.union([z.literal('MiniMax-H3'), z.literal('MiniMax-Hailuo-2.3'), z.literal('MiniMax-Hailuo-02'), z.literal('T2V-01-Director'), z.literal('T2V-01'), expressionSchema]).optional(),
25
+ prompt: resolveOneOfSchemas({ parameters, variants: [{ schema: stringOrExpression, required: true, displayOptions: {"hide":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-H3"} }, { schema: stringOrExpression, required: true, displayOptions: {"show":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-H3"} }] }),
26
+ h3Duration: resolveSchema({ parameters, schema: z.union([z.literal(4), z.literal(5), z.literal(6), z.literal(7), z.literal(8), z.literal(9), z.literal(10), z.literal(11), z.literal(12), z.literal(13), z.literal(14), z.literal(15), expressionSchema]), required: false, displayOptions: {"show":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-H3"} }),
27
+ h3Resolution: resolveSchema({ parameters, schema: z.union([z.literal('768P'), z.literal('2K'), expressionSchema]), required: false, displayOptions: {"show":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-H3"} }),
28
+ duration: resolveSchema({ parameters, schema: z.union([z.literal(6), z.literal(10), expressionSchema]), required: false, displayOptions: {"hide":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-H3"} }),
29
+ resolution: resolveSchema({ parameters, schema: z.union([z.literal('720P'), z.literal('768P'), z.literal('1080P'), expressionSchema]), required: false, displayOptions: {"hide":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-H3"} }),
30
+ ratio: resolveSchema({ parameters, schema: z.union([z.literal('1:1'), z.literal('16:9'), z.literal('21:9'), z.literal('3:4'), z.literal('4:3'), z.literal('9:16'), expressionSchema]), required: false, displayOptions: {"show":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-H3"} }),
31
+ downloadVideo: booleanOrExpression.optional(),
32
+ options: resolveSchema({ parameters, schema: z.object({ promptOptimizer: booleanOrExpression.optional() }), required: false, displayOptions: {"hide":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-H3"} }),
33
+ }).optional(),
34
+ subnodes: subnodesSchema.optional(),
35
+ });
36
+ };