Sora 2 (Kie.ai) icon

Sora 2 (Kie.ai)

Generate videos using Sora 2 via Kie.ai API

Characters

AI-generated

Summary

Generate a video featuring consistent characters by providing a text prompt and optional character IDs for continuity, using the Sora 2 Characters model variant.

Inputs

  • Model — Choose between 'Sora 2 Characters Pro' and 'Sora 2 Characters' model variants to generate the characters video.
  • Prompt (required) — Provide a text prompt describing the desired video content.
  • Character IDs — Comma-separated list of character IDs for consistent characters to be preserved across videos.
  • Aspect Ratio — Select the video's aspect ratio: Landscape (16:9) or Portrait (9:16). Defaults to Landscape.
  • Duration — Set the video duration to either 10 or 15 seconds; default is 10 seconds.
  • Quality — Choose the output video quality, either High (1080p) or Standard (720p). Defaults to High.
  • Seed — Numerical seed for reproducibility of results; 0 means random seed.
  • Reply URL — Webhook URL to notify when the video generation task completes.
  • Reply Ref — Custom reference string passed back in the webhook callback.
  • Captcha Token — reCAPTCHA token if required by the API.
  • Wait for Completion — Boolean flag to wait for task completion before continuing; defaults to true and polls every 3 seconds with a 5-minute timeout.

Output shape

a list containing the API response objects for the video generation task; if 'Wait for Completion' is true, each response includes the final completed task details

The node sends a POST request to create a character video generation task with the specified parameters. If 'Wait for Completion' is enabled, it polls the task status every 3 seconds until success or failure or until a 5-minute timeout. The response includes nested JSON parsing of result URLs for easy access in subsequent nodes. Errors are returned in the output array if continuation on failure is enabled.

Links

Discussion