Class ImageData
public sealed class ImageData
- Inheritance
-
objectImageData
Properties
Detail
Specifies the detail level of the image. low uses fewer tokens, you can opt in to high resolution using high. Default value is auto
public OpenAITypes.ImageDetail? Detail { get; set; }
Property Value
FileId
The ID of the file to be sent to the model.
public string FileId { get; set; }
Property Value
- string
Url
The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL.
public string Url { get; set; }
Property Value
- string
Methods
GetBase64Data()
public string GetBase64Data()
Returns
- string
IsBase64()
Indicates if the image is in base64 format. This is true if the URL starts with "data:image/png;base64,".
public bool IsBase64()
Returns
- bool
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.