Wiro - Image To Video Hailuo 02
AI-generatedOverview
This node generates a video from one or two input images using the Wiro API. It allows users to specify the first frame image URL, an optional last frame image URL, a prompt to guide the video generation, and options for prompt optimization, resolution, and duration. The output video maintains the aspect ratio of the first image. This node is useful for creating short videos from static images with AI-generated transitions or effects based on the prompt.
Use Case Examples
- Creating a 10-second video at 768P resolution from a single image with a descriptive prompt to generate dynamic content.
- Generating a 6-second 1080P video transitioning between two images with prompt optimization enabled for improved quality.
Properties
| Name | Meaning |
|---|---|
| Image First URL | URL of the first frame image for video generation; determines the output video's aspect ratio. |
| Image Last URL | Optional URL of the last frame image for video generation to create a transition effect. |
| Prompt | Text prompt to guide the video generation process. |
| Prompt Optimizer | Option to enable or disable automatic prompt optimization to improve generation quality. |
| Resolution | Video resolution; 1080P supports only 6-second videos, 768P supports 10 seconds. |
| Duration | Duration of the output video in seconds; 6 seconds for 1080P, 10 seconds for 768P. |
Output
JSON
taskid- Identifier of the video generation task.url- URL of the generated video if the task completed successfully.status- Status of the video generation task; can be 'completed' or 'failed'.
Dependencies
- Wiro API with API key and secret for authentication
Troubleshooting
- Error if the Wiro API does not return a valid task ID or socket access token; ensure API credentials are correct and the API endpoint is reachable.
- Task status '-1', '-2', '-3', or '-4' indicates failure; check input parameters and API limits or errors.
Links
- Wiro API Documentation for Image to Video - Official API endpoint used by the node for video generation.