Wiro - P-Video: Text-to-Video Generator icon

Wiro - P-Video: Text-to-Video Generator

Create stunning videos from text prompts with P-Video AI. Perfect for creators, marketers, and

Wiro - P-Video: Text-to-Video Generator

AI-generated

Overview

This node generates videos from text prompts using the P-Video AI service by Wiro. It is useful for creators, marketers, and anyone needing to create short videos based on textual descriptions. Users can customize video properties such as input image URL, aspect ratio, duration, resolution, frames per second, optional audio input, random seed, and options for saving audio, draft mode, and prompt upsampling.

Use Case Examples

  1. Creating a 5-second 1080p video from a text prompt for social media marketing.
  2. Generating a video with a specific input image and audio to create a personalized promotional clip.
  3. Producing a draft preview video to quickly review the output before final rendering.

Properties

Name Meaning
Prompt Text input for the video generation prompt.
Input Image URL URL of an image to use as input for the video generation.
Ratio Aspect ratio of the video if no input image is provided.
Duration Length of the video in seconds (1-10). Ignored if audio is provided.
Resolution Video resolution, either 1080p or 720p.
Fps Frames per second for the video.
Input Audio URL Optional audio file URL to condition the video (formats: flac, mp3, wav).
Seed Random seed for video generation; leave empty to randomize.
Save Audio Option to save the video with audio if no audio file is provided.
Draft Mode Generate a lower-quality preview if set to true.
Prompt Upsampling Automatically enhance the prompt if set to true.

Output

JSON

  • taskid - Identifier of the video generation task.
  • url - URL of the generated video if completed.
  • status - Status of the video generation task (completed or failed).

Dependencies

  • Requires Wiro API credentials (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.
  • Network or authentication issues may cause HTTP request failures; ensure valid API credentials and network connectivity.
  • If the task status is '-1', '-2', '-3', or '-4', the video generation is considered failed; check the prompt and input parameters for correctness.

Links

Discussion