Search Results for

    Show / Hide Table of Contents

    Class SoraVideoRequest

    Inheritance
    object
    SoraVideoRequest
    Implements
    IMultipartFormRequest
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.OpenAI
    Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
    Syntax
    public class SoraVideoRequest : IMultipartFormRequest

    Properties

    | Edit this page View Source

    InputReference

    Optional. Optional image reference that guides generation.

    Declaration
    [JsonProperty("input_reference")]
    public Texture2D InputReference { get; set; }
    Property Value
    Type Description
    Texture2D
    | Edit this page View Source

    IsMultipartFormRequest

    Indicates whether this request should be sent as multipart/form-data.

    Declaration
    [JsonIgnore]
    public bool IsMultipartFormRequest { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Model

    Optional. The video generation model to use. Defaults to sora-2.

    Declaration
    [JsonProperty("model")]
    public string Model { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Prompt

    Required. Text prompt that describes the video to generate.

    Declaration
    [JsonProperty("prompt")]
    public string Prompt { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Seconds

    Optional. Clip duration in seconds. Defaults to 4 seconds.

    Declaration
    [JsonProperty("seconds")]
    public string Seconds { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Size

    Optional. Output resolution formatted as width x height. Defaults to 720x1280.

    Declaration
    [JsonProperty("size")]
    public string Size { get; set; }
    Property Value
    Type Description
    string

    Implements

    IMultipartFormRequest

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation