Wiro - Text To Video Klingai V2 1 Master icon

Wiro - Text To Video Klingai V2 1 Master

KlingAI v2.1 text to video generation tool. Generate 5s and 10s videos in 720p resolution at 30

Wiro - Text To Video Klingai V2 1 Master

AI-generated

Overview

This node integrates with the Wiro API to generate videos from text prompts using the KlingAI v2.1 model. It allows users to specify a prompt, negative prompt (to exclude certain elements), video duration (5 or 10 seconds), and a CFG scale that controls the flexibility of the video generation relative to the prompt. The node sends these parameters to the API, waits for the video generation task to complete by polling the task status, and then outputs the video URL and task status. This node is useful for automating video content creation based on textual descriptions, such as generating short promotional videos, visual storytelling, or creative content generation.

Use Case Examples

  1. Generating a 10-second video from a descriptive prompt for social media content.
  2. Creating a 5-second video excluding certain elements by specifying a negative prompt.
  3. Adjusting the CFG scale to control how strictly the video matches the prompt for creative flexibility.

Properties

Name Meaning
Prompt The text prompt used to generate the video content.
Negative Prompt Text specifying what to exclude from the generated video.
Video Seconds Total duration of the generated video in seconds, either 5 or 10 seconds.
CFG Scale Controls the flexibility of the video generation; higher values reduce flexibility and increase relevance to the prompt.

Output

JSON

  • taskid - The unique identifier of the video generation task.
  • url - The URL of the generated video once the task is completed.
  • status - The status of the video generation task, e.g., 'completed' or 'failed'.

Dependencies

  • Wiro API with API key and secret for authentication

Troubleshooting

  • If the node throws an error about missing task ID or socket access token, it indicates the Wiro API did not return expected data; check API credentials and request parameters.
  • If the task status is 'failed', the video generation did not complete successfully; verify prompt validity and API service status.
  • Network or authentication errors may occur if API keys are invalid or expired; ensure credentials are up to date.

Links

Discussion