JoggAI icon

JoggAI

Interact with the JoggAI API to create and manage AI videos

Overview

This node interacts with the JoggAI API to manage AI-generated content, including videos, avatars, voices, templates, and more. Specifically, for the Avatar resource and the Check Photo Generation Status operation, it allows users to check the current status of a photo generation task by providing its unique photo ID. This is useful in workflows where you initiate an avatar photo generation asynchronously and need to poll or verify when the photo is ready or if it encountered any issues.

Practical example:
You start generating an avatar photo in one workflow step, receive a photo ID, then use this node configured with that photo ID to check if the photo generation has completed successfully before proceeding to further steps like downloading or displaying the avatar image.

Properties

Name Meaning
Photo ID The unique identifier of the photo generation task whose status you want to check.

Output

The node outputs JSON data representing the status of the photo generation task associated with the provided Photo ID. This typically includes fields such as:

  • Current status (e.g., pending, processing, completed, failed)
  • Any relevant metadata about the photo generation process
  • Possibly URLs or identifiers for the generated photo once ready

If the node supports binary data output (not explicitly shown here), it would likely be the actual generated photo file or related media.

Dependencies

  • Requires an active connection to the JoggAI API via an API key credential.
  • The node depends on the JoggAI service being available and responsive.
  • Proper configuration of the API authentication token in n8n credentials is necessary.

Troubleshooting

  • Common issues:

    • Providing an invalid or expired Photo ID will result in errors or no meaningful status.
    • Network or API downtime can cause request failures.
    • Missing or incorrect API credentials will prevent successful communication.
  • Error messages:

    • "request failed: <error message>" indicates an issue during the API call; check network connectivity and API key validity.
    • If the node throws an error about missing parameters, ensure the Photo ID is correctly set and not empty.
  • Resolutions:

    • Verify the Photo ID format matches expected UUID style.
    • Confirm API credentials are correctly configured and have required permissions.
    • Use the node’s "Continue On Fail" option to handle intermittent API errors gracefully in workflows.

Links and References

Discussion