OpenAITextToImageExecutionSettings.ResponseFormat Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
urlORuri: causes the model to return an url for the generated images.b64_jsonorbytes: 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