Wiro - Text To Video Hailuo 02 icon

Wiro - Text To Video Hailuo 02

MiniMax

Wiro - Text To Video Hailuo 02

AI-generated

Overview

This node generates a video from a text prompt using the Wiro API's MiniMax text-to-video model (hailuo-02). It allows users to specify the prompt, whether to optimize the prompt automatically, the video resolution, and the duration. The node sends a request to the API, waits for the video generation task to complete by polling, and then outputs the task status and video URL. This node is useful for creating short videos from textual descriptions, such as marketing clips, social media content, or creative storytelling visuals.

Use Case Examples

  1. Generating a 10-second 768P video from a detailed text prompt for social media advertising.
  2. Creating a 6-second 1080P video from a concise prompt for a product demo.

Properties

Name Meaning
Prompt The text prompt used to generate the video.
Prompt Optimizer Whether the model should automatically optimize the prompt to improve generation quality. 'True' enables optimization; 'False' disables it for stricter adherence to the prompt.
Resolution The resolution of the generated video. '1080P' produces 6-second videos only; '768P' supports longer durations.
Duration The length of the generated video in seconds. If resolution is 1080P, duration is fixed at 6 seconds. 10-second videos are only available for 768P resolution.

Output

JSON

  • taskid - The unique identifier of the video generation task.
  • url - The URL to access 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 indicating missing or invalid task ID or socket access token, verify that the API credentials are correct and the Wiro API is accessible.
  • If the video generation task status is 'failed', check the prompt quality and parameters such as resolution and duration for compatibility.
  • Network or authentication issues may cause HTTP request failures; ensure valid API keys and network connectivity.

Links

Discussion