Actions27
- Video Actions
- Avatar Actions
- Voice Actions
- Template Actions
- Product Actions
- AI Script Actions
- File Actions
- Music Actions
- Visual Style Actions
- Webhook Actions
Video → Generate Preview
AI-generatedOverview
This node operation generates a video preview using the JoggAI API. It is designed to create AI-generated video content based on various customizable parameters such as product ID, aspect ratio, video length, language, script style, avatar selection, visual styling, and voice options. This operation is useful for marketers, content creators, and businesses looking to automate video production with tailored scripts and visual elements.
Use Case Examples
- Generating a 15-second portrait video preview for a product using a soft selling script style and a public avatar.
- Creating a 30-second landscape video preview in French with a humorous script style and custom avatar.
- Producing a square video preview with captions enabled, using a specific template and voice ID for brand consistency.
Properties
| Name | Meaning |
|---|---|
| Product ID | Product ID obtained from the 'Create Product' step, used to identify the product for which the video preview is generated. |
| Aspect Ratio | The aspect ratio of the final video, selectable as Portrait (9:16), Landscape (16:9), or Square (1:1). |
| Video Length | The target duration of the video in seconds, with options 15, 30, or 60 seconds. |
| Language | The language used for script generation, supporting a wide range of languages including English, French, Spanish, Chinese, and many others. |
| Script Style | The writing style for the video content, such as Soft Selling, Humor & Meme, Expert Advice, or Immersive Storytelling. |
| Avatar Type | The source of the avatar to be used, either Public Avatars or Custom Avatars. |
| Avatar ID | The ID of the chosen avatar to present the video. |
| Template Type | The source of the template, either from the Template Library or from user's custom templates. |
| Template ID | The ID from the selected template library, optional to specify a particular template. |
| Visual Style | Visual style from the visual list, optional to specify a particular style for the video. |
| Voice ID | The ID of the voice to use for narration, optional to specify a particular voice. |
| Override Script | Optionally enter a script to override the one generated by the selected Script Style. |
| Show Captions | Boolean flag to indicate whether to render subtitles on the video. |
Output
JSON
videoId- The unique identifier of the generated video preview.status- The current status of the video generation process.previewUrl- The URL to access the generated video preview.script- The script content used or generated for the video.avatarId- The ID of the avatar used in the video.templateId- The ID of the template used for the video styling.
Dependencies
- JoggAI API
- API key credential for authentication
Troubleshooting
- Ensure the Product ID is valid and corresponds to an existing product in the JoggAI system.
- Verify that the selected Avatar ID and Template ID exist and are accessible with the provided credentials.
- Check that the API key credential is correctly configured and has the necessary permissions.
- Common error messages may include authentication failures, invalid parameter values, or resource not found errors. Resolving these typically involves verifying input parameters and API credentials.
Links
- JoggAI API Documentation - Official API documentation for JoggAI services.