Wiro - Sora 2 Pro icon

Wiro - Sora 2 Pro

Explore the Sora 2 Pro API with clear pricing and simple integration. Create high quality video

Wiro - Sora 2 Pro

AI-generated

Overview

This node integrates with the Wiro - Sora 2 Pro API to generate high-quality videos based on a given prompt and optional input image URL. It allows users to specify video duration, resolution, and aspect ratio. The node sends a request to the API to start the video generation task, then polls the task status until completion, returning the final video URL or failure status.

Use Case Examples

  1. Generate a 12-second 1080p video from a text prompt with an optional input image URL.
  2. Create a 4-second 720p video with a vertical 9:16 aspect ratio based on a descriptive prompt.

Properties

Name Meaning
Input Image URL Optional URL or file path of an image to use as input for video generation.
Prompt The text prompt used to generate the video content.
Seconds Duration of the generated video in seconds.
Resolution Resolution of the generated video.
Ratio Aspect ratio of the video. If set to auto, the system detects the image's aspect ratio and chooses the closest option (16:9 or 9:16). Defaults to 16:9 if no image is provided.

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, either '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.
  • Polling the task status may fail or timeout if the task ID or socket access token is incorrect or expired.
  • Ensure that the API credentials (API key and secret) are correctly configured and valid.

Links

Discussion