@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.
- package/dist/known/credentials.json +1 -0
- package/dist/known/nodes.json +4 -0
- package/dist/node-definitions/.nodes-hash +1 -1
- package/dist/node-definitions/index.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/index.ts +12 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/index.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/index.ts +21 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_audio/index.schema.js +18 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_audio/index.ts +10 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_audio/operation_text_to_speech.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_audio/operation_text_to_speech.ts +75 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_image/index.schema.js +18 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_image/index.ts +10 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_image/operation_generate.schema.js +33 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_image/operation_generate.ts +64 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_text/index.schema.js +18 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_text/index.ts +10 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_text/operation_message.schema.js +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_text/operation_message.ts +82 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/index.schema.js +22 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/index.ts +15 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_image_to_video.schema.js +36 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_image_to_video.ts +103 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_text_to_video.schema.js +33 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_text_to_video.ts +60 -0
- package/dist/nodes/vendors/MiniMax/MiniMax.node.d.ts +5 -0
- package/dist/nodes/vendors/MiniMax/MiniMax.node.js +15 -0
- package/dist/nodes/vendors/MiniMax/MiniMax.node.js.map +1 -0
- package/dist/nodes/vendors/MiniMax/actions/audio/index.d.ts +4 -0
- package/dist/nodes/vendors/MiniMax/actions/audio/index.js +62 -0
- package/dist/nodes/vendors/MiniMax/actions/audio/index.js.map +1 -0
- package/dist/nodes/vendors/MiniMax/actions/audio/tts.operation.d.ts +29 -0
- package/dist/nodes/vendors/MiniMax/actions/audio/tts.operation.js +252 -0
- package/dist/nodes/vendors/MiniMax/actions/audio/tts.operation.js.map +1 -0
- package/dist/nodes/vendors/MiniMax/actions/image/generate.operation.d.ts +29 -0
- package/dist/nodes/vendors/MiniMax/actions/image/generate.operation.js +159 -0
- package/dist/nodes/vendors/MiniMax/actions/image/generate.operation.js.map +1 -0
- package/dist/nodes/vendors/MiniMax/actions/image/index.d.ts +4 -0
- package/dist/nodes/vendors/MiniMax/actions/image/index.js +62 -0
- package/dist/nodes/vendors/MiniMax/actions/image/index.js.map +1 -0
- package/dist/nodes/vendors/MiniMax/actions/node.type.d.ts +9 -0
- package/dist/nodes/vendors/MiniMax/actions/node.type.js +3 -0
- package/dist/nodes/vendors/MiniMax/actions/node.type.js.map +1 -0
- package/dist/nodes/vendors/MiniMax/actions/router.d.ts +2 -0
- package/dist/nodes/vendors/MiniMax/actions/router.js +86 -0
- package/dist/nodes/vendors/MiniMax/actions/router.js.map +1 -0
- package/dist/nodes/vendors/MiniMax/actions/text/index.d.ts +4 -0
- package/dist/nodes/vendors/MiniMax/actions/text/index.js +62 -0
- package/dist/nodes/vendors/MiniMax/actions/text/index.js.map +1 -0
- package/dist/nodes/vendors/MiniMax/actions/text/message.operation.d.ts +29 -0
- package/dist/nodes/vendors/MiniMax/actions/text/message.operation.js +287 -0
- package/dist/nodes/vendors/MiniMax/actions/text/message.operation.js.map +1 -0
- package/dist/nodes/vendors/MiniMax/actions/versionDescription.d.ts +2 -0
- package/dist/nodes/vendors/MiniMax/actions/versionDescription.js +118 -0
- package/dist/nodes/vendors/MiniMax/actions/versionDescription.js.map +1 -0
- package/dist/nodes/vendors/MiniMax/actions/video/generate.i2v.operation.d.ts +29 -0
- package/dist/nodes/vendors/MiniMax/actions/video/generate.i2v.operation.js +324 -0
- package/dist/nodes/vendors/MiniMax/actions/video/generate.i2v.operation.js.map +1 -0
- package/dist/nodes/vendors/MiniMax/actions/video/generate.t2v.operation.d.ts +29 -0
- package/dist/nodes/vendors/MiniMax/actions/video/generate.t2v.operation.js +161 -0
- package/dist/nodes/vendors/MiniMax/actions/video/generate.t2v.operation.js.map +1 -0
- package/dist/nodes/vendors/MiniMax/actions/video/index.d.ts +5 -0
- package/dist/nodes/vendors/MiniMax/actions/video/index.js +71 -0
- package/dist/nodes/vendors/MiniMax/actions/video/index.js.map +1 -0
- package/dist/nodes/vendors/MiniMax/helpers/interfaces.d.ts +88 -0
- package/dist/nodes/vendors/MiniMax/helpers/interfaces.js +3 -0
- package/dist/nodes/vendors/MiniMax/helpers/interfaces.js.map +1 -0
- package/dist/nodes/vendors/MiniMax/minimax.svg +10 -0
- package/dist/nodes/vendors/MiniMax/transport/index.d.ts +14 -0
- package/dist/nodes/vendors/MiniMax/transport/index.js +60 -0
- package/dist/nodes/vendors/MiniMax/transport/index.js.map +1 -0
- package/dist/typecheck.tsbuildinfo +1 -1
- package/dist/types/credentials.json +1 -1
- package/dist/types/nodes.json +1 -0
- package/package.json +6 -5
package/dist/types/nodes.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
{"displayName":"Alibaba Cloud Model Studio","name":"alibabaCloud","group":["transform"],"version":1,"subtitle":"={{ $parameter[\"operation\"] + \": \" + $parameter[\"resource\"] }}","description":"Interact with Alibaba Cloud Qwen models via Model Studio","defaults":{"name":"Alibaba Cloud Model Studio"},"usableAsTool":true,"codex":{"alias":["qwen","dashscope","alibaba","model studio","video","image"],"categories":["AI"],"subcategories":{"AI":["Agents","Miscellaneous","Root Nodes"]},"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-langchain.alibabacloud/"}]}},"inputs":"={{\n\t\t(() => {\n\t\t\tconst resource = $parameter.resource;\n\t\t\tconst operation = $parameter.operation;\n\t\t\tif (resource === 'text' && operation === 'message') {\n\t\t\t\treturn [{ type: 'main' }, { type: 'ai_tool', displayName: 'Tools' }];\n\t\t\t}\n\n\t\t\treturn ['main'];\n\t\t})()\n\t}}","outputs":["main"],"credentials":[{"name":"alibabaCloudApi","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Text","value":"text"},{"name":"Image","value":"image"},{"name":"Video","value":"video"}],"default":"text"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["text"]}},"options":[{"name":"Message a Model","value":"message","action":"Message a model","description":"Create a completion with a Qwen model"}],"default":"message"},{"displayName":"Model","name":"modelId","type":"options","options":[{"name":"Qwen3 Max","value":"qwen3-max","description":"Most capable model with best performance"},{"name":"Qwen3 Max (2026-01-23)","value":"qwen3-max-2026-01-23","description":"Qwen Max snapshot from 2026-01-23"},{"name":"Qwen3.5 122B-A10B","value":"qwen3.5-122b-a10b","description":"MoE model with 122B total / 10B active parameters"},{"name":"Qwen3.5 27B","value":"qwen3.5-27b","description":"Dense 27B parameter model"},{"name":"Qwen3.5 35B-A3B","value":"qwen3.5-35b-a3b","description":"Small MoE model with 35B total / 3B active parameters"},{"name":"Qwen3.5 397B-A17B","value":"qwen3.5-397b-a17b","description":"Large MoE model with 397B total / 17B active parameters"},{"name":"Qwen3.5 Flash","value":"qwen3.5-flash","description":"Faster, more cost-effective model"},{"name":"Qwen3.5 Flash (2026-02-23)","value":"qwen3.5-flash-2026-02-23","description":"Qwen Flash snapshot from 2026-02-23"},{"name":"Qwen3.5 Plus","value":"qwen3.5-plus","description":"Balanced model with good performance and cost"},{"name":"Qwen3.5 Plus (2026-02-15)","value":"qwen3.5-plus-2026-02-15","description":"Qwen Plus snapshot from 2026-02-15"}],"default":"qwen3.5-flash","description":"The model to use for generation","displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Messages","name":"messages","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{"messageValues":[{"content":"","role":"user"}]},"placeholder":"Add Message","options":[{"name":"messageValues","displayName":"Message","values":[{"displayName":"Content","name":"content","type":"string","typeOptions":{"rows":4},"default":"","description":"The content of the message"},{"displayName":"Role","name":"role","type":"options","options":[{"name":"User","value":"user"},{"name":"Assistant","value":"assistant"}],"default":"user","description":"The role of the message sender"}]}],"displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to return a simplified version of the response instead of the raw data","displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Enable Search","name":"enableSearch","type":"boolean","default":false,"description":"Whether to enable web search for up-to-date information"},{"displayName":"Max Tokens","name":"maxTokens","type":"number","typeOptions":{"minValue":1},"default":2000,"description":"Maximum number of tokens to generate"},{"displayName":"Max Tools Iterations","name":"maxToolsIterations","type":"number","default":15,"description":"Maximum number of tool-calling iterations before stopping. Set to 0 for unlimited."},{"displayName":"Repetition Penalty","name":"repetitionPenalty","type":"number","typeOptions":{"minValue":1,"maxValue":2,"numberPrecision":2},"default":1.1,"description":"Penalty for token repetition. Higher values reduce repetition."},{"displayName":"Seed","name":"seed","type":"number","default":1234,"description":"Random seed for reproducible outputs"},{"displayName":"Stop Sequences","name":"stop","type":"string","default":"","description":"Comma-separated list of sequences where the API will stop generating"},{"displayName":"System Message","name":"system","type":"string","default":"","placeholder":"e.g. You are a helpful assistant"},{"displayName":"Temperature","name":"temperature","type":"number","typeOptions":{"minValue":0,"maxValue":2,"numberPrecision":2},"default":1,"description":"Controls randomness in the output. Lower values make output more focused and deterministic."},{"displayName":"Top K","name":"topK","type":"number","typeOptions":{"minValue":1,"maxValue":100},"default":50,"description":"Limits the sampling pool to top K tokens"},{"displayName":"Top P","name":"topP","type":"number","typeOptions":{"minValue":0,"maxValue":1,"numberPrecision":2},"default":0.9,"description":"Nucleus sampling parameter. Lower values make output more focused."}],"displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["image"]}},"options":[{"name":"Analyze Image","value":"analyze","action":"Analyze image","description":"Take in images and answer questions about them"},{"name":"Generate an Image","value":"generate","action":"Generate an image","description":"Creates an image from a text prompt"}],"default":"generate"},{"displayName":"Model","name":"modelId","type":"options","options":[{"name":"Qwen-VL Flash","value":"qwen3-vl-flash","description":"Fast vision-language model"},{"name":"Qwen-VL Plus","value":"qwen3-vl-plus","description":"Enhanced vision-language model"}],"default":"qwen3-vl-flash","description":"The model to use for image analysis","displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Input Type","name":"inputType","type":"options","options":[{"name":"URL","value":"url"},{"name":"Binary Data","value":"binary"}],"default":"url","description":"How to provide the image for analysis","displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Image URL","name":"imageUrl","type":"string","default":"","description":"The URL of the image to analyze","required":true,"placeholder":"https://example.com/image.jpg","displayOptions":{"show":{"inputType":["url"],"operation":["analyze"],"resource":["image"]}}},{"displayName":"Input Data Field Name","name":"binaryPropertyName","type":"string","default":"data","required":true,"placeholder":"e.g. data","hint":"The name of the input field containing the binary file data to be processed","displayOptions":{"show":{"inputType":["binary"],"operation":["analyze"],"resource":["image"]}}},{"displayName":"Question","name":"question","type":"string","typeOptions":{"rows":4},"default":"","description":"The question or instruction about the image","required":true,"placeholder":"What is in this image?","displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to return a simplified version of the response instead of the raw data","displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Options","name":"visionOptions","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Temperature","name":"temperature","type":"number","typeOptions":{"minValue":0,"maxValue":2,"numberPrecision":2},"default":1,"description":"Controls randomness in the output. Lower values make output more focused and deterministic."},{"displayName":"Max Tokens","name":"maxTokens","type":"number","typeOptions":{"minValue":1},"default":2000,"description":"Maximum number of tokens to generate"}],"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Model","name":"modelId","type":"options","options":[{"name":"Qwen Image","value":"qwen-image","description":"Qwen image generation model"},{"name":"Qwen Image Max","value":"qwen-image-max","description":"Most capable Qwen image generation model"},{"name":"Qwen Image Plus","value":"qwen-image-plus","description":"Enhanced Qwen image generation model"},{"name":"Wan 2.6 T2I","value":"wan2.6-t2i","description":"Wanx image generation model"},{"name":"Z-Image Turbo","value":"z-image-turbo","description":"Fast image generation model"}],"default":"z-image-turbo","description":"The model to use for image generation","displayOptions":{"show":{"operation":["generate"],"resource":["image"]}}},{"displayName":"Prompt","name":"prompt","type":"string","typeOptions":{"rows":4},"default":"","description":"The text prompt describing the image to generate","required":true,"displayOptions":{"show":{"operation":["generate"],"resource":["image"]}}},{"displayName":"Download Image","name":"downloadImage","type":"boolean","default":true,"description":"Whether to download the generated image as binary data. When disabled, only the image URL is returned.","displayOptions":{"show":{"operation":["generate"],"resource":["image"]}}},{"displayName":"Options","name":"imageOptions","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Size","name":"size","type":"options","displayOptions":{"show":{"/modelId":["z-image-turbo","wan2.6-t2i"]}},"options":[{"name":"1024x1024","value":"1024*1024"},{"name":"720x1280","value":"720*1280"},{"name":"1280x720","value":"1280*720"}],"default":"1024*1024","description":"The size of the generated image"},{"displayName":"Size","name":"size","type":"options","displayOptions":{"show":{"/modelId":["qwen-image","qwen-image-plus","qwen-image-max"]}},"options":[{"name":"1104x1472 (3:4)","value":"1104*1472"},{"name":"1328x1328 (1:1)","value":"1328*1328"},{"name":"1472x1104 (4:3)","value":"1472*1104"},{"name":"1664x928 (16:9)","value":"1664*928"},{"name":"928x1664 (9:16)","value":"928*1664"}],"default":"1664*928","description":"The size of the generated image"},{"displayName":"Prompt Extend","name":"promptExtend","type":"boolean","default":false,"description":"Whether to automatically extend and enhance the prompt"}],"displayOptions":{"show":{"operation":["generate"],"resource":["image"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["video"]}},"options":[{"name":"Generate Video From Text","value":"textToVideo","action":"Generate video from text prompt","description":"Generate a video from a text prompt"},{"name":"Generate Video From Image","value":"imageToVideo","action":"Generate video from image","description":"Generate a video from one or more images using Wan models"}],"default":"textToVideo"},{"displayName":"Model","name":"modelId","type":"options","options":[{"name":"Wan 2.6 Text-to-Video","value":"wan2.6-t2v","description":"Text-to-video generation model"}],"default":"wan2.6-t2v","description":"The model to use for text-to-video generation","displayOptions":{"show":{"resource":["video"],"operation":["textToVideo"]}}},{"displayName":"Prompt","name":"prompt","type":"string","typeOptions":{"rows":4},"default":"","required":true,"description":"The text prompt to generate video from","placeholder":"A cat playing with a ball of yarn","displayOptions":{"show":{"resource":["video"],"operation":["textToVideo"]}}},{"displayName":"Resolution","name":"resolution","type":"options","options":[{"name":"720P","value":"720P"},{"name":"1080P","value":"1080P"}],"default":"1080P","description":"Resolution tier of the generated video","displayOptions":{"show":{"resource":["video"],"operation":["textToVideo"]}}},{"displayName":"Duration (Seconds)","name":"duration","type":"number","typeOptions":{"minValue":2,"maxValue":15},"default":5,"description":"Duration of the generated video in seconds (2–15)","displayOptions":{"show":{"resource":["video"],"operation":["textToVideo"]}}},{"displayName":"Shot Type","name":"shotType","type":"options","options":[{"name":"Single","value":"single"},{"name":"Multi","value":"multi"}],"default":"single","description":"Whether to generate a single-shot or multi-shot narrative video","displayOptions":{"show":{"resource":["video"],"operation":["textToVideo"]}}},{"displayName":"Download Video","name":"downloadVideo","type":"boolean","default":true,"description":"Whether to download the generated video as binary data. When disabled, only the video URL is returned.","displayOptions":{"show":{"resource":["video"],"operation":["textToVideo"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to return a simplified version of the response instead of the raw data","displayOptions":{"show":{"resource":["video"],"operation":["textToVideo"]}}},{"displayName":"Options","name":"videoOptions","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Prompt Extend","name":"promptExtend","type":"boolean","default":false,"description":"Whether to automatically extend and enhance the prompt"},{"displayName":"Audio","name":"audio","type":"boolean","default":true,"description":"Whether to generate audio for the video"},{"displayName":"Audio Input Type","name":"audioInputType","type":"options","options":[{"name":"Audio URL","value":"url"},{"name":"Binary File","value":"binary"}],"default":"url"},{"displayName":"Audio URL","name":"audioUrl","type":"string","default":"","placeholder":"https://example.com/audio.mp3","description":"URL of the audio file to use for the video","displayOptions":{"show":{"audioInputType":["url"]}}},{"displayName":"Audio Data Field Name","name":"audioBinaryPropertyName","type":"string","default":"audio","placeholder":"e.g. audio","hint":"The name of the input field containing the binary audio data","typeOptions":{"binaryDataProperty":true},"displayOptions":{"show":{"audioInputType":["binary"]}}}],"displayOptions":{"show":{"resource":["video"],"operation":["textToVideo"]}}},{"displayName":"Model","name":"modelId","type":"options","options":[{"name":"Wan 2.6 Image-to-Video Flash","value":"wan2.6-i2v-flash","description":"Fast image-to-video generation model"},{"name":"Wan 2.6 Image-to-Video","value":"wan2.6-i2v","description":"Standard image-to-video generation model"}],"default":"wan2.6-i2v-flash","description":"The model to use for image-to-video generation","displayOptions":{"show":{"resource":["video"],"operation":["imageToVideo"]}}},{"displayName":"Input Type","name":"inputType","type":"options","options":[{"name":"Image URL","value":"url"},{"name":"Binary File","value":"binary"}],"default":"url","displayOptions":{"show":{"resource":["video"],"operation":["imageToVideo"]}}},{"displayName":"Image URL","name":"imgUrl","type":"string","required":true,"default":"","placeholder":"https://example.com/image.png","description":"The URL of the first-frame image to generate video from","displayOptions":{"show":{"inputType":["url"],"resource":["video"],"operation":["imageToVideo"]}}},{"displayName":"Input Data Field Name","name":"binaryPropertyName","type":"string","default":"data","required":true,"placeholder":"e.g. data","hint":"The name of the input field containing the binary file data to be processed","displayOptions":{"show":{"inputType":["binary"],"resource":["video"],"operation":["imageToVideo"]}}},{"displayName":"Prompt","name":"prompt","type":"string","typeOptions":{"rows":4},"default":"","description":"A text prompt describing the desired content and visual characteristics for the generated video","placeholder":"A small cat running on the grass","displayOptions":{"show":{"resource":["video"],"operation":["imageToVideo"]}}},{"displayName":"Resolution","name":"resolution","type":"options","options":[{"name":"720P","value":"720P"},{"name":"1080P","value":"1080P"}],"default":"1080P","description":"Resolution tier of the generated video","displayOptions":{"show":{"resource":["video"],"operation":["imageToVideo"]}}},{"displayName":"Duration (Seconds)","name":"duration","type":"number","typeOptions":{"minValue":2,"maxValue":15},"default":5,"description":"Duration of the generated video in seconds (2–15)","displayOptions":{"show":{"resource":["video"],"operation":["imageToVideo"]}}},{"displayName":"Shot Type","name":"shotType","type":"options","options":[{"name":"Single","value":"single"},{"name":"Multi","value":"multi"}],"default":"single","description":"Whether to generate a single-shot or multi-shot narrative video","displayOptions":{"show":{"resource":["video"],"operation":["imageToVideo"]}}},{"displayName":"Download Video","name":"downloadVideo","type":"boolean","default":true,"description":"Whether to download the generated video as binary data. When disabled, only the video URL is returned.","displayOptions":{"show":{"resource":["video"],"operation":["imageToVideo"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to return a simplified version of the response instead of the raw data","displayOptions":{"show":{"resource":["video"],"operation":["imageToVideo"]}}},{"displayName":"Options","name":"imageToVideoOptions","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Prompt Extend","name":"promptExtend","type":"boolean","default":false,"description":"Whether to automatically extend and enhance the prompt"},{"displayName":"Audio","name":"audio","type":"boolean","default":true,"description":"Whether to generate audio for the video"},{"displayName":"Audio Input Type","name":"audioInputType","type":"options","options":[{"name":"Audio URL","value":"url"},{"name":"Binary File","value":"binary"}],"default":"url"},{"displayName":"Audio URL","name":"audioUrl","type":"string","default":"","placeholder":"https://example.com/audio.mp3","description":"URL of the audio file to use for the video","displayOptions":{"show":{"audioInputType":["url"]}}},{"displayName":"Audio Data Field Name","name":"audioBinaryPropertyName","type":"string","default":"audio","placeholder":"e.g. audio","hint":"The name of the input field containing the binary audio data","typeOptions":{"binaryDataProperty":true},"displayOptions":{"show":{"audioInputType":["binary"]}}}],"displayOptions":{"show":{"resource":["video"],"operation":["imageToVideo"]}}}],"iconUrl":"icons/@n8n/n8n-nodes-langchain/dist/nodes/vendors/AlibabaCloud/alibaba.svg"},
|
|
3
3
|
{"displayName":"Anthropic","name":"anthropic","group":["transform"],"version":1,"subtitle":"={{ $parameter[\"operation\"] + \": \" + $parameter[\"resource\"] }}","description":"Interact with Anthropic AI models","defaults":{"name":"Anthropic"},"usableAsTool":true,"codex":{"alias":["LangChain","document","image","assistant","claude"],"categories":["AI"],"subcategories":{"AI":["Agents","Miscellaneous","Root Nodes"]},"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-langchain.anthropic/"}]}},"inputs":"={{\n\t\t(() => {\n\t\t\tconst resource = $parameter.resource;\n\t \tconst operation = $parameter.operation;\n\t\t\tif (resource === 'text' && operation === 'message') {\n\t\t\t\treturn [{ type: 'main' }, { type: 'ai_tool', displayName: 'Tools' }];\n\t\t\t}\n\n\t\t\treturn ['main'];\n\t\t})()\n\t}}","outputs":["main"],"credentials":[{"name":"anthropicApi","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Document","value":"document"},{"name":"File","value":"file"},{"name":"Image","value":"image"},{"name":"Prompt","value":"prompt"},{"name":"Text","value":"text"}],"default":"text"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Analyze Document","value":"analyze","action":"Analyze document","description":"Take in documents and answer questions about them"}],"default":"analyze","displayOptions":{"show":{"resource":["document"]}}},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"modelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. claude-sonnet-4-5-20250929"}],"displayOptions":{"show":{"operation":["analyze"],"resource":["document"]}}},{"displayName":"Text Input","name":"text","type":"string","placeholder":"e.g. What's in this document?","default":"What's in this document?","typeOptions":{"rows":2},"displayOptions":{"show":{"operation":["analyze"],"resource":["document"]}}},{"displayName":"Input Type","name":"inputType","type":"options","default":"url","options":[{"name":"Document URL(s)","value":"url"},{"name":"Binary File(s)","value":"binary"}],"displayOptions":{"show":{"operation":["analyze"],"resource":["document"]}}},{"displayName":"URL(s)","name":"documentUrls","type":"string","placeholder":"e.g. https://example.com/document.pdf","description":"URL(s) of the document(s) to analyze, multiple URLs can be added separated by comma","default":"","displayOptions":{"show":{"inputType":["url"],"operation":["analyze"],"resource":["document"]}}},{"displayName":"Input Data Field Name(s)","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","hint":"The name of the input field containing the binary file data to be processed","description":"Name of the binary field(s) which contains the document(s), seperate multiple field names with commas","displayOptions":{"show":{"inputType":["binary"],"operation":["analyze"],"resource":["document"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to simplify the response or not","displayOptions":{"show":{"operation":["analyze"],"resource":["document"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Length of Description (Max Tokens)","description":"Fewer tokens will result in shorter, less detailed image description","name":"maxTokens","type":"number","default":1024,"typeOptions":{"minValue":1}}],"displayOptions":{"show":{"operation":["analyze"],"resource":["document"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Upload File","value":"upload","action":"Upload a file","description":"Upload a file to the Anthropic API for later use"},{"name":"Get File Metadata","value":"get","action":"Get file metadata","description":"Get metadata for a file from the Anthropic API"},{"name":"List Files","value":"list","action":"List files","description":"List files from the Anthropic API"},{"name":"Delete File","value":"deleteFile","action":"Delete a file","description":"Delete a file from the Anthropic API"}],"default":"upload","displayOptions":{"show":{"resource":["file"]}}},{"displayName":"File ID","name":"fileId","type":"string","placeholder":"e.g. file_123","description":"ID of the file to delete","default":"","displayOptions":{"show":{"operation":["deleteFile"],"resource":["file"]}}},{"displayName":"File ID","name":"fileId","type":"string","placeholder":"e.g. file_123","description":"ID of the file to get metadata for","default":"","displayOptions":{"show":{"operation":["get"],"resource":["file"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"operation":["list"],"resource":["file"]}}},{"displayName":"Limit","name":"limit","type":"number","typeOptions":{"minValue":1,"maxValue":1000},"default":50,"description":"Max number of results to return","displayOptions":{"show":{"returnAll":[false],"operation":["list"],"resource":["file"]}}},{"displayName":"Input Type","name":"inputType","type":"options","default":"url","options":[{"name":"File URL","value":"url"},{"name":"Binary File","value":"binary"}],"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}}},{"displayName":"URL","name":"fileUrl","type":"string","placeholder":"e.g. https://example.com/file.pdf","description":"URL of the file to upload","default":"","displayOptions":{"show":{"inputType":["url"],"operation":["upload"],"resource":["file"]}}},{"displayName":"Input Data Field Name","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","hint":"The name of the input field containing the binary file data to be processed","description":"Name of the binary field which contains the file","displayOptions":{"show":{"inputType":["binary"],"operation":["upload"],"resource":["file"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"File Name","name":"fileName","type":"string","description":"The file name to use for the uploaded file","default":""}],"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Analyze Image","value":"analyze","action":"Analyze image","description":"Take in images and answer questions about them"}],"default":"analyze","displayOptions":{"show":{"resource":["image"]}}},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"modelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. claude-sonnet-4-5-20250929"}],"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Text Input","name":"text","type":"string","placeholder":"e.g. What's in this image?","default":"What's in this image?","typeOptions":{"rows":2},"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Input Type","name":"inputType","type":"options","default":"url","options":[{"name":"Image URL(s)","value":"url"},{"name":"Binary File(s)","value":"binary"}],"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"URL(s)","name":"imageUrls","type":"string","placeholder":"e.g. https://example.com/image.png","description":"URL(s) of the image(s) to analyze, multiple URLs can be added separated by comma","default":"","displayOptions":{"show":{"inputType":["url"],"operation":["analyze"],"resource":["image"]}}},{"displayName":"Input Data Field Name(s)","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","hint":"The name of the input field containing the binary file data to be processed","description":"Name of the binary field(s) which contains the image(s), seperate multiple field names with commas","displayOptions":{"show":{"inputType":["binary"],"operation":["analyze"],"resource":["image"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to simplify the response or not","displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Length of Description (Max Tokens)","description":"Fewer tokens will result in shorter, less detailed image description","name":"maxTokens","type":"number","default":1024,"typeOptions":{"minValue":1}}],"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Generate Prompt","value":"generate","action":"Generate a prompt","description":"Generate a prompt for a model"},{"name":"Improve Prompt","value":"improve","action":"Improve a prompt","description":"Improve a prompt for a model"},{"name":"Templatize Prompt","value":"templatize","action":"Templatize a prompt","description":"Templatize a prompt for a model"}],"default":"generate","displayOptions":{"show":{"resource":["prompt"]}}},{"displayName":"The <a href=\"https://docs.anthropic.com/en/api/prompt-tools-generate\">prompt tools APIs</a> are in a closed research preview. Your organization must request access to use them.","name":"experimentalNotice","type":"notice","default":"","displayOptions":{"show":{"resource":["prompt"]}}},{"displayName":"Task","name":"task","type":"string","description":"Description of the prompt's purpose","placeholder":"e.g. A chef for a meal prep planning service","default":"","typeOptions":{"rows":2},"displayOptions":{"show":{"operation":["generate"],"resource":["prompt"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to return a simplified version of the response instead of the raw data","displayOptions":{"show":{"operation":["generate"],"resource":["prompt"]}}},{"displayName":"Messages","name":"messages","type":"fixedCollection","typeOptions":{"sortable":true,"multipleValues":true},"description":"Messages that constitute the prompt to be improved","placeholder":"Add Message","default":{"values":[{"content":"","role":"user"}]},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Prompt","name":"content","type":"string","description":"The content of the message to be sent","default":"","placeholder":"e.g. Concise instructions for a meal prep service","typeOptions":{"rows":2}},{"displayName":"Role","name":"role","type":"options","description":"Role in shaping the model's response, it tells the model how it should behave and interact with the user","options":[{"name":"User","value":"user","description":"Send a message as a user and get a response from the model"},{"name":"Assistant","value":"assistant","description":"Tell the model to adopt a specific tone or personality"}],"default":"user"}]}],"displayOptions":{"show":{"operation":["improve"],"resource":["prompt"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to return a simplified version of the response instead of the raw data","displayOptions":{"show":{"operation":["improve"],"resource":["prompt"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"System Message","name":"system","type":"string","description":"The existing system prompt to incorporate, if any","default":"","placeholder":"e.g. You are a professional meal prep chef"},{"displayName":"Feedback","name":"feedback","type":"string","description":"Feedback for improving the prompt","default":"","placeholder":"e.g. Make it more detailed and include cooking times"}],"displayOptions":{"show":{"operation":["improve"],"resource":["prompt"]}}},{"displayName":"Messages","name":"messages","type":"fixedCollection","typeOptions":{"sortable":true,"multipleValues":true},"description":"Messages that constitute the prompt to be templatized","placeholder":"Add Message","default":{"values":[{"content":"","role":"user"}]},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Prompt","name":"content","type":"string","description":"The content of the message to be sent","default":"","placeholder":"e.g. Translate hello to German","typeOptions":{"rows":2}},{"displayName":"Role","name":"role","type":"options","description":"Role in shaping the model's response, it tells the model how it should behave and interact with the user","options":[{"name":"User","value":"user","description":"Send a message as a user and get a response from the model"},{"name":"Assistant","value":"assistant","description":"Tell the model to adopt a specific tone or personality"}],"default":"user"}]}],"displayOptions":{"show":{"operation":["templatize"],"resource":["prompt"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to return a simplified version of the response instead of the raw data","displayOptions":{"show":{"operation":["templatize"],"resource":["prompt"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"System Message","name":"system","type":"string","description":"The existing system prompt to templatize","default":"","placeholder":"e.g. You are a professional English to German translator"}],"displayOptions":{"show":{"operation":["templatize"],"resource":["prompt"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Message a Model","value":"message","action":"Message a model","description":"Create a completion with Anthropic model"}],"default":"message","displayOptions":{"show":{"resource":["text"]}}},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"modelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. claude-sonnet-4-5-20250929"}],"displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Messages","name":"messages","type":"fixedCollection","typeOptions":{"sortable":true,"multipleValues":true},"placeholder":"Add Message","default":{"values":[{"content":"","role":"user"}]},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Prompt","name":"content","type":"string","description":"The content of the message to be sent","default":"","placeholder":"e.g. Hello, how can you help me?","typeOptions":{"rows":2}},{"displayName":"Role","name":"role","type":"options","description":"Role in shaping the model's response, it tells the model how it should behave and interact with the user","options":[{"name":"User","value":"user","description":"Send a message as a user and get a response from the model"},{"name":"Assistant","value":"assistant","description":"Tell the model to adopt a specific tone or personality"}],"default":"user"}]}],"displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Add Attachments","name":"addAttachments","type":"boolean","default":false,"description":"Whether to add attachments to the message","displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Attachments Input Type","name":"attachmentsInputType","type":"options","default":"url","description":"The type of input to use for the attachments","options":[{"name":"URL(s)","value":"url"},{"name":"Binary File(s)","value":"binary"}],"displayOptions":{"show":{"addAttachments":[true],"operation":["message"],"resource":["text"]}}},{"displayName":"Attachment URL(s)","name":"attachmentsUrls","type":"string","default":"","placeholder":"e.g. https://example.com/image.png","description":"URL(s) of the file(s) to attach, multiple URLs can be added separated by comma","displayOptions":{"show":{"addAttachments":[true],"attachmentsInputType":["url"],"operation":["message"],"resource":["text"]}}},{"displayName":"Attachment Input Data Field Name(s)","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","description":"Name of the binary field(s) which contains the file(s) to attach, multiple field names can be added separated by comma","displayOptions":{"show":{"addAttachments":[true],"attachmentsInputType":["binary"],"operation":["message"],"resource":["text"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to return a simplified version of the response instead of the raw data","displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Include Merged Response","name":"includeMergedResponse","type":"boolean","default":false,"description":"Whether to include a single output string merging all text parts of the response"},{"displayName":"System Message","name":"system","type":"string","default":"","placeholder":"e.g. You are a helpful assistant"},{"displayName":"Code Execution","name":"codeExecution","type":"boolean","default":false,"description":"Whether to enable code execution. Not supported by all models."},{"displayName":"Web Search","name":"webSearch","type":"boolean","default":false,"description":"Whether to enable web search"},{"displayName":"Web Search Max Uses","name":"maxUses","type":"number","default":5,"description":"The maximum number of web search uses per request","typeOptions":{"minValue":0,"numberPrecision":0}},{"displayName":"Web Search Allowed Domains","name":"allowedDomains","type":"string","default":"","description":"Comma-separated list of domains to search. Only domains in this list will be searched. Conflicts with \"Web Search Blocked Domains\".","placeholder":"e.g. google.com, wikipedia.org"},{"displayName":"Web Search Blocked Domains","name":"blockedDomains","type":"string","default":"","description":"Comma-separated list of domains to block from search. Conflicts with \"Web Search Allowed Domains\".","placeholder":"e.g. google.com, wikipedia.org"},{"displayName":"Maximum Number of Tokens","name":"maxTokens","default":1024,"description":"The maximum number of tokens to generate in the completion","type":"number","typeOptions":{"minValue":1,"numberPrecision":0}},{"displayName":"Output Randomness (Temperature)","name":"temperature","default":1,"description":"Controls the randomness of the output. Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive","type":"number","typeOptions":{"minValue":0,"maxValue":1,"numberPrecision":1}},{"displayName":"Output Randomness (Top P)","name":"topP","default":0.7,"description":"The maximum cumulative probability of tokens to consider when sampling","type":"number","typeOptions":{"minValue":0,"maxValue":1,"numberPrecision":1}},{"displayName":"Output Randomness (Top K)","name":"topK","default":5,"description":"The maximum number of tokens to consider when sampling","type":"number","typeOptions":{"minValue":0,"numberPrecision":0}},{"displayName":"Max Tool Calls Iterations","name":"maxToolsIterations","type":"number","default":15,"description":"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","typeOptions":{"minValue":0,"numberPrecision":0}}],"displayOptions":{"show":{"operation":["message"],"resource":["text"]}}}],"iconUrl":"icons/@n8n/n8n-nodes-langchain/dist/nodes/vendors/Anthropic/anthropic.svg"},
|
|
4
4
|
{"displayName":"Google Gemini","name":"googleGemini","group":["transform"],"version":[1,1.1],"defaultVersion":1.1,"subtitle":"={{ $parameter[\"operation\"] + \": \" + $parameter[\"resource\"] }}","description":"Interact with Google Gemini AI models","defaults":{"name":"Google Gemini"},"usableAsTool":true,"codex":{"alias":["LangChain","video","document","audio","transcribe","assistant"],"categories":["AI"],"subcategories":{"AI":["Agents","Miscellaneous","Root Nodes"]},"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-langchain.googlegemini/"}]}},"inputs":"={{\n\t\t(() => {\n\t\t\tconst resource = $parameter.resource;\n\t \tconst operation = $parameter.operation;\n\t\t\tif (resource === 'text' && operation === 'message') {\n\t\t\t\treturn [{ type: 'main' }, { type: 'ai_tool', displayName: 'Tools' }];\n\t\t\t}\n\n\t\t\treturn ['main'];\n\t\t})()\n\t}}","outputs":["main"],"credentials":[{"name":"googlePalmApi","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Audio","value":"audio"},{"name":"Document","value":"document"},{"name":"File Search","value":"fileSearch"},{"name":"Image","value":"image"},{"name":"Media File","value":"file"},{"name":"Text","value":"text"},{"name":"Video","value":"video"}],"default":"text"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Analyze Audio","value":"analyze","action":"Analyze audio","description":"Take in audio and answer questions about it"},{"name":"Transcribe a Recording","value":"transcribe","action":"Transcribe a recording","description":"Transcribes audio into the text"}],"default":"transcribe","displayOptions":{"show":{"resource":["audio"]}}},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"audioModelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. models/gemini-2.5-flash"}],"displayOptions":{"show":{"operation":["analyze"],"resource":["audio"]}}},{"displayName":"Text Input","name":"text","type":"string","placeholder":"e.g. What's in this audio?","default":"What's in this audio?","typeOptions":{"rows":2},"displayOptions":{"show":{"operation":["analyze"],"resource":["audio"]}}},{"displayName":"Input Type","name":"inputType","type":"options","default":"url","options":[{"name":"Audio URL(s)","value":"url"},{"name":"Binary File(s)","value":"binary"}],"displayOptions":{"show":{"operation":["analyze"],"resource":["audio"]}}},{"displayName":"URL(s)","name":"audioUrls","type":"string","placeholder":"e.g. https://example.com/audio.mp3","description":"URL(s) of the audio(s) to analyze, multiple URLs can be added separated by comma","default":"","displayOptions":{"show":{"inputType":["url"],"operation":["analyze"],"resource":["audio"]}}},{"displayName":"Input Data Field Name(s)","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","hint":"The name of the input field containing the binary file data to be processed","description":"Name of the binary field(s) which contains the audio(s), seperate multiple field names with commas","displayOptions":{"show":{"inputType":["binary"],"operation":["analyze"],"resource":["audio"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to simplify the response or not","displayOptions":{"show":{"operation":["analyze"],"resource":["audio"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Length of Description (Max Tokens)","description":"Fewer tokens will result in shorter, less detailed audio description","name":"maxOutputTokens","type":"number","default":300,"typeOptions":{"minValue":1}}],"displayOptions":{"show":{"operation":["analyze"],"resource":["audio"]}}},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"audioModelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. models/gemini-2.5-flash"}],"displayOptions":{"show":{"operation":["transcribe"],"resource":["audio"]}}},{"displayName":"Input Type","name":"inputType","type":"options","default":"url","options":[{"name":"Audio URL(s)","value":"url"},{"name":"Binary File(s)","value":"binary"}],"displayOptions":{"show":{"operation":["transcribe"],"resource":["audio"]}}},{"displayName":"URL(s)","name":"audioUrls","type":"string","placeholder":"e.g. https://example.com/audio.mp3","description":"URL(s) of the audio(s) to transcribe, multiple URLs can be added separated by comma","default":"","displayOptions":{"show":{"inputType":["url"],"operation":["transcribe"],"resource":["audio"]}}},{"displayName":"Input Data Field Name(s)","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","hint":"The name of the input field containing the binary file data to be processed","description":"Name of the binary field(s) which contains the audio(s), seperate multiple field names with commas","displayOptions":{"show":{"inputType":["binary"],"operation":["transcribe"],"resource":["audio"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to simplify the response or not","displayOptions":{"show":{"operation":["transcribe"],"resource":["audio"]}}},{"displayName":"Options","name":"options","type":"collection","default":{},"options":[{"displayName":"Start Time","name":"startTime","type":"string","default":"","description":"The start time of the audio in MM:SS or HH:MM:SS format","placeholder":"e.g. 00:15"},{"displayName":"End Time","name":"endTime","type":"string","default":"","description":"The end time of the audio in MM:SS or HH:MM:SS format","placeholder":"e.g. 02:15"}],"displayOptions":{"show":{"operation":["transcribe"],"resource":["audio"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Analyze Document","value":"analyze","action":"Analyze document","description":"Take in documents and answer questions about them"}],"default":"analyze","displayOptions":{"show":{"resource":["document"]}}},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"modelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. models/gemini-2.5-flash"}],"displayOptions":{"show":{"operation":["analyze"],"resource":["document"]}}},{"displayName":"Text Input","name":"text","type":"string","placeholder":"e.g. What's in this document?","default":"What's in this document?","typeOptions":{"rows":2},"displayOptions":{"show":{"operation":["analyze"],"resource":["document"]}}},{"displayName":"Input Type","name":"inputType","type":"options","default":"url","options":[{"name":"Document URL(s)","value":"url"},{"name":"Binary File(s)","value":"binary"}],"displayOptions":{"show":{"operation":["analyze"],"resource":["document"]}}},{"displayName":"URL(s)","name":"documentUrls","type":"string","placeholder":"e.g. https://example.com/document.pdf","description":"URL(s) of the document(s) to analyze, multiple URLs can be added separated by comma","default":"","displayOptions":{"show":{"inputType":["url"],"operation":["analyze"],"resource":["document"]}}},{"displayName":"Input Data Field Name(s)","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","hint":"The name of the input field containing the binary file data to be processed","description":"Name of the binary field(s) which contains the document(s), seperate multiple field names with commas","displayOptions":{"show":{"inputType":["binary"],"operation":["analyze"],"resource":["document"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to simplify the response or not","displayOptions":{"show":{"operation":["analyze"],"resource":["document"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Length of Description (Max Tokens)","description":"Fewer tokens will result in shorter, less detailed document description","name":"maxOutputTokens","type":"number","default":300,"typeOptions":{"minValue":1}}],"displayOptions":{"show":{"operation":["analyze"],"resource":["document"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Upload Media File","value":"upload","action":"Upload a media file","description":"Upload a file to the Google Gemini API for later use"}],"default":"upload","displayOptions":{"show":{"resource":["file"]}}},{"displayName":"Input Type","name":"inputType","type":"options","default":"url","options":[{"name":"File URL","value":"url"},{"name":"Binary File","value":"binary"}],"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}}},{"displayName":"URL","name":"fileUrl","type":"string","placeholder":"e.g. https://example.com/file.pdf","description":"URL of the file to upload","default":"","displayOptions":{"show":{"inputType":["url"],"operation":["upload"],"resource":["file"]}}},{"displayName":"Input Data Field Name","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","hint":"The name of the input field containing the binary file data to be processed","description":"Name of the binary property which contains the file","displayOptions":{"show":{"inputType":["binary"],"operation":["upload"],"resource":["file"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Create File Search Store","value":"createStore","action":"Create a File Search store","description":"Create a new File Search store for RAG (Retrieval Augmented Generation)"},{"name":"Delete File Search Store","value":"deleteStore","action":"Delete a File Search store","description":"Delete a File Search store"},{"name":"List File Search Stores","value":"listStores","action":"List all File Search stores","description":"List all File Search stores owned by the user"},{"name":"Upload to File Search Store","value":"uploadToStore","action":"Upload a file to a File Search store","description":"Upload a file to a File Search store for RAG (Retrieval Augmented Generation)"}],"default":"createStore","displayOptions":{"show":{"resource":["fileSearch"]}}},{"displayName":"Display Name","name":"displayName","type":"string","placeholder":"e.g. My File Search Store","description":"A human-readable name for the File Search store","default":"","required":true,"displayOptions":{"show":{"operation":["createStore"],"resource":["fileSearch"]}}},{"displayName":"File Search Store Name","name":"fileSearchStoreName","type":"string","placeholder":"e.g. fileSearchStores/abc123","description":"The full name of the File Search store to delete (format: fileSearchStores/...)","default":"","required":true,"displayOptions":{"show":{"operation":["deleteStore"],"resource":["fileSearch"]}}},{"displayName":"Force Delete","name":"force","type":"boolean","description":"Whether to delete related Documents and objects. If false, deletion will fail if the store contains any Documents.","default":false,"displayOptions":{"show":{"operation":["deleteStore"],"resource":["fileSearch"]}}},{"displayName":"Page Size","name":"pageSize","type":"number","description":"Maximum number of File Search stores to return per page (max 20)","default":10,"typeOptions":{"minValue":1,"maxValue":20},"displayOptions":{"show":{"operation":["listStores"],"resource":["fileSearch"]}}},{"displayName":"Page Token","name":"pageToken","type":"string","description":"Token from a previous page to retrieve the next page of results","default":"","displayOptions":{"show":{"operation":["listStores"],"resource":["fileSearch"]}}},{"displayName":"File Search Store Name","name":"fileSearchStoreName","type":"string","placeholder":"e.g. fileSearchStores/abc123","description":"The full name of the File Search store to upload to (format: fileSearchStores/...)","default":"","required":true,"displayOptions":{"show":{"operation":["uploadToStore"],"resource":["fileSearch"]}}},{"displayName":"File Display Name","name":"displayName","type":"string","placeholder":"e.g. My Document","description":"A human-readable name for the file (will be visible in citations)","default":"","required":true,"displayOptions":{"show":{"operation":["uploadToStore"],"resource":["fileSearch"]}}},{"displayName":"Input Type","name":"inputType","type":"options","default":"url","options":[{"name":"File URL","value":"url"},{"name":"Binary File","value":"binary"}],"displayOptions":{"show":{"operation":["uploadToStore"],"resource":["fileSearch"]}}},{"displayName":"URL","name":"fileUrl","type":"string","placeholder":"e.g. https://example.com/file.pdf","description":"URL of the file to upload","default":"","displayOptions":{"show":{"inputType":["url"],"operation":["uploadToStore"],"resource":["fileSearch"]}}},{"displayName":"Input Data Field Name","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","hint":"The name of the input field containing the binary file data to be processed","description":"Name of the binary property which contains the file","displayOptions":{"show":{"inputType":["binary"],"operation":["uploadToStore"],"resource":["fileSearch"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Analyze Image","value":"analyze","action":"Analyze an image","description":"Take in images and answer questions about them"},{"name":"Generate an Image","value":"generate","action":"Generate an image","description":"Creates an image from a text prompt"},{"name":"Edit Image","value":"edit","action":"Edit an image","description":"Upload one or more images and apply edits based on a prompt"}],"default":"generate","displayOptions":{"show":{"resource":["image"]}}},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"modelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. models/gemini-2.5-flash"}],"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Text Input","name":"text","type":"string","placeholder":"e.g. What's in this image?","default":"What's in this image?","typeOptions":{"rows":2},"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Input Type","name":"inputType","type":"options","default":"url","options":[{"name":"Image URL(s)","value":"url"},{"name":"Binary File(s)","value":"binary"}],"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"URL(s)","name":"imageUrls","type":"string","placeholder":"e.g. https://example.com/image.png","description":"URL(s) of the image(s) to analyze, multiple URLs can be added separated by comma","default":"","displayOptions":{"show":{"inputType":["url"],"operation":["analyze"],"resource":["image"]}}},{"displayName":"Input Data Field Name(s)","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","hint":"The name of the input field containing the binary file data to be processed","description":"Name of the binary field(s) which contains the image(s), separate multiple field names with commas","displayOptions":{"show":{"inputType":["binary"],"operation":["analyze"],"resource":["image"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to simplify the response or not","displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Length of Description (Max Tokens)","description":"Fewer tokens will result in shorter, less detailed image description","name":"maxOutputTokens","type":"number","default":300,"typeOptions":{"minValue":1}}],"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"imageEditModelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. models/gemini-2.5-flash"}],"displayOptions":{"show":{"operation":["edit"],"resource":["image"]}}},{"displayName":"Prompt","name":"prompt","type":"string","placeholder":"e.g. combine the first image with the second image","description":"Instruction describing how to edit the image","default":"","typeOptions":{"rows":2},"displayOptions":{"show":{"operation":["edit"],"resource":["image"]}}},{"displayName":"Images","name":"images","type":"fixedCollection","placeholder":"Add Image","typeOptions":{"multipleValues":true,"multipleValueButtonText":"Add Image"},"default":{"values":[{"binaryPropertyName":"data"}]},"description":"Add one or more binary fields to include images with your prompt","options":[{"displayName":"Image","name":"values","values":[{"displayName":"Binary Field Name","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","description":"The name of the binary field containing the image data"}]}],"displayOptions":{"show":{"operation":["edit"],"resource":["image"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Put Output in Field","name":"binaryPropertyOutput","type":"string","default":"edited","hint":"The name of the output field to put the binary file data in"}],"displayOptions":{"show":{"operation":["edit"],"resource":["image"]}}},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"imageGenerationModelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. models/gemini-2.5-flash"}],"displayOptions":{"show":{"operation":["generate"],"resource":["image"]}}},{"displayName":"Prompt","name":"prompt","type":"string","placeholder":"e.g. A cute cat eating a dinosaur","description":"A text description of the desired image(s)","default":"","typeOptions":{"rows":2},"displayOptions":{"show":{"operation":["generate"],"resource":["image"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Number of Images","name":"sampleCount","default":1,"description":"Number of images to generate. Not supported by Gemini models, supported by Imagen models.","type":"number","typeOptions":{"minValue":1}},{"displayName":"Put Output in Field","name":"binaryPropertyOutput","type":"string","default":"data","hint":"The name of the output field to put the binary file data in"}],"displayOptions":{"show":{"operation":["generate"],"resource":["image"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Message a Model","value":"message","action":"Message a model","description":"Create a completion with Google Gemini model"}],"default":"message","displayOptions":{"show":{"resource":["text"]}}},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"modelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. models/gemini-2.5-flash"}],"displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Messages","name":"messages","type":"fixedCollection","typeOptions":{"sortable":true,"multipleValues":true},"placeholder":"Add Message","default":{"values":[{"content":""}]},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Prompt","name":"content","type":"string","description":"The content of the message to be send","default":"","placeholder":"e.g. Hello, how can you help me?","typeOptions":{"rows":2}},{"displayName":"Role","name":"role","type":"options","description":"Role in shaping the model's response, it tells the model how it should behave and interact with the user","options":[{"name":"User","value":"user","description":"Send a message as a user and get a response from the model"},{"name":"Model","value":"model","description":"Tell the model to adopt a specific tone or personality"}],"default":"user"}]}],"displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to return a simplified version of the response instead of the raw data","displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Output Content as JSON","name":"jsonOutput","type":"boolean","description":"Whether to attempt to return the response in JSON format","default":false,"displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Built-in Tools","name":"builtInTools","placeholder":"Add Built-in Tool","type":"collection","default":{},"displayOptions":{"show":{"@version":[{"_cnd":{"gte":1.1}}],"operation":["message"],"resource":["text"]}},"options":[{"displayName":"Google Search","name":"googleSearch","type":"boolean","default":true,"description":"Whether to allow the model to search the web using Google Search to get real-time information"},{"displayName":"Google Maps","name":"googleMaps","type":"collection","default":{"latitude":"","longitude":""},"options":[{"displayName":"Latitude","name":"latitude","type":"number","default":"","description":"The latitude coordinate for location-based queries","typeOptions":{"numberPrecision":6}},{"displayName":"Longitude","name":"longitude","type":"number","default":"","description":"The longitude coordinate for location-based queries","typeOptions":{"numberPrecision":6}}]},{"displayName":"URL Context","name":"urlContext","type":"boolean","default":true,"description":"Whether to allow the model to read and analyze content from specific URLs"},{"displayName":"File Search","name":"fileSearch","type":"collection","default":{"fileSearchStoreNames":"[]"},"options":[{"displayName":"File Search Store Names","name":"fileSearchStoreNames","description":"The file search store names to use for the file search. File search stores are managed via Google AI Studio.","type":"json","default":"[]","required":true},{"displayName":"Metadata Filter","name":"metadataFilter","type":"string","default":"","description":"Use metadata filter to search within a subset of documents. Example: author=\"Robert Graves\".","placeholder":"e.g. author=\"John Doe\""}]},{"displayName":"Code Execution","name":"codeExecution","type":"boolean","default":true,"description":"Whether to allow the model to execute code it generates to produce a response. Supported only by certain models."}]},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Include Merged Response","name":"includeMergedResponse","type":"boolean","default":false,"description":"Whether to include a single output string merging all text parts of the response","displayOptions":{"show":{"@version":[{"_cnd":{"gte":1.1}}]}}},{"displayName":"System Message","name":"systemMessage","type":"string","default":"","placeholder":"e.g. You are a helpful assistant"},{"displayName":"Code Execution","name":"codeExecution","type":"boolean","default":false,"description":"Whether to allow the model to execute code it generates to produce a response. Supported only by certain models.","displayOptions":{"show":{"@version":[{"_cnd":{"eq":1}}]}}},{"displayName":"Frequency Penalty","name":"frequencyPenalty","default":0,"description":"Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim","type":"number","typeOptions":{"minValue":-2,"maxValue":2,"numberPrecision":1}},{"displayName":"Maximum Number of Tokens","name":"maxOutputTokens","default":16,"description":"The maximum number of tokens to generate in the completion","type":"number","typeOptions":{"minValue":1,"numberPrecision":0}},{"displayName":"Number of Completions","name":"candidateCount","default":1,"description":"How many completions to generate for each prompt","type":"number","typeOptions":{"minValue":1,"maxValue":8,"numberPrecision":0}},{"displayName":"Presence Penalty","name":"presencePenalty","default":0,"description":"Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics","type":"number","typeOptions":{"minValue":-2,"maxValue":2,"numberPrecision":1}},{"displayName":"Output Randomness (Temperature)","name":"temperature","default":1,"description":"Controls the randomness of the output. Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive","type":"number","typeOptions":{"minValue":0,"maxValue":2,"numberPrecision":1}},{"displayName":"Output Randomness (Top P)","name":"topP","default":1,"description":"The maximum cumulative probability of tokens to consider when sampling","type":"number","typeOptions":{"minValue":0,"maxValue":1,"numberPrecision":1}},{"displayName":"Output Randomness (Top K)","name":"topK","default":1,"description":"The maximum number of tokens to consider when sampling","type":"number","typeOptions":{"minValue":1,"numberPrecision":0}},{"displayName":"Thinking Budget","name":"thinkingBudget","type":"number","default":-1,"description":"Controls reasoning tokens for thinking models. Set to 0 to disable automatic thinking. Set to -1 for dynamic thinking (default).","typeOptions":{"minValue":-1,"numberPrecision":0}},{"displayName":"Max Tool Calls Iterations","name":"maxToolsIterations","type":"number","default":15,"description":"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","typeOptions":{"minValue":0,"numberPrecision":0}}],"displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Analyze Video","value":"analyze","action":"Analyze video","description":"Take in videos and answer questions about them"},{"name":"Generate a Video","value":"generate","action":"Generate a video","description":"Creates a video from a text prompt"},{"name":"Download Video","value":"download","action":"Download a video","description":"Download a generated video from the Google Gemini API using a URL"}],"default":"generate","displayOptions":{"show":{"resource":["video"]}}},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"modelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. models/gemini-2.5-flash"}],"displayOptions":{"show":{"operation":["analyze"],"resource":["video"]}}},{"displayName":"Text Input","name":"text","type":"string","placeholder":"e.g. What's in this video?","default":"What's in this video?","typeOptions":{"rows":2},"displayOptions":{"show":{"operation":["analyze"],"resource":["video"]}}},{"displayName":"Input Type","name":"inputType","type":"options","default":"url","options":[{"name":"Video URL(s)","value":"url"},{"name":"Binary File(s)","value":"binary"}],"displayOptions":{"show":{"operation":["analyze"],"resource":["video"]}}},{"displayName":"URL(s)","name":"videoUrls","type":"string","placeholder":"e.g. https://example.com/video.mp4","description":"URL(s) of the video(s) to analyze, multiple URLs can be added separated by comma","default":"","displayOptions":{"show":{"inputType":["url"],"operation":["analyze"],"resource":["video"]}}},{"displayName":"Input Data Field Name(s)","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","hint":"The name of the input field containing the binary file data to be processed","description":"Name of the binary field(s) which contains the video(s), seperate multiple field names with commas","displayOptions":{"show":{"inputType":["binary"],"operation":["analyze"],"resource":["video"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to simplify the response or not","displayOptions":{"show":{"operation":["analyze"],"resource":["video"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Length of Description (Max Tokens)","description":"Fewer tokens will result in shorter, less detailed video description","name":"maxOutputTokens","type":"number","default":300,"typeOptions":{"minValue":1}}],"displayOptions":{"show":{"operation":["analyze"],"resource":["video"]}}},{"displayName":"URL","name":"url","type":"string","placeholder":"e.g. https://generativelanguage.googleapis.com/v1beta/files/abcdefg:download","description":"The URL from Google Gemini API to download the video from","default":"","displayOptions":{"show":{"operation":["download"],"resource":["video"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Put Output in Field","name":"binaryPropertyOutput","type":"string","default":"data","hint":"The name of the output field to put the binary file data in"}],"displayOptions":{"show":{"operation":["download"],"resource":["video"]}}},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"videoGenerationModelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. models/gemini-2.5-flash"}],"displayOptions":{"show":{"operation":["generate"],"resource":["video"]}}},{"displayName":"Prompt","name":"prompt","type":"string","placeholder":"e.g. Panning wide shot of a calico kitten sleeping in the sunshine","description":"A text description of the desired video","default":"","typeOptions":{"rows":2},"displayOptions":{"show":{"operation":["generate"],"resource":["video"]}}},{"displayName":"Return As","name":"returnAs","type":"options","options":[{"name":"Video","value":"video"},{"name":"URL","value":"url"}],"description":"Whether to return the video as a binary file or a URL that can be used to download the video later","default":"video","displayOptions":{"show":{"operation":["generate"],"resource":["video"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Number of Videos","name":"sampleCount","type":"number","default":1,"description":"How many videos to generate","typeOptions":{"minValue":1,"maxValue":4}},{"displayName":"Duration (Seconds)","name":"durationSeconds","type":"number","default":8,"description":"Length of the generated video in seconds. Supported only by certain models.","typeOptions":{"minValue":5,"maxValue":8}},{"displayName":"Aspect Ratio","name":"aspectRatio","type":"options","options":[{"name":"Widescreen (16:9)","value":"16:9","description":"Most common aspect ratio for televisions and monitors"},{"name":"Portrait (9:16)","value":"9:16","description":"Popular for short-form videos like YouTube Shorts"}],"default":"16:9"},{"displayName":"Person Generation","name":"personGeneration","type":"options","options":[{"name":"Don't Allow","value":"dont_allow","description":"Prevent generation of people in the video"},{"name":"Allow Adult","value":"allow_adult","description":"Allow generation of adult people in the video"},{"name":"Allow All","value":"allow_all","description":"Allow generation of all people in the video"}],"default":"dont_allow"},{"displayName":"Put Output in Field","name":"binaryPropertyOutput","type":"string","default":"data","hint":"The name of the output field to put the binary file data in"}],"displayOptions":{"show":{"operation":["generate"],"resource":["video"]}}}],"iconUrl":"icons/@n8n/n8n-nodes-langchain/dist/nodes/vendors/GoogleGemini/gemini.svg"},
|
|
5
|
+
{"displayName":"MiniMax","name":"minimax","group":["transform"],"version":1,"subtitle":"={{ $parameter[\"operation\"] + \": \" + $parameter[\"resource\"] }}","description":"Interact with MiniMax AI models","defaults":{"name":"MiniMax"},"usableAsTool":true,"codex":{"alias":["minimax","hailuo","LangChain","video","image","tts","speech"],"categories":["AI"],"subcategories":{"AI":["Agents","Miscellaneous","Root Nodes"]},"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-langchain.minimax/"}]}},"inputs":"={{\n\t\t(() => {\n\t\t\tconst resource = $parameter.resource;\n\t\t\tconst operation = $parameter.operation;\n\t\t\tif (resource === 'text' && operation === 'message') {\n\t\t\t\treturn [{ type: 'main' }, { type: 'ai_tool', displayName: 'Tools' }];\n\t\t\t}\n\n\t\t\treturn ['main'];\n\t\t})()\n\t}}","outputs":["main"],"credentials":[{"name":"minimaxApi","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Audio","value":"audio"},{"name":"Image","value":"image"},{"name":"Text","value":"text"},{"name":"Video","value":"video"}],"default":"text"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["audio"]}},"options":[{"name":"Text to Speech","value":"textToSpeech","action":"Convert text to speech","description":"Generate speech audio from text input"}],"default":"textToSpeech"},{"displayName":"Model","name":"modelId","type":"options","options":[{"name":"Speech 02 HD","value":"speech-02-hd","description":"Superior rhythm and stability with outstanding quality"},{"name":"Speech 02 Turbo","value":"speech-02-turbo","description":"Enhanced multilingual capabilities and performance"},{"name":"Speech 2.6 HD","value":"speech-2.6-hd","description":"HD model with outstanding prosody and cloning similarity"},{"name":"Speech 2.6 Turbo","value":"speech-2.6-turbo","description":"Turbo model with support for 40 languages"},{"name":"Speech 2.8 HD","value":"speech-2.8-hd","description":"Latest HD model with ultra-realistic quality and sound tags"},{"name":"Speech 2.8 Turbo","value":"speech-2.8-turbo","description":"Latest Turbo model with seamless speed and natural flow"}],"default":"speech-2.8-hd","description":"The speech synthesis model to use","displayOptions":{"show":{"resource":["audio"],"operation":["textToSpeech"]}}},{"displayName":"Text","name":"text","type":"string","typeOptions":{"rows":4},"default":"","required":true,"description":"The text to convert to speech (max 10,000 characters)","placeholder":"e.g. Hello, welcome to our service!","displayOptions":{"show":{"resource":["audio"],"operation":["textToSpeech"]}}},{"displayName":"Voice ID","name":"voiceId","type":"string","default":"English_Graceful_Lady","required":true,"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>.","placeholder":"e.g. English_Graceful_Lady","displayOptions":{"show":{"resource":["audio"],"operation":["textToSpeech"]}}},{"displayName":"Download Audio","name":"downloadAudio","type":"boolean","default":true,"description":"Whether to download the generated audio as binary data. When disabled, only the audio URL is returned.","displayOptions":{"show":{"resource":["audio"],"operation":["textToSpeech"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Audio Format","name":"audioFormat","type":"options","options":[{"name":"MP3","value":"mp3"},{"name":"PCM","value":"pcm"},{"name":"FLAC","value":"flac"},{"name":"WAV","value":"wav"}],"default":"mp3","description":"Output audio format. WAV is only supported in non-streaming mode."},{"displayName":"Emotion","name":"emotion","type":"options","options":[{"name":"Angry","value":"angry"},{"name":"Calm","value":"calm"},{"name":"Disgusted","value":"disgusted"},{"name":"Fearful","value":"fearful"},{"name":"Happy","value":"happy"},{"name":"Sad","value":"sad"},{"name":"Surprised","value":"surprised"}],"default":"calm","description":"Emotion for synthesized speech. By default the model auto-selects the most natural emotion."},{"displayName":"Language Boost","name":"languageBoost","type":"options","options":[{"name":"Arabic","value":"Arabic"},{"name":"Auto Detect","value":"auto"},{"name":"Chinese","value":"Chinese"},{"name":"English","value":"English"},{"name":"French","value":"French"},{"name":"German","value":"German"},{"name":"Indonesian","value":"Indonesian"},{"name":"Italian","value":"Italian"},{"name":"Japanese","value":"Japanese"},{"name":"Korean","value":"Korean"},{"name":"Portuguese","value":"Portuguese"},{"name":"Russian","value":"Russian"},{"name":"Spanish","value":"Spanish"},{"name":"Thai","value":"Thai"},{"name":"Turkish","value":"Turkish"},{"name":"Vietnamese","value":"Vietnamese"}],"default":"auto","description":"Enhance recognition for a specific language"},{"displayName":"Pitch","name":"pitch","type":"number","typeOptions":{"minValue":-12,"maxValue":12},"default":0,"description":"Speech pitch adjustment (-12 to 12, 0 = original pitch)"},{"displayName":"Speed","name":"speed","type":"number","typeOptions":{"minValue":0.5,"maxValue":2,"numberPrecision":1},"default":1,"description":"Speech speed (0.5-2, higher = faster)"},{"displayName":"Volume","name":"volume","type":"number","typeOptions":{"minValue":0.1,"maxValue":10,"numberPrecision":1},"default":1,"description":"Speech volume (0.1-10, higher = louder)"}],"displayOptions":{"show":{"resource":["audio"],"operation":["textToSpeech"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["image"]}},"options":[{"name":"Generate an Image","value":"generate","action":"Generate an image","description":"Create an image from a text prompt"}],"default":"generate"},{"displayName":"Model","name":"modelId","type":"options","options":[{"name":"Image-01","value":"image-01","description":"High-quality image generation with fine-grained details"}],"default":"image-01","description":"The model to use for image generation","displayOptions":{"show":{"operation":["generate"],"resource":["image"]}}},{"displayName":"Prompt","name":"prompt","type":"string","typeOptions":{"rows":4},"default":"","required":true,"description":"Text description of the image to generate (max 1500 characters)","placeholder":"e.g. A serene mountain landscape at sunset with reflections in a lake","displayOptions":{"show":{"operation":["generate"],"resource":["image"]}}},{"displayName":"Aspect Ratio","name":"aspectRatio","type":"options","options":[{"name":"1:1 (1024x1024)","value":"1:1"},{"name":"16:9 (1280x720)","value":"16:9"},{"name":"2:3 (832x1248)","value":"2:3"},{"name":"21:9 (1344x576)","value":"21:9"},{"name":"3:2 (1248x832)","value":"3:2"},{"name":"3:4 (864x1152)","value":"3:4"},{"name":"4:3 (1152x864)","value":"4:3"},{"name":"9:16 (720x1280)","value":"9:16"}],"default":"1:1","description":"Aspect ratio of the generated image","displayOptions":{"show":{"operation":["generate"],"resource":["image"]}}},{"displayName":"Number of Images","name":"numberOfImages","type":"number","typeOptions":{"minValue":1,"maxValue":9},"default":1,"description":"Number of images to generate per request (1-9)","displayOptions":{"show":{"operation":["generate"],"resource":["image"]}}},{"displayName":"Download Image","name":"downloadImage","type":"boolean","default":true,"description":"Whether to download the generated image as binary data. When disabled, only the image URL is returned.","displayOptions":{"show":{"operation":["generate"],"resource":["image"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Prompt Optimizer","name":"promptOptimizer","type":"boolean","default":false,"description":"Whether to automatically optimize the prompt for better results"},{"displayName":"Seed","name":"seed","type":"number","default":0,"description":"Random seed for reproducible outputs. Using the same seed and parameters produces the same image."}],"displayOptions":{"show":{"operation":["generate"],"resource":["image"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Message a Model","value":"message","action":"Message a model","description":"Send a message and get a response from a MiniMax model"}],"default":"message","displayOptions":{"show":{"resource":["text"]}}},{"displayName":"Model","name":"modelId","type":"options","options":[{"name":"MiniMax-M2","value":"MiniMax-M2"},{"name":"MiniMax-M2.1","value":"MiniMax-M2.1"},{"name":"MiniMax-M2.1-Highspeed","value":"MiniMax-M2.1-highspeed"},{"name":"MiniMax-M2.5","value":"MiniMax-M2.5"},{"name":"MiniMax-M2.5-Highspeed","value":"MiniMax-M2.5-highspeed"},{"name":"MiniMax-M2.7","value":"MiniMax-M2.7"},{"name":"MiniMax-M2.7-Highspeed","value":"MiniMax-M2.7-highspeed"}],"default":"MiniMax-M2.7","description":"The model to use for generating the response","displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Messages","name":"messages","type":"fixedCollection","typeOptions":{"sortable":true,"multipleValues":true},"placeholder":"Add Message","default":{"values":[{"content":"","role":"user"}]},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Prompt","name":"content","type":"string","description":"The content of the message to be sent","default":"","placeholder":"e.g. Hello, how can you help me?","typeOptions":{"rows":2}},{"displayName":"Role","name":"role","type":"options","description":"Role in shaping the model's response, it tells the model how it should behave and interact with the user","options":[{"name":"User","value":"user","description":"Send a message as a user and get a response from the model"},{"name":"Assistant","value":"assistant","description":"Tell the model to adopt a specific tone or personality"}],"default":"user"}]}],"displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to return a simplified version of the response instead of the raw data","displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Hide Thinking","name":"hideThinking","type":"boolean","default":true,"description":"Whether to strip chain-of-thought reasoning from the response, returning only the final answer"},{"displayName":"Maximum Number of Tokens","name":"maxTokens","default":1024,"description":"The maximum number of tokens to generate in the completion","type":"number","typeOptions":{"minValue":1,"numberPrecision":0}},{"displayName":"Max Tool Calls Iterations","name":"maxToolsIterations","type":"number","default":15,"description":"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.","typeOptions":{"minValue":0,"numberPrecision":0}},{"displayName":"Output Randomness (Temperature)","name":"temperature","default":0.7,"description":"Controls the randomness of the output. Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.","type":"number","typeOptions":{"minValue":0,"maxValue":1,"numberPrecision":1}},{"displayName":"Output Randomness (Top P)","name":"topP","default":0.95,"description":"The maximum cumulative probability of tokens to consider when sampling","type":"number","typeOptions":{"minValue":0,"maxValue":1,"numberPrecision":2}},{"displayName":"System Message","name":"system","type":"string","default":"","placeholder":"e.g. You are a helpful assistant"}],"displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["video"]}},"options":[{"name":"Generate Video From Text","value":"textToVideo","action":"Generate video from text prompt","description":"Generate a video from a text prompt"},{"name":"Generate Video From Image","value":"imageToVideo","action":"Generate video from image","description":"Generate a video from an image, with optional last frame and subject reference"}],"default":"textToVideo"},{"displayName":"Model","name":"modelId","type":"options","options":[{"name":"MiniMax-Hailuo-2.3","value":"MiniMax-Hailuo-2.3","description":"Latest video generation model with enhanced realism"},{"name":"MiniMax-Hailuo-02","value":"MiniMax-Hailuo-02","description":"Video model supporting higher resolution and longer duration"},{"name":"T2V-01-Director","value":"T2V-01-Director","description":"Text-to-video model with camera control commands"},{"name":"T2V-01","value":"T2V-01","description":"Standard text-to-video model"}],"default":"MiniMax-Hailuo-2.3","description":"The model to use for video generation","displayOptions":{"show":{"resource":["video"],"operation":["textToVideo"]}}},{"displayName":"Prompt","name":"prompt","type":"string","typeOptions":{"rows":4},"default":"","required":true,"description":"Text description of the video (max 2000 characters). Camera movements can be controlled using [command] syntax, e.g. [Push in], [Pan left].","placeholder":"e.g. A cat playing with a ball of yarn [Static shot]","displayOptions":{"show":{"resource":["video"],"operation":["textToVideo"]}}},{"displayName":"Duration (Seconds)","name":"duration","type":"options","options":[{"name":"6 Seconds","value":6},{"name":"10 Seconds","value":10}],"default":6,"description":"Duration of the generated video","displayOptions":{"show":{"resource":["video"],"operation":["textToVideo"]}}},{"displayName":"Resolution","name":"resolution","type":"options","options":[{"name":"720P","value":"720P"},{"name":"768P","value":"768P"},{"name":"1080P","value":"1080P"}],"default":"768P","description":"Resolution of the generated video. Available options depend on the model.","displayOptions":{"show":{"resource":["video"],"operation":["textToVideo"]}}},{"displayName":"Download Video","name":"downloadVideo","type":"boolean","default":true,"description":"Whether to download the generated video as binary data. When disabled, only the video URL is returned.","displayOptions":{"show":{"resource":["video"],"operation":["textToVideo"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Prompt Optimizer","name":"promptOptimizer","type":"boolean","default":true,"description":"Whether to automatically optimize the prompt for better results"}],"displayOptions":{"show":{"resource":["video"],"operation":["textToVideo"]}}},{"displayName":"Model","name":"modelId","type":"options","options":[{"name":"I2V-01","value":"I2V-01","description":"Standard image-to-video model"},{"name":"I2V-01-Director","value":"I2V-01-Director","description":"Image-to-video with camera control commands"},{"name":"I2V-01-Live","value":"I2V-01-live","description":"Image-to-video live model"},{"name":"MiniMax-Hailuo-02","value":"MiniMax-Hailuo-02","description":"Model supporting higher resolution and longer duration"},{"name":"MiniMax-Hailuo-2.3","value":"MiniMax-Hailuo-2.3","description":"Latest model with enhanced realism"},{"name":"MiniMax-Hailuo-2.3-Fast","value":"MiniMax-Hailuo-2.3-Fast","description":"Faster image-to-video model for value and efficiency"}],"default":"MiniMax-Hailuo-2.3","description":"The model to use for video generation","displayOptions":{"show":{"resource":["video"],"operation":["imageToVideo"]}}},{"displayName":"Image Input Type","name":"imageInputType","type":"options","options":[{"name":"URL","value":"url"},{"name":"Binary File","value":"binary"}],"default":"url","description":"How to provide the first frame image","displayOptions":{"show":{"resource":["video"],"operation":["imageToVideo"]}}},{"displayName":"Image URL","name":"imageUrl","type":"string","default":"","required":true,"placeholder":"https://example.com/image.jpg","description":"Public URL of the image to use as first frame (JPG, JPEG, PNG, WebP, <20MB)","displayOptions":{"show":{"imageInputType":["url"],"resource":["video"],"operation":["imageToVideo"]}}},{"displayName":"Input Data Field Name","name":"binaryPropertyName","type":"string","default":"data","required":true,"placeholder":"e.g. data","hint":"The name of the input field containing the binary image data","typeOptions":{"binaryDataProperty":true},"displayOptions":{"show":{"imageInputType":["binary"],"resource":["video"],"operation":["imageToVideo"]}}},{"displayName":"Prompt","name":"prompt","type":"string","typeOptions":{"rows":4},"default":"","description":"Optional text description of the video (max 2000 characters). Camera movements can be controlled using [command] syntax.","placeholder":"e.g. The subject smiles and waves at the camera [Zoom in]","displayOptions":{"show":{"resource":["video"],"operation":["imageToVideo"]}}},{"displayName":"Duration (Seconds)","name":"duration","type":"options","options":[{"name":"6 Seconds","value":6},{"name":"10 Seconds","value":10}],"default":6,"description":"Duration of the generated video","displayOptions":{"show":{"resource":["video"],"operation":["imageToVideo"]}}},{"displayName":"Resolution","name":"resolution","type":"options","options":[{"name":"512P","value":"512P"},{"name":"720P","value":"720P"},{"name":"768P","value":"768P"},{"name":"1080P","value":"1080P"}],"default":"768P","description":"Resolution of the generated video. Available options depend on the model.","displayOptions":{"show":{"resource":["video"],"operation":["imageToVideo"]}}},{"displayName":"Download Video","name":"downloadVideo","type":"boolean","default":true,"description":"Whether to download the generated video as binary data. When disabled, only the video URL is returned.","displayOptions":{"show":{"resource":["video"],"operation":["imageToVideo"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Prompt Optimizer","name":"promptOptimizer","type":"boolean","default":true,"description":"Whether to automatically optimize the prompt"},{"displayName":"Last Frame Image Input Type","name":"lastFrameInputType","type":"options","options":[{"name":"None","value":"none"},{"name":"URL","value":"url"},{"name":"Binary File","value":"binary"}],"default":"none","description":"Provide a last frame image to generate a first-and-last-frame video. Only supported by MiniMax-Hailuo-2.3 and MiniMax-Hailuo-02."},{"displayName":"Last Frame Image URL","name":"lastFrameImageUrl","type":"string","default":"","placeholder":"https://example.com/last-frame.jpg","displayOptions":{"show":{"lastFrameInputType":["url"]}}},{"displayName":"Last Frame Data Field Name","name":"lastFrameBinaryPropertyName","type":"string","default":"lastFrame","placeholder":"e.g. lastFrame","typeOptions":{"binaryDataProperty":true},"displayOptions":{"show":{"lastFrameInputType":["binary"]}}},{"displayName":"Subject Reference Input Type","name":"subjectReferenceInputType","type":"options","options":[{"name":"None","value":"none"},{"name":"URL","value":"url"},{"name":"Binary File","value":"binary"}],"default":"none","description":"Provide a face photo for facial consistency in the generated video. Only supported by MiniMax-Hailuo-2.3."},{"displayName":"Subject Reference Image URL","name":"subjectReferenceImageUrl","type":"string","default":"","placeholder":"https://example.com/face.jpg","displayOptions":{"show":{"subjectReferenceInputType":["url"]}}},{"displayName":"Subject Reference Data Field Name","name":"subjectReferenceBinaryPropertyName","type":"string","default":"subjectReference","placeholder":"e.g. subjectReference","typeOptions":{"binaryDataProperty":true},"displayOptions":{"show":{"subjectReferenceInputType":["binary"]}}}],"displayOptions":{"show":{"resource":["video"],"operation":["imageToVideo"]}}}],"iconUrl":"icons/@n8n/n8n-nodes-langchain/dist/nodes/vendors/MiniMax/minimax.svg"},
|
|
5
6
|
{"displayName":"Moonshot Kimi","name":"moonshot","group":["transform"],"version":1,"subtitle":"={{ $parameter[\"operation\"] + \": \" + $parameter[\"resource\"] }}","description":"Interact with Moonshot Kimi AI models","defaults":{"name":"Moonshot Kimi"},"usableAsTool":true,"codex":{"alias":["kimi","moonshot","LangChain","image","vision"],"categories":["AI"],"subcategories":{"AI":["Agents","Miscellaneous","Root Nodes"]},"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-langchain.moonshot/"}]}},"inputs":"={{\n\t\t(() => {\n\t\t\tconst resource = $parameter.resource;\n\t\t\tconst operation = $parameter.operation;\n\t\t\tif (resource === 'text' && operation === 'message') {\n\t\t\t\treturn [{ type: 'main' }, { type: 'ai_tool', displayName: 'Tools' }];\n\t\t\t}\n\n\t\t\treturn ['main'];\n\t\t})()\n\t}}","outputs":["main"],"credentials":[{"name":"moonshotApi","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Image","value":"image"},{"name":"Text","value":"text"}],"default":"text"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Analyze Image","value":"analyze","action":"Analyze image","description":"Analyze an image and answer questions about it"}],"default":"analyze","displayOptions":{"show":{"resource":["image"]}}},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"modelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. kimi-k2.5"}],"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Text Input","name":"text","type":"string","placeholder":"e.g. What's in this image?","default":"What's in this image?","typeOptions":{"rows":2},"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Input Data Field Name(s)","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","hint":"The name of the input field containing the binary file data to be processed","description":"Name of the binary field(s) which contains the image(s), separate multiple field names with commas","typeOptions":{"binaryDataProperty":true},"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to return a simplified version of the response instead of the raw data","displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Maximum Number of Tokens","description":"Fewer tokens will result in shorter, less detailed image description","name":"maxTokens","type":"number","default":1024,"typeOptions":{"minValue":1}}],"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Message a Model","value":"message","action":"Message a model","description":"Send a message and get a response from a Moonshot Kimi model"}],"default":"message","displayOptions":{"show":{"resource":["text"]}}},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"modelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. kimi-k2.5"}],"displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Messages","name":"messages","type":"fixedCollection","typeOptions":{"sortable":true,"multipleValues":true},"placeholder":"Add Message","default":{"values":[{"content":"","role":"user"}]},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Prompt","name":"content","type":"string","description":"The content of the message to be sent","default":"","placeholder":"e.g. Hello, how can you help me?","typeOptions":{"rows":2}},{"displayName":"Role","name":"role","type":"options","description":"Role in shaping the model's response, it tells the model how it should behave and interact with the user","options":[{"name":"User","value":"user","description":"Send a message as a user and get a response from the model"},{"name":"Assistant","value":"assistant","description":"Tell the model to adopt a specific tone or personality"}],"default":"user"}]}],"displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Add Attachments","name":"addAttachments","type":"boolean","default":false,"description":"Whether to add image attachments to the message","displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Attachment Input Data Field Name(s)","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","description":"Name of the binary field(s) which contains the image(s) to attach, separate multiple field names with commas","typeOptions":{"binaryDataProperty":true},"displayOptions":{"show":{"addAttachments":[true],"operation":["message"],"resource":["text"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to return a simplified version of the response instead of the raw data","displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Frequency Penalty","name":"frequencyPenalty","default":0,"typeOptions":{"maxValue":2,"minValue":-2,"numberPrecision":1},"description":"Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim","type":"number"},{"displayName":"Include Merged Response","name":"includeMergedResponse","type":"boolean","default":false,"description":"Whether to include a single output string merging all text parts of the response"},{"displayName":"Maximum Number of Tokens","name":"maxTokens","default":1024,"description":"The maximum number of tokens to generate in the completion","type":"number","typeOptions":{"minValue":1,"numberPrecision":0}},{"displayName":"Max Tool Calls Iterations","name":"maxToolsIterations","type":"number","default":15,"description":"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.","typeOptions":{"minValue":0,"numberPrecision":0}},{"displayName":"Output Randomness (Temperature)","name":"temperature","default":0.7,"description":"Controls the randomness of the output. Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.","type":"number","typeOptions":{"minValue":0,"maxValue":1,"numberPrecision":1}},{"displayName":"Output Randomness (Top P)","name":"topP","default":1,"description":"The maximum cumulative probability of tokens to consider when sampling","type":"number","typeOptions":{"minValue":0,"maxValue":1,"numberPrecision":1}},{"displayName":"Presence Penalty","name":"presencePenalty","default":0,"typeOptions":{"maxValue":2,"minValue":-2,"numberPrecision":1},"description":"Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics","type":"number"},{"displayName":"Response Format","name":"responseFormat","default":"text","type":"options","options":[{"name":"Text","value":"text","description":"Regular text response"},{"name":"JSON","value":"json_object","description":"Enables JSON mode, which should guarantee the message the model generates is valid JSON"}]},{"displayName":"System Message","name":"system","type":"string","default":"","placeholder":"e.g. You are a helpful assistant"},{"displayName":"Thinking Mode","name":"thinkingMode","type":"boolean","default":false,"description":"Whether to enable thinking mode for deep reasoning. The model will include reasoning steps in the response. Cannot be used together with Web Search."},{"displayName":"Web Search","name":"webSearch","type":"boolean","default":false,"description":"Whether to enable built-in web search. The model will search the web for relevant information. Cannot be used together with Thinking Mode."}],"displayOptions":{"show":{"operation":["message"],"resource":["text"]}}}],"iconUrl":{"light":"icons/@n8n/n8n-nodes-langchain/dist/nodes/vendors/Moonshot/moonshot.svg","dark":"icons/@n8n/n8n-nodes-langchain/dist/nodes/vendors/Moonshot/moonshot.dark.svg"}},
|
|
6
7
|
{"displayName":"Ollama","name":"ollama","group":["transform"],"version":1,"subtitle":"={{ $parameter[\"operation\"] + \": \" + $parameter[\"resource\"] }}","description":"Interact with Ollama AI models","defaults":{"name":"Ollama"},"usableAsTool":true,"codex":{"alias":["LangChain","image","vision","AI","local"],"categories":["AI"],"subcategories":{"AI":["Agents","Miscellaneous","Root Nodes"]},"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-langchain.ollama/"}]}},"inputs":"={{\n\t\t(() => {\n\t\t\tconst resource = $parameter.resource;\n\t \tconst operation = $parameter.operation;\n\t\t\tif (resource === 'text' && operation === 'message') {\n\t\t\t\treturn [{ type: 'main' }, { type: 'ai_tool', displayName: 'Tools' }];\n\t\t\t}\n\n\t\t\treturn ['main'];\n\t\t})()\n\t}}","outputs":["main"],"credentials":[{"name":"ollamaApi","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Image","value":"image"},{"name":"Text","value":"text"}],"default":"text"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Analyze Image","value":"analyze","action":"Analyze image","description":"Take in images and answer questions about them"}],"default":"analyze","displayOptions":{"show":{"resource":["image"]}}},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"modelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. llava, llama3.2-vision"}],"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Text Input","name":"text","type":"string","placeholder":"e.g. What's in this image?","default":"What's in this image?","typeOptions":{"rows":2},"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Input Type","name":"inputType","type":"options","default":"binary","options":[{"name":"Binary File(s)","value":"binary"},{"name":"Image URL(s)","value":"url"}],"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Input Data Field Name(s)","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","hint":"The name of the input field containing the binary file data to be processed","description":"Name of the binary field(s) which contains the image(s), separate multiple field names with commas","displayOptions":{"show":{"inputType":["binary"],"operation":["analyze"],"resource":["image"]}}},{"displayName":"URL(s)","name":"imageUrls","type":"string","placeholder":"e.g. https://example.com/image.png","description":"URL(s) of the image(s) to analyze, multiple URLs can be added separated by comma","default":"","displayOptions":{"show":{"inputType":["url"],"operation":["analyze"],"resource":["image"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to simplify the response or not","displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"System Message","name":"system","type":"string","default":"","placeholder":"e.g. You are a helpful assistant.","description":"System message to set the context for the conversation","typeOptions":{"rows":2}},{"displayName":"Temperature","name":"temperature","type":"number","default":0.8,"typeOptions":{"minValue":0,"maxValue":2,"numberPrecision":2},"description":"Controls randomness in responses. Lower values make output more focused."},{"displayName":"Output Randomness (Top P)","name":"top_p","default":0.7,"description":"The maximum cumulative probability of tokens to consider when sampling","type":"number","typeOptions":{"minValue":0,"maxValue":1,"numberPrecision":1}},{"displayName":"Top K","name":"top_k","type":"number","default":40,"typeOptions":{"minValue":1},"description":"Controls diversity by limiting the number of top tokens to consider"},{"displayName":"Max Tokens","name":"num_predict","type":"number","default":1024,"typeOptions":{"minValue":1,"numberPrecision":0},"description":"Maximum number of tokens to generate in the completion"},{"displayName":"Frequency Penalty","name":"frequency_penalty","type":"number","default":0,"typeOptions":{"minValue":0,"numberPrecision":2},"description":"Adjusts the penalty for tokens that have already appeared in the generated text. Higher values discourage repetition."},{"displayName":"Presence Penalty","name":"presence_penalty","type":"number","default":0,"typeOptions":{"numberPrecision":2},"description":"Adjusts the penalty for tokens based on their presence in the generated text so far. Positive values penalize tokens that have already appeared, encouraging diversity."},{"displayName":"Repetition Penalty","name":"repeat_penalty","type":"number","default":1.1,"typeOptions":{"minValue":0,"numberPrecision":2},"description":"Sets how strongly to penalize repetitions. A higher value (e.g., 1.5) will penalize repetitions more strongly, while a lower value (e.g., 0.9) will be more lenient."},{"displayName":"Context Length","name":"num_ctx","type":"number","default":4096,"typeOptions":{"minValue":1,"numberPrecision":0},"description":"Sets the size of the context window used to generate the next token"},{"displayName":"Repeat Last N","name":"repeat_last_n","type":"number","default":64,"typeOptions":{"minValue":-1,"numberPrecision":0},"description":"Sets how far back for the model to look back to prevent repetition. (0 = disabled, -1 = num_ctx)."},{"displayName":"Min P","name":"min_p","type":"number","default":0,"typeOptions":{"minValue":0,"maxValue":1,"numberPrecision":3},"description":"Alternative to the top_p, and aims to ensure a balance of quality and variety. The parameter p represents the minimum probability for a token to be considered, relative to the probability of the most likely token."},{"displayName":"Seed","name":"seed","type":"number","default":0,"typeOptions":{"minValue":0,"numberPrecision":0},"description":"Sets the random number seed to use for generation. Setting this to a specific number will make the model generate the same text for the same prompt."},{"displayName":"Stop Sequences","name":"stop","type":"string","default":"","description":"Sets the stop sequences to use. When this pattern is encountered the LLM will stop generating text and return. Separate multiple patterns with commas"},{"displayName":"Keep Alive","name":"keep_alive","type":"string","default":"5m","description":"Specifies the duration to keep the loaded model in memory after use. Format: 1h30m (1 hour 30 minutes)."},{"displayName":"Low VRAM Mode","name":"low_vram","type":"boolean","default":false,"description":"Whether to activate low VRAM mode, which reduces memory usage at the cost of slower generation speed. Useful for GPUs with limited memory."},{"displayName":"Main GPU ID","name":"main_gpu","type":"number","default":0,"typeOptions":{"minValue":0,"numberPrecision":0},"description":"Specifies the ID of the GPU to use for the main computation. Only change this if you have multiple GPUs."},{"displayName":"Context Batch Size","name":"num_batch","type":"number","default":512,"typeOptions":{"minValue":1,"numberPrecision":0},"description":"Sets the batch size for prompt processing. Larger batch sizes may improve generation speed but increase memory usage."},{"displayName":"Number of GPUs","name":"num_gpu","type":"number","default":-1,"typeOptions":{"minValue":-1,"numberPrecision":0},"description":"Specifies the number of GPUs to use for parallel processing. Set to -1 for auto-detection."},{"displayName":"Number of CPU Threads","name":"num_thread","type":"number","default":0,"typeOptions":{"minValue":0,"numberPrecision":0},"description":"Specifies the number of CPU threads to use for processing. Set to 0 for auto-detection."},{"displayName":"Penalize Newlines","name":"penalize_newline","type":"boolean","default":true,"description":"Whether the model will be less likely to generate newline characters, encouraging longer continuous sequences of text"},{"displayName":"Use Memory Locking","name":"use_mlock","type":"boolean","default":false,"description":"Whether to lock the model in memory to prevent swapping. This can improve performance but requires sufficient available memory."},{"displayName":"Use Memory Mapping","name":"use_mmap","type":"boolean","default":true,"description":"Whether to use memory mapping for loading the model. This can reduce memory usage but may impact performance."},{"displayName":"Load Vocabulary Only","name":"vocab_only","type":"boolean","default":false,"description":"Whether to only load the model vocabulary without the weights. Useful for quickly testing tokenization."},{"displayName":"Output Format","name":"format","type":"options","options":[{"name":"Default","value":""},{"name":"JSON","value":"json"}],"default":"","description":"Specifies the format of the API response"}],"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Message a Model","value":"message","action":"Message a model","description":"Send a message to Ollama model"}],"default":"message","displayOptions":{"show":{"resource":["text"]}}},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"modelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. llava, llama3.2-vision"}],"displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Messages","name":"messages","type":"fixedCollection","typeOptions":{"sortable":true,"multipleValues":true},"placeholder":"Add Message","default":{"values":[{"content":"","role":"user"}]},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Content","name":"content","type":"string","description":"The content of the message to be sent","default":"","placeholder":"e.g. Hello, how can you help me?","typeOptions":{"rows":2}},{"displayName":"Role","name":"role","type":"options","description":"The role of this message in the conversation","options":[{"name":"User","value":"user","description":"Message from the user"},{"name":"Assistant","value":"assistant","description":"Response from the assistant (for conversation history)"}],"default":"user"}]}],"displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to simplify the response or not","displayOptions":{"show":{"operation":["message"],"resource":["text"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"System Message","name":"system","type":"string","default":"","placeholder":"e.g. You are a helpful assistant.","description":"System message to set the context for the conversation","typeOptions":{"rows":2}},{"displayName":"Temperature","name":"temperature","type":"number","default":0.8,"typeOptions":{"minValue":0,"maxValue":2,"numberPrecision":2},"description":"Controls randomness in responses. Lower values make output more focused."},{"displayName":"Output Randomness (Top P)","name":"top_p","default":0.7,"description":"The maximum cumulative probability of tokens to consider when sampling","type":"number","typeOptions":{"minValue":0,"maxValue":1,"numberPrecision":1}},{"displayName":"Top K","name":"top_k","type":"number","default":40,"typeOptions":{"minValue":1},"description":"Controls diversity by limiting the number of top tokens to consider"},{"displayName":"Max Tokens","name":"num_predict","type":"number","default":1024,"typeOptions":{"minValue":1,"numberPrecision":0},"description":"Maximum number of tokens to generate in the completion"},{"displayName":"Frequency Penalty","name":"frequency_penalty","type":"number","default":0,"typeOptions":{"minValue":0,"numberPrecision":2},"description":"Adjusts the penalty for tokens that have already appeared in the generated text. Higher values discourage repetition."},{"displayName":"Presence Penalty","name":"presence_penalty","type":"number","default":0,"typeOptions":{"numberPrecision":2},"description":"Adjusts the penalty for tokens based on their presence in the generated text so far. Positive values penalize tokens that have already appeared, encouraging diversity."},{"displayName":"Repetition Penalty","name":"repeat_penalty","type":"number","default":1.1,"typeOptions":{"minValue":0,"numberPrecision":2},"description":"Sets how strongly to penalize repetitions. A higher value (e.g., 1.5) will penalize repetitions more strongly, while a lower value (e.g., 0.9) will be more lenient."},{"displayName":"Context Length","name":"num_ctx","type":"number","default":4096,"typeOptions":{"minValue":1,"numberPrecision":0},"description":"Sets the size of the context window used to generate the next token"},{"displayName":"Repeat Last N","name":"repeat_last_n","type":"number","default":64,"typeOptions":{"minValue":-1,"numberPrecision":0},"description":"Sets how far back for the model to look back to prevent repetition. (0 = disabled, -1 = num_ctx)."},{"displayName":"Min P","name":"min_p","type":"number","default":0,"typeOptions":{"minValue":0,"maxValue":1,"numberPrecision":3},"description":"Alternative to the top_p, and aims to ensure a balance of quality and variety. The parameter p represents the minimum probability for a token to be considered, relative to the probability of the most likely token."},{"displayName":"Seed","name":"seed","type":"number","default":0,"typeOptions":{"minValue":0,"numberPrecision":0},"description":"Sets the random number seed to use for generation. Setting this to a specific number will make the model generate the same text for the same prompt."},{"displayName":"Stop Sequences","name":"stop","type":"string","default":"","description":"Sets the stop sequences to use. When this pattern is encountered the LLM will stop generating text and return. Separate multiple patterns with commas"},{"displayName":"Keep Alive","name":"keep_alive","type":"string","default":"5m","description":"Specifies the duration to keep the loaded model in memory after use. Format: 1h30m (1 hour 30 minutes)."},{"displayName":"Low VRAM Mode","name":"low_vram","type":"boolean","default":false,"description":"Whether to activate low VRAM mode, which reduces memory usage at the cost of slower generation speed. Useful for GPUs with limited memory."},{"displayName":"Main GPU ID","name":"main_gpu","type":"number","default":0,"typeOptions":{"minValue":0,"numberPrecision":0},"description":"Specifies the ID of the GPU to use for the main computation. Only change this if you have multiple GPUs."},{"displayName":"Context Batch Size","name":"num_batch","type":"number","default":512,"typeOptions":{"minValue":1,"numberPrecision":0},"description":"Sets the batch size for prompt processing. Larger batch sizes may improve generation speed but increase memory usage."},{"displayName":"Number of GPUs","name":"num_gpu","type":"number","default":-1,"typeOptions":{"minValue":-1,"numberPrecision":0},"description":"Specifies the number of GPUs to use for parallel processing. Set to -1 for auto-detection."},{"displayName":"Number of CPU Threads","name":"num_thread","type":"number","default":0,"typeOptions":{"minValue":0,"numberPrecision":0},"description":"Specifies the number of CPU threads to use for processing. Set to 0 for auto-detection."},{"displayName":"Penalize Newlines","name":"penalize_newline","type":"boolean","default":true,"description":"Whether the model will be less likely to generate newline characters, encouraging longer continuous sequences of text"},{"displayName":"Use Memory Locking","name":"use_mlock","type":"boolean","default":false,"description":"Whether to lock the model in memory to prevent swapping. This can improve performance but requires sufficient available memory."},{"displayName":"Use Memory Mapping","name":"use_mmap","type":"boolean","default":true,"description":"Whether to use memory mapping for loading the model. This can reduce memory usage but may impact performance."},{"displayName":"Load Vocabulary Only","name":"vocab_only","type":"boolean","default":false,"description":"Whether to only load the model vocabulary without the weights. Useful for quickly testing tokenization."},{"displayName":"Output Format","name":"format","type":"options","options":[{"name":"Default","value":""},{"name":"JSON","value":"json"}],"default":"","description":"Specifies the format of the API response"}],"displayOptions":{"show":{"operation":["message"],"resource":["text"]}}}],"iconUrl":"icons/@n8n/n8n-nodes-langchain/dist/nodes/vendors/Ollama/ollama.svg"},
|
|
7
8
|
{"displayName":"OpenAI","name":"openAi","group":["transform"],"defaultVersion":2.2,"subtitle":"={{((resource, operation) => {\n if (operation === 'deleteAssistant') {\n return 'Delete Assistant';\n }\n if (operation === 'deleteFile') {\n return 'Delete File';\n }\n if (operation === 'classify') {\n return 'Classify Text';\n }\n if (operation === 'message' && resource === 'text') {\n return 'Message Model';\n }\n const capitalize = (str) => {\n const chars = str.split('');\n chars[0] = chars[0].toUpperCase();\n return chars.join('');\n };\n if (['transcribe', 'translate'].includes(operation)) {\n resource = 'recording';\n }\n if (operation === 'list') {\n resource = resource + 's';\n }\n return `${capitalize(operation)} ${capitalize(resource)}`;\n})($parameter.resource, $parameter.operation)}}","description":"Message an assistant or GPT, analyze images, generate audio, etc.","codex":{"alias":["LangChain","ChatGPT","Sora","DallE","whisper","audio","transcribe","tts","assistant"],"categories":["AI"],"subcategories":{"AI":["Agents","Miscellaneous","Root Nodes"]},"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-langchain.openai/"}]}},"builderHint":{"message":"For text generation, reasoning and tools, use AI Agent with OpenAI Chat Model. This OpenAI node is for specialized operations: image generation (DALL-E), audio (Whisper, TTS), and video generation (Sora).","relatedNodes":[{"nodeType":"@n8n/n8n-nodes-langchain.agent","relationHint":"Prefer for most LLM tasks"},{"nodeType":"@n8n/n8n-nodes-langchain.lmChatOpenAi","relationHint":"Prefer for most LLM tasks"}]},"version":[2,2.1,2.2],"defaults":{"name":"OpenAI"},"inputs":"={{((resource, operation, hideTools, memory) => {\n if (resource === 'assistant' && operation === 'message') {\n const inputs = [\n { type: 'main' },\n { type: 'ai_tool', displayName: 'Tools' },\n ];\n if (memory !== 'threadId') {\n inputs.push({ type: 'ai_memory', displayName: 'Memory', maxConnections: 1 });\n }\n return inputs;\n }\n if (resource === 'text' && (operation === 'message' || operation === 'response')) {\n if (hideTools === 'hide') {\n return ['main'];\n }\n return [{ type: 'main' }, { type: 'ai_tool', displayName: 'Tools' }];\n }\n return ['main'];\n})($parameter.resource, $parameter.operation, $parameter.hideTools, $parameter.memory ?? undefined)}}","outputs":["main"],"credentials":[{"name":"openAiApi","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Text","value":"text","builderHint":{"message":"For text generation, reasoning and tools, use AI Agent with OpenAI Chat Model instead of this resource."}},{"name":"Image","value":"image"},{"name":"Audio","value":"audio"},{"name":"File","value":"file"},{"name":"Conversation","value":"conversation"},{"name":"Video","value":"video"}],"default":"text"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Generate Audio","value":"generate","action":"Generate audio","description":"Creates audio from a text prompt"},{"name":"Transcribe a Recording","value":"transcribe","action":"Transcribe a recording","description":"Transcribes audio into text"},{"name":"Translate a Recording","value":"translate","action":"Translate a recording","description":"Translates audio into text in English"}],"default":"generate","displayOptions":{"show":{"resource":["audio"]}}},{"displayName":"OpenAI API limits the size of the audio file to 25 MB","name":"fileSizeLimitNotice","type":"notice","default":" ","displayOptions":{"show":{"resource":["audio"],"operation":["translate","transcribe"]}}},{"displayName":"Model","name":"model","type":"options","default":"tts-1","options":[{"name":"TTS-1","value":"tts-1"},{"name":"TTS-1-HD","value":"tts-1-hd"}],"displayOptions":{"show":{"operation":["generate"],"resource":["audio"]}}},{"displayName":"Text Input","name":"input","type":"string","placeholder":"e.g. The quick brown fox jumped over the lazy dog","description":"The text to generate audio for. The maximum length is 4096 characters.","default":"","typeOptions":{"rows":2},"displayOptions":{"show":{"operation":["generate"],"resource":["audio"]}}},{"displayName":"Voice","name":"voice","type":"options","default":"alloy","description":"The voice to use when generating the audio","options":[{"name":"Alloy","value":"alloy"},{"name":"Echo","value":"echo"},{"name":"Fable","value":"fable"},{"name":"Nova","value":"nova"},{"name":"Onyx","value":"onyx"},{"name":"Shimmer","value":"shimmer"}],"displayOptions":{"show":{"operation":["generate"],"resource":["audio"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Response Format","name":"response_format","type":"options","default":"mp3","options":[{"name":"MP3","value":"mp3"},{"name":"OPUS","value":"opus"},{"name":"AAC","value":"aac"},{"name":"FLAC","value":"flac"}]},{"displayName":"Audio Speed","name":"speed","type":"number","default":1,"typeOptions":{"minValue":0.25,"maxValue":4,"numberPrecision":1}},{"displayName":"Put Output in Field","name":"binaryPropertyOutput","type":"string","default":"data","hint":"The name of the output field to put the binary file data in"}],"displayOptions":{"show":{"operation":["generate"],"resource":["audio"]}}},{"displayName":"Input Data Field Name","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","hint":"The name of the input field containing the binary file data to be processed","description":"Name of the binary property which contains the audio file in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm","displayOptions":{"show":{"operation":["transcribe"],"resource":["audio"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Language of the Audio File","name":"language","type":"string","description":"The language of the input audio. Supplying the input language in <a href=\"https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes\" target=\"_blank\">ISO-639-1</a> format will improve accuracy and latency.","default":""},{"displayName":"Output Randomness (Temperature)","name":"temperature","type":"number","default":0,"typeOptions":{"minValue":0,"maxValue":1,"numberPrecision":1}}],"displayOptions":{"show":{"operation":["transcribe"],"resource":["audio"]}}},{"displayName":"Input Data Field Name","name":"binaryPropertyName","type":"string","default":"data","hint":"The name of the input field containing the binary file data to be processed","placeholder":"e.g. data","description":"Name of the binary property which contains the audio file in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm","displayOptions":{"show":{"operation":["translate"],"resource":["audio"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Output Randomness (Temperature)","name":"temperature","type":"number","default":0,"typeOptions":{"minValue":0,"maxValue":1,"numberPrecision":1}}],"displayOptions":{"show":{"operation":["translate"],"resource":["audio"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Delete a File","value":"deleteFile","action":"Delete a file","description":"Delete a file from the server"},{"name":"List Files","value":"list","action":"List files","description":"Returns a list of files that belong to the user's organization"},{"name":"Upload a File","value":"upload","action":"Upload a file","description":"Upload a file that can be used across various endpoints"}],"default":"upload","displayOptions":{"show":{"resource":["file"]}}},{"displayName":"Input Data Field Name","name":"binaryPropertyName","type":"string","default":"data","hint":"The name of the input field containing the binary file data to be processed","placeholder":"e.g. data","description":"Name of the binary property which contains the file. The size of individual files can be a maximum of 512 MB or 2 million tokens for Assistants.","displayOptions":{"show":{"operation":["upload"],"resource":["file"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Purpose","name":"purpose","type":"options","default":"user_data","description":"The intended purpose of the uploaded file, the 'Fine-tuning' only supports .jsonl files","options":[{"name":"Assistants","value":"assistants"},{"name":"Fine-Tune","value":"fine-tune"},{"name":"Vision","value":"vision"},{"name":"User Data","value":"user_data"}]}],"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}}},{"displayName":"File","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"fileSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"file-[a-zA-Z0-9]","errorMessage":"Not a valid File ID"}}],"placeholder":"e.g. file-1234567890"}],"displayOptions":{"show":{"operation":["deleteFile"],"resource":["file"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Purpose","name":"purpose","type":"options","default":"any","description":"Only return files with the given purpose","options":[{"name":"Any [Default]","value":"any"},{"name":"Assistants","value":"assistants"},{"name":"Fine-Tune","value":"fine-tune"},{"name":"Vision","value":"vision"},{"name":"User Data","value":"user_data"}]}],"displayOptions":{"show":{"operation":["list"],"resource":["file"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Analyze Image","value":"analyze","action":"Analyze image","description":"Take in images and answer questions about them"},{"name":"Generate an Image","value":"generate","action":"Generate an image","description":"Creates an image from a text prompt"},{"name":"Edit Image","value":"edit","action":"Edit image","description":"Edit an image"}],"default":"generate","displayOptions":{"show":{"resource":["image"]}}},{"displayName":"Model","name":"model","type":"options","default":"dall-e-3","description":"The model to use for image generation","options":[{"name":"DALL·E 2","value":"dall-e-2"},{"name":"DALL·E 3","value":"dall-e-3"},{"name":"GPT Image 1","value":"gpt-image-1"}],"displayOptions":{"show":{"@version":[{"_cnd":{"lt":2.2}}],"operation":["generate"],"resource":["image"]}}},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":"gpt-image-1-mini"},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"imageGenerateModelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. gpt-4"}],"displayOptions":{"show":{"@version":[{"_cnd":{"gte":2.2}}],"operation":["generate"],"resource":["image"]}}},{"displayName":"Prompt","name":"prompt","type":"string","placeholder":"e.g. A cute cat eating a dinosaur","description":"A text description of the desired image(s). The maximum length is 1000 characters for dall-e-2 and 4000 characters for dall-e-3.","default":"","typeOptions":{"rows":2},"displayOptions":{"show":{"operation":["generate"],"resource":["image"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"displayOptions":{"show":{"@version":[{"_cnd":{"lt":2.2}}],"operation":["generate"],"resource":["image"]}},"options":[{"displayName":"Number of Images","name":"n","default":1,"description":"Number of images to generate","type":"number","typeOptions":{"minValue":1,"maxValue":10},"displayOptions":{"show":{"/model":["dall-e-2"]}}},{"displayName":"Quality","name":"dalleQuality","type":"options","description":"The quality of the image that will be generated, HD creates images with finer details and greater consistency across the image","options":[{"name":"HD","value":"hd"},{"name":"Standard","value":"standard"}],"displayOptions":{"show":{"/model":["dall-e-3"]}},"default":"standard"},{"displayName":"Quality","name":"quality","type":"options","description":"The quality of the image that will be generated, High creates images with finer details and greater consistency across the image","options":[{"name":"High","value":"high"},{"name":"Medium","value":"medium"},{"name":"Low","value":"low"}],"displayOptions":{"show":{"/model":[{"_cnd":{"includes":"gpt-image"}}]}},"default":"medium"},{"displayName":"Resolution","name":"size","type":"options","options":[{"name":"256x256","value":"256x256"},{"name":"512x512","value":"512x512"},{"name":"1024x1024","value":"1024x1024"}],"displayOptions":{"show":{"/model":["dall-e-2"]}},"default":"1024x1024"},{"displayName":"Resolution","name":"size","type":"options","options":[{"name":"1024x1024","value":"1024x1024"},{"name":"1792x1024","value":"1792x1024"},{"name":"1024x1792","value":"1024x1792"}],"displayOptions":{"show":{"/model":["dall-e-3"]}},"default":"1024x1024"},{"displayName":"Resolution","name":"size","type":"options","options":[{"name":"1024x1024","value":"1024x1024"},{"name":"1024x1536","value":"1024x1536"},{"name":"1536x1024","value":"1536x1024"}],"displayOptions":{"show":{"/model":[{"_cnd":{"includes":"gpt-image"}}]}},"default":"1024x1024"},{"displayName":"Style","name":"style","type":"options","options":[{"name":"Natural","value":"natural","description":"Produce more natural looking images"},{"name":"Vivid","value":"vivid","description":"Lean towards generating hyper-real and dramatic images"}],"displayOptions":{"show":{"/model":["dall-e-3"]}},"default":"vivid"},{"displayName":"Respond with Image URL(s)","name":"returnImageUrls","type":"boolean","default":false,"description":"Whether to return image URL(s) instead of binary file(s)","displayOptions":{"hide":{"/model":[{"_cnd":{"includes":"gpt-image"}}]}}},{"displayName":"Put Output in Field","name":"binaryPropertyOutput","type":"string","default":"data","hint":"The name of the output field to put the binary file data in","displayOptions":{"show":{"returnImageUrls":[false]}}}]},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"displayOptions":{"show":{"@version":[{"_cnd":{"gte":2.2}}],"operation":["generate"],"resource":["image"]}},"options":[{"displayName":"Number of Images","name":"n","default":1,"description":"Number of images to generate","type":"number","typeOptions":{"minValue":1,"maxValue":10},"displayOptions":{"show":{"/modelId":["dall-e-2"]}}},{"displayName":"Quality","name":"dalleQuality","type":"options","description":"The quality of the image that will be generated, HD creates images with finer details and greater consistency across the image","options":[{"name":"HD","value":"hd"},{"name":"Standard","value":"standard"}],"displayOptions":{"show":{"/modelId":["dall-e-3"]}},"default":"standard"},{"displayName":"Quality","name":"quality","type":"options","description":"The quality of the image that will be generated, High creates images with finer details and greater consistency across the image","options":[{"name":"High","value":"high"},{"name":"Medium","value":"medium"},{"name":"Low","value":"low"}],"displayOptions":{"show":{"/modelId":[{"_cnd":{"includes":"gpt-image"}}]}},"default":"medium"},{"displayName":"Resolution","name":"size","type":"options","options":[{"name":"256x256","value":"256x256"},{"name":"512x512","value":"512x512"},{"name":"1024x1024","value":"1024x1024"}],"displayOptions":{"show":{"/modelId":["dall-e-2"]}},"default":"1024x1024"},{"displayName":"Resolution","name":"size","type":"options","options":[{"name":"1024x1024","value":"1024x1024"},{"name":"1792x1024","value":"1792x1024"},{"name":"1024x1792","value":"1024x1792"}],"displayOptions":{"show":{"/modelId":["dall-e-3"]}},"default":"1024x1024"},{"displayName":"Resolution","name":"size","type":"options","options":[{"name":"1024x1024","value":"1024x1024"},{"name":"1024x1536","value":"1024x1536"},{"name":"1536x1024","value":"1536x1024"}],"displayOptions":{"show":{"/modelId":[{"_cnd":{"includes":"gpt-image"}}]}},"default":"1024x1024"},{"displayName":"Style","name":"style","type":"options","options":[{"name":"Natural","value":"natural","description":"Produce more natural looking images"},{"name":"Vivid","value":"vivid","description":"Lean towards generating hyper-real and dramatic images"}],"displayOptions":{"show":{"/modelId":["dall-e-3"]}},"default":"vivid"},{"displayName":"Respond with Image URL(s)","name":"returnImageUrls","type":"boolean","default":false,"description":"Whether to return image URL(s) instead of binary file(s)","displayOptions":{"hide":{"/modelId":[{"_cnd":{"includes":"gpt-image"}}]}}},{"displayName":"Put Output in Field","name":"binaryPropertyOutput","type":"string","default":"data","hint":"The name of the output field to put the binary file data in","displayOptions":{"show":{"returnImageUrls":[false]}}}]},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"imageModelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. gpt-4"}],"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Text Input","name":"text","type":"string","placeholder":"e.g. What's in this image?","default":"What's in this image?","typeOptions":{"rows":2},"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Input Type","name":"inputType","type":"options","default":"url","options":[{"name":"Image URL(s)","value":"url"},{"name":"Binary File(s)","value":"base64"}],"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"URL(s)","name":"imageUrls","type":"string","placeholder":"e.g. https://example.com/image.jpeg","description":"URL(s) of the image(s) to analyze, multiple URLs can be added separated by comma","default":"","displayOptions":{"show":{"inputType":["url"],"operation":["analyze"],"resource":["image"]}}},{"displayName":"Input Data Field Name","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","hint":"The name of the input field containing the binary file data to be processed","description":"Name of the binary property which contains the image(s)","displayOptions":{"show":{"inputType":["base64"],"operation":["analyze"],"resource":["image"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to simplify the response or not","displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Detail","name":"detail","type":"options","default":"auto","options":[{"name":"Auto","value":"auto","description":"Model will look at the image input size and decide if it should use the low or high setting"},{"name":"Low","value":"low","description":"Return faster responses and consume fewer tokens"},{"name":"High","value":"high","description":"Return more detailed responses, consumes more tokens"}]},{"displayName":"Length of Description (Max Tokens)","description":"Fewer tokens will result in shorter, less detailed image description","name":"maxTokens","type":"number","default":300,"typeOptions":{"minValue":1}}],"displayOptions":{"show":{"operation":["analyze"],"resource":["image"]}}},{"displayName":"Model","name":"model","type":"options","default":"gpt-image-1","description":"The model to use for image generation","options":[{"name":"DALL·E 2","value":"dall-e-2"},{"name":"GPT Image 1","value":"gpt-image-1"}],"displayOptions":{"show":{"operation":["edit"],"resource":["image"]}}},{"displayName":"Prompt","name":"prompt","type":"string","required":true,"default":"","description":"A text description of the desired image(s). Maximum 1000 characters for dall-e-2, 32000 characters for gpt-image-1.","placeholder":"A beautiful sunset over mountains","typeOptions":{"rows":2},"displayOptions":{"show":{"operation":["edit"],"resource":["image"]}}},{"displayName":"Images","name":"images","type":"fixedCollection","placeholder":"Add Image","typeOptions":{"multipleValues":true,"multipleValueButtonText":"Add Image"},"default":{"values":[{"binaryPropertyName":"data"}]},"description":"Add one or more binary fields to include images with your prompt. Each image should be a png, webp, or jpg file less than 50MB. You can provide up to 16 images.","displayOptions":{"show":{"/model":["gpt-image-1"],"operation":["edit"],"resource":["image"]}},"options":[{"displayName":"Image","name":"values","values":[{"displayName":"Binary Field Name","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","description":"The name of the binary field containing the image data"}]}]},{"displayName":"Binary Field Name","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","hint":"The name of the input field containing the binary file data to be processed","description":"Name of the binary property which contains the image. It should be a square png file less than 4MB.","displayOptions":{"show":{"/model":["dall-e-2"],"operation":["edit"],"resource":["image"]}}},{"displayName":"Number of Images","name":"n","type":"number","default":1,"description":"The number of images to generate. Must be between 1 and 10.","typeOptions":{"minValue":1,"maxValue":10},"displayOptions":{"show":{"operation":["edit"],"resource":["image"]}}},{"displayName":"Size","name":"size","type":"options","default":"1024x1024","description":"The size of the generated images","options":[{"name":"256x256","value":"256x256"},{"name":"512x512","value":"512x512"},{"name":"1024x1024","value":"1024x1024"},{"name":"1024x1536 (Portrait)","value":"1024x1536"},{"name":"1536x1024 (Landscape)","value":"1536x1024"},{"name":"Auto","value":"auto"}],"displayOptions":{"show":{"operation":["edit"],"resource":["image"]}}},{"displayName":"Quality","name":"quality","type":"options","default":"auto","description":"The quality of the image that will be generated","options":[{"name":"Auto","value":"auto"},{"name":"High","value":"high"},{"name":"Medium","value":"medium"},{"name":"Low","value":"low"},{"name":"Standard","value":"standard"}],"displayOptions":{"show":{"/model":["gpt-image-1"],"operation":["edit"],"resource":["image"]}}},{"displayName":"Response Format","name":"responseFormat","type":"options","default":"url","description":"The format in which the generated images are returned. URLs are only valid for 60 minutes after generation.","options":[{"name":"URL","value":"url"},{"name":"Base64 JSON","value":"b64_json"}],"displayOptions":{"show":{"/model":["dall-e-2"],"operation":["edit"],"resource":["image"]}}},{"displayName":"Output Format","name":"outputFormat","type":"options","default":"png","description":"The format in which the generated images are returned. Only supported for gpt-image-1.","options":[{"name":"PNG","value":"png"},{"name":"JPEG","value":"jpeg"},{"name":"WebP","value":"webp"}],"displayOptions":{"show":{"/model":["gpt-image-1"],"operation":["edit"],"resource":["image"]}}},{"displayName":"Output Compression","name":"outputCompression","type":"number","default":100,"description":"The compression level (0-100%) for the generated images. Only supported for gpt-image-1 with webp or jpeg output formats.","typeOptions":{"minValue":0,"maxValue":100},"displayOptions":{"show":{"/model":["gpt-image-1"],"outputFormat":["webp","jpeg"],"operation":["edit"],"resource":["image"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"User","name":"user","type":"string","default":"","description":"A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse","placeholder":"user-12345"},{"displayName":"Background","name":"background","type":"options","default":"auto","description":"Allows to set transparency for the background of the generated image(s). Only supported for gpt-image-1.","options":[{"name":"Auto","value":"auto"},{"name":"Transparent","value":"transparent"},{"name":"Opaque","value":"opaque"}],"displayOptions":{"show":{"/model":["gpt-image-1"]}}},{"displayName":"Input Fidelity","name":"inputFidelity","type":"options","default":"low","description":"Control how much effort the model will exert to match the style and features of input images. Only supported for gpt-image-1.","options":[{"name":"Low","value":"low"},{"name":"High","value":"high"}],"displayOptions":{"show":{"/model":["gpt-image-1"]}}},{"displayName":"Image Mask","name":"imageMask","type":"string","default":"data","hint":"The name of the input field containing the binary file data to be processed","description":"Name of the binary property which contains the image. An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where image should be edited. If there are multiple images provided, the mask will be applied on the first image. Must be a valid PNG file, less than 4MB, and have the same dimensions as image."}],"displayOptions":{"show":{"operation":["edit"],"resource":["image"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Message a Model","value":"response","action":"Message a model","description":"Generate a model response with GPT 3, 4, 5, etc. using Responses API"},{"name":"Classify Text for Violations","value":"classify","action":"Classify text for violations","description":"Check whether content complies with usage policies"}],"default":"response","displayOptions":{"show":{"resource":["text"]}}},{"displayName":"Text Input","name":"input","type":"string","placeholder":"e.g. Sample text goes here","description":"The input text to classify if it is violates the moderation policy","default":"","typeOptions":{"rows":2},"displayOptions":{"show":{"operation":["classify"],"resource":["text"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":false,"description":"Whether to return a simplified version of the response instead of the raw data","displayOptions":{"show":{"operation":["classify"],"resource":["text"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Use Stable Model","name":"useStableModel","type":"boolean","default":false,"description":"Whether to use the stable version of the model instead of the latest version, accuracy may be slightly lower"}],"displayOptions":{"show":{"@version":[{"_cnd":{"lt":2.1}}],"operation":["classify"],"resource":["text"]}}},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"modelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. gpt-4"}],"displayOptions":{"show":{"operation":["response"],"resource":["text"]}}},{"displayName":"Messages","name":"responses","type":"fixedCollection","typeOptions":{"sortable":true,"multipleValues":true},"placeholder":"Add Message","default":{"values":[{"type":"text"}]},"options":[{"displayName":"Message","name":"values","values":[{"displayName":"Type","name":"type","type":"options","default":"text","options":[{"name":"Text","value":"text"},{"name":"Image","value":"image"},{"name":"File","value":"file"}]},{"displayName":"Role","name":"role","type":"options","description":"Role in shaping the model's response, it tells the model how it should behave and interact with the user","options":[{"name":"User","value":"user","description":"Send a message as a user and get a response from the model"},{"name":"Assistant","value":"assistant","description":"Tell the model to adopt a specific tone or personality"},{"name":"System","value":"system","description":"Usually used to set the model's behavior or context for the next user message"}],"default":"user"},{"displayName":"Prompt","name":"content","type":"string","description":"The content of the message to be send","default":"","placeholder":"e.g. Hello, how can you help me?","typeOptions":{"rows":2},"displayOptions":{"show":{"type":["text"]}}},{"displayName":"Image Type","name":"imageType","type":"options","default":"url","options":[{"name":"Image URL","value":"url"},{"name":"File ID","value":"fileId"},{"name":"File Data","value":"base64"}],"displayOptions":{"show":{"type":["image"]}}},{"displayName":"Image URL","name":"imageUrl","type":"string","default":"","placeholder":"e.g. https://example.com/image.jpeg","description":"URL of the image to be sent","displayOptions":{"show":{"type":["image"],"imageType":["url"]}}},{"displayName":"Image Data","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","hint":"The name of the input field containing the binary file data to be processed","description":"Name of the binary property which contains the image(s)","displayOptions":{"show":{"type":["image"],"imageType":["base64"]}}},{"displayName":"File ID","name":"fileId","type":"string","default":"","description":"ID of the file to be sent","displayOptions":{"show":{"type":["image"],"imageType":["fileId"]}}},{"displayName":"Detail","name":"imageDetail","type":"options","default":"auto","description":"The detail level of the image to be sent to the model","options":[{"name":"Auto","value":"auto"},{"name":"Low","value":"low"},{"name":"High","value":"high"}],"displayOptions":{"show":{"type":["image"]}}},{"displayName":"File Type","name":"fileType","type":"options","default":"url","options":[{"name":"File URL","value":"url"},{"name":"File ID","value":"fileId"},{"name":"File Data","value":"base64"}],"displayOptions":{"show":{"type":["file"]}}},{"displayName":"File URL","name":"fileUrl","type":"string","default":"","placeholder":"e.g. https://example.com/file.pdf","description":"URL of the file to be sent. Accepts base64 encoded files as well.","displayOptions":{"show":{"type":["file"],"fileType":["url"]}}},{"displayName":"File ID","name":"fileId","type":"string","default":"","description":"ID of the file to be sent","displayOptions":{"show":{"type":["file"],"fileType":["fileId"]}}},{"displayName":"File Data","name":"binaryPropertyName","type":"string","default":"data","placeholder":"e.g. data","hint":"The name of the input field containing the binary file data to be processed","description":"Name of the binary property which contains the file","displayOptions":{"show":{"type":["file"],"fileType":["base64"]}}},{"displayName":"File Name","name":"fileName","type":"string","default":"","required":true,"displayOptions":{"show":{"type":["file"],"fileType":["base64"]}}}]}],"displayOptions":{"show":{"operation":["response"],"resource":["text"]}}},{"displayName":"Simplify Output","name":"simplify","type":"boolean","default":true,"description":"Whether to return a simplified version of the response instead of the raw data","displayOptions":{"show":{"operation":["response"],"resource":["text"]}}},{"displayName":"Hide Tools","name":"hideTools","type":"hidden","default":"hide","displayOptions":{"show":{"modelId":["gpt-3.5-turbo-16k-0613","dall-e-3","text-embedding-3-large","dall-e-2","whisper-1","tts-1-hd-1106","tts-1-hd","gpt-4-0314","text-embedding-3-small","gpt-4-32k-0314","gpt-3.5-turbo-0301","gpt-4-vision-preview","gpt-3.5-turbo-16k","gpt-3.5-turbo-instruct-0914","tts-1","davinci-002","gpt-3.5-turbo-instruct","babbage-002","tts-1-1106","text-embedding-ada-002"],"operation":["response"],"resource":["text"]}}},{"displayName":"Connect your own custom n8n tools to this node on the canvas","name":"noticeTools","type":"notice","default":"","displayOptions":{"hide":{"hideTools":["hide"]},"show":{"operation":["response"],"resource":["text"]}}},{"displayName":"Built-in Tools","name":"builtInTools","placeholder":"Add Built-in Tool","type":"collection","default":{},"options":[{"displayName":"Web Search","name":"webSearch","type":"collection","default":{"searchContextSize":"medium"},"options":[{"displayName":"Search Context Size","description":"High level guidance for the amount of context window space to use for the search","name":"searchContextSize","type":"options","default":"medium","options":[{"name":"Low","value":"low"},{"name":"Medium","value":"medium"},{"name":"High","value":"high"}]},{"displayName":"Web Search Allowed Domains","name":"allowedDomains","type":"string","default":"","description":"Comma-separated list of domains to search. Only domains in this list will be searched.","placeholder":"e.g. google.com, wikipedia.org"},{"displayName":"Country","name":"country","type":"string","default":"","placeholder":"e.g. US, GB"},{"displayName":"City","name":"city","type":"string","default":"","placeholder":"e.g. New York, London"},{"displayName":"Region","name":"region","type":"string","default":"","placeholder":"e.g. New York, London"}]},{"displayName":"File Search","name":"fileSearch","type":"collection","default":{"vectorStoreIds":"[]"},"options":[{"displayName":"Vector Store IDs","name":"vectorStoreIds","description":"The vector store IDs to use for the file search. Vector stores are managed via OpenAI Dashboard.","type":"json","default":"[]","required":true},{"displayName":"Filters","name":"filters","type":"json","default":"{}"},{"displayName":"Max Results","name":"maxResults","type":"number","default":1,"typeOptions":{"minValue":1,"maxValue":50}}]},{"displayName":"Code Interpreter","name":"codeInterpreter","type":"boolean","default":true,"description":"Whether to allow the model to execute code in a sandboxed environment"}],"displayOptions":{"show":{"operation":["response"],"resource":["text"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Conversation ID","name":"conversationId","default":"","description":"The conversation that this response belongs to. Input items and output items from this response are automatically added to this conversation after this response completes.","type":"string"},{"displayName":"Include Additional Data","name":"include","default":[],"type":"multiOptions","description":"Specify additional output data to include in the model response","options":[{"name":"Code Interpreter Call Outputs","value":"code_interpreter_call.outputs"},{"name":"Computer Call Output Image URL","value":"computer_call_output.output.image_url"},{"name":"File Search Call Results","value":"file_search_call.results"},{"name":"Message Input Image URL","value":"message.input_image.image_url"},{"name":"Message Output Text Logprobs","value":"message.output_text.logprobs"},{"name":"Reasoning Encrypted Content","value":"reasoning.encrypted_content"},{"name":"Web Search Tool Call Sources","value":"web_search_call.action.sources"}]},{"displayName":"Instructions","name":"instructions","type":"string","default":"","description":"Instructions for the model to follow","typeOptions":{"rows":2}},{"displayName":"Maximum Number of Tokens","name":"maxTokens","default":16,"description":"The maximum number of tokens to generate in the completion. Most models have a context length of 2048 tokens (except for the newest models, which support 32,768).","type":"number","typeOptions":{"maxValue":32768}},{"displayName":"Max Tool Calls Iterations","name":"maxToolsIterations","type":"number","default":15,"description":"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."},{"displayName":"Max Built-in Tool Calls","name":"maxToolCalls","type":"number","default":15,"description":"The maximum number of total calls to built-in tools that can be processed in a response. This maximum number applies across all built-in tool calls, not per individual tool. Any further attempts to call a tool by the model will be ignored."},{"displayName":"Metadata","name":"metadata","type":"json","description":"Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.","default":"{}"},{"displayName":"Parallel Tool Calls","name":"parallelToolCalls","type":"boolean","default":false,"description":"Whether to allow parallel tool calls. If true, the model can call multiple tools at once."},{"displayName":"Previous Response ID","name":"previousResponseId","type":"string","default":"","description":"The ID of the previous response to continue from. Cannot be used in conjunction with Conversation ID."},{"displayName":"Prompt","name":"promptConfig","type":"fixedCollection","description":"Configure the reusable prompt template configured via OpenAI Dashboard. <a href=\"https://platform.openai.com/docs/guides/prompt-engineering#reusable-prompts\">Learn more</a>.","default":{"promptOptions":[{"promptId":""}]},"options":[{"displayName":"Prompt","name":"promptOptions","values":[{"displayName":"Prompt ID","name":"promptId","type":"string","default":"","description":"The unique identifier of the prompt template to use"},{"displayName":"Version","name":"version","type":"string","default":"","description":"Optional version of the prompt template"},{"displayName":"Variables","name":"variables","type":"json","default":"{}","description":"Variables to be substituted into the prompt template"}]}]},{"displayName":"Prompt Cache Key","name":"promptCacheKey","type":"string","default":"","description":"Used by OpenAI to cache responses for similar requests to optimize your cache hit rates"},{"displayName":"Reasoning","name":"reasoning","type":"fixedCollection","default":{"reasoningOptions":[{"effort":"medium","summary":"none"}]},"options":[{"displayName":"Reasoning","name":"reasoningOptions","values":[{"displayName":"Effort","name":"effort","type":"options","default":"medium","options":[{"name":"Low","value":"low"},{"name":"Medium","value":"medium"},{"name":"High","value":"high"}]},{"displayName":"Summary","name":"summary","type":"options","default":"auto","description":"A summary of the reasoning performed by the model. This can be useful for debugging and understanding the model's reasoning process.","options":[{"name":"None","value":"none"},{"name":"Auto","value":"auto"},{"name":"Concise","value":"concise"},{"name":"Detailed","value":"detailed"}]}]}]},{"displayName":"Safety Identifier","name":"safetyIdentifier","type":"string","default":"","description":"A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies. The IDs should be a string that uniquely identifies each user."},{"displayName":"Service Tier","name":"serviceTier","type":"options","default":"auto","description":"The service tier to use for the request","options":[{"name":"Auto","value":"auto"},{"name":"Flex","value":"flex"},{"name":"Default","value":"default"},{"name":"Priority","value":"priority"}]},{"displayName":"Store","name":"store","type":"boolean","default":true,"description":"Whether to store the generated model response for later retrieval via API"},{"displayName":"Output Format","name":"textFormat","type":"fixedCollection","default":{"textOptions":[{"type":"text"}]},"options":[{"displayName":"Text","name":"textOptions","values":[{"displayName":"Type","name":"type","type":"options","default":"","options":[{"name":"Text","value":"text"},{"name":"JSON Schema (recommended)","value":"json_schema"},{"name":"JSON Object","value":"json_object"}]},{"displayName":"Verbosity","name":"verbosity","type":"options","default":"medium","options":[{"name":"Low","value":"low"},{"name":"Medium","value":"medium"},{"name":"High","value":"high"}]},{"displayName":"Name","name":"name","type":"string","default":"my_schema","description":"The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.","displayOptions":{"show":{"type":["json_schema"]}}},{"displayName":"All properties in the schema must be set to \"required\", when using \"strict\" mode.","name":"requiredNotice","type":"notice","default":"","displayOptions":{"show":{"strict":[true]}}},{"displayName":"Schema","name":"schema","type":"json","default":"{\n \"type\": \"object\",\n \"properties\": {\n \"message\": {\n \"type\": \"string\"\n }\n },\n \"additionalProperties\": false,\n \"required\": [\"message\"]\n}","description":"The schema of the response format","displayOptions":{"show":{"type":["json_schema"]}}},{"displayName":"Description","name":"description","type":"string","default":"","description":"The description of the response format","displayOptions":{"show":{"type":["json_schema"]}}},{"displayName":"Strict","name":"strict","type":"boolean","default":false,"description":"Whether to require that the AI will always generate responses that match the provided JSON Schema","displayOptions":{"show":{"type":["json_schema"]}}}]}]},{"displayName":"Top Logprobs","name":"topLogprobs","type":"number","default":0,"description":"An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability","typeOptions":{"minValue":0,"maxValue":20}},{"displayName":"Output Randomness (Temperature)","name":"temperature","type":"number","default":1,"description":"What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. We generally recommend altering this or top_p but not both","typeOptions":{"minValue":0,"maxValue":2,"numberPrecision":1}},{"displayName":"Output Randomness (Top P)","name":"topP","default":1,"typeOptions":{"maxValue":1,"minValue":0,"numberPrecision":1},"description":"An alternative to sampling with temperature, controls diversity via nucleus sampling: 0.5 means half of all likelihood-weighted options are considered. We generally recommend altering this or temperature but not both.","type":"number"},{"displayName":"Truncation","name":"truncation","type":"boolean","default":false,"description":"Whether to truncate the input to the model's context window size. When disabled will throw a 400 error instead."},{"displayName":"Background Mode","name":"backgroundMode","type":"fixedCollection","default":{"values":[{"backgroundMode":true}]},"options":[{"displayName":"Bakground","name":"values","values":[{"displayName":"Background Mode","name":"enabled","type":"boolean","default":false,"description":"Whether to run the model in background mode. If true, the model will run in background mode."},{"displayName":"Timeout","name":"timeout","type":"number","default":300,"description":"The timeout for the background mode in seconds. If 0, the timeout is infinite.","typeOptions":{"minValue":0,"maxValue":3600}}]}]}],"displayOptions":{"show":{"operation":["response"],"resource":["text"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Create","value":"create","action":"Create a conversation","description":"Create a conversation"},{"name":"Get","value":"get","action":"Get a conversation","description":"Get a conversation"},{"name":"Remove","value":"remove","action":"Remove a conversation","description":"Remove a conversation"},{"name":"Update","value":"update","action":"Update a conversation","description":"Update a conversation"}],"default":"create","displayOptions":{"show":{"resource":["conversation"]}}},{"displayName":"Messages","name":"messages","type":"fixedCollection","typeOptions":{"sortable":true,"multipleValues":true},"placeholder":"Add Message","default":{"values":[{"type":"text"}]},"options":[{"displayName":"Message","name":"values","values":[{"displayName":"Role","name":"role","type":"options","description":"Role in shaping the model's response, it tells the model how it should behave and interact with the user","options":[{"name":"User","value":"user","description":"Send a message as a user and get a response from the model"},{"name":"Assistant","value":"assistant","description":"Tell the model to adopt a specific tone or personality"},{"name":"System","value":"system","description":"Usually used to set the model's behavior or context for the next user message"}],"default":"user"},{"displayName":"Prompt","name":"content","type":"string","description":"The content of the message to be send","default":"","placeholder":"e.g. Hello, how can you help me?","typeOptions":{"rows":2},"displayOptions":{}}]}],"displayOptions":{"show":{"operation":["create"],"resource":["conversation"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Metadata","name":"metadata","type":"json","description":"Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.","default":"{}"}],"displayOptions":{"show":{"operation":["create"],"resource":["conversation"]}}},{"displayName":"Conversation ID","name":"conversationId","type":"string","default":"","placeholder":"conv_1234567890","description":"The ID of the conversation to delete","required":true,"displayOptions":{"show":{"operation":["remove"],"resource":["conversation"]}}},{"displayName":"Conversation ID","name":"conversationId","type":"string","default":"","placeholder":"conv_1234567890","description":"The ID of the conversation to update","required":true,"displayOptions":{"show":{"operation":["update"],"resource":["conversation"]}}},{"displayName":"Metadata","name":"metadata","type":"json","description":"Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.","default":"{}","required":true,"displayOptions":{"show":{"operation":["update"],"resource":["conversation"]}}},{"displayName":"Conversation ID","name":"conversationId","type":"string","default":"","placeholder":"conv_1234567890","description":"The ID of the conversation to retrieve","required":true,"displayOptions":{"show":{"operation":["get"],"resource":["conversation"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Generate","value":"generate","action":"Generate a video","description":"Creates a video from a text prompt"}],"default":"generate","displayOptions":{"show":{"resource":["video"]}}},{"displayName":"Model","name":"modelId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"videoModelSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. gpt-4"}],"displayOptions":{"show":{"operation":["generate"],"resource":["video"]}}},{"displayName":"Prompt","name":"prompt","type":"string","default":"A video of a cat playing with a ball","description":"The prompt to generate a video from","required":true,"typeOptions":{"rows":2},"displayOptions":{"show":{"operation":["generate"],"resource":["video"]}}},{"displayName":"Seconds","name":"seconds","type":"number","default":4,"description":"Clip duration in seconds","required":true,"displayOptions":{"show":{"operation":["generate"],"resource":["video"]}}},{"displayName":"Size","name":"size","type":"options","default":"1280x720","description":"Output resolution formatted as width x height. 1024x1792 and 1792x1024 are only supported by Sora 2 Pro.","options":[{"name":"720x1280","value":"720x1280"},{"name":"1280x720","value":"1280x720"},{"name":"1024x1792","value":"1024x1792"},{"name":"1792x1024","value":"1792x1024"}],"displayOptions":{"show":{"operation":["generate"],"resource":["video"]}}},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"options":[{"displayName":"Reference","description":"Optional image reference that guides generation","name":"binaryPropertyNameReference","type":"string","default":"data","placeholder":"e.g. data"},{"displayName":"Wait Timeout","name":"waitTime","type":"number","default":300,"description":"Time to wait for the video to be generated in seconds","typeOptions":{"minValue":5,"maxValue":7200}},{"displayName":"Output Field Name","name":"fileName","type":"string","default":"data","hint":"The name of the output field to put the binary file data in"}],"displayOptions":{"show":{"operation":["generate"],"resource":["video"]}}}],"iconUrl":{"light":"icons/@n8n/n8n-nodes-langchain/dist/nodes/vendors/OpenAi/openAi.svg","dark":"icons/@n8n/n8n-nodes-langchain/dist/nodes/vendors/OpenAi/openAi.dark.svg"}},
|