JoggAI icon

JoggAI

Interact with the JoggAI API to create and manage AI videos

Video → Create from Template

AI-generated

Overview

This node operation creates a video from a specified template using the JoggAI API. It allows users to select a template type (public or user-specific), specify the template ID, choose a language for text-to-speech conversion, and provide variables to replace placeholders in the template. Additionally, users can override optional settings such as avatar ID, avatar type, captions, background music, and voice ID. This operation is useful for automating video creation based on predefined templates, enabling dynamic content generation for marketing, education, or entertainment purposes.

Use Case Examples

  1. Creating a promotional video by selecting a public template and customizing text and media variables.
  2. Generating personalized educational videos by using user-specific templates and overriding voice and caption settings.

Properties

Name Meaning
Template Type The source of the template to use, either a public template or a user-specific template.
Template ID The ID of the template to be used for creating the video.
Language The language for text-to-speech (TTS) conversion in the video.
Template Variables A list of variables to replace placeholders in the template. Variables can be of types text, image, video, or script, each with specific properties such as content or URL.
Optional Overrides Optional settings to override those predefined in the template, including avatar ID, avatar type, captions, background music ID, and voice ID.

Output

JSON

  • videoId - The unique identifier of the created video.
  • status - The current status of the video creation process.
  • url - The URL where the created video can be accessed or viewed.

Dependencies

  • JoggAI API key credential required for authentication.

Troubleshooting

  • Ensure the template ID is valid and accessible based on the selected template type (public or user).
  • Verify that the language selected for TTS is supported and correctly spelled.
  • Check that all required variables are provided and correctly formatted according to their types.
  • If overrides are used, ensure the IDs and values are valid and exist in the JoggAI system.
  • Common error messages may include authentication failures, invalid template ID, missing required variables, or unsupported language errors. Verify API credentials and input parameters to resolve these issues.

Links

Discussion