Wiro - Sora 2 icon

Wiro - Sora 2

Explore the Sora 2 API with straightforward pricing and fast integration. Generate realistic vi

Wiro - Sora 2

AI-generated

Overview

This node integrates with the Wiro Sora 2 API to generate realistic videos based on a given prompt and optional input image URL. It allows users to specify the duration, resolution, and aspect ratio of the generated video. The node sends a request to the API, waits for the video generation task to complete by polling the task status, and then outputs the task status and video URL. This node is useful for automating video creation workflows where video content is generated from textual prompts and optionally enhanced with an input image.

Use Case Examples

  1. Generating a 12-second video at 720p resolution with a 16:9 aspect ratio from a text prompt.
  2. Creating a video with a custom input image URL to influence the video content.
  3. Automatically polling the Wiro API until the video generation task completes and retrieving the video URL for further processing.

Properties

Name Meaning
Input Image URL Optional. Provide an image file or an image URL to influence the video generation.
Prompt The prompt to generate the image, required to describe the video content.
Seconds Duration of the video in seconds.
Resolution Select option for video resolution.
Ratio Aspect ratio of the video. When 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, e.g., 'completed' or 'failed'.

Dependencies

  • Wiro API with API key and secret credentials

Troubleshooting

  • If the node throws an error indicating missing or invalid task ID or socket access token, verify that the Wiro API credentials are correct and that the API endpoint is reachable.
  • If the task status returns 'failed', check the prompt and input image URL for validity and ensure the API service is operational.
  • Polling may take time depending on video duration; ensure the node execution timeout is sufficient.

Links

Discussion