Nodaro Docs
DocumentationNode ReferenceModelsAI Agents (MCP)DevelopersSelf-hostingResearch
Tools reference

Prompts and text

Turn a rough idea into a tested prompt, write a scene-by-scene video script, and let an LLM judge pick the best of several results with Nodaro MCP tools.

The prompt and text tools help an assistant write better input for Nodaro's generation tools and choose between results. enhance_prompt, analyze_prompt and generate_prompt turn a rough idea into a prompt written for a specific node, generate_script writes a video script scene by scene, and reduce merges or judges a list of candidates.

enhance_prompt

Rewrites a rough idea into one optimized prompt for a target node type, with no questions in between. Use it for a quick improvement.

Permission: workflows:execute. Credits: one LLM run, priced by the model's tier.

ParameterTypeNotes
nodeTypestringRequired. The node the prompt is for, such as generate-image, image-to-video or generate-music.
promptstringThe rough idea, up to 5,000 characters. Leave it out to start from nothing.
provider, style, aspectRatio, durationstring or numberThe planned model and settings, so the prompt fits them.
llmModelstringThe LLM that writes the prompt, one of the ids the tool lists, such as gemini-3.6-flash or claude-sonnet-4.6. Leave it out for the default.
reasoning_effortstringnone, low, medium, high, xhigh or max. xhigh and max bill one tier higher.
advanced_modebooleanGemini models only. Runs the request directly on the model maker's service, so temperature and max_tokens apply. Bills one tier higher. Another model returns 400 advanced_mode_unsupported.
temperature, max_tokensnumberOnly with advanced_mode. temperature from 0 to 2, max_tokens up to 32,768.

Returns: jobId, the prompt, and a recommendedModel when the tool has one.

analyze_prompt

Turns a rough idea into questions with options, for a target node type. Use it with generate_prompt when you want to steer the prompt: answer the questions, then build the prompt from the answers.

Permission: workflows:execute. Credits: one LLM run, priced by the model's tier.

ParameterTypeNotes
nodeTypestringRequired. The node the prompt is for, such as generate-image.
promptstringThe rough idea, up to 5,000 characters. Leave it out to start from nothing.
Model and settingsprovider, style, aspectRatio, duration, llmModel, reasoning_effort, advanced_mode, temperature and max_tokens, as for enhance_prompt.

Returns: jobId and questions. Each question has a category, a label, options, the selected option, whether a custom answer is allowed (allowCustom), and whether several answers are allowed (multi).

generate_prompt

Builds one optimized prompt from the answers to the questions of analyze_prompt.

Permission: workflows:execute. Credits: one LLM run, priced by the model's tier.

ParameterTypeNotes
nodeTypestringRequired. The same node type as in analyze_prompt.
selectionsarrayRequired. One { category, value, isCustom } per answered question.
originalPromptstringThe first idea, up to 5,000 characters, to weave into the result.
Model and settingsprovider, style, aspectRatio, duration, llmModel, reasoning_effort, advanced_mode, temperature and max_tokens, as for enhance_prompt.

Returns: jobId, the prompt, and a recommendedModel when the tool has one.

The same prompt wizard is available in the editor and through the REST API.

generate_script

Writes a structured video script from a description: scene-by-scene copy that can drive a series of image or video generations. It works like the Generate Script node.

Permission: workflows:execute. Credits: from 10 to 30 credits, depending on the model.

ParameterTypeNotes
promptstringRequired. What the video is about: topic, style, audience. Up to 10,000 characters.
modelstringgemini (default), claude or gpt.
scene_countintegerThe number of scenes, from 1 to 20. By default the model decides.
target_durationintegerThe length of the video in seconds, from 5 to 600.
tonestringThe tone, such as dramatic or lighthearted, up to 200 characters.

Returns: a job id. The script is in the job's output. In clients with MCP Apps, the job card shows it with a Copy button.

reduce

Merges a list of candidates into one result, or has an LLM judge pick the best one. It is the engine of the Choose Best node.

Permission: workflows:execute. Credits: free for the logic strategies. pick-best-llm costs 3, 10 or 25 credits, for an economy, standard or premium judge model.

ParameterTypeNotes
strategyIdstringRequired. pick-best-llm, concat, first-non-empty, count, vote or merge-json.
inputsarrayRequired. Up to 1,000 strings: text fragments or URLs.
strategyConfigobjectThe settings of the strategy, below.
StrategyWhat it doesstrategyConfig
pick-best-llmAn LLM judge picks the best candidate against your criteriacriteria (text), inputKind (text or image-url), and an optional llmModel for the judge
concatJoins every inputseparator
first-non-emptyReturns the first input that is not emptynone
countCounts the inputsnone
voteReturns the input that appears most often; a tie goes to the firstcaseSensitive
merge-jsonMerges JSON objectsstrategy: deep or shallow

Returns: jobId, the output as a string, and meta.summary, which says what happened. pick-best-llm also returns meta.selectedIndex and meta.reasoning, the judge's explanation.

When the candidates are pictures, set inputKind to image-url. With text, the judge compares the links as text, which looks like a real choice but is not one.

Frequently asked questions

Last updated on

On this page