JoggAI icon

JoggAI

Interact with the JoggAI API to create and manage AI videos

Overview

The node integrates with the JoggAI API to manage various AI-powered media resources, including videos, avatars, voices, templates, and more. Specifically, for the "Template" resource with the "Get My Templates" operation, it retrieves a list of the user's custom templates from JoggAI. This is useful for workflows that need to access or manipulate existing video templates, such as automating video creation based on predefined styles or reusing templates across projects.

Practical examples:

  • Automatically fetching your saved video templates to populate a selection menu in a workflow.
  • Filtering templates by aspect ratio to select the best fit for different social media platforms.
  • Integrating template retrieval into a larger automation that generates videos dynamically.

Properties

Name Meaning
Aspect Ratio Optional filter to limit templates by their aspect ratio. Options: All, Portrait (9:16), Landscape (16:9), Square (1:1)

Output

The node outputs an array of JSON objects representing the templates retrieved from the JoggAI API. Each object contains details about a single template, such as its ID, name, aspect ratio, and other metadata defined by the API.

If the node supports binary data output (not explicitly shown here), it would typically represent media files or assets related to the templates, but this operation primarily returns JSON metadata.

Dependencies

  • Requires an active connection to the JoggAI API using an API key credential configured in n8n.
  • The node depends on the JoggAI service being available and accessible via the network.
  • No additional environment variables are indicated beyond the API authentication.

Troubleshooting

  • Common issues:
    • Network connectivity problems preventing access to the JoggAI API.
    • Invalid or missing API credentials causing authentication failures.
    • Using an unsupported or incorrect aspect ratio value may result in empty results or errors.
  • Error messages:
    • Errors returned from the API will be logged with a prefix indicating a request failure.
    • If the node is set to continue on fail, errors will be included in the output as error objects per item.
  • Resolutions:
    • Verify API credentials and permissions.
    • Check network connectivity and firewall settings.
    • Ensure the aspect ratio filter uses one of the allowed options.

Links and References

Discussion