Wiro - Image To Video Klingai V2 0
AI-generatedOverview
This node integrates with the KlingAI v2.0 image-to-video generation API to create short videos (5 or 10 seconds) from a given first frame image URL and a text prompt. It is useful for generating AI-driven video content based on user prompts, with options to specify negative prompts and control the video duration and generation flexibility.
Use Case Examples
- Generating a 10-second video from a single image URL and a descriptive prompt for marketing content.
- Creating a 5-second video clip with specific elements excluded using the negative prompt feature.
Properties
| Name | Meaning |
|---|---|
| Image First URL | The URL of the first frame image to start the video generation. |
| Prompt | The text prompt describing what the video should depict. |
| Negative Prompt | Text describing elements or features to exclude from the video. |
| Video Seconds | The total duration of the generated video in seconds, selectable between 5 and 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 key and secret credentials 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 these occur.
- Network or authentication issues may cause HTTP request failures; ensure valid API credentials and network connectivity.
Links
- Wiro API Documentation - Official API endpoint used for image-to-video generation.