Class SoraVideoRequest
Implements
Inherited Members
Namespace: Glitch9.AIDevKit.OpenAI
Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
Syntax
public class SoraVideoRequest : IMultipartFormRequest
Properties
| Edit this page View SourceInputReference
Optional. Optional image reference that guides generation.
Declaration
[JsonProperty("input_reference")]
public Texture2D InputReference { get; set; }
Property Value
| Type | Description |
|---|---|
| Texture2D |
IsMultipartFormRequest
Indicates whether this request should be sent as multipart/form-data.
Declaration
[JsonIgnore]
public bool IsMultipartFormRequest { get; }
Property Value
| Type | Description |
|---|---|
| bool |
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 |
Prompt
Required. Text prompt that describes the video to generate.
Declaration
[JsonProperty("prompt")]
public string Prompt { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Seconds
Optional. Clip duration in seconds. Defaults to 4 seconds.
Declaration
[JsonProperty("seconds")]
public string Seconds { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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 |