@ibracob.dev/n8n-nodes-fal 1.0.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 (197) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +216 -0
  3. package/dist/credentials/FalApi.credentials.d.ts +10 -0
  4. package/dist/credentials/FalApi.credentials.d.ts.map +1 -0
  5. package/dist/credentials/FalApi.credentials.js +36 -0
  6. package/dist/credentials/FalApi.credentials.js.map +1 -0
  7. package/dist/credentials/fal-ai-logo.svg +3 -0
  8. package/dist/nodes/Fal/Fal.node.d.ts +6 -0
  9. package/dist/nodes/Fal/Fal.node.d.ts.map +1 -0
  10. package/dist/nodes/Fal/Fal.node.js +202 -0
  11. package/dist/nodes/Fal/Fal.node.js.map +1 -0
  12. package/dist/nodes/Fal/enums/index.d.ts +2 -0
  13. package/dist/nodes/Fal/enums/index.d.ts.map +1 -0
  14. package/dist/nodes/Fal/enums/index.js +18 -0
  15. package/dist/nodes/Fal/enums/index.js.map +1 -0
  16. package/dist/nodes/Fal/enums/queue-status.enum.d.ts +7 -0
  17. package/dist/nodes/Fal/enums/queue-status.enum.d.ts.map +1 -0
  18. package/dist/nodes/Fal/enums/queue-status.enum.js +11 -0
  19. package/dist/nodes/Fal/enums/queue-status.enum.js.map +1 -0
  20. package/dist/nodes/Fal/fal-ai-logo.svg +3 -0
  21. package/dist/nodes/Fal/interfaces/index.d.ts +3 -0
  22. package/dist/nodes/Fal/interfaces/index.d.ts.map +1 -0
  23. package/dist/nodes/Fal/interfaces/index.js +19 -0
  24. package/dist/nodes/Fal/interfaces/index.js.map +1 -0
  25. package/dist/nodes/Fal/interfaces/queue-status-response.interface.d.ts +14 -0
  26. package/dist/nodes/Fal/interfaces/queue-status-response.interface.d.ts.map +1 -0
  27. package/dist/nodes/Fal/interfaces/queue-status-response.interface.js +3 -0
  28. package/dist/nodes/Fal/interfaces/queue-status-response.interface.js.map +1 -0
  29. package/dist/nodes/Fal/interfaces/queue-submit-response.interface.d.ts +6 -0
  30. package/dist/nodes/Fal/interfaces/queue-submit-response.interface.d.ts.map +1 -0
  31. package/dist/nodes/Fal/interfaces/queue-submit-response.interface.js +3 -0
  32. package/dist/nodes/Fal/interfaces/queue-submit-response.interface.js.map +1 -0
  33. package/dist/nodes/Fal/resources/image-editing/description.d.ts +5 -0
  34. package/dist/nodes/Fal/resources/image-editing/description.d.ts.map +1 -0
  35. package/dist/nodes/Fal/resources/image-editing/description.js +178 -0
  36. package/dist/nodes/Fal/resources/image-editing/description.js.map +1 -0
  37. package/dist/nodes/Fal/resources/image-editing/execute/index.d.ts +3 -0
  38. package/dist/nodes/Fal/resources/image-editing/execute/index.d.ts.map +1 -0
  39. package/dist/nodes/Fal/resources/image-editing/execute/index.js +63 -0
  40. package/dist/nodes/Fal/resources/image-editing/execute/index.js.map +1 -0
  41. package/dist/nodes/Fal/resources/image-editing/index.d.ts +4 -0
  42. package/dist/nodes/Fal/resources/image-editing/index.d.ts.map +1 -0
  43. package/dist/nodes/Fal/resources/image-editing/index.js +41 -0
  44. package/dist/nodes/Fal/resources/image-editing/index.js.map +1 -0
  45. package/dist/nodes/Fal/resources/image-editing/models.d.ts +6 -0
  46. package/dist/nodes/Fal/resources/image-editing/models.d.ts.map +1 -0
  47. package/dist/nodes/Fal/resources/image-editing/models.js +31 -0
  48. package/dist/nodes/Fal/resources/image-editing/models.js.map +1 -0
  49. package/dist/nodes/Fal/resources/image-to-video/description.d.ts +5 -0
  50. package/dist/nodes/Fal/resources/image-to-video/description.d.ts.map +1 -0
  51. package/dist/nodes/Fal/resources/image-to-video/description.js +236 -0
  52. package/dist/nodes/Fal/resources/image-to-video/description.js.map +1 -0
  53. package/dist/nodes/Fal/resources/image-to-video/execute/index.d.ts +3 -0
  54. package/dist/nodes/Fal/resources/image-to-video/execute/index.d.ts.map +1 -0
  55. package/dist/nodes/Fal/resources/image-to-video/execute/index.js +64 -0
  56. package/dist/nodes/Fal/resources/image-to-video/execute/index.js.map +1 -0
  57. package/dist/nodes/Fal/resources/image-to-video/index.d.ts +4 -0
  58. package/dist/nodes/Fal/resources/image-to-video/index.d.ts.map +1 -0
  59. package/dist/nodes/Fal/resources/image-to-video/index.js +41 -0
  60. package/dist/nodes/Fal/resources/image-to-video/index.js.map +1 -0
  61. package/dist/nodes/Fal/resources/image-to-video/models.d.ts +6 -0
  62. package/dist/nodes/Fal/resources/image-to-video/models.d.ts.map +1 -0
  63. package/dist/nodes/Fal/resources/image-to-video/models.js +66 -0
  64. package/dist/nodes/Fal/resources/image-to-video/models.js.map +1 -0
  65. package/dist/nodes/Fal/resources/llm/description.d.ts +5 -0
  66. package/dist/nodes/Fal/resources/llm/description.d.ts.map +1 -0
  67. package/dist/nodes/Fal/resources/llm/description.js +132 -0
  68. package/dist/nodes/Fal/resources/llm/description.js.map +1 -0
  69. package/dist/nodes/Fal/resources/llm/execute/index.d.ts +3 -0
  70. package/dist/nodes/Fal/resources/llm/execute/index.d.ts.map +1 -0
  71. package/dist/nodes/Fal/resources/llm/execute/index.js +49 -0
  72. package/dist/nodes/Fal/resources/llm/execute/index.js.map +1 -0
  73. package/dist/nodes/Fal/resources/llm/index.d.ts +4 -0
  74. package/dist/nodes/Fal/resources/llm/index.d.ts.map +1 -0
  75. package/dist/nodes/Fal/resources/llm/index.js +41 -0
  76. package/dist/nodes/Fal/resources/llm/index.js.map +1 -0
  77. package/dist/nodes/Fal/resources/llm/models.d.ts +6 -0
  78. package/dist/nodes/Fal/resources/llm/models.d.ts.map +1 -0
  79. package/dist/nodes/Fal/resources/llm/models.js +136 -0
  80. package/dist/nodes/Fal/resources/llm/models.js.map +1 -0
  81. package/dist/nodes/Fal/resources/queue/description.d.ts +4 -0
  82. package/dist/nodes/Fal/resources/queue/description.d.ts.map +1 -0
  83. package/dist/nodes/Fal/resources/queue/description.js +149 -0
  84. package/dist/nodes/Fal/resources/queue/description.js.map +1 -0
  85. package/dist/nodes/Fal/resources/queue/execute/index.d.ts +3 -0
  86. package/dist/nodes/Fal/resources/queue/execute/index.d.ts.map +1 -0
  87. package/dist/nodes/Fal/resources/queue/execute/index.js +220 -0
  88. package/dist/nodes/Fal/resources/queue/execute/index.js.map +1 -0
  89. package/dist/nodes/Fal/resources/queue/index.d.ts +4 -0
  90. package/dist/nodes/Fal/resources/queue/index.d.ts.map +1 -0
  91. package/dist/nodes/Fal/resources/queue/index.js +9 -0
  92. package/dist/nodes/Fal/resources/queue/index.js.map +1 -0
  93. package/dist/nodes/Fal/resources/queue/models.d.ts +75 -0
  94. package/dist/nodes/Fal/resources/queue/models.d.ts.map +1 -0
  95. package/dist/nodes/Fal/resources/queue/models.js +12 -0
  96. package/dist/nodes/Fal/resources/queue/models.js.map +1 -0
  97. package/dist/nodes/Fal/resources/text-to-image/description.d.ts +5 -0
  98. package/dist/nodes/Fal/resources/text-to-image/description.d.ts.map +1 -0
  99. package/dist/nodes/Fal/resources/text-to-image/description.js +165 -0
  100. package/dist/nodes/Fal/resources/text-to-image/description.js.map +1 -0
  101. package/dist/nodes/Fal/resources/text-to-image/execute/index.d.ts +3 -0
  102. package/dist/nodes/Fal/resources/text-to-image/execute/index.d.ts.map +1 -0
  103. package/dist/nodes/Fal/resources/text-to-image/execute/index.js +64 -0
  104. package/dist/nodes/Fal/resources/text-to-image/execute/index.js.map +1 -0
  105. package/dist/nodes/Fal/resources/text-to-image/index.d.ts +4 -0
  106. package/dist/nodes/Fal/resources/text-to-image/index.d.ts.map +1 -0
  107. package/dist/nodes/Fal/resources/text-to-image/index.js +41 -0
  108. package/dist/nodes/Fal/resources/text-to-image/index.js.map +1 -0
  109. package/dist/nodes/Fal/resources/text-to-image/models.d.ts +6 -0
  110. package/dist/nodes/Fal/resources/text-to-image/models.d.ts.map +1 -0
  111. package/dist/nodes/Fal/resources/text-to-image/models.js +36 -0
  112. package/dist/nodes/Fal/resources/text-to-image/models.js.map +1 -0
  113. package/dist/nodes/Fal/resources/text-to-video/description.d.ts +5 -0
  114. package/dist/nodes/Fal/resources/text-to-video/description.d.ts.map +1 -0
  115. package/dist/nodes/Fal/resources/text-to-video/description.js +174 -0
  116. package/dist/nodes/Fal/resources/text-to-video/description.js.map +1 -0
  117. package/dist/nodes/Fal/resources/text-to-video/execute/index.d.ts +3 -0
  118. package/dist/nodes/Fal/resources/text-to-video/execute/index.d.ts.map +1 -0
  119. package/dist/nodes/Fal/resources/text-to-video/execute/index.js +57 -0
  120. package/dist/nodes/Fal/resources/text-to-video/execute/index.js.map +1 -0
  121. package/dist/nodes/Fal/resources/text-to-video/index.d.ts +4 -0
  122. package/dist/nodes/Fal/resources/text-to-video/index.d.ts.map +1 -0
  123. package/dist/nodes/Fal/resources/text-to-video/index.js +41 -0
  124. package/dist/nodes/Fal/resources/text-to-video/index.js.map +1 -0
  125. package/dist/nodes/Fal/resources/text-to-video/models.d.ts +6 -0
  126. package/dist/nodes/Fal/resources/text-to-video/models.d.ts.map +1 -0
  127. package/dist/nodes/Fal/resources/text-to-video/models.js +26 -0
  128. package/dist/nodes/Fal/resources/text-to-video/models.js.map +1 -0
  129. package/dist/nodes/Fal/resources/utility/description.d.ts +5 -0
  130. package/dist/nodes/Fal/resources/utility/description.d.ts.map +1 -0
  131. package/dist/nodes/Fal/resources/utility/description.js +101 -0
  132. package/dist/nodes/Fal/resources/utility/description.js.map +1 -0
  133. package/dist/nodes/Fal/resources/utility/execute/index.d.ts +3 -0
  134. package/dist/nodes/Fal/resources/utility/execute/index.d.ts.map +1 -0
  135. package/dist/nodes/Fal/resources/utility/execute/index.js +56 -0
  136. package/dist/nodes/Fal/resources/utility/execute/index.js.map +1 -0
  137. package/dist/nodes/Fal/resources/utility/index.d.ts +4 -0
  138. package/dist/nodes/Fal/resources/utility/index.d.ts.map +1 -0
  139. package/dist/nodes/Fal/resources/utility/index.js +41 -0
  140. package/dist/nodes/Fal/resources/utility/index.js.map +1 -0
  141. package/dist/nodes/Fal/resources/utility/models.d.ts +6 -0
  142. package/dist/nodes/Fal/resources/utility/models.d.ts.map +1 -0
  143. package/dist/nodes/Fal/resources/utility/models.js +31 -0
  144. package/dist/nodes/Fal/resources/utility/models.js.map +1 -0
  145. package/dist/nodes/Fal/resources/video-to-video/description.d.ts +5 -0
  146. package/dist/nodes/Fal/resources/video-to-video/description.d.ts.map +1 -0
  147. package/dist/nodes/Fal/resources/video-to-video/description.js +144 -0
  148. package/dist/nodes/Fal/resources/video-to-video/description.js.map +1 -0
  149. package/dist/nodes/Fal/resources/video-to-video/execute/index.d.ts +3 -0
  150. package/dist/nodes/Fal/resources/video-to-video/execute/index.d.ts.map +1 -0
  151. package/dist/nodes/Fal/resources/video-to-video/execute/index.js +47 -0
  152. package/dist/nodes/Fal/resources/video-to-video/execute/index.js.map +1 -0
  153. package/dist/nodes/Fal/resources/video-to-video/index.d.ts +4 -0
  154. package/dist/nodes/Fal/resources/video-to-video/index.d.ts.map +1 -0
  155. package/dist/nodes/Fal/resources/video-to-video/index.js +41 -0
  156. package/dist/nodes/Fal/resources/video-to-video/index.js.map +1 -0
  157. package/dist/nodes/Fal/resources/video-to-video/models.d.ts +6 -0
  158. package/dist/nodes/Fal/resources/video-to-video/models.d.ts.map +1 -0
  159. package/dist/nodes/Fal/resources/video-to-video/models.js +11 -0
  160. package/dist/nodes/Fal/resources/video-to-video/models.js.map +1 -0
  161. package/dist/nodes/Fal/resources/vision/description.d.ts +5 -0
  162. package/dist/nodes/Fal/resources/vision/description.d.ts.map +1 -0
  163. package/dist/nodes/Fal/resources/vision/description.js +146 -0
  164. package/dist/nodes/Fal/resources/vision/description.js.map +1 -0
  165. package/dist/nodes/Fal/resources/vision/execute/index.d.ts +3 -0
  166. package/dist/nodes/Fal/resources/vision/execute/index.d.ts.map +1 -0
  167. package/dist/nodes/Fal/resources/vision/execute/index.js +56 -0
  168. package/dist/nodes/Fal/resources/vision/execute/index.js.map +1 -0
  169. package/dist/nodes/Fal/resources/vision/index.d.ts +4 -0
  170. package/dist/nodes/Fal/resources/vision/index.d.ts.map +1 -0
  171. package/dist/nodes/Fal/resources/vision/index.js +41 -0
  172. package/dist/nodes/Fal/resources/vision/index.js.map +1 -0
  173. package/dist/nodes/Fal/resources/vision/models.d.ts +6 -0
  174. package/dist/nodes/Fal/resources/vision/models.d.ts.map +1 -0
  175. package/dist/nodes/Fal/resources/vision/models.js +46 -0
  176. package/dist/nodes/Fal/resources/vision/models.js.map +1 -0
  177. package/dist/nodes/Fal/resources/workflow/description.d.ts +4 -0
  178. package/dist/nodes/Fal/resources/workflow/description.d.ts.map +1 -0
  179. package/dist/nodes/Fal/resources/workflow/description.js +178 -0
  180. package/dist/nodes/Fal/resources/workflow/description.js.map +1 -0
  181. package/dist/nodes/Fal/resources/workflow/execute/index.d.ts +3 -0
  182. package/dist/nodes/Fal/resources/workflow/execute/index.d.ts.map +1 -0
  183. package/dist/nodes/Fal/resources/workflow/execute/index.js +120 -0
  184. package/dist/nodes/Fal/resources/workflow/execute/index.js.map +1 -0
  185. package/dist/nodes/Fal/resources/workflow/index.d.ts +4 -0
  186. package/dist/nodes/Fal/resources/workflow/index.d.ts.map +1 -0
  187. package/dist/nodes/Fal/resources/workflow/index.js +9 -0
  188. package/dist/nodes/Fal/resources/workflow/index.js.map +1 -0
  189. package/dist/nodes/Fal/resources/workflow/models.d.ts +65 -0
  190. package/dist/nodes/Fal/resources/workflow/models.d.ts.map +1 -0
  191. package/dist/nodes/Fal/resources/workflow/models.js +9 -0
  192. package/dist/nodes/Fal/resources/workflow/models.js.map +1 -0
  193. package/dist/nodes/Fal/utils/poll-queue.util.d.ts +9 -0
  194. package/dist/nodes/Fal/utils/poll-queue.util.d.ts.map +1 -0
  195. package/dist/nodes/Fal/utils/poll-queue.util.js +62 -0
  196. package/dist/nodes/Fal/utils/poll-queue.util.js.map +1 -0
  197. package/package.json +86 -0
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.execute = execute;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const poll_queue_util_1 = require("../../../utils/poll-queue.util");
6
+ async function execute(itemIndex) {
7
+ const model = this.getNodeParameter('model', itemIndex);
8
+ const prompt = this.getNodeParameter('prompt', itemIndex, '');
9
+ const additionalOptions = this.getNodeParameter('additionalOptions', itemIndex, {});
10
+ // Build the request body
11
+ const body = {};
12
+ // Check if this is a first-last frame model
13
+ const isFirstLastFrame = model.includes('first-last-frame-to-video');
14
+ if (isFirstLastFrame) {
15
+ const firstFrameUrl = this.getNodeParameter('firstFrameUrl', itemIndex);
16
+ const lastFrameUrl = this.getNodeParameter('lastFrameUrl', itemIndex);
17
+ body.first_frame_url = firstFrameUrl;
18
+ body.last_frame_url = lastFrameUrl;
19
+ if (prompt) {
20
+ body.prompt = prompt;
21
+ }
22
+ }
23
+ else {
24
+ const imageUrl = this.getNodeParameter('imageUrl', itemIndex);
25
+ body.image_url = imageUrl;
26
+ if (prompt) {
27
+ body.prompt = prompt;
28
+ }
29
+ }
30
+ // Add optional parameters
31
+ if (additionalOptions.duration) {
32
+ body.duration = additionalOptions.duration;
33
+ }
34
+ if (additionalOptions.aspectRatio) {
35
+ body.aspect_ratio = additionalOptions.aspectRatio;
36
+ }
37
+ if (additionalOptions.resolution) {
38
+ body.resolution = additionalOptions.resolution;
39
+ }
40
+ if (additionalOptions.generateAudio !== undefined) {
41
+ body.generate_audio = additionalOptions.generateAudio;
42
+ }
43
+ if (additionalOptions.seed && additionalOptions.seed !== -1) {
44
+ body.seed = additionalOptions.seed;
45
+ }
46
+ // Submit the request to the queue
47
+ const submitResponse = await this.helpers.httpRequestWithAuthentication.call(this, 'falApi', {
48
+ method: 'POST',
49
+ url: `/${model}`,
50
+ body,
51
+ json: true,
52
+ });
53
+ const queueData = submitResponse;
54
+ if (!queueData.request_id) {
55
+ throw new n8n_workflow_1.NodeApiError(this.getNode(), {
56
+ message: 'Failed to submit request to queue',
57
+ description: 'No request_id received',
58
+ });
59
+ }
60
+ // Poll for completion
61
+ const result = await poll_queue_util_1.pollQueue.call(this, queueData.request_id, queueData.response_url);
62
+ return result;
63
+ }
64
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Fal/resources/image-to-video/execute/index.ts"],"names":[],"mappings":";;AAIA,0BAqEC;AAzED,+CAA4E;AAC5E,oEAA2D;AAGpD,KAAK,UAAU,OAAO,CAA0B,SAAiB;IACvE,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,SAAS,CAAW,CAAC;IAClE,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,SAAS,EAAE,EAAE,CAAW,CAAC;IACxE,MAAM,iBAAiB,GAAG,IAAI,CAAC,gBAAgB,CAC9C,mBAAmB,EACnB,SAAS,EACT,EAAE,CACa,CAAC;IAEjB,yBAAyB;IACzB,MAAM,IAAI,GAAgB,EAAE,CAAC;IAE7B,4CAA4C;IAC5C,MAAM,gBAAgB,GAAG,KAAK,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC;IAErE,IAAI,gBAAgB,EAAE,CAAC;QACtB,MAAM,aAAa,GAAG,IAAI,CAAC,gBAAgB,CAAC,eAAe,EAAE,SAAS,CAAW,CAAC;QAClF,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,SAAS,CAAW,CAAC;QAChF,IAAI,CAAC,eAAe,GAAG,aAAa,CAAC;QACrC,IAAI,CAAC,cAAc,GAAG,YAAY,CAAC;QACnC,IAAI,MAAM,EAAE,CAAC;YACZ,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACtB,CAAC;IACF,CAAC;SAAM,CAAC;QACP,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,SAAS,CAAW,CAAC;QACxE,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;QAC1B,IAAI,MAAM,EAAE,CAAC;YACZ,IAAI,CAAC,MAAM,GAAG,MAAM,CAA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SAAS,CAAC,YAAY,CAAC,CAAC;IAExF,OAAO,MAAM,CAAC;AACf,CAAC"}
@@ -0,0 +1,4 @@
1
+ import * as execute from './execute';
2
+ export { description } from './description';
3
+ export { execute };
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../nodes/Fal/resources/image-to-video/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AAErC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,41 @@
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.execute = exports.description = void 0;
37
+ const execute = __importStar(require("./execute"));
38
+ exports.execute = execute;
39
+ var description_1 = require("./description");
40
+ Object.defineProperty(exports, "description", { enumerable: true, get: function () { return description_1.description; } });
41
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Fal/resources/image-to-video/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAqC;AAG5B,0BAAO;AADhB,6CAA4C;AAAnC,0GAAA,WAAW,OAAA"}
@@ -0,0 +1,6 @@
1
+ export declare const imageToVideoModels: {
2
+ name: string;
3
+ value: string;
4
+ description: string;
5
+ }[];
6
+ //# sourceMappingURL=models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../../../nodes/Fal/resources/image-to-video/models.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;;GA6D9B,CAAC"}
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.imageToVideoModels = void 0;
4
+ exports.imageToVideoModels = [
5
+ {
6
+ name: 'Sora 2 Pro Image to Video',
7
+ value: 'fal-ai/sora-2/image-to-video/pro',
8
+ description: 'OpenAI Sora 2 Pro - richly detailed videos with audio from images',
9
+ },
10
+ {
11
+ name: 'Sora 2 Image to Video',
12
+ value: 'fal-ai/sora-2/image-to-video',
13
+ description: 'OpenAI Sora 2 - state-of-the-art image to video with audio',
14
+ },
15
+ {
16
+ name: 'Veo 3.1 Image to Video',
17
+ value: 'fal-ai/veo3.1/image-to-video',
18
+ description: 'Google Veo 3.1 - state-of-the-art image to video',
19
+ },
20
+ {
21
+ name: 'Veo 3.1 Fast Image to Video',
22
+ value: 'fal-ai/veo3.1/fast/image-to-video',
23
+ description: 'Faster version of Veo 3.1 image to video',
24
+ },
25
+ {
26
+ name: 'Veo 3.1 First-Last Frame',
27
+ value: 'fal-ai/veo3.1/first-last-frame-to-video',
28
+ description: 'Generate videos from first and last frame',
29
+ },
30
+ {
31
+ name: 'Veo 3.1 Fast First-Last Frame',
32
+ value: 'fal-ai/veo3.1/fast/first-last-frame-to-video',
33
+ description: 'Fast version of first-last frame to video',
34
+ },
35
+ {
36
+ name: 'Veo 3.1 Reference to Video',
37
+ value: 'fal-ai/veo3.1/reference-to-video',
38
+ description: 'Generate videos from reference images',
39
+ },
40
+ {
41
+ name: 'Kling V1.6 Pro',
42
+ value: 'fal-ai/kling-video/v1.6/pro/image-to-video',
43
+ description: 'High-quality image to video generation',
44
+ },
45
+ {
46
+ name: 'Kling V1.6 Standard',
47
+ value: 'fal-ai/kling-video/v1.6/standard/image-to-video',
48
+ description: 'Standard quality image to video generation',
49
+ },
50
+ {
51
+ name: 'Kling V1.5 Pro',
52
+ value: 'fal-ai/kling-video/v1.5/pro/image-to-video',
53
+ description: 'Kling V1.5 Pro model',
54
+ },
55
+ {
56
+ name: 'Runway Gen3',
57
+ value: 'fal-ai/runway-gen3/turbo/image-to-video',
58
+ description: 'Runway Gen3 Turbo image to video',
59
+ },
60
+ {
61
+ name: 'Luma Dream Machine',
62
+ value: 'fal-ai/luma-dream-machine',
63
+ description: 'Luma AI Dream Machine',
64
+ },
65
+ ];
66
+ //# sourceMappingURL=models.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../../nodes/Fal/resources/image-to-video/models.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG;IACjC;QACC,IAAI,EAAE,2BAA2B;QACjC,KAAK,EAAE,kCAAkC;QACzC,WAAW,EAAE,mEAAmE;KAChF;IACD;QACC,IAAI,EAAE,uBAAuB;QAC7B,KAAK,EAAE,8BAA8B;QACrC,WAAW,EAAE,4DAA4D;KACzE;IACD;QACC,IAAI,EAAE,wBAAwB;QAC9B,KAAK,EAAE,8BAA8B;QACrC,WAAW,EAAE,kDAAkD;KAC/D;IACD;QACC,IAAI,EAAE,6BAA6B;QACnC,KAAK,EAAE,mCAAmC;QAC1C,WAAW,EAAE,0CAA0C;KACvD;IACD;QACC,IAAI,EAAE,0BAA0B;QAChC,KAAK,EAAE,yCAAyC;QAChD,WAAW,EAAE,2CAA2C;KACxD;IACD;QACC,IAAI,EAAE,+BAA+B;QACrC,KAAK,EAAE,8CAA8C;QACrD,WAAW,EAAE,2CAA2C;KACxD;IACD;QACC,IAAI,EAAE,4BAA4B;QAClC,KAAK,EAAE,kCAAkC;QACzC,WAAW,EAAE,uCAAuC;KACpD;IACD;QACC,IAAI,EAAE,gBAAgB;QACtB,KAAK,EAAE,4CAA4C;QACnD,WAAW,EAAE,wCAAwC;KACrD;IACD;QACC,IAAI,EAAE,qBAAqB;QAC3B,KAAK,EAAE,iDAAiD;QACxD,WAAW,EAAE,4CAA4C;KACzD;IACD;QACC,IAAI,EAAE,gBAAgB;QACtB,KAAK,EAAE,4CAA4C;QACnD,WAAW,EAAE,sBAAsB;KACnC;IACD;QACC,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,yCAAyC;QAChD,WAAW,EAAE,kCAAkC;KAC/C;IACD;QACC,IAAI,EAAE,oBAAoB;QAC1B,KAAK,EAAE,2BAA2B;QAClC,WAAW,EAAE,uBAAuB;KACpC;CACD,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const llmOperations: INodeProperties[];
3
+ export declare const llmFields: INodeProperties[];
4
+ export declare const description: INodeProperties[];
5
+ //# sourceMappingURL=description.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"description.d.ts","sourceRoot":"","sources":["../../../../../nodes/Fal/resources/llm/description.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAG/C,eAAO,MAAM,aAAa,EAAE,eAAe,EAqB1C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAAe,EA2GtC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,EAAqC,CAAC"}
@@ -0,0 +1,132 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.description = exports.llmFields = exports.llmOperations = void 0;
4
+ const models_1 = require("./models");
5
+ exports.llmOperations = [
6
+ {
7
+ displayName: 'Operation',
8
+ name: 'operation',
9
+ type: 'options',
10
+ noDataExpression: true,
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['llm'],
14
+ },
15
+ },
16
+ options: [
17
+ {
18
+ name: 'Generate Text',
19
+ value: 'generate',
20
+ description: 'Generate text using language models',
21
+ action: 'Generate text using language models',
22
+ },
23
+ ],
24
+ default: 'generate',
25
+ },
26
+ ];
27
+ exports.llmFields = [
28
+ {
29
+ displayName: 'Model',
30
+ name: 'model',
31
+ type: 'options',
32
+ displayOptions: {
33
+ show: {
34
+ resource: ['llm'],
35
+ operation: ['generate'],
36
+ },
37
+ },
38
+ options: models_1.llmModels,
39
+ default: 'google/gemini-2.5-flash-lite',
40
+ description: 'The language model to use. Premium models (10x rate): Claude 3.7/3.5 Sonnet, Gemini 2.5 Pro, GPT-4o, GPT-5 Chat, DeepSeek R1, O3.',
41
+ },
42
+ {
43
+ displayName: 'Prompt',
44
+ name: 'prompt',
45
+ type: 'string',
46
+ typeOptions: {
47
+ rows: 4,
48
+ },
49
+ displayOptions: {
50
+ show: {
51
+ resource: ['llm'],
52
+ operation: ['generate'],
53
+ },
54
+ },
55
+ default: '',
56
+ required: true,
57
+ placeholder: '={{$json.userMessage}} or Write a short story about...',
58
+ description: 'The prompt to send to the language model. Supports expressions from previous nodes.',
59
+ },
60
+ {
61
+ displayName: 'Additional Options',
62
+ name: 'additionalOptions',
63
+ type: 'collection',
64
+ placeholder: 'Add Option',
65
+ default: {},
66
+ displayOptions: {
67
+ show: {
68
+ resource: ['llm'],
69
+ operation: ['generate'],
70
+ },
71
+ },
72
+ options: [
73
+ {
74
+ displayName: 'System Prompt',
75
+ name: 'systemPrompt',
76
+ type: 'string',
77
+ typeOptions: {
78
+ rows: 2,
79
+ },
80
+ default: '',
81
+ description: 'System prompt to provide context or instructions',
82
+ },
83
+ {
84
+ displayName: 'Temperature',
85
+ name: 'temperature',
86
+ type: 'number',
87
+ typeOptions: {
88
+ minValue: 0,
89
+ maxValue: 2,
90
+ numberPrecision: 2,
91
+ },
92
+ default: 1.0,
93
+ description: 'Controls randomness in responses (0-2). Lower = more predictable, Higher = more creative.',
94
+ },
95
+ {
96
+ displayName: 'Max Tokens',
97
+ name: 'maxTokens',
98
+ type: 'number',
99
+ default: 1024,
100
+ description: 'Maximum number of tokens to generate',
101
+ },
102
+ {
103
+ displayName: 'Priority',
104
+ name: 'priority',
105
+ type: 'options',
106
+ options: [
107
+ {
108
+ name: 'Throughput',
109
+ value: 'throughput',
110
+ description: 'Default, recommended for most use cases',
111
+ },
112
+ {
113
+ name: 'Latency',
114
+ value: 'latency',
115
+ description: 'For use cases where low latency is important',
116
+ },
117
+ ],
118
+ default: 'latency',
119
+ description: 'Processing priority',
120
+ },
121
+ {
122
+ displayName: 'Include Reasoning',
123
+ name: 'reasoning',
124
+ type: 'boolean',
125
+ default: false,
126
+ description: 'Whether reasoning should be part of the final answer (for reasoning models)',
127
+ },
128
+ ],
129
+ },
130
+ ];
131
+ exports.description = [...exports.llmOperations, ...exports.llmFields];
132
+ //# sourceMappingURL=description.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"description.js","sourceRoot":"","sources":["../../../../../nodes/Fal/resources/llm/description.ts"],"names":[],"mappings":";;;AACA,qCAAqC;AAExB,QAAA,aAAa,GAAsB;IAC/C;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,CAA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AAE,CAAC;iBACP;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,kDAAkD;aAC/D;YACD;gBACC,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,CAAC;oBACX,QAAQ,EAAE,CAAC;oBACX,eAAe,EAAE,CAAC;iBAClB;gBACD,OAAO,EAAE,GAAG;gBACZ,WAAW,EACV,2FAA2F;aAC5F;YACD;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,sCAAsC;aACnD;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACR;wBACC,IAAI,EAAE,YAAY;wBAClB,KAAK,EAAE,YAAY;wBACnB,WAAW,EAAE,yCAAyC;qBACtD;oBACD;wBACC,IAAI,EAAE,SAAS;wBACf,KAAK,EAAE,SAAS;wBAChB,WAAW,EAAE,8CAA8C;qBAC3D;iBACD;gBACD,OAAO,EAAE,SAAS;gBAClB,WAAW,EAAE,qBAAqB;aAClC;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,WAAW,EACV,6EAA6E;aAC9E;SACD;KACD;CACD,CAAC;AAEW,QAAA,WAAW,GAAsB,CAAC,GAAG,qBAAa,EAAE,GAAG,iBAAS,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { IExecuteFunctions, IDataObject } from 'n8n-workflow';
2
+ export declare function execute(this: IExecuteFunctions, itemIndex: number): Promise<IDataObject>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Fal/resources/llm/execute/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAgB,MAAM,cAAc,CAAC;AAI5E,wBAAsB,OAAO,CAAC,IAAI,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAqD9F"}
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.execute = execute;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const poll_queue_util_1 = require("../../../utils/poll-queue.util");
6
+ async function execute(itemIndex) {
7
+ const model = this.getNodeParameter('model', itemIndex);
8
+ const prompt = this.getNodeParameter('prompt', itemIndex);
9
+ const additionalOptions = this.getNodeParameter('additionalOptions', itemIndex, {});
10
+ // Build the request body
11
+ const body = {
12
+ prompt,
13
+ model,
14
+ };
15
+ // Add optional parameters
16
+ if (additionalOptions.systemPrompt) {
17
+ body.system_prompt = additionalOptions.systemPrompt;
18
+ }
19
+ if (additionalOptions.temperature !== undefined) {
20
+ body.temperature = additionalOptions.temperature;
21
+ }
22
+ if (additionalOptions.maxTokens) {
23
+ body.max_tokens = additionalOptions.maxTokens;
24
+ }
25
+ if (additionalOptions.priority) {
26
+ body.priority = additionalOptions.priority;
27
+ }
28
+ if (additionalOptions.reasoning !== undefined) {
29
+ body.reasoning = additionalOptions.reasoning;
30
+ }
31
+ // Submit the request to the queue
32
+ const submitResponse = await this.helpers.httpRequestWithAuthentication.call(this, 'falApi', {
33
+ method: 'POST',
34
+ url: '/fal-ai/any-llm',
35
+ body,
36
+ json: true,
37
+ });
38
+ const queueData = submitResponse;
39
+ if (!queueData.request_id) {
40
+ throw new n8n_workflow_1.NodeApiError(this.getNode(), {
41
+ message: 'Failed to submit request to queue',
42
+ description: 'No request_id received',
43
+ });
44
+ }
45
+ // Poll for completion
46
+ const result = await poll_queue_util_1.pollQueue.call(this, queueData.request_id, queueData.response_url);
47
+ return result;
48
+ }
49
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Fal/resources/llm/execute/index.ts"],"names":[],"mappings":";;AAIA,0BAqDC;AAzDD,+CAA4E;AAC5E,oEAA2D;AAGpD,KAAK,UAAU,OAAO,CAA0B,SAAiB;IACvE,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,SAAS,CAAW,CAAC;IAClE,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,SAAS,CAAW,CAAC;IACpE,MAAM,iBAAiB,GAAG,IAAI,CAAC,gBAAgB,CAC9C,mBAAmB,EACnB,SAAS,EACT,EAAE,CACa,CAAC;IAEjB,yBAAyB;IACzB,MAAM,IAAI,GAAgB;QACzB,MAAM;QACN,KAAK;KACL,CAAC;IAEF,0BAA0B;IAC1B,IAAI,iBAAiB,CAAC,YAAY,EAAE,CAAC;QACpC,IAAI,CAAC,aAAa,GAAG,iBAAiB,CAAC,YAAY,CAAC;IACrD,CAAC;IACD,IAAI,iBAAiB,CAAC,WAAW,KAAK,SAAS,EAAE,CAAC;QACjD,IAAI,CAAC,WAAW,GAAG,iBAAiB,CAAC,WAAW,CAAC;IAClD,CAAC;IACD,IAAI,iBAAiB,CAAC,SAAS,EAAE,CAAC;QACjC,IAAI,CAAC,UAAU,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC/C,CAAC;IACD,IAAI,iBAAiB,CAAC,QAAQ,EAAE,CAAC;QAChC,IAAI,CAAC,QAAQ,GAAG,iBAAiB,CAAC,QAAQ,CAAC;IAC5C,CAAC;IACD,IAAI,iBAAiB,CAAC,SAAS,KAAK,SAAS,EAAE,CAAC;QAC/C,IAAI,CAAC,SAAS,GAAG,iBAAiB,CAAC,SAAS,CAAC;IAC9C,CAAC;IAED,kCAAkC;IAClC,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,6BAA6B,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE;QAC5F,MAAM,EAAE,MAAM;QACd,GAAG,EAAE,iBAAiB;QACtB,IAAI;QACJ,IAAI,EAAE,IAAI;KACV,CAAC,CAAC;IAEH,MAAM,SAAS,GAAG,cAAqC,CAAC;IAExD,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,CAAC;QAC3B,MAAM,IAAI,2BAAY,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE;YACtC,OAAO,EAAE,mCAAmC;YAC5C,WAAW,EAAE,wBAAwB;SACrC,CAAC,CAAC;IACJ,CAAC;IAED,sBAAsB;IACtB,MAAM,MAAM,GAAG,MAAM,2BAAS,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;IAExF,OAAO,MAAM,CAAC;AACf,CAAC"}
@@ -0,0 +1,4 @@
1
+ import * as execute from './execute';
2
+ export { description } from './description';
3
+ export { execute };
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../nodes/Fal/resources/llm/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AAErC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,41 @@
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.execute = exports.description = void 0;
37
+ const execute = __importStar(require("./execute"));
38
+ exports.execute = execute;
39
+ var description_1 = require("./description");
40
+ Object.defineProperty(exports, "description", { enumerable: true, get: function () { return description_1.description; } });
41
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Fal/resources/llm/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAqC;AAG5B,0BAAO;AADhB,6CAA4C;AAAnC,0GAAA,WAAW,OAAA"}
@@ -0,0 +1,6 @@
1
+ export declare const llmModels: {
2
+ name: string;
3
+ value: string;
4
+ description: string;
5
+ }[];
6
+ //# sourceMappingURL=models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../../../nodes/Fal/resources/llm/models.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;GAmIrB,CAAC"}
@@ -0,0 +1,136 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.llmModels = void 0;
4
+ exports.llmModels = [
5
+ {
6
+ name: 'Gemini 2.5 Flash Lite',
7
+ value: 'google/gemini-2.5-flash-lite',
8
+ description: 'Fast and lightweight text model (default)',
9
+ },
10
+ {
11
+ name: 'Gemini 2.5 Flash',
12
+ value: 'google/gemini-2.5-flash',
13
+ description: 'Google Gemini 2.5 Flash',
14
+ },
15
+ {
16
+ name: 'Gemini 2.0 Flash',
17
+ value: 'google/gemini-2.0-flash-001',
18
+ description: 'Google Gemini 2.0 Flash',
19
+ },
20
+ {
21
+ name: 'Gemini Flash 1.5',
22
+ value: 'google/gemini-flash-1.5',
23
+ description: 'Google Gemini Flash 1.5',
24
+ },
25
+ {
26
+ name: 'Gemini Flash 1.5 8B',
27
+ value: 'google/gemini-flash-1.5-8b',
28
+ description: 'Smaller Gemini Flash model',
29
+ },
30
+ {
31
+ name: 'Gemini 2.5 Pro (Premium)',
32
+ value: 'google/gemini-2.5-pro',
33
+ description: 'Advanced Gemini Pro (10x rate)',
34
+ },
35
+ {
36
+ name: 'Gemini Pro 1.5 (Premium)',
37
+ value: 'google/gemini-pro-1.5',
38
+ description: 'Google Gemini Pro 1.5 (10x rate)',
39
+ },
40
+ {
41
+ name: 'DeepSeek R1 (Premium)',
42
+ value: 'deepseek/deepseek-r1',
43
+ description: 'DeepSeek R1 reasoning model (10x rate)',
44
+ },
45
+ {
46
+ name: 'Claude 3.7 Sonnet (Premium)',
47
+ value: 'anthropic/claude-3.7-sonnet',
48
+ description: 'Latest Claude Sonnet (10x rate)',
49
+ },
50
+ {
51
+ name: 'Claude 3.5 Sonnet (Premium)',
52
+ value: 'anthropic/claude-3.5-sonnet',
53
+ description: 'Anthropic Claude 3.5 Sonnet (10x rate)',
54
+ },
55
+ {
56
+ name: 'Claude 3.5 Haiku (Premium)',
57
+ value: 'anthropic/claude-3-5-haiku',
58
+ description: 'Fast Claude Haiku (10x rate)',
59
+ },
60
+ {
61
+ name: 'Claude 3 Haiku',
62
+ value: 'anthropic/claude-3-haiku',
63
+ description: 'Anthropic Claude 3 Haiku',
64
+ },
65
+ {
66
+ name: 'GPT-4o (Premium)',
67
+ value: 'openai/gpt-4o',
68
+ description: 'OpenAI GPT-4o (10x rate)',
69
+ },
70
+ {
71
+ name: 'GPT-4o Mini',
72
+ value: 'openai/gpt-4o-mini',
73
+ description: 'Smaller GPT-4o model',
74
+ },
75
+ {
76
+ name: 'GPT-4.1 (Premium)',
77
+ value: 'openai/gpt-4.1',
78
+ description: 'OpenAI GPT-4.1 (10x rate)',
79
+ },
80
+ {
81
+ name: 'GPT-5 Chat (Premium)',
82
+ value: 'openai/gpt-5-chat',
83
+ description: 'OpenAI GPT-5 Chat (10x rate)',
84
+ },
85
+ {
86
+ name: 'GPT-5 Mini',
87
+ value: 'openai/gpt-5-mini',
88
+ description: 'OpenAI GPT-5 Mini',
89
+ },
90
+ {
91
+ name: 'GPT-5 Nano',
92
+ value: 'openai/gpt-5-nano',
93
+ description: 'Smallest GPT-5 model',
94
+ },
95
+ {
96
+ name: 'O3 (Premium)',
97
+ value: 'openai/o3',
98
+ description: 'OpenAI O3 reasoning model (10x rate)',
99
+ },
100
+ {
101
+ name: 'GPT-OSS 120B',
102
+ value: 'openai/gpt-oss-120b',
103
+ description: 'Open source GPT model',
104
+ },
105
+ {
106
+ name: 'Llama 3.1 70B',
107
+ value: 'meta-llama/llama-3.1-70b-instruct',
108
+ description: 'Meta Llama 3.1 70B',
109
+ },
110
+ {
111
+ name: 'Llama 3.1 8B',
112
+ value: 'meta-llama/llama-3.1-8b-instruct',
113
+ description: 'Meta Llama 3.1 8B',
114
+ },
115
+ {
116
+ name: 'Llama 3.2 3B',
117
+ value: 'meta-llama/llama-3.2-3b-instruct',
118
+ description: 'Meta Llama 3.2 3B',
119
+ },
120
+ {
121
+ name: 'Llama 3.2 1B',
122
+ value: 'meta-llama/llama-3.2-1b-instruct',
123
+ description: 'Meta Llama 3.2 1B',
124
+ },
125
+ {
126
+ name: 'Llama 4 Maverick',
127
+ value: 'meta-llama/llama-4-maverick',
128
+ description: 'Meta Llama 4 Maverick',
129
+ },
130
+ {
131
+ name: 'Llama 4 Scout',
132
+ value: 'meta-llama/llama-4-scout',
133
+ description: 'Meta Llama 4 Scout',
134
+ },
135
+ ];
136
+ //# sourceMappingURL=models.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../../nodes/Fal/resources/llm/models.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG;IACxB;QACC,IAAI,EAAE,uBAAuB;QAC7B,KAAK,EAAE,8BAA8B;QACrC,WAAW,EAAE,2CAA2C;KACxD;IACD;QACC,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,yBAAyB;QAChC,WAAW,EAAE,yBAAyB;KACtC;IACD;QACC,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,6BAA6B;QACpC,WAAW,EAAE,yBAAyB;KACtC;IACD;QACC,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,yBAAyB;QAChC,WAAW,EAAE,yBAAyB;KACtC;IACD;QACC,IAAI,EAAE,qBAAqB;QAC3B,KAAK,EAAE,4BAA4B;QACnC,WAAW,EAAE,4BAA4B;KACzC;IACD;QACC,IAAI,EAAE,0BAA0B;QAChC,KAAK,EAAE,uBAAuB;QAC9B,WAAW,EAAE,gCAAgC;KAC7C;IACD;QACC,IAAI,EAAE,0BAA0B;QAChC,KAAK,EAAE,uBAAuB;QAC9B,WAAW,EAAE,kCAAkC;KAC/C;IACD;QACC,IAAI,EAAE,uBAAuB;QAC7B,KAAK,EAAE,sBAAsB;QAC7B,WAAW,EAAE,wCAAwC;KACrD;IACD;QACC,IAAI,EAAE,6BAA6B;QACnC,KAAK,EAAE,6BAA6B;QACpC,WAAW,EAAE,iCAAiC;KAC9C;IACD;QACC,IAAI,EAAE,6BAA6B;QACnC,KAAK,EAAE,6BAA6B;QACpC,WAAW,EAAE,wCAAwC;KACrD;IACD;QACC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IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,6BAA6B;QACpC,WAAW,EAAE,uBAAuB;KACpC;IACD;QACC,IAAI,EAAE,eAAe;QACrB,KAAK,EAAE,0BAA0B;QACjC,WAAW,EAAE,oBAAoB;KACjC;CACD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const queueOperations: INodeProperties[];
3
+ export declare const queueFields: INodeProperties[];
4
+ //# sourceMappingURL=description.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"description.d.ts","sourceRoot":"","sources":["../../../../../nodes/Fal/resources/queue/description.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,eAAO,MAAM,eAAe,EAAE,eAAe,EA6C5C,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,EAsGxC,CAAC"}