Lingua

OpenAITextToImageExecutionSettings.ResponseFormat Property

Definition

The format of the generated images. Can be a OpenAI.Images.GeneratedImageFormat or a string where:

  • OpenAI.Images.GeneratedImageFormat: causes the model to generated in the provided format
  • url OR uri: causes the model to return an url for the generated images.
  • b64_json or bytes: causes the model to return in a Base64 format the content of the images.
[System.Text.Json.Serialization.JsonPropertyName("response_format")]
public object? ResponseFormat { get; set; }
[<System.Text.Json.Serialization.JsonPropertyName("response_format")>]
member this.ResponseFormat : obj with get, set
Public Property ResponseFormat As Object

Property Value

Attributes

Applies to