@n8n/n8n-nodes-langchain 2.18.1 → 2.18.2

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 (75) hide show
  1. package/dist/known/credentials.json +1 -0
  2. package/dist/known/nodes.json +4 -0
  3. package/dist/node-definitions/.nodes-hash +1 -1
  4. package/dist/node-definitions/index.ts +4 -0
  5. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/index.ts +12 -0
  6. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/index.schema.js +26 -0
  7. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/index.ts +21 -0
  8. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_audio/index.schema.js +18 -0
  9. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_audio/index.ts +10 -0
  10. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_audio/operation_text_to_speech.schema.js +32 -0
  11. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_audio/operation_text_to_speech.ts +75 -0
  12. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_image/index.schema.js +18 -0
  13. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_image/index.ts +10 -0
  14. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_image/operation_generate.schema.js +33 -0
  15. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_image/operation_generate.ts +64 -0
  16. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_text/index.schema.js +18 -0
  17. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_text/index.ts +10 -0
  18. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_text/operation_message.schema.js +31 -0
  19. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_text/operation_message.ts +82 -0
  20. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/index.schema.js +22 -0
  21. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/index.ts +15 -0
  22. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_image_to_video.schema.js +36 -0
  23. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_image_to_video.ts +103 -0
  24. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_text_to_video.schema.js +33 -0
  25. package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_text_to_video.ts +60 -0
  26. package/dist/nodes/vendors/MiniMax/MiniMax.node.d.ts +5 -0
  27. package/dist/nodes/vendors/MiniMax/MiniMax.node.js +15 -0
  28. package/dist/nodes/vendors/MiniMax/MiniMax.node.js.map +1 -0
  29. package/dist/nodes/vendors/MiniMax/actions/audio/index.d.ts +4 -0
  30. package/dist/nodes/vendors/MiniMax/actions/audio/index.js +62 -0
  31. package/dist/nodes/vendors/MiniMax/actions/audio/index.js.map +1 -0
  32. package/dist/nodes/vendors/MiniMax/actions/audio/tts.operation.d.ts +29 -0
  33. package/dist/nodes/vendors/MiniMax/actions/audio/tts.operation.js +252 -0
  34. package/dist/nodes/vendors/MiniMax/actions/audio/tts.operation.js.map +1 -0
  35. package/dist/nodes/vendors/MiniMax/actions/image/generate.operation.d.ts +29 -0
  36. package/dist/nodes/vendors/MiniMax/actions/image/generate.operation.js +159 -0
  37. package/dist/nodes/vendors/MiniMax/actions/image/generate.operation.js.map +1 -0
  38. package/dist/nodes/vendors/MiniMax/actions/image/index.d.ts +4 -0
  39. package/dist/nodes/vendors/MiniMax/actions/image/index.js +62 -0
  40. package/dist/nodes/vendors/MiniMax/actions/image/index.js.map +1 -0
  41. package/dist/nodes/vendors/MiniMax/actions/node.type.d.ts +9 -0
  42. package/dist/nodes/vendors/MiniMax/actions/node.type.js +3 -0
  43. package/dist/nodes/vendors/MiniMax/actions/node.type.js.map +1 -0
  44. package/dist/nodes/vendors/MiniMax/actions/router.d.ts +2 -0
  45. package/dist/nodes/vendors/MiniMax/actions/router.js +86 -0
  46. package/dist/nodes/vendors/MiniMax/actions/router.js.map +1 -0
  47. package/dist/nodes/vendors/MiniMax/actions/text/index.d.ts +4 -0
  48. package/dist/nodes/vendors/MiniMax/actions/text/index.js +62 -0
  49. package/dist/nodes/vendors/MiniMax/actions/text/index.js.map +1 -0
  50. package/dist/nodes/vendors/MiniMax/actions/text/message.operation.d.ts +29 -0
  51. package/dist/nodes/vendors/MiniMax/actions/text/message.operation.js +287 -0
  52. package/dist/nodes/vendors/MiniMax/actions/text/message.operation.js.map +1 -0
  53. package/dist/nodes/vendors/MiniMax/actions/versionDescription.d.ts +2 -0
  54. package/dist/nodes/vendors/MiniMax/actions/versionDescription.js +118 -0
  55. package/dist/nodes/vendors/MiniMax/actions/versionDescription.js.map +1 -0
  56. package/dist/nodes/vendors/MiniMax/actions/video/generate.i2v.operation.d.ts +29 -0
  57. package/dist/nodes/vendors/MiniMax/actions/video/generate.i2v.operation.js +324 -0
  58. package/dist/nodes/vendors/MiniMax/actions/video/generate.i2v.operation.js.map +1 -0
  59. package/dist/nodes/vendors/MiniMax/actions/video/generate.t2v.operation.d.ts +29 -0
  60. package/dist/nodes/vendors/MiniMax/actions/video/generate.t2v.operation.js +161 -0
  61. package/dist/nodes/vendors/MiniMax/actions/video/generate.t2v.operation.js.map +1 -0
  62. package/dist/nodes/vendors/MiniMax/actions/video/index.d.ts +5 -0
  63. package/dist/nodes/vendors/MiniMax/actions/video/index.js +71 -0
  64. package/dist/nodes/vendors/MiniMax/actions/video/index.js.map +1 -0
  65. package/dist/nodes/vendors/MiniMax/helpers/interfaces.d.ts +88 -0
  66. package/dist/nodes/vendors/MiniMax/helpers/interfaces.js +3 -0
  67. package/dist/nodes/vendors/MiniMax/helpers/interfaces.js.map +1 -0
  68. package/dist/nodes/vendors/MiniMax/minimax.svg +10 -0
  69. package/dist/nodes/vendors/MiniMax/transport/index.d.ts +14 -0
  70. package/dist/nodes/vendors/MiniMax/transport/index.js +60 -0
  71. package/dist/nodes/vendors/MiniMax/transport/index.js.map +1 -0
  72. package/dist/typecheck.tsbuildinfo +1 -1
  73. package/dist/types/credentials.json +1 -1
  74. package/dist/types/nodes.json +1 -0
  75. package/package.json +6 -5
@@ -0,0 +1,103 @@
1
+ /**
2
+ * MiniMax Node - Version 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 LcMinimaxV1VideoImageToVideoParams = {
13
+ resource: 'video';
14
+ operation: 'imageToVideo';
15
+ /**
16
+ * The model to use for video generation
17
+ * @default MiniMax-Hailuo-2.3
18
+ */
19
+ modelId?: '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> | PlaceholderValue;
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> | PlaceholderValue;
37
+ /**
38
+ * Optional text description of the video (max 2000 characters). Camera movements can be controlled using [command] syntax.
39
+ */
40
+ prompt?: string | Expression<string> | PlaceholderValue;
41
+ /**
42
+ * Duration of the generated video
43
+ * @default 6
44
+ */
45
+ duration?: 6 | 10 | Expression<number>;
46
+ /**
47
+ * Resolution of the generated video. Available options depend on the model.
48
+ * @default 768P
49
+ */
50
+ resolution?: '512P' | '720P' | '768P' | '1080P' | Expression<string>;
51
+ /**
52
+ * Whether to download the generated video as binary data. When disabled, only the video URL is returned.
53
+ * @default true
54
+ */
55
+ downloadVideo?: boolean | Expression<boolean>;
56
+ /**
57
+ * Options
58
+ * @default {}
59
+ */
60
+ options?: {
61
+ /** Whether to automatically optimize the prompt
62
+ * @default true
63
+ */
64
+ promptOptimizer?: boolean | Expression<boolean>;
65
+ /** Provide a last frame image to generate a first-and-last-frame video. Only supported by MiniMax-Hailuo-2.3 and MiniMax-Hailuo-02.
66
+ * @default none
67
+ */
68
+ lastFrameInputType?: 'none' | 'url' | 'binary' | Expression<string>;
69
+ /** Last Frame Image URL
70
+ * @displayOptions.show { lastFrameInputType: ["url"] }
71
+ */
72
+ lastFrameImageUrl?: string | Expression<string> | PlaceholderValue;
73
+ /** Last Frame Data Field Name
74
+ * @displayOptions.show { lastFrameInputType: ["binary"] }
75
+ * @default lastFrame
76
+ */
77
+ lastFrameBinaryPropertyName?: string | Expression<string> | PlaceholderValue;
78
+ /** Provide a face photo for facial consistency in the generated video. Only supported by MiniMax-Hailuo-2.3.
79
+ * @default none
80
+ */
81
+ subjectReferenceInputType?: 'none' | 'url' | 'binary' | Expression<string>;
82
+ /** Subject Reference Image URL
83
+ * @displayOptions.show { subjectReferenceInputType: ["url"] }
84
+ */
85
+ subjectReferenceImageUrl?: string | Expression<string> | PlaceholderValue;
86
+ /** Subject Reference Data Field Name
87
+ * @displayOptions.show { subjectReferenceInputType: ["binary"] }
88
+ * @default subjectReference
89
+ */
90
+ subjectReferenceBinaryPropertyName?: string | Expression<string> | PlaceholderValue;
91
+ };
92
+ };
93
+
94
+ export interface LcMinimaxV1VideoImageToVideoSubnodeConfig {
95
+ tools?: ToolInstance[];
96
+ }
97
+
98
+ export type LcMinimaxV1VideoImageToVideoNode = {
99
+ type: '@n8n/n8n-nodes-langchain.minimax';
100
+ version: 1;
101
+ credentials?: Credentials;
102
+ config: NodeConfig<LcMinimaxV1VideoImageToVideoParams> & { subnodes?: LcMinimaxV1VideoImageToVideoSubnodeConfig };
103
+ };
@@ -0,0 +1,33 @@
1
+ /**
2
+ * MiniMax Node - Version 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, 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'),
24
+ modelId: z.union([z.literal('MiniMax-Hailuo-2.3'), z.literal('MiniMax-Hailuo-02'), z.literal('T2V-01-Director'), z.literal('T2V-01'), expressionSchema]).optional(),
25
+ prompt: stringOrExpression.optional(),
26
+ duration: z.union([z.literal(6), z.literal(10), expressionSchema]).optional(),
27
+ resolution: z.union([z.literal('720P'), z.literal('768P'), z.literal('1080P'), expressionSchema]).optional(),
28
+ downloadVideo: booleanOrExpression.optional(),
29
+ options: z.object({ promptOptimizer: booleanOrExpression.optional() }).optional(),
30
+ }).optional(),
31
+ subnodes: subnodesSchema.optional(),
32
+ });
33
+ };
@@ -0,0 +1,60 @@
1
+ /**
2
+ * MiniMax Node - Version 1
3
+ * Discriminator: resource=video, operation=textToVideo
4
+ */
5
+
6
+
7
+ interface Credentials {
8
+ minimaxApi: CredentialReference;
9
+ }
10
+
11
+ /** Generate a video from a text prompt */
12
+ export type LcMinimaxV1VideoTextToVideoParams = {
13
+ resource: 'video';
14
+ operation: 'textToVideo';
15
+ /**
16
+ * The model to use for video generation
17
+ * @default MiniMax-Hailuo-2.3
18
+ */
19
+ modelId?: 'MiniMax-Hailuo-2.3' | 'MiniMax-Hailuo-02' | 'T2V-01-Director' | 'T2V-01' | Expression<string>;
20
+ /**
21
+ * Text description of the video (max 2000 characters). Camera movements can be controlled using [command] syntax, e.g. [Push in], [Pan left].
22
+ */
23
+ prompt?: string | Expression<string> | PlaceholderValue;
24
+ /**
25
+ * Duration of the generated video
26
+ * @default 6
27
+ */
28
+ duration?: 6 | 10 | Expression<number>;
29
+ /**
30
+ * Resolution of the generated video. Available options depend on the model.
31
+ * @default 768P
32
+ */
33
+ resolution?: '720P' | '768P' | '1080P' | Expression<string>;
34
+ /**
35
+ * Whether to download the generated video as binary data. When disabled, only the video URL is returned.
36
+ * @default true
37
+ */
38
+ downloadVideo?: boolean | Expression<boolean>;
39
+ /**
40
+ * Options
41
+ * @default {}
42
+ */
43
+ options?: {
44
+ /** Whether to automatically optimize the prompt for better results
45
+ * @default true
46
+ */
47
+ promptOptimizer?: boolean | Expression<boolean>;
48
+ };
49
+ };
50
+
51
+ export interface LcMinimaxV1VideoTextToVideoSubnodeConfig {
52
+ tools?: ToolInstance[];
53
+ }
54
+
55
+ export type LcMinimaxV1VideoTextToVideoNode = {
56
+ type: '@n8n/n8n-nodes-langchain.minimax';
57
+ version: 1;
58
+ credentials?: Credentials;
59
+ config: NodeConfig<LcMinimaxV1VideoTextToVideoParams> & { subnodes?: LcMinimaxV1VideoTextToVideoSubnodeConfig };
60
+ };
@@ -0,0 +1,5 @@
1
+ import type { IExecuteFunctions, INodeType } from 'n8n-workflow';
2
+ export declare class MiniMax implements INodeType {
3
+ description: import("n8n-workflow").INodeTypeDescription;
4
+ execute(this: IExecuteFunctions): Promise<import("n8n-workflow").INodeExecutionData[][]>;
5
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MiniMax = void 0;
4
+ const router_1 = require("./actions/router");
5
+ const versionDescription_1 = require("./actions/versionDescription");
6
+ class MiniMax {
7
+ constructor() {
8
+ this.description = versionDescription_1.versionDescription;
9
+ }
10
+ async execute() {
11
+ return await router_1.router.call(this);
12
+ }
13
+ }
14
+ exports.MiniMax = MiniMax;
15
+ //# sourceMappingURL=MiniMax.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MiniMax.node.js","sourceRoot":"","sources":["../../../../nodes/vendors/MiniMax/MiniMax.node.ts"],"names":[],"mappings":";;;AAEA,6CAA0C;AAC1C,qEAAkE;AAElE,MAAa,OAAO;IAApB;QACC,gBAAW,GAAG,uCAAkB,CAAC;IAKlC,CAAC;IAHA,KAAK,CAAC,OAAO;QACZ,OAAO,MAAM,eAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;CACD;AAND,0BAMC"}
@@ -0,0 +1,4 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ import * as textToSpeech from './tts.operation';
3
+ export { textToSpeech };
4
+ export declare const description: INodeProperties[];
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.description = exports.textToSpeech = void 0;
37
+ const textToSpeech = __importStar(require("./tts.operation"));
38
+ exports.textToSpeech = textToSpeech;
39
+ exports.description = [
40
+ {
41
+ displayName: 'Operation',
42
+ name: 'operation',
43
+ type: 'options',
44
+ noDataExpression: true,
45
+ displayOptions: {
46
+ show: {
47
+ resource: ['audio'],
48
+ },
49
+ },
50
+ options: [
51
+ {
52
+ name: 'Text to Speech',
53
+ value: 'textToSpeech',
54
+ action: 'Convert text to speech',
55
+ description: 'Generate speech audio from text input',
56
+ },
57
+ ],
58
+ default: 'textToSpeech',
59
+ },
60
+ ...textToSpeech.description,
61
+ ];
62
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/vendors/MiniMax/actions/audio/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,8DAAgD;AAEvC,oCAAY;AAER,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;aACnB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,gBAAgB;gBACtB,KAAK,EAAE,cAAc;gBACrB,MAAM,EAAE,wBAAwB;gBAChC,WAAW,EAAE,uCAAuC;aACpD;SACD;QACD,OAAO,EAAE,cAAc;KACvB;IACD,GAAG,YAAY,CAAC,WAAW;CAC3B,CAAC"}
@@ -0,0 +1,29 @@
1
+ import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from 'n8n-workflow';
2
+ export declare const description: {
3
+ displayOptions: import("n8n-workflow").IDisplayOptions;
4
+ displayName: string;
5
+ name: string;
6
+ type: import("n8n-workflow").NodePropertyTypes;
7
+ typeOptions?: import("n8n-workflow").INodePropertyTypeOptions;
8
+ default: import("n8n-workflow").NodeParameterValueType;
9
+ description?: string;
10
+ hint?: string;
11
+ builderHint?: import("n8n-workflow").IParameterBuilderHint;
12
+ disabledOptions?: import("n8n-workflow").IDisplayOptions;
13
+ options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
+ placeholder?: string;
15
+ isNodeSetting?: boolean;
16
+ noDataExpression?: boolean;
17
+ required?: boolean;
18
+ routing?: import("n8n-workflow").INodePropertyRouting;
19
+ credentialTypes?: Array<"extends:oAuth2Api" | "extends:oAuth1Api" | "has:authenticate" | "has:genericAuth">;
20
+ extractValue?: import("n8n-workflow").INodePropertyValueExtractor;
21
+ modes?: import("n8n-workflow").INodePropertyMode[];
22
+ requiresDataPath?: "single" | "multiple";
23
+ doNotInherit?: boolean;
24
+ validateType?: import("n8n-workflow").FieldType;
25
+ ignoreValidationDuringExecution?: boolean;
26
+ allowArbitraryValues?: boolean;
27
+ resolvableField?: boolean;
28
+ }[];
29
+ export declare function execute(this: IExecuteFunctions, itemIndex: number): Promise<INodeExecutionData[]>;
@@ -0,0 +1,252 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.description = void 0;
4
+ exports.execute = execute;
5
+ const n8n_workflow_1 = require("n8n-workflow");
6
+ const transport_1 = require("../../transport");
7
+ const properties = [
8
+ {
9
+ displayName: 'Model',
10
+ name: 'modelId',
11
+ type: 'options',
12
+ options: [
13
+ {
14
+ name: 'Speech 02 HD',
15
+ value: 'speech-02-hd',
16
+ description: 'Superior rhythm and stability with outstanding quality',
17
+ },
18
+ {
19
+ name: 'Speech 02 Turbo',
20
+ value: 'speech-02-turbo',
21
+ description: 'Enhanced multilingual capabilities and performance',
22
+ },
23
+ {
24
+ name: 'Speech 2.6 HD',
25
+ value: 'speech-2.6-hd',
26
+ description: 'HD model with outstanding prosody and cloning similarity',
27
+ },
28
+ {
29
+ name: 'Speech 2.6 Turbo',
30
+ value: 'speech-2.6-turbo',
31
+ description: 'Turbo model with support for 40 languages',
32
+ },
33
+ {
34
+ name: 'Speech 2.8 HD',
35
+ value: 'speech-2.8-hd',
36
+ description: 'Latest HD model with ultra-realistic quality and sound tags',
37
+ },
38
+ {
39
+ name: 'Speech 2.8 Turbo',
40
+ value: 'speech-2.8-turbo',
41
+ description: 'Latest Turbo model with seamless speed and natural flow',
42
+ },
43
+ ],
44
+ default: 'speech-2.8-hd',
45
+ description: 'The speech synthesis model to use',
46
+ },
47
+ {
48
+ displayName: 'Text',
49
+ name: 'text',
50
+ type: 'string',
51
+ typeOptions: {
52
+ rows: 4,
53
+ },
54
+ default: '',
55
+ required: true,
56
+ description: 'The text to convert to speech (max 10,000 characters)',
57
+ placeholder: 'e.g. Hello, welcome to our service!',
58
+ },
59
+ {
60
+ displayName: 'Voice ID',
61
+ name: 'voiceId',
62
+ type: 'string',
63
+ default: 'English_Graceful_Lady',
64
+ required: true,
65
+ description: 'Voice ID to use for speech synthesis. Browse available voices in the <a href="https://platform.minimax.io/docs/faq/system-voice-id">MiniMax documentation</a>.',
66
+ placeholder: 'e.g. English_Graceful_Lady',
67
+ },
68
+ {
69
+ displayName: 'Download Audio',
70
+ name: 'downloadAudio',
71
+ type: 'boolean',
72
+ default: true,
73
+ description: 'Whether to download the generated audio as binary data. When disabled, only the audio URL is returned.',
74
+ },
75
+ {
76
+ displayName: 'Options',
77
+ name: 'options',
78
+ placeholder: 'Add Option',
79
+ type: 'collection',
80
+ default: {},
81
+ options: [
82
+ {
83
+ displayName: 'Audio Format',
84
+ name: 'audioFormat',
85
+ type: 'options',
86
+ options: [
87
+ { name: 'MP3', value: 'mp3' },
88
+ { name: 'PCM', value: 'pcm' },
89
+ { name: 'FLAC', value: 'flac' },
90
+ { name: 'WAV', value: 'wav' },
91
+ ],
92
+ default: 'mp3',
93
+ description: 'Output audio format. WAV is only supported in non-streaming mode.',
94
+ },
95
+ {
96
+ displayName: 'Emotion',
97
+ name: 'emotion',
98
+ type: 'options',
99
+ options: [
100
+ { name: 'Angry', value: 'angry' },
101
+ { name: 'Calm', value: 'calm' },
102
+ { name: 'Disgusted', value: 'disgusted' },
103
+ { name: 'Fearful', value: 'fearful' },
104
+ { name: 'Happy', value: 'happy' },
105
+ { name: 'Sad', value: 'sad' },
106
+ { name: 'Surprised', value: 'surprised' },
107
+ ],
108
+ default: 'calm',
109
+ description: 'Emotion for synthesized speech. By default the model auto-selects the most natural emotion.',
110
+ },
111
+ {
112
+ displayName: 'Language Boost',
113
+ name: 'languageBoost',
114
+ type: 'options',
115
+ options: [
116
+ { name: 'Arabic', value: 'Arabic' },
117
+ { name: 'Auto Detect', value: 'auto' },
118
+ { name: 'Chinese', value: 'Chinese' },
119
+ { name: 'English', value: 'English' },
120
+ { name: 'French', value: 'French' },
121
+ { name: 'German', value: 'German' },
122
+ { name: 'Indonesian', value: 'Indonesian' },
123
+ { name: 'Italian', value: 'Italian' },
124
+ { name: 'Japanese', value: 'Japanese' },
125
+ { name: 'Korean', value: 'Korean' },
126
+ { name: 'Portuguese', value: 'Portuguese' },
127
+ { name: 'Russian', value: 'Russian' },
128
+ { name: 'Spanish', value: 'Spanish' },
129
+ { name: 'Thai', value: 'Thai' },
130
+ { name: 'Turkish', value: 'Turkish' },
131
+ { name: 'Vietnamese', value: 'Vietnamese' },
132
+ ],
133
+ default: 'auto',
134
+ description: 'Enhance recognition for a specific language',
135
+ },
136
+ {
137
+ displayName: 'Pitch',
138
+ name: 'pitch',
139
+ type: 'number',
140
+ typeOptions: {
141
+ minValue: -12,
142
+ maxValue: 12,
143
+ },
144
+ default: 0,
145
+ description: 'Speech pitch adjustment (-12 to 12, 0 = original pitch)',
146
+ },
147
+ {
148
+ displayName: 'Speed',
149
+ name: 'speed',
150
+ type: 'number',
151
+ typeOptions: {
152
+ minValue: 0.5,
153
+ maxValue: 2,
154
+ numberPrecision: 1,
155
+ },
156
+ default: 1,
157
+ description: 'Speech speed (0.5-2, higher = faster)',
158
+ },
159
+ {
160
+ displayName: 'Volume',
161
+ name: 'volume',
162
+ type: 'number',
163
+ typeOptions: {
164
+ minValue: 0.1,
165
+ maxValue: 10,
166
+ numberPrecision: 1,
167
+ },
168
+ default: 1,
169
+ description: 'Speech volume (0.1-10, higher = louder)',
170
+ },
171
+ ],
172
+ },
173
+ ];
174
+ const displayOptions = {
175
+ show: {
176
+ resource: ['audio'],
177
+ operation: ['textToSpeech'],
178
+ },
179
+ };
180
+ exports.description = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
181
+ async function execute(itemIndex) {
182
+ const model = this.getNodeParameter('modelId', itemIndex);
183
+ const text = this.getNodeParameter('text', itemIndex);
184
+ const voiceId = this.getNodeParameter('voiceId', itemIndex);
185
+ const downloadAudio = this.getNodeParameter('downloadAudio', itemIndex, true);
186
+ const options = this.getNodeParameter('options', itemIndex, {});
187
+ const audioFormat = options.audioFormat || 'mp3';
188
+ const body = {
189
+ model,
190
+ text,
191
+ stream: false,
192
+ output_format: 'url',
193
+ voice_setting: {
194
+ voice_id: voiceId,
195
+ speed: options.speed ?? 1,
196
+ vol: options.volume ?? 1,
197
+ pitch: options.pitch ?? 0,
198
+ },
199
+ audio_setting: {
200
+ format: audioFormat,
201
+ },
202
+ };
203
+ if (options.emotion) {
204
+ body.voice_setting.emotion = options.emotion;
205
+ }
206
+ if (options.languageBoost) {
207
+ body.language_boost = options.languageBoost;
208
+ }
209
+ const response = (await transport_1.apiRequest.call(this, 'POST', '/t2a_v2', {
210
+ body,
211
+ }));
212
+ if (response.base_resp?.status_code !== 0) {
213
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Text-to-speech failed: ${response.base_resp?.status_msg || 'Unknown error'}`);
214
+ }
215
+ const audioData = response.data?.audio;
216
+ if (!audioData) {
217
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'No audio data returned');
218
+ }
219
+ const jsonData = {
220
+ audioLength: response.extra_info?.audio_length,
221
+ audioFormat: response.extra_info?.audio_format,
222
+ audioSize: response.extra_info?.audio_size,
223
+ wordCount: response.extra_info?.word_count,
224
+ usageCharacters: response.extra_info?.usage_characters,
225
+ };
226
+ if (downloadAudio) {
227
+ const audioResponse = await this.helpers.httpRequest({
228
+ method: 'GET',
229
+ url: audioData,
230
+ encoding: 'arraybuffer',
231
+ returnFullResponse: true,
232
+ });
233
+ const mimeType = audioResponse.headers?.['content-type'] || `audio/${audioFormat}`;
234
+ const binaryBuffer = Buffer.from(audioResponse.body);
235
+ const fileName = `speech.${audioFormat}`;
236
+ const binaryData = await this.helpers.prepareBinaryData(binaryBuffer, fileName, mimeType);
237
+ return [
238
+ {
239
+ binary: { data: binaryData },
240
+ json: jsonData,
241
+ pairedItem: { item: itemIndex },
242
+ },
243
+ ];
244
+ }
245
+ return [
246
+ {
247
+ json: { ...jsonData, audioUrl: audioData },
248
+ pairedItem: { item: itemIndex },
249
+ },
250
+ ];
251
+ }
252
+ //# sourceMappingURL=tts.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tts.operation.js","sourceRoot":"","sources":["../../../../../../nodes/vendors/MiniMax/actions/audio/tts.operation.ts"],"names":[],"mappings":";;;AAgMA,0BAwFC;AAlRD,+CAAwE;AAGxE,+CAA6C;AAE7C,MAAM,UAAU,GAAsB;IACrC;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,OAAO,EAAE;YACR;gB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AE,QAAQ,CAAC,UAAU,EAAE,UAAU;QAC1C,SAAS,EAAE,QAAQ,CAAC,UAAU,EAAE,UAAU;QAC1C,eAAe,EAAE,QAAQ,CAAC,UAAU,EAAE,gBAAgB;KACtD,CAAC;IAEF,IAAI,aAAa,EAAE,CAAC;QACnB,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC;YACpD,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,SAAS;YACd,QAAQ,EAAE,aAAa;YACvB,kBAAkB,EAAE,IAAI;SACxB,CAAC,CAAC;QAEH,MAAM,QAAQ,GAAI,aAAa,CAAC,OAAO,EAAE,CAAC,cAAc,CAAY,IAAI,SAAS,WAAW,EAAE,CAAC;QAC/F,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,IAAmB,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,UAAU,WAAW,EAAE,CAAC;QACzC,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,YAAY,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;QAE1F,OAAO;YACN;gBACC,MAAM,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;gBAC5B,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;aAC/B;SACD,CAAC;IACH,CAAC;IAED,OAAO;QACN;YACC,IAAI,EAAE,EAAE,GAAG,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE;YAC1C,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;SAC/B;KACD,CAAC;AACH,CAAC"}
@@ -0,0 +1,29 @@
1
+ import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from 'n8n-workflow';
2
+ export declare const description: {
3
+ displayOptions: import("n8n-workflow").IDisplayOptions;
4
+ displayName: string;
5
+ name: string;
6
+ type: import("n8n-workflow").NodePropertyTypes;
7
+ typeOptions?: import("n8n-workflow").INodePropertyTypeOptions;
8
+ default: import("n8n-workflow").NodeParameterValueType;
9
+ description?: string;
10
+ hint?: string;
11
+ builderHint?: import("n8n-workflow").IParameterBuilderHint;
12
+ disabledOptions?: import("n8n-workflow").IDisplayOptions;
13
+ options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
+ placeholder?: string;
15
+ isNodeSetting?: boolean;
16
+ noDataExpression?: boolean;
17
+ required?: boolean;
18
+ routing?: import("n8n-workflow").INodePropertyRouting;
19
+ credentialTypes?: Array<"extends:oAuth2Api" | "extends:oAuth1Api" | "has:authenticate" | "has:genericAuth">;
20
+ extractValue?: import("n8n-workflow").INodePropertyValueExtractor;
21
+ modes?: import("n8n-workflow").INodePropertyMode[];
22
+ requiresDataPath?: "single" | "multiple";
23
+ doNotInherit?: boolean;
24
+ validateType?: import("n8n-workflow").FieldType;
25
+ ignoreValidationDuringExecution?: boolean;
26
+ allowArbitraryValues?: boolean;
27
+ resolvableField?: boolean;
28
+ }[];
29
+ export declare function execute(this: IExecuteFunctions, i: number): Promise<INodeExecutionData[]>;