Skip to main content
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
The OpenAIVideoSora2 node generates videos using OpenAI’s Sora models. It creates video content based on text prompts and optional input images, then returns the generated video output. The node supports different video durations and resolutions depending on the selected model.

Inputs

ParameterData TypeRequiredRangeDescription
modelCOMBOYes”sora-2"
"sora-2-pro”
The OpenAI Sora model to use for video generation (default: “sora-2”)
promptSTRINGYes-Guiding text; may be empty if an input image is present (default: empty)
sizeCOMBOYes”720x1280"
"1280x720"
"1024x1792"
"1792x1024”
The resolution for the generated video (default: “1280x720”)
durationCOMBOYes4
8
12
The duration of the generated video in seconds (default: 8)
imageIMAGENo-Optional input image for video generation
seedINTNo0 to 2147483647Seed to determine if node should re-run; actual results are nondeterministic regardless of seed (default: 0)
Constraints and Limitations:
  • The “sora-2” model only supports “720x1280” and “1280x720” resolutions
  • Only one input image is supported when using the image parameter
  • Results are nondeterministic regardless of the seed value

Outputs

Output NameData TypeDescription
outputVIDEOThe generated video output