Overview
This node enables the creation of interactive quizzes by defining quiz questions, answers, and various presentation settings. It is designed to generate a quiz video with narration and customizable visual themes. Typical use cases include educational content creation, training modules, or engaging social media quizzes where users want to automate quiz generation with voice narration and styled backgrounds.
For example, an educator could use this node to quickly produce a geography quiz video with narrated questions and answers, customized voice settings, and a themed background, ready for sharing with students.
Properties
| Name | Meaning |
|---|---|
| Name | The title or name of the quiz video. |
| Questions | An array of quiz questions. Each question includes: |
| - Question Text: The text of the question. | |
| - Answers: A list of possible answers for the question, each with answer text. | |
| Voice Settings | Settings for the narration voice, including: |
| - Voice ID: Identifier for the voice to be used. | |
| - Stability: Controls voice stability (0-1). | |
| - Similarity Boost: Adjusts how closely the voice matches the original (0-1). | |
| - Style Exaggeration: Degree of style exaggeration in speech (0-1). | |
| Answer Template | Template string for formatting the answer text, e.g., "The answer is {{answer}}". |
| Theme | Visual theme of the quiz video; options are "Light" or "Dark". |
| Question Display Time | Duration in seconds to display each question on screen. |
| Answer Display Time | Duration in seconds to display each answer on screen. |
| Show Correct Answers | Boolean flag indicating whether correct answers should be highlighted. |
| Background Settings | Configuration for the video background, including: |
| - Background Type: Choose from "Preset", "Generate" (AI-generated), or "Upload". | |
| - Preset Prompt: Identifier or prompt for preset backgrounds (shown if "Preset" selected). | |
| - Custom Prompt: AI generation prompt for background (shown if "Generate" selected). | |
| - Selected Background ID: ID of chosen preset background (shown if "Preset" selected). | |
| - Uploaded File URL: URL to a user-uploaded background file (shown if "Upload" selected). | |
| - AI Generation Prompt: Alternative prompt for AI background generation (shown if "Generate"). |
Output
The node outputs JSON data representing the generated quiz video details. This typically includes metadata about the created quiz, such as video URLs, status, or identifiers returned by the external service. If the node supports binary output (e.g., video files), it would provide the video data accordingly, but this is not explicitly detailed here.
Dependencies
- Requires an API key credential for authenticating with the external edero.ai API.
- The node sends requests to the edero.ai service endpoint specified in the credentials.
- No other external dependencies are indicated.
Troubleshooting
- Authentication errors: Ensure that the API key credential is correctly configured and valid.
- Invalid input data: Required fields like question text and answer text must be provided; missing these may cause errors.
- Background settings mismatch: Selecting "Upload" background type requires a valid URL to a background file; omitting this will likely cause failures.
- Voice settings out of range: Values for stability, similarity boost, and style exaggeration must be between 0 and 1.
- API connectivity issues: Verify network access to the edero.ai API endpoint and correct base URL configuration.
Links and References
- edero.ai official website (for API documentation and voice/background options)
- n8n documentation on creating custom nodes and using credentials (for setup guidance)