Generate Video
AI-generatedOverview
This node generates a video based on a selected video template and user-defined parameters. It supports specifying the video format (e.g., MP4), duration, frames per second (FPS), and allows customization of template elements by setting their values. It also supports movie generation mode where JSON data can be manually provided for API integration. This node is useful for automating video creation workflows, such as generating promotional videos, social media content, or personalized video messages based on predefined templates.
Use Case Examples
- Generate a 5-second MP4 video at 24 FPS using a selected template and customize text elements dynamically.
- Create a video with specific duration and frame rate by modifying template elements to reflect user input data.
- Use movie generation mode to provide JSON data for advanced video customization and generate the video accordingly.
Properties
| Name | Meaning |
|---|---|
| Video Template Name or ID | Select the video template to use for generating the video, either from a list or by specifying an ID. |
| Video Format | Choose the output video format, with MP4 as the available option for wide compatibility and good compression. |
| Duration | Set the duration of the generated video in seconds. |
| FPS | Select the frames per second for the video, affecting smoothness and quality. |
| Template Elements | Modify specific elements of the video template by specifying element names or IDs and their corresponding values. |
| Hidden Render Link | Option to use Base64 encoding to create a hidden render link for the video. |
| Movie Generation | Toggle to manually request API integration JSON data for advanced video generation scenarios. |
| JSON Data | Provide JSON data for API integration when movie generation mode is enabled. |
| Attempts | Number of attempts to request the resource URL when movie generation mode is enabled. |
Output
JSON
json- The generated video data or response from the video generation API.
Dependencies
- An API key credential for authenticating with the Robolly API service.
Troubleshooting
- Ensure the selected video template ID is valid and accessible; invalid IDs will cause errors.
- Verify that the JSON data provided in movie generation mode is correctly formatted to avoid API request failures.
- Check network connectivity and API key validity if video generation requests fail repeatedly.
- If the video format or FPS options are not supported by the template, the generation may fail or produce unexpected results.
Links
- n8n Expressions Documentation - Reference for using expressions to specify dynamic values such as template IDs or element values.