JoggAI icon

JoggAI

Interact with the JoggAI API to create and manage AI videos

Overview

The "AI Script" resource with the "Generate" operation in this node enables users to create AI-generated video scripts tailored to a specific product. It supports multiple languages and allows input either by referencing an existing product ID or by manually providing product details such as name, description, and target audience. This node is useful for marketers, content creators, and e-commerce professionals who want to quickly generate engaging video scripts for product promotion without manual scripting.

Practical examples include:

  • Automatically generating a 30-second promotional script in French for a newly launched gadget using its product ID.
  • Creating a 15-second English script for a handmade craft product by manually entering its details and specifying the target audience as "eco-conscious consumers."

Properties

Name Meaning
Language The language in which the script will be generated. Options include English, Filipino, French, German, Hindi, Indonesian, Italian, Japanese, Korean, Malay, Portuguese, Russian, Spanish, Thai, Vietnamese, Arabic, Greek, Turkish, Slovenian, Croatian, Romanian, Simplified Chinese, Bengali, Urdu, Hungarian, Traditional Chinese, Polish, Cantonese, Danish, Malayalam, Tamil, Telugu, Czech, Hebrew, Zulu, Swedish, Lithuanian, Dutch, Flemish, Norwegian, Finnish, Bulgarian, Latvian, Ukrainian, Mongolian, Persian, Odia, Assamese, Kannada, Tagalog, Amharic, Serbian, Slovak, Swahili.
Product Source Selects how product information is provided: either by using an existing product ID ("By Product ID") or by manually entering product details ("By Manual Details").
Product ID The identifier of a previously created product. Required if "Product Source" is set to "By Product ID".
Product Name The name of the product. Required if "Product Source" is set to "By Manual Details".
Product Description A detailed introduction and selling points of the product. Required if "Product Source" is set to "By Manual Details".
Target Audience Optional field describing the intended audience for the product (e.g., "Tech-savvy millennials"). Used only when product details are entered manually.
Video Length Optional setting to specify the desired length of the generated video script. Options are 15 seconds, 30 seconds, or 60 seconds.

Output

The node outputs JSON data containing the generated AI script text tailored to the specified product and language. The output typically includes the script content suitable for use in video creation workflows. There is no indication that binary data is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the JoggAI API service.
  • The node depends on the external JoggAI API to perform AI script generation.
  • Proper configuration of the API key credential within n8n is necessary for successful execution.

Troubleshooting

  • Common Issues:

    • Missing or invalid API key credential can cause authentication failures.
    • Providing incomplete product details when "By Manual Details" is selected may result in errors or poor-quality scripts.
    • Selecting unsupported language options or invalid product IDs might lead to API errors.
  • Error Messages:

    • Errors related to authentication usually indicate issues with the API key setup; verify the credential configuration.
    • Validation errors about missing required fields suggest checking that all mandatory properties (like product name and description) are filled when manual input is used.
    • Network or API response errors may require retrying or checking the status of the JoggAI service.

Links and References

  • JoggAI Documentation (placeholder link based on the node's documentation URL constant)
  • For best results, refer to the official JoggAI API documentation regarding supported languages and script generation parameters.

Discussion