Lingua

OpenAITextToImageExecutionSettings.Size Property

Definition

Optional width and height of the generated image.

public(int Width, int Height)? Size { get; set; }
member this.Size : Nullable<ValueTuple<int, int>> with get, set
Public Property Size As Nullable(Of ValueTuple(Of Integer, Integer))

Property Value

Remarks

  • Must be one of 256x256, 512x512, or 1024x1024 for dall-e-2 model.
  • Must be one of 1024x1024, 1792x1024, 1024x1792 for dall-e-3 model.

Applies to