Actions5
- Image to Video Actions
- Run LLM Actions
- Text to Image Actions
- Text to Speech Actions
- Text to Video Actions
Run LLM → Generate Text
AI-generatedSummary
Generate text completions using fal.ai LLM models.
Inputs
- prompt (required) — The prompt to be used for the chat completion
- model — The LLM provider to use
- llmModel (required) — Select a model to use for text generation. Charged based on actual token usage.
- customModel (required) — Enter the custom model name (e.g., openai/gpt-4, anthropic/claude-3-opus, cohere/command-r-plus)
- additionalOptions — Additional generation parameters.
Output shape
Main
The generated text response is passed through as an n8n workflow item.
Examples
Example 1: Generate a short story about an AI learning to dream.
Set prompt to the desired text, select a model via llmModel, and optionally adjust temperature or max_tokens.