Enum GeminiContentType
Enum for the types of content able to be fed to the Gemini API.
public enum GeminiContentType
- Extension Methods
Fields
[EnumMember(Value = "application/json")] ApplicationJSON = 33
(File API) Application JSON content.
[EnumMember(Value = "application/pdf")] ApplicationPDF = 35
(File API) Application PDF content.
[EnumMember(Value = "application/rtf")] ApplicationRTF = 34
(File API) Application RTF content.
[EnumMember(Value = "application/x-javascript")] ApplicationXJavaScript = 30
(File API) Application JavaScript content.
[EnumMember(Value = "application/x-python-code")] ApplicationXPython = 32
(File API) Application Python content.
[EnumMember(Value = "application/x-typescript")] ApplicationXTypeScript = 31
(File API) Application TypeScript content.
[EnumMember(Value = "audio/aac")] AudioAAC = 8
AAC encoded audio.
[EnumMember(Value = "audio/aiff")] AudioAIFF = 7
AIFF encoded audio.
[EnumMember(Value = "audio/flac")] AudioFLAC = 10
FLAC encoded audio.
[EnumMember(Value = "audio/mp3")] AudioMP3 = 6
MP3 encoded audio.
[EnumMember(Value = "audio/ogg")] AudioOGG = 9
OGG encoded audio.
[EnumMember(Value = "audio/wav")] AudioWAV = 5
WAV encoded audio.
[EnumMember(Value = "image/heic")] ImageHEIC = 2
A HEIC image.
[EnumMember(Value = "image/heif")] ImageHEIF = 3
A HEIF image.
[EnumMember(Value = "image/jpeg")] ImageJPEG = 1
A JPEG image.
[EnumMember(Value = "image/png")] ImagePNG = 0
A PNG image.
[EnumMember(Value = "image/webp")] ImageWebP = 4
A WebP image.
[EnumMember(Value = "text/css")] TextCSS = 22
(File API) CSS text.
[EnumMember(Value = "text/csv")] TextCSV = 25
(File API) CSV text.
[EnumMember(Value = "text/html")] TextHTML = 21
(File API) HTML text.
[EnumMember(Value = "text/javascript")] TextJavaScript = 23
(File API) JavaScript text.
[EnumMember(Value = "text/markdown")] TextMarkdown = 26
(File API) Markdown text.
[EnumMember(Value = "text/plain")] TextPlain = 20
(File API) Plain text.
[EnumMember(Value = "text/rtf")] TextRTF = 29
(File API) RTF text.
[EnumMember(Value = "text/xml")] TextXML = 28
(File API) XML text.
[EnumMember(Value = "text/x-python")] TextXPython = 27
(File API) Python text.
[EnumMember(Value = "text/x-typescript")] TextXTypeScript = 24
(File API) TypeScript text.
[EnumMember(Value = "video/3gpp")] Video3GPP = 19
3GPP encoded video.
[EnumMember(Value = "video/avi")] VideoAVI = 14
AVI encoded video.
[EnumMember(Value = "video/mov")] VideoMOV = 13
MOV encoded video.
[EnumMember(Value = "video/mp4")] VideoMP4 = 11
MP4 encoded video.
[EnumMember(Value = "video/mpeg")] VideoMPEG = 12
MPEG encoded video.
[EnumMember(Value = "video/mpg")] VideoMPG = 16
MPG encoded video.
[EnumMember(Value = "video/wmv")] VideoWMV = 18
WMV encoded video.
[EnumMember(Value = "video/webm")] VideoWebM = 17
WebM encoded video.
[EnumMember(Value = "video/x-flv")] VideoXFLV = 15
FLV encoded video.