Wiro - Text To Video Klingai V2 0 icon

Wiro - Text To Video Klingai V2 0

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

Wiro - Text To Video Klingai V2 0

AI-generated

Overview

This node integrates with the KlingAI v2.0 text-to-video generation API to create short videos based on user-provided text prompts. It supports generating videos of 5 or 10 seconds in 720p resolution at 30fps. Users can specify a prompt, a negative prompt to exclude unwanted elements, the video duration, and a CFG scale to control the model's adherence to the prompt. The node sends a request to the API, polls for task completion, and outputs the video URL and status once the generation is finished.

Use Case Examples

  1. Generating a 10-second video from a descriptive prompt for marketing content.
  2. Creating a 5-second video snippet excluding certain elements using the negative prompt feature.
  3. Adjusting the CFG scale to control how strictly the video matches the prompt.

Properties

Name Meaning
Prompt The text prompt used to generate the video.
Negative Prompt Elements or features the user wants to exclude from the video.
Video Seconds 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 adherence 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 API response does not include a valid task ID or socket access token, the node throws an error indicating an invalid response from the Wiro API.
  • Task status codes '-1', '-2', '-3', and '-4' indicate failure states; users should verify input parameters and API credentials if failures occur.
  • Network or authentication issues may cause HTTP request failures; ensure API credentials are correct and network connectivity is stable.

Links

Discussion