AI/ML API icon

AI/ML API

Choose from 300+ AI models, from Gemini and ChatGPT to DeepSeek and Llama.

Video Generation

AI-generated

Overview

This node operation generates videos based on a text prompt and various customizable options using AI/ML models. It is useful for creating video content from descriptive scenes, enhancing creative workflows, or automating video production. For example, users can generate a video clip by describing a scene, specifying the model to use, and fine-tuning parameters like aspect ratio, duration, and background audio.

Use Case Examples

  1. Generate a 5-second video clip of a sunset scene using a specific AI model.
  2. Create a video with a 16:9 aspect ratio and background music from a URL.
  3. Produce a video using multiple images as input with the Kling model type.

Properties

Name Meaning
Model Name or ID Select the AI/ML model to use for video generation, either from a list or by specifying an ID via expression.
Prompt Text description of the scene to be rendered as a video by the model.
Extract From Response Determines which part of the video generation response to return: all video URLs, the first video URL, or the full raw JSON response.
Video Options Collection of optional parameters to fine-tune the video generation call, such as aspect ratio, background audio URL, duration, prompt enhancements, seed for deterministic results, and other provider-specific settings.

Output

JSON

  • videoUrls - Array of video URLs generated by the model, if 'All Video URLs' or 'First Video URL' is selected.
  • videoUrl - The first video URL from the response, if 'First Video URL' is selected.
  • rawResponse - The full raw JSON response from the video generation API, if 'Full Raw JSON' is selected.

Dependencies

  • An API key credential for the AI/ML service endpoint

Troubleshooting

  • Ensure the selected model supports video generation; unsupported models will cause errors.
  • Verify that the prompt is descriptive enough to generate meaningful video content.
  • Check that optional parameters are valid and compatible with the chosen model/provider.
  • Common error messages include unsupported operation errors if the operation parameter is incorrect, or HTTP request failures if the API endpoint or credentials are misconfigured.

Links

Discussion