For Imagen models, use the :predict suffix (e.g., imagen-3.0-generate-001:predict).
For Gemini models, use :generateContent with generationConfig.responseModalities: ["IMAGE"] in the request body.
POST
/
genai
/
v1beta
/
models
/
{model}
:predict
Error
A valid request URL is required to generate request examples
Bearer token authentication. Use your provider API key or Vikat authentication token.
Virtual keys (prefixed with sk-vk-, or the legacy sk-bf-) can also be passed here.
Model name with action suffix. For Imagen models, use :predict (e.g., imagen-3.0-generate-001:predict).
For Gemini models with image generation, use :generateContent (e.g., gemini-1.5-pro:generateContent).
Successful response. Returns JSON with generated image data in candidates[0].content.parts[0].inlineData.
When streaming, events are sent via Server-Sent Events (SSE).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"Vikat","colors":{"primary":"#0C3B43","light":"#07C983"},"logo":{"light":"https://mintcdn.com/vikat-ai/Xw_qzY8whhWmfPh3/media/vikat-logo.png?fit=max\u0026auto=format\u0026n=Xw_qzY8whhWmfPh3\u0026q=85\u0026s=1bce49f93b955ed9b64346a96466adfd","dark":"https://mintcdn.com/vikat-ai/dtGbonSkiZn6zZKE/media/vikat-logo-dark.png?fit=max\u0026auto=format\u0026n=dtGbonSkiZn6zZKE\u0026q=85\u0026s=97f9b62ceea92c66a50178a7a9d91a0e"},"favicon":"https://mintcdn.com/vikat-ai/NdGPuqWLiDOdPaJ6/favicon.ico?fit=max\u0026auto=format\u0026n=NdGPuqWLiDOdPaJ6\u0026q=85\u0026s=e571d9644566f9530b0f3d4fa084753f","navbar":{"links":[{"icon":"github","href":"https://vikat.local","label":"GitHub"}]},"footer":{"socials":{"github":"https://vikat.local"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vikat-ai","hasAudioNarration":false,"actualSubdomain":"vikat-ai","customDomains":["docs.vikat.ai"],"gitSource":{"type":"github","owner":"vikat-ai","repo":"vikat-gateway","deployBranch":"rebrand/vikat-gateway","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"}},"buildId":"6ab6c9d4dcef7527f446a72e","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"API","count":404},{"language":"default","tag":"API Reference","count":404},{"language":"default","tag":"OSS","count":103},{"language":"default","tag":"Governance","count":49},{"language":"default","tag":"OpenAI Integration","count":47},{"language":"default","tag":"Integrations","count":43},{"language":"default","tag":"Providers \u0026 Guides","count":38},{"language":"default","tag":"Deployment Guides","count":36},{"language":"default","tag":"Logging","count":30},{"language":"default","tag":"Supported Providers","count":29}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".nav-logo{height:1.50rem}#sidebar-group>li>button>div{line-height:normal}"}],"page":{"pagePath":"api-reference/genai-integration/generate-image-gemini-format","slug":"/api-reference/genai-integration/generate-image-gemini-format","pageMetadata":{"title":"Generate image (Gemini format)","description":"For Imagen models, use the `:predict` suffix (e.g., `imagen-3.0-generate-001:predict`).\nFor Gemini models, use `:generateContent` with `generationConfig.responseModalities: [\"IMAGE\"]` in the request body.\n","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/v1beta/models/{model}:predict","href":"/api-reference/genai-integration/generate-image-gemini-format","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"For Imagen models, use the \", _jsx(_components.code, {\n children: \":predict\"\n }), \" suffix (e.g., \", _jsx(_components.code, {\n children: \"imagen-3.0-generate-001:predict\"\n }), \").\\nFor Gemini models, use \", _jsx(_components.code, {\n children: \":generateContent\"\n }), \" with \", _jsx(_components.code, {\n children: \"generationConfig.responseModalities: [\\\"IMAGE\\\"]\"\n }), \" in the request body.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Generate image (Gemini format)","description":"For Imagen models, use the `:predict` suffix (e.g., `imagen-3.0-generate-001:predict`).\nFor Gemini models, use `:generateContent` with `generationConfig.responseModalities: [\"IMAGE\"]` in the request body.\n","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/v1beta/models/{model}:predict","href":"/api-reference/genai-integration/generate-image-gemini-format","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/vikat-ai/75ed5d49c5b6d441/baseUrlSwitcher.js","/_mintlify/custom/vikat-ai/d8c2d2af23ad55cd/jsonLd.js","/_mintlify/custom/vikat-ai/c6dc09a69a0e6891/supportWidget.js","/_mintlify/custom/vikat-ai/aa532cead633d329/tally-embed.js"],"openApiReferenceData":{"operation":{"operationId":"geminiGenerateImage","summary":"Generate image (Gemini format)","description":"For Imagen models, use the `:predict` suffix (e.g., `imagen-3.0-generate-001:predict`).\nFor Gemini models, use `:generateContent` with `generationConfig.responseModalities: [\"IMAGE\"]` in the request body.\n","tags":["GenAI Integration"],"parameters":["002df8ba-b6b2-4170-b492-3bf4fbd898c9"],"requestBody":"c9419499-359f-478b-aa74-cb57e7fde646","responses":{"200":"9ba40626-a942-4865-8065-03b1074a61cf","400":"9f4c6b82-2ee4-477a-a90f-5e38462168ae","500":"19f57d82-9c43-407a-8a6e-1f673119ea74"},"security":["668d822d-84f8-4fc3-92a1-305648c076a6","e99a9030-8acb-4312-b86d-c00e445709a9","26585bce-d530-4592-9d59-a89d1b2ff932","006bece4-fbbc-428b-bfc3-cc29669f79a4"],"method":"post","type":"path","servers":["8951c53d-a6f0-474f-9a6d-17023ea6d3c7"],"path":"/genai/v1beta/models/{model}:predict","baseUrlOptions":["{baseUrl}"],"title":"Generate image (Gemini format)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"002df8ba-b6b2-4170-b492-3bf4fbd898c9":{"name":"model","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"Model name with action suffix. For Imagen models, use `:predict` (e.g., `imagen-3.0-generate-001:predict`).\nFor Gemini models with image generation, use `:generateContent` (e.g., `gemini-1.5-pro:generateContent`).\n","uniqueKey":"","typeLabel":"string"},"description":"Model name with action suffix. For Imagen models, use `:predict` (e.g., `imagen-3.0-generate-001:predict`).\nFor Gemini models with image generation, use `:generateContent` (e.g., `gemini-1.5-pro:generateContent`).\n"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","description":"Model field for explicit model specification","uniqueKey":"model","typeLabel":"string"},"contents":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["user","model"],"description":"The producer of the content. Must be either 'user' or 'model'","uniqueKey":"contents.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"parts":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","description":"Text part (can be code)","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].text","typeLabel":"string"},"thought":{"type":"boolean","description":"Indicates if the part is thought from the model","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].thought","typeLabel":"boolean"},"thoughtSignature":{"type":"string","format":"byte","description":"Opaque signature for thought that can be reused in subsequent requests","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].thoughtSignature","typeLabel":"string\u003cbyte>"},"inlineData":{"type":"object","properties":{"mimeType":{"type":"string","description":"The IANA standard MIME type of the source data","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].inlineData.mimeType","typeLabel":"string"},"data":{"type":"string","format":"byte","description":"Base64-encoded raw bytes","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].inlineData.data","typeLabel":"string\u003cbyte>"},"displayName":{"type":"string","description":"Display name of the blob (not currently used in GenerateContent calls)","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].inlineData.displayName","typeLabel":"string"}},"uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].inlineData","typeLabel":"object"},"fileData":{"type":"object","properties":{"mimeType":{"type":"string","description":"The IANA standard MIME type of the source data","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].fileData.mimeType","typeLabel":"string"},"fileUri":{"type":"string","description":"URI of the file","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].fileData.fileUri","typeLabel":"string"},"displayName":{"type":"string","description":"Display name of the file data","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].fileData.displayName","typeLabel":"string"}},"uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].fileData","typeLabel":"object"},"functionCall":{"type":"object","properties":{"id":{"type":"string","description":"Unique ID of the function call. If populated, client should return response with matching id","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].functionCall.id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to call. Matches FunctionDeclaration.name","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].functionCall.name","typeLabel":"string"},"args":{"type":"object","description":"Function parameters and values in JSON object format","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].functionCall.args","typeLabel":"object"}},"uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].functionCall","typeLabel":"object"},"functionResponse":{"type":"object","properties":{"id":{"type":"string","description":"ID of the function call this response is for. Matches FunctionCall.id","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].functionResponse.id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function. Matches FunctionDeclaration.name and FunctionCall.name","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].functionResponse.name","typeLabel":"string"},"response":{"type":"object","description":"Function response in JSON object format. Use \"output\" key for output and \"error\" key for error details","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].functionResponse.response","typeLabel":"object"},"willContinue":{"type":"boolean","description":"Signals that function call continues (NON_BLOCKING only). If false, future responses will not be considered","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].functionResponse.willContinue","typeLabel":"boolean"},"scheduling":{"type":"string","description":"How the response should be scheduled (NON_BLOCKING only). Defaults to WHEN_IDLE","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].functionResponse.scheduling","typeLabel":"string"}},"uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].functionResponse","typeLabel":"object"},"executableCode":{"type":"object","properties":{"language":{"type":"string","description":"Programming language of the code","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].executableCode.language","typeLabel":"string"},"code":{"type":"string","description":"The code to be executed","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].executableCode.code","typeLabel":"string"}},"uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].executableCode","typeLabel":"object"},"codeExecutionResult":{"type":"object","properties":{"outcome":{"type":"string","enum":["OUTCOME_UNSPECIFIED","OUTCOME_OK","OUTCOME_FAILED","OUTCOME_DEADLINE_EXCEEDED"],"description":"Outcome of the code execution","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].codeExecutionResult.outcome","typeLabel":"enum\u003cstring>"},"output":{"type":"string","description":"Contains stdout when successful, stderr or other description otherwise","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].codeExecutionResult.output","typeLabel":"string"}},"uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].codeExecutionResult","typeLabel":"object"},"videoMetadata":{"type":"object","properties":{"fps":{"type":"number","description":"Frame rate of the video. Range is (0.0, 24.0]","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].videoMetadata.fps","typeLabel":"number"},"startOffset":{"type":"string","description":"Start offset of the video","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].videoMetadata.startOffset","typeLabel":"string"},"endOffset":{"type":"string","description":"End offset of the video","uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].videoMetadata.endOffset","typeLabel":"string"}},"uniqueKey":"contents.items.[INDEX].parts.items.[INDEX].videoMetadata","typeLabel":"object"}},"uniqueKey":"contents.items.[INDEX].parts.items.[INDEX]","typeLabel":"object"},"description":"List of parts that constitute a single message","uniqueKey":"contents.items.[INDEX].parts","typeLabel":"object[]"}},"uniqueKey":"contents.items.[INDEX]","typeLabel":"object"},"description":"Content for the model to process","uniqueKey":"contents","typeLabel":"object[]"},"systemInstruction":{"type":"object","properties":{"role":{"type":"string","enum":["user","model"],"description":"The producer of the content. Must be either 'user' or 'model'","uniqueKey":"systemInstruction.role","typeLabel":"enum\u003cstring>"},"parts":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","description":"Text part (can be code)","uniqueKey":"systemInstruction.parts.items.[INDEX].text","typeLabel":"string"},"thought":{"type":"boolean","description":"Indicates if the part is thought from the model","uniqueKey":"systemInstruction.parts.items.[INDEX].thought","typeLabel":"boolean"},"thoughtSignature":{"type":"string","format":"byte","description":"Opaque signature for thought that can be reused in subsequent requests","uniqueKey":"systemInstruction.parts.items.[INDEX].thoughtSignature","typeLabel":"string\u003cbyte>"},"inlineData":{"type":"object","properties":{"mimeType":{"type":"string","description":"The IANA standard MIME type of the source data","uniqueKey":"systemInstruction.parts.items.[INDEX].inlineData.mimeType","typeLabel":"string"},"data":{"type":"string","format":"byte","description":"Base64-encoded raw bytes","uniqueKey":"systemInstruction.parts.items.[INDEX].inlineData.data","typeLabel":"string\u003cbyte>"},"displayName":{"type":"string","description":"Display name of the blob (not currently used in GenerateContent calls)","uniqueKey":"systemInstruction.parts.items.[INDEX].inlineData.displayName","typeLabel":"string"}},"uniqueKey":"systemInstruction.parts.items.[INDEX].inlineData","typeLabel":"object"},"fileData":{"type":"object","properties":{"mimeType":{"type":"string","description":"The IANA standard MIME type of the source data","uniqueKey":"systemInstruction.parts.items.[INDEX].fileData.mimeType","typeLabel":"string"},"fileUri":{"type":"string","description":"URI of the file","uniqueKey":"systemInstruction.parts.items.[INDEX].fileData.fileUri","typeLabel":"string"},"displayName":{"type":"string","description":"Display name of the file data","uniqueKey":"systemInstruction.parts.items.[INDEX].fileData.displayName","typeLabel":"string"}},"uniqueKey":"systemInstruction.parts.items.[INDEX].fileData","typeLabel":"object"},"functionCall":{"type":"object","properties":{"id":{"type":"string","description":"Unique ID of the function call. If populated, client should return response with matching id","uniqueKey":"systemInstruction.parts.items.[INDEX].functionCall.id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to call. Matches FunctionDeclaration.name","uniqueKey":"systemInstruction.parts.items.[INDEX].functionCall.name","typeLabel":"string"},"args":{"type":"object","description":"Function parameters and values in JSON object format","uniqueKey":"systemInstruction.parts.items.[INDEX].functionCall.args","typeLabel":"object"}},"uniqueKey":"systemInstruction.parts.items.[INDEX].functionCall","typeLabel":"object"},"functionResponse":{"type":"object","properties":{"id":{"type":"string","description":"ID of the function call this response is for. Matches FunctionCall.id","uniqueKey":"systemInstruction.parts.items.[INDEX].functionResponse.id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function. Matches FunctionDeclaration.name and FunctionCall.name","uniqueKey":"systemInstruction.parts.items.[INDEX].functionResponse.name","typeLabel":"string"},"response":{"type":"object","description":"Function response in JSON object format. Use \"output\" key for output and \"error\" key for error details","uniqueKey":"systemInstruction.parts.items.[INDEX].functionResponse.response","typeLabel":"object"},"willContinue":{"type":"boolean","description":"Signals that function call continues (NON_BLOCKING only). If false, future responses will not be considered","uniqueKey":"systemInstruction.parts.items.[INDEX].functionResponse.willContinue","typeLabel":"boolean"},"scheduling":{"type":"string","description":"How the response should be scheduled (NON_BLOCKING only). Defaults to WHEN_IDLE","uniqueKey":"systemInstruction.parts.items.[INDEX].functionResponse.scheduling","typeLabel":"string"}},"uniqueKey":"systemInstruction.parts.items.[INDEX].functionResponse","typeLabel":"object"},"executableCode":{"type":"object","properties":{"language":{"type":"string","description":"Programming language of the code","uniqueKey":"systemInstruction.parts.items.[INDEX].executableCode.language","typeLabel":"string"},"code":{"type":"string","description":"The code to be executed","uniqueKey":"systemInstruction.parts.items.[INDEX].executableCode.code","typeLabel":"string"}},"uniqueKey":"systemInstruction.parts.items.[INDEX].executableCode","typeLabel":"object"},"codeExecutionResult":{"type":"object","properties":{"outcome":{"type":"string","enum":["OUTCOME_UNSPECIFIED","OUTCOME_OK","OUTCOME_FAILED","OUTCOME_DEADLINE_EXCEEDED"],"description":"Outcome of the code execution","uniqueKey":"systemInstruction.parts.items.[INDEX].codeExecutionResult.outcome","typeLabel":"enum\u003cstring>"},"output":{"type":"string","description":"Contains stdout when successful, stderr or other description otherwise","uniqueKey":"systemInstruction.parts.items.[INDEX].codeExecutionResult.output","typeLabel":"string"}},"uniqueKey":"systemInstruction.parts.items.[INDEX].codeExecutionResult","typeLabel":"object"},"videoMetadata":{"type":"object","properties":{"fps":{"type":"number","description":"Frame rate of the video. Range is (0.0, 24.0]","uniqueKey":"systemInstruction.parts.items.[INDEX].videoMetadata.fps","typeLabel":"number"},"startOffset":{"type":"string","description":"Start offset of the video","uniqueKey":"systemInstruction.parts.items.[INDEX].videoMetadata.startOffset","typeLabel":"string"},"endOffset":{"type":"string","description":"End offset of the video","uniqueKey":"systemInstruction.parts.items.[INDEX].videoMetadata.endOffset","typeLabel":"string"}},"uniqueKey":"systemInstruction.parts.items.[INDEX].videoMetadata","typeLabel":"object"}},"uniqueKey":"systemInstruction.parts.items.[INDEX]","typeLabel":"object"},"description":"List of parts that constitute a single message","uniqueKey":"systemInstruction.parts","typeLabel":"object[]"}},"description":"System instruction for the model","uniqueKey":"systemInstruction","typeLabel":"object"},"generationConfig":{"type":"object","properties":{"temperature":{"type":"number","description":"Controls the randomness of predictions","uniqueKey":"generationConfig.temperature","typeLabel":"number"},"topP":{"type":"number","description":"Nucleus sampling parameter","uniqueKey":"generationConfig.topP","typeLabel":"number"},"topK":{"type":"integer","description":"Top-k sampling parameter","uniqueKey":"generationConfig.topK","typeLabel":"integer"},"candidateCount":{"type":"integer","description":"Number of candidates to generate. Defaults to 1","uniqueKey":"generationConfig.candidateCount","typeLabel":"integer"},"maxOutputTokens":{"type":"integer","description":"Maximum number of output tokens to generate per message","uniqueKey":"generationConfig.maxOutputTokens","typeLabel":"integer"},"stopSequences":{"type":"array","items":{"type":"string","uniqueKey":"generationConfig.stopSequences.items.[INDEX]","typeLabel":"string"},"description":"Stop sequences","uniqueKey":"generationConfig.stopSequences","typeLabel":"string[]"},"responseMimeType":{"type":"string","description":"Output response mimetype (text/plain, application/json)","uniqueKey":"generationConfig.responseMimeType","typeLabel":"string"},"responseSchema":{"type":"object","description":"Schema for JSON response (OpenAPI 3.0 subset)","properties":{"type":{"type":"string","enum":["TYPE_UNSPECIFIED","STRING","NUMBER","INTEGER","BOOLEAN","ARRAY","OBJECT","NULL"],"description":"The type of the data","uniqueKey":"generationConfig.responseSchema.type","typeLabel":"enum\u003cstring>"},"format":{"type":"string","description":"Format of the data (e.g., float, double, int32, int64, email, byte)","uniqueKey":"generationConfig.responseSchema.format","typeLabel":"string"},"title":{"type":"string","description":"The title of the Schema","uniqueKey":"generationConfig.responseSchema.title","typeLabel":"string"},"description":{"type":"string","description":"The description of the data","uniqueKey":"generationConfig.responseSchema.description","typeLabel":"string"},"nullable":{"type":"boolean","description":"Indicates if the value may be null","uniqueKey":"generationConfig.responseSchema.nullable","typeLabel":"boolean"},"enum":{"type":"array","items":{"type":"string","uniqueKey":"generationConfig.responseSchema.enum.items.[INDEX]","typeLabel":"string"},"description":"Possible values for primitive types with enum format","uniqueKey":"generationConfig.responseSchema.enum","typeLabel":"string[]"},"properties":{"type":"object","additionalProperties":{"$circularRef":"3e449208-ee74-4f1d-be5b-6cd509ade6c2"},"description":"Properties of Type.OBJECT","uniqueKey":"generationConfig.responseSchema.properties","typeLabel":"object"},"required":{"type":"array","items":{"type":"string","uniqueKey":"generationConfig.responseSchema.required.items.[INDEX]","typeLabel":"string"},"description":"Required properties of Type.OBJECT","uniqueKey":"generationConfig.responseSchema.required","typeLabel":"string[]"},"items":{"$circularRef":"3e449208-ee74-4f1d-be5b-6cd509ade6c2","description":"Schema of the elements of Type.ARRAY","uniqueKey":"generationConfig.responseSchema.\\items","typeLabel":"any"},"minItems":{"type":"integer","description":"Minimum number of elements for Type.ARRAY","uniqueKey":"generationConfig.responseSchema.minItems","typeLabel":"integer"},"maxItems":{"type":"integer","description":"Maximum number of elements for Type.ARRAY","uniqueKey":"generationConfig.responseSchema.maxItems","typeLabel":"integer"},"minLength":{"type":"integer","description":"Minimum length of Type.STRING","uniqueKey":"generationConfig.responseSchema.minLength","typeLabel":"integer"},"maxLength":{"type":"integer","description":"Maximum length of Type.STRING","uniqueKey":"generationConfig.responseSchema.maxLength","typeLabel":"integer"},"minimum":{"type":"number","description":"Minimum value of Type.INTEGER and Type.NUMBER","uniqueKey":"generationConfig.responseSchema.minimum","typeLabel":"number"},"maximum":{"type":"number","description":"Maximum value of Type.INTEGER and Type.NUMBER","uniqueKey":"generationConfig.responseSchema.maximum","typeLabel":"number"},"pattern":{"type":"string","description":"Pattern to restrict a string to a regular expression","uniqueKey":"generationConfig.responseSchema.pattern","typeLabel":"string"},"default":{"description":"Default value of the data","uniqueKey":"generationConfig.responseSchema.default","typeLabel":"any"},"example":{"description":"Example of the object (only populated when object is root)","uniqueKey":"generationConfig.responseSchema.example","typeLabel":"any"},"anyOf":{"type":"array","items":{"$circularRef":"3e449208-ee74-4f1d-be5b-6cd509ade6c2"},"description":"Value should be validated against any of the subschemas","uniqueKey":"generationConfig.responseSchema.anyOf","typeLabel":"array"},"propertyOrdering":{"type":"array","items":{"type":"string","uniqueKey":"generationConfig.responseSchema.propertyOrdering.items.[INDEX]","typeLabel":"string"},"description":"Order of the properties (not standard OpenAPI)","uniqueKey":"generationConfig.responseSchema.propertyOrdering","typeLabel":"string[]"},"minProperties":{"type":"integer","description":"Minimum number of properties for Type.OBJECT","uniqueKey":"generationConfig.responseSchema.minProperties","typeLabel":"integer"},"maxProperties":{"type":"integer","description":"Maximum number of properties for Type.OBJECT","uniqueKey":"generationConfig.responseSchema.maxProperties","typeLabel":"integer"}},"uniqueKey":"generationConfig.responseSchema","typeLabel":"object"},"responseJsonSchema":{"type":"object","description":"Alternative to responseSchema using JSON Schema format","uniqueKey":"generationConfig.responseJsonSchema","typeLabel":"object"},"responseModalities":{"type":"array","items":{"type":"string","enum":["MODALITY_UNSPECIFIED","TEXT","IMAGE","AUDIO"],"uniqueKey":"generationConfig.responseModalities.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The modalities of the response","uniqueKey":"generationConfig.responseModalities","typeLabel":"enum\u003cstring>[]"},"speechConfig":{"type":"object","properties":{"voiceConfig":{"type":"object","properties":{"prebuiltVoiceConfig":{"type":"object","properties":{"voiceName":{"type":"string","description":"The name of the prebuilt voice to use","uniqueKey":"generationConfig.speechConfig.voiceConfig.prebuiltVoiceConfig.voiceName","typeLabel":"string"}},"uniqueKey":"generationConfig.speechConfig.voiceConfig.prebuiltVoiceConfig","typeLabel":"object"}},"uniqueKey":"generationConfig.speechConfig.voiceConfig","typeLabel":"object"},"multiSpeakerVoiceConfig":{"type":"object","properties":{"speakerVoiceConfigs":{"type":"array","items":{"type":"object","properties":{"speaker":{"type":"string","description":"The name of the speaker (should match prompt)","uniqueKey":"generationConfig.speechConfig.multiSpeakerVoiceConfig.speakerVoiceConfigs.items.[INDEX].speaker","typeLabel":"string"},"voiceConfig":{"type":"object","properties":{"prebuiltVoiceConfig":{"type":"object","properties":{"voiceName":{"type":"string","description":"The name of the prebuilt voice to use","uniqueKey":"generationConfig.speechConfig.multiSpeakerVoiceConfig.speakerVoiceConfigs.items.[INDEX].voiceConfig.prebuiltVoiceConfig.voiceName","typeLabel":"string"}},"uniqueKey":"generationConfig.speechConfig.multiSpeakerVoiceConfig.speakerVoiceConfigs.items.[INDEX].voiceConfig.prebuiltVoiceConfig","typeLabel":"object"}},"uniqueKey":"generationConfig.speechConfig.multiSpeakerVoiceConfig.speakerVoiceConfigs.items.[INDEX].voiceConfig","typeLabel":"object"}},"uniqueKey":"generationConfig.speechConfig.multiSpeakerVoiceConfig.speakerVoiceConfigs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"generationConfig.speechConfig.multiSpeakerVoiceConfig.speakerVoiceConfigs","typeLabel":"object[]"}},"uniqueKey":"generationConfig.speechConfig.multiSpeakerVoiceConfig","typeLabel":"object"},"languageCode":{"type":"string","description":"Language code (ISO 639) for speech synthesis. Only available for Live API","uniqueKey":"generationConfig.speechConfig.languageCode","typeLabel":"string"}},"uniqueKey":"generationConfig.speechConfig","typeLabel":"object"},"thinkingConfig":{"type":"object","properties":{"includeThoughts":{"type":"boolean","description":"Whether to include thoughts in the response","uniqueKey":"generationConfig.thinkingConfig.includeThoughts","typeLabel":"boolean"},"thinkingBudget":{"type":"integer","description":"Thinking budget in tokens","uniqueKey":"generationConfig.thinkingConfig.thinkingBudget","typeLabel":"integer"},"thinkingLevel":{"type":"string","enum":["THINKING_LEVEL_UNSPECIFIED","LOW","HIGH"],"description":"Thinking level preset","uniqueKey":"generationConfig.thinkingConfig.thinkingLevel","typeLabel":"enum\u003cstring>"}},"uniqueKey":"generationConfig.thinkingConfig","typeLabel":"object"},"frequencyPenalty":{"type":"number","description":"Frequency penalty for token generation","uniqueKey":"generationConfig.frequencyPenalty","typeLabel":"number"},"presencePenalty":{"type":"number","description":"Presence penalty for token generation","uniqueKey":"generationConfig.presencePenalty","typeLabel":"number"},"seed":{"type":"integer","description":"Seed for deterministic generation","uniqueKey":"generationConfig.seed","typeLabel":"integer"},"logprobs":{"type":"integer","description":"Number of log probabilities to return","uniqueKey":"generationConfig.logprobs","typeLabel":"integer"},"responseLogprobs":{"type":"boolean","description":"If true, export logprobs results in response","uniqueKey":"generationConfig.responseLogprobs","typeLabel":"boolean"},"audioTimestamp":{"type":"boolean","description":"If enabled, audio timestamp will be included in request","uniqueKey":"generationConfig.audioTimestamp","typeLabel":"boolean"},"mediaResolution":{"type":"string","description":"Media resolution specification","uniqueKey":"generationConfig.mediaResolution","typeLabel":"string"},"routingConfig":{"type":"object","properties":{"autoMode":{"type":"object","properties":{"modelRoutingPreference":{"type":"string","description":"Model routing preference","uniqueKey":"generationConfig.routingConfig.autoMode.modelRoutingPreference","typeLabel":"string"}},"uniqueKey":"generationConfig.routingConfig.autoMode","typeLabel":"object"},"manualMode":{"type":"object","properties":{"modelName":{"type":"string","description":"Model name to use","uniqueKey":"generationConfig.routingConfig.manualMode.modelName","typeLabel":"string"}},"uniqueKey":"generationConfig.routingConfig.manualMode","typeLabel":"object"}},"uniqueKey":"generationConfig.routingConfig","typeLabel":"object"},"modelSelectionConfig":{"type":"object","properties":{"featureSelectionPreference":{"type":"string","description":"Options for feature selection preference","uniqueKey":"generationConfig.modelSelectionConfig.featureSelectionPreference","typeLabel":"string"}},"uniqueKey":"generationConfig.modelSelectionConfig","typeLabel":"object"},"enableAffectiveDialog":{"type":"boolean","description":"If enabled, model will detect emotions and adapt responses","uniqueKey":"generationConfig.enableAffectiveDialog","typeLabel":"boolean"}},"uniqueKey":"generationConfig","typeLabel":"object"},"safetySettings":{"type":"array","items":{"type":"object","properties":{"category":{"type":"string","description":"Harm category","uniqueKey":"safetySettings.items.[INDEX].category","typeLabel":"string"},"threshold":{"type":"string","description":"The harm block threshold","uniqueKey":"safetySettings.items.[INDEX].threshold","typeLabel":"string"},"method":{"type":"string","description":"Determines if harm block uses probability or probability and severity scores","uniqueKey":"safetySettings.items.[INDEX].method","typeLabel":"string"}},"uniqueKey":"safetySettings.items.[INDEX]","typeLabel":"object"},"uniqueKey":"safetySettings","typeLabel":"object[]"},"tools":{"type":"array","items":{"type":"object","properties":{"functionDeclarations":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Function name. Must start with letter/underscore, a-z, A-Z, 0-9, underscores, dots, dashes. Max 64 chars","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","description":"Description and purpose of the function","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].description","typeLabel":"string"},"parameters":{"type":"object","description":"Schema object for defining input/output data types (OpenAPI 3.0 subset)","properties":{"type":{"type":"string","enum":["TYPE_UNSPECIFIED","STRING","NUMBER","INTEGER","BOOLEAN","ARRAY","OBJECT","NULL"],"description":"The type of the data","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.type","typeLabel":"enum\u003cstring>"},"format":{"type":"string","description":"Format of the data (e.g., float, double, int32, int64, email, byte)","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.format","typeLabel":"string"},"title":{"type":"string","description":"The title of the Schema","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.title","typeLabel":"string"},"description":{"type":"string","description":"The description of the data","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.description","typeLabel":"string"},"nullable":{"type":"boolean","description":"Indicates if the value may be null","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.nullable","typeLabel":"boolean"},"enum":{"type":"array","items":{"type":"string","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.enum.items.[INDEX]","typeLabel":"string"},"description":"Possible values for primitive types with enum format","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.enum","typeLabel":"string[]"},"properties":{"type":"object","additionalProperties":{"$circularRef":"3e449208-ee74-4f1d-be5b-6cd509ade6c2"},"description":"Properties of Type.OBJECT","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.properties","typeLabel":"object"},"required":{"type":"array","items":{"type":"string","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.required.items.[INDEX]","typeLabel":"string"},"description":"Required properties of Type.OBJECT","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.required","typeLabel":"string[]"},"items":{"$circularRef":"3e449208-ee74-4f1d-be5b-6cd509ade6c2","description":"Schema of the elements of Type.ARRAY","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.\\items","typeLabel":"any"},"minItems":{"type":"integer","description":"Minimum number of elements for Type.ARRAY","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.minItems","typeLabel":"integer"},"maxItems":{"type":"integer","description":"Maximum number of elements for Type.ARRAY","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.maxItems","typeLabel":"integer"},"minLength":{"type":"integer","description":"Minimum length of Type.STRING","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.minLength","typeLabel":"integer"},"maxLength":{"type":"integer","description":"Maximum length of Type.STRING","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.maxLength","typeLabel":"integer"},"minimum":{"type":"number","description":"Minimum value of Type.INTEGER and Type.NUMBER","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.minimum","typeLabel":"number"},"maximum":{"type":"number","description":"Maximum value of Type.INTEGER and Type.NUMBER","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.maximum","typeLabel":"number"},"pattern":{"type":"string","description":"Pattern to restrict a string to a regular expression","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.pattern","typeLabel":"string"},"default":{"description":"Default value of the data","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.default","typeLabel":"any"},"example":{"description":"Example of the object (only populated when object is root)","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.example","typeLabel":"any"},"anyOf":{"type":"array","items":{"$circularRef":"3e449208-ee74-4f1d-be5b-6cd509ade6c2"},"description":"Value should be validated against any of the subschemas","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.anyOf","typeLabel":"array"},"propertyOrdering":{"type":"array","items":{"type":"string","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.propertyOrdering.items.[INDEX]","typeLabel":"string"},"description":"Order of the properties (not standard OpenAPI)","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.propertyOrdering","typeLabel":"string[]"},"minProperties":{"type":"integer","description":"Minimum number of properties for Type.OBJECT","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.minProperties","typeLabel":"integer"},"maxProperties":{"type":"integer","description":"Maximum number of properties for Type.OBJECT","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters.maxProperties","typeLabel":"integer"}},"uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parameters","typeLabel":"object"},"parametersJsonSchema":{"type":"object","description":"Alternative to parameters using JSON Schema format","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].parametersJsonSchema","typeLabel":"object"},"response":{"type":"object","description":"Output schema for the function","properties":{"type":{"type":"string","enum":["TYPE_UNSPECIFIED","STRING","NUMBER","INTEGER","BOOLEAN","ARRAY","OBJECT","NULL"],"description":"The type of the data","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.type","typeLabel":"enum\u003cstring>"},"format":{"type":"string","description":"Format of the data (e.g., float, double, int32, int64, email, byte)","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.format","typeLabel":"string"},"title":{"type":"string","description":"The title of the Schema","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.title","typeLabel":"string"},"description":{"type":"string","description":"The description of the data","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.description","typeLabel":"string"},"nullable":{"type":"boolean","description":"Indicates if the value may be null","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.nullable","typeLabel":"boolean"},"enum":{"type":"array","items":{"type":"string","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.enum.items.[INDEX]","typeLabel":"string"},"description":"Possible values for primitive types with enum format","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.enum","typeLabel":"string[]"},"properties":{"type":"object","additionalProperties":{"$circularRef":"3e449208-ee74-4f1d-be5b-6cd509ade6c2"},"description":"Properties of Type.OBJECT","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.properties","typeLabel":"object"},"required":{"type":"array","items":{"type":"string","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.required.items.[INDEX]","typeLabel":"string"},"description":"Required properties of Type.OBJECT","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.required","typeLabel":"string[]"},"items":{"$circularRef":"3e449208-ee74-4f1d-be5b-6cd509ade6c2","description":"Schema of the elements of Type.ARRAY","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.\\items","typeLabel":"any"},"minItems":{"type":"integer","description":"Minimum number of elements for Type.ARRAY","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.minItems","typeLabel":"integer"},"maxItems":{"type":"integer","description":"Maximum number of elements for Type.ARRAY","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.maxItems","typeLabel":"integer"},"minLength":{"type":"integer","description":"Minimum length of Type.STRING","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.minLength","typeLabel":"integer"},"maxLength":{"type":"integer","description":"Maximum length of Type.STRING","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.maxLength","typeLabel":"integer"},"minimum":{"type":"number","description":"Minimum value of Type.INTEGER and Type.NUMBER","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.minimum","typeLabel":"number"},"maximum":{"type":"number","description":"Maximum value of Type.INTEGER and Type.NUMBER","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.maximum","typeLabel":"number"},"pattern":{"type":"string","description":"Pattern to restrict a string to a regular expression","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.pattern","typeLabel":"string"},"default":{"description":"Default value of the data","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.default","typeLabel":"any"},"example":{"description":"Example of the object (only populated when object is root)","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.example","typeLabel":"any"},"anyOf":{"type":"array","items":{"$circularRef":"3e449208-ee74-4f1d-be5b-6cd509ade6c2"},"description":"Value should be validated against any of the subschemas","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.anyOf","typeLabel":"array"},"propertyOrdering":{"type":"array","items":{"type":"string","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.propertyOrdering.items.[INDEX]","typeLabel":"string"},"description":"Order of the properties (not standard OpenAPI)","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.propertyOrdering","typeLabel":"string[]"},"minProperties":{"type":"integer","description":"Minimum number of properties for Type.OBJECT","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.minProperties","typeLabel":"integer"},"maxProperties":{"type":"integer","description":"Maximum number of properties for Type.OBJECT","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response.maxProperties","typeLabel":"integer"}},"uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].response","typeLabel":"object"},"responseJsonSchema":{"type":"object","description":"Alternative to response using JSON Schema format","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].responseJsonSchema","typeLabel":"object"},"behavior":{"type":"string","enum":["UNSPECIFIED","BLOCKING","NON_BLOCKING"],"description":"Function behavior mode. BLOCKING waits for response, NON_BLOCKING continues conversation","uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX].behavior","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].functionDeclarations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"tools.items.[INDEX].functionDeclarations","typeLabel":"object[]"},"googleSearch":{"type":"object","properties":{"timeRangeFilter":{"type":"object","properties":{"startTime":{"type":"string","format":"date-time","uniqueKey":"tools.items.[INDEX].googleSearch.timeRangeFilter.startTime","typeLabel":"string\u003cdate-time>"},"endTime":{"type":"string","format":"date-time","uniqueKey":"tools.items.[INDEX].googleSearch.timeRangeFilter.endTime","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"tools.items.[INDEX].googleSearch.timeRangeFilter","typeLabel":"object"},"excludeDomains":{"type":"array","items":{"type":"string","uniqueKey":"tools.items.[INDEX].googleSearch.excludeDomains.items.[INDEX]","typeLabel":"string"},"description":"List of domains to exclude from search results (max 2000)","uniqueKey":"tools.items.[INDEX].googleSearch.excludeDomains","typeLabel":"string[]"}},"uniqueKey":"tools.items.[INDEX].googleSearch","typeLabel":"object"},"googleSearchRetrieval":{"type":"object","properties":{"dynamicRetrievalConfig":{"type":"object","properties":{"mode":{"type":"string","description":"The mode of the predictor for dynamic retrieval","uniqueKey":"tools.items.[INDEX].googleSearchRetrieval.dynamicRetrievalConfig.mode","typeLabel":"string"},"dynamicThreshold":{"type":"number","description":"Threshold for dynamic retrieval","uniqueKey":"tools.items.[INDEX].googleSearchRetrieval.dynamicRetrievalConfig.dynamicThreshold","typeLabel":"number"}},"uniqueKey":"tools.items.[INDEX].googleSearchRetrieval.dynamicRetrievalConfig","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX].googleSearchRetrieval","typeLabel":"object"},"retrieval":{"type":"object","properties":{"disableAttribution":{"type":"boolean","deprecated":true,"description":"Deprecated. This option is no longer supported","uniqueKey":"tools.items.[INDEX].retrieval.disableAttribution","typeLabel":"boolean"},"externalApi":{"type":"object","properties":{"endpoint":{"type":"string","description":"The endpoint of the external API","uniqueKey":"tools.items.[INDEX].retrieval.externalApi.endpoint","typeLabel":"string"},"apiSpec":{"type":"string","enum":["API_SPEC_UNSPECIFIED","SIMPLE_SEARCH","ELASTIC_SEARCH"],"uniqueKey":"tools.items.[INDEX].retrieval.externalApi.apiSpec","typeLabel":"enum\u003cstring>"},"authConfig":{"type":"object","properties":{"authType":{"type":"string","enum":["AUTH_TYPE_UNSPECIFIED","NO_AUTH","API_KEY_AUTH","HTTP_BASIC_AUTH","GOOGLE_SERVICE_ACCOUNT_AUTH","OAUTH","OIDC_AUTH"],"uniqueKey":"tools.items.[INDEX].retrieval.externalApi.authConfig.authType","typeLabel":"enum\u003cstring>"},"apiKeyConfig":{"type":"object","properties":{"apiKeyString":{"type":"string","uniqueKey":"tools.items.[INDEX].retrieval.externalApi.authConfig.apiKeyConfig.apiKeyString","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].retrieval.externalApi.authConfig.apiKeyConfig","typeLabel":"object"},"googleServiceAccountConfig":{"type":"object","properties":{"serviceAccount":{"type":"string","uniqueKey":"tools.items.[INDEX].retrieval.externalApi.authConfig.googleServiceAccountConfig.serviceAccount","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].retrieval.externalApi.authConfig.googleServiceAccountConfig","typeLabel":"object"},"httpBasicAuthConfig":{"type":"object","properties":{"credentialSecret":{"type":"string","uniqueKey":"tools.items.[INDEX].retrieval.externalApi.authConfig.httpBasicAuthConfig.credentialSecret","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].retrieval.externalApi.authConfig.httpBasicAuthConfig","typeLabel":"object"},"oauthConfig":{"type":"object","properties":{"accessToken":{"type":"string","uniqueKey":"tools.items.[INDEX].retrieval.externalApi.authConfig.oauthConfig.accessToken","typeLabel":"string"},"serviceAccount":{"type":"string","uniqueKey":"tools.items.[INDEX].retrieval.externalApi.authConfig.oauthConfig.serviceAccount","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].retrieval.externalApi.authConfig.oauthConfig","typeLabel":"object"},"oidcConfig":{"type":"object","properties":{"idToken":{"type":"string","uniqueKey":"tools.items.[INDEX].retrieval.externalApi.authConfig.oidcConfig.idToken","typeLabel":"string"},"serviceAccount":{"type":"string","uniqueKey":"tools.items.[INDEX].retrieval.externalApi.authConfig.oidcConfig.serviceAccount","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].retrieval.externalApi.authConfig.oidcConfig","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX].retrieval.externalApi.authConfig","typeLabel":"object"},"elasticSearchParams":{"type":"object","properties":{"index":{"type":"string","description":"The ElasticSearch index to use","uniqueKey":"tools.items.[INDEX].retrieval.externalApi.elasticSearchParams.index","typeLabel":"string"},"numHits":{"type":"integer","description":"Number of hits (chunks) to request","uniqueKey":"tools.items.[INDEX].retrieval.externalApi.elasticSearchParams.numHits","typeLabel":"integer"},"searchTemplate":{"type":"string","description":"The ElasticSearch search template to use","uniqueKey":"tools.items.[INDEX].retrieval.externalApi.elasticSearchParams.searchTemplate","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].retrieval.externalApi.elasticSearchParams","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX].retrieval.externalApi","typeLabel":"object"},"vertexAiSearch":{"type":"object","properties":{"datastore":{"type":"string","description":"Fully-qualified Vertex AI Search data store resource ID","uniqueKey":"tools.items.[INDEX].retrieval.vertexAiSearch.datastore","typeLabel":"string"},"engine":{"type":"string","description":"Fully-qualified Vertex AI Search engine resource ID","uniqueKey":"tools.items.[INDEX].retrieval.vertexAiSearch.engine","typeLabel":"string"},"filter":{"type":"string","description":"Filter strings to be passed to the search API","uniqueKey":"tools.items.[INDEX].retrieval.vertexAiSearch.filter","typeLabel":"string"},"maxResults":{"type":"integer","description":"Number of search results to return (max 10, default 10)","uniqueKey":"tools.items.[INDEX].retrieval.vertexAiSearch.maxResults","typeLabel":"integer"},"dataStoreSpecs":{"type":"array","items":{"type":"object","properties":{"dataStore":{"type":"string","description":"Full resource name of DataStore","uniqueKey":"tools.items.[INDEX].retrieval.vertexAiSearch.dataStoreSpecs.items.[INDEX].dataStore","typeLabel":"string"},"filter":{"type":"string","description":"Filter specification for documents in the data store","uniqueKey":"tools.items.[INDEX].retrieval.vertexAiSearch.dataStoreSpecs.items.[INDEX].filter","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].retrieval.vertexAiSearch.dataStoreSpecs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"tools.items.[INDEX].retrieval.vertexAiSearch.dataStoreSpecs","typeLabel":"object[]"}},"uniqueKey":"tools.items.[INDEX].retrieval.vertexAiSearch","typeLabel":"object"},"vertexRagStore":{"type":"object","properties":{"ragCorpora":{"type":"array","items":{"type":"string","uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragCorpora.items.[INDEX]","typeLabel":"string"},"deprecated":true,"description":"Deprecated. Use ragResources instead","uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragCorpora","typeLabel":"string[]"},"ragResources":{"type":"array","items":{"type":"object","properties":{"ragCorpus":{"type":"string","description":"RAGCorpora resource name","uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragResources.items.[INDEX].ragCorpus","typeLabel":"string"},"ragFileIds":{"type":"array","items":{"type":"string","uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragResources.items.[INDEX].ragFileIds.items.[INDEX]","typeLabel":"string"},"description":"rag_file_id. Files should be in the same rag_corpus","uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragResources.items.[INDEX].ragFileIds","typeLabel":"string[]"}},"uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragResources.items.[INDEX]","typeLabel":"object"},"uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragResources","typeLabel":"object[]"},"ragRetrievalConfig":{"type":"object","properties":{"topK":{"type":"integer","description":"The number of contexts to retrieve","uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragRetrievalConfig.topK","typeLabel":"integer"},"filter":{"type":"object","properties":{"metadataFilter":{"type":"string","description":"String for metadata filtering","uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragRetrievalConfig.filter.metadataFilter","typeLabel":"string"},"vectorDistanceThreshold":{"type":"number","description":"Only returns contexts with vector distance smaller than threshold","uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragRetrievalConfig.filter.vectorDistanceThreshold","typeLabel":"number"},"vectorSimilarityThreshold":{"type":"number","description":"Only returns contexts with vector similarity larger than threshold","uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragRetrievalConfig.filter.vectorSimilarityThreshold","typeLabel":"number"}},"uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragRetrievalConfig.filter","typeLabel":"object"},"hybridSearch":{"type":"object","properties":{"alpha":{"type":"number","description":"Weight between dense and sparse vector search (0-1). 0 = sparse only, 1 = dense only","uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragRetrievalConfig.hybridSearch.alpha","typeLabel":"number"}},"uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragRetrievalConfig.hybridSearch","typeLabel":"object"},"ranking":{"type":"object","properties":{"llmRanker":{"type":"object","properties":{"modelName":{"type":"string","uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragRetrievalConfig.ranking.llmRanker.modelName","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragRetrievalConfig.ranking.llmRanker","typeLabel":"object"},"rankService":{"type":"object","properties":{"modelName":{"type":"string","uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragRetrievalConfig.ranking.rankService.modelName","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragRetrievalConfig.ranking.rankService","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragRetrievalConfig.ranking","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.ragRetrievalConfig","typeLabel":"object"},"similarityTopK":{"type":"integer","description":"Number of top k results to return from selected corpora","uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.similarityTopK","typeLabel":"integer"},"storeContext":{"type":"boolean","description":"For Gemini Multimodal Live API - memorize interactions","uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.storeContext","typeLabel":"boolean"},"vectorDistanceThreshold":{"type":"number","description":"Only return results with vector distance smaller than threshold","uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore.vectorDistanceThreshold","typeLabel":"number"}},"uniqueKey":"tools.items.[INDEX].retrieval.vertexRagStore","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX].retrieval","typeLabel":"object"},"codeExecution":{"type":"object","description":"Enables code execution by the model","uniqueKey":"tools.items.[INDEX].codeExecution","typeLabel":"object"},"enterpriseWebSearch":{"type":"object","properties":{"excludeDomains":{"type":"array","items":{"type":"string","uniqueKey":"tools.items.[INDEX].enterpriseWebSearch.excludeDomains.items.[INDEX]","typeLabel":"string"},"description":"List of domains to exclude (max 2000)","uniqueKey":"tools.items.[INDEX].enterpriseWebSearch.excludeDomains","typeLabel":"string[]"}},"uniqueKey":"tools.items.[INDEX].enterpriseWebSearch","typeLabel":"object"},"googleMaps":{"type":"object","properties":{"authConfig":{"type":"object","properties":{"authType":{"type":"string","enum":["AUTH_TYPE_UNSPECIFIED","NO_AUTH","API_KEY_AUTH","HTTP_BASIC_AUTH","GOOGLE_SERVICE_ACCOUNT_AUTH","OAUTH","OIDC_AUTH"],"uniqueKey":"tools.items.[INDEX].googleMaps.authConfig.authType","typeLabel":"enum\u003cstring>"},"apiKeyConfig":{"type":"object","properties":{"apiKeyString":{"type":"string","uniqueKey":"tools.items.[INDEX].googleMaps.authConfig.apiKeyConfig.apiKeyString","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].googleMaps.authConfig.apiKeyConfig","typeLabel":"object"},"googleServiceAccountConfig":{"type":"object","properties":{"serviceAccount":{"type":"string","uniqueKey":"tools.items.[INDEX].googleMaps.authConfig.googleServiceAccountConfig.serviceAccount","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].googleMaps.authConfig.googleServiceAccountConfig","typeLabel":"object"},"httpBasicAuthConfig":{"type":"object","properties":{"credentialSecret":{"type":"string","uniqueKey":"tools.items.[INDEX].googleMaps.authConfig.httpBasicAuthConfig.credentialSecret","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].googleMaps.authConfig.httpBasicAuthConfig","typeLabel":"object"},"oauthConfig":{"type":"object","properties":{"accessToken":{"type":"string","uniqueKey":"tools.items.[INDEX].googleMaps.authConfig.oauthConfig.accessToken","typeLabel":"string"},"serviceAccount":{"type":"string","uniqueKey":"tools.items.[INDEX].googleMaps.authConfig.oauthConfig.serviceAccount","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].googleMaps.authConfig.oauthConfig","typeLabel":"object"},"oidcConfig":{"type":"object","properties":{"idToken":{"type":"string","uniqueKey":"tools.items.[INDEX].googleMaps.authConfig.oidcConfig.idToken","typeLabel":"string"},"serviceAccount":{"type":"string","uniqueKey":"tools.items.[INDEX].googleMaps.authConfig.oidcConfig.serviceAccount","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].googleMaps.authConfig.oidcConfig","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX].googleMaps.authConfig","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX].googleMaps","typeLabel":"object"},"urlContext":{"type":"object","description":"Tool to support URL context retrieval","uniqueKey":"tools.items.[INDEX].urlContext","typeLabel":"object"},"computerUse":{"type":"object","properties":{"environment":{"type":"string","enum":["ENVIRONMENT_UNSPECIFIED","ENVIRONMENT_BROWSER"],"description":"The environment being operated","uniqueKey":"tools.items.[INDEX].computerUse.environment","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].computerUse","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX]","typeLabel":"object"},"uniqueKey":"tools","typeLabel":"object[]"},"toolConfig":{"type":"object","properties":{"functionCallingConfig":{"type":"object","properties":{"mode":{"type":"string","enum":["MODE_UNSPECIFIED","AUTO","ANY","NONE","VALIDATED"],"description":"Function calling mode","uniqueKey":"toolConfig.functionCallingConfig.mode","typeLabel":"enum\u003cstring>"},"allowedFunctionNames":{"type":"array","items":{"type":"string","uniqueKey":"toolConfig.functionCallingConfig.allowedFunctionNames.items.[INDEX]","typeLabel":"string"},"description":"Function names to call when mode is ANY","uniqueKey":"toolConfig.functionCallingConfig.allowedFunctionNames","typeLabel":"string[]"}},"uniqueKey":"toolConfig.functionCallingConfig","typeLabel":"object"},"retrievalConfig":{"type":"object","properties":{"latLng":{"type":"object","properties":{"latitude":{"type":"number","description":"Latitude in degrees [-90.0, +90.0]","uniqueKey":"toolConfig.retrievalConfig.latLng.latitude","typeLabel":"number"},"longitude":{"type":"number","description":"Longitude in degrees [-180.0, +180.0]","uniqueKey":"toolConfig.retrievalConfig.latLng.longitude","typeLabel":"number"}},"uniqueKey":"toolConfig.retrievalConfig.latLng","typeLabel":"object"},"languageCode":{"type":"string","uniqueKey":"toolConfig.retrievalConfig.languageCode","typeLabel":"string"}},"uniqueKey":"toolConfig.retrievalConfig","typeLabel":"object"}},"uniqueKey":"toolConfig","typeLabel":"object"},"cachedContent":{"type":"string","description":"Cached content resource name","uniqueKey":"cachedContent","typeLabel":"string"},"labels":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"labels.additionalProperties","typeLabel":"string"},"description":"Labels for the request","uniqueKey":"labels","typeLabel":"object"},"requests":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","uniqueKey":"requests.items.[INDEX].model","typeLabel":"string"},"content":{"type":"object","properties":{"role":{"type":"string","enum":["user","model"],"description":"The producer of the content. Must be either 'user' or 'model'","uniqueKey":"requests.items.[INDEX].content.role","typeLabel":"enum\u003cstring>"},"parts":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","description":"Text part (can be code)","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].text","typeLabel":"string"},"thought":{"type":"boolean","description":"Indicates if the part is thought from the model","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].thought","typeLabel":"boolean"},"thoughtSignature":{"type":"string","format":"byte","description":"Opaque signature for thought that can be reused in subsequent requests","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].thoughtSignature","typeLabel":"string\u003cbyte>"},"inlineData":{"type":"object","properties":{"mimeType":{"type":"string","description":"The IANA standard MIME type of the source data","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].inlineData.mimeType","typeLabel":"string"},"data":{"type":"string","format":"byte","description":"Base64-encoded raw bytes","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].inlineData.data","typeLabel":"string\u003cbyte>"},"displayName":{"type":"string","description":"Display name of the blob (not currently used in GenerateContent calls)","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].inlineData.displayName","typeLabel":"string"}},"uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].inlineData","typeLabel":"object"},"fileData":{"type":"object","properties":{"mimeType":{"type":"string","description":"The IANA standard MIME type of the source data","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].fileData.mimeType","typeLabel":"string"},"fileUri":{"type":"string","description":"URI of the file","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].fileData.fileUri","typeLabel":"string"},"displayName":{"type":"string","description":"Display name of the file data","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].fileData.displayName","typeLabel":"string"}},"uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].fileData","typeLabel":"object"},"functionCall":{"type":"object","properties":{"id":{"type":"string","description":"Unique ID of the function call. If populated, client should return response with matching id","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].functionCall.id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to call. Matches FunctionDeclaration.name","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].functionCall.name","typeLabel":"string"},"args":{"type":"object","description":"Function parameters and values in JSON object format","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].functionCall.args","typeLabel":"object"}},"uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].functionCall","typeLabel":"object"},"functionResponse":{"type":"object","properties":{"id":{"type":"string","description":"ID of the function call this response is for. Matches FunctionCall.id","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].functionResponse.id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function. Matches FunctionDeclaration.name and FunctionCall.name","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].functionResponse.name","typeLabel":"string"},"response":{"type":"object","description":"Function response in JSON object format. Use \"output\" key for output and \"error\" key for error details","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].functionResponse.response","typeLabel":"object"},"willContinue":{"type":"boolean","description":"Signals that function call continues (NON_BLOCKING only). If false, future responses will not be considered","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].functionResponse.willContinue","typeLabel":"boolean"},"scheduling":{"type":"string","description":"How the response should be scheduled (NON_BLOCKING only). Defaults to WHEN_IDLE","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].functionResponse.scheduling","typeLabel":"string"}},"uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].functionResponse","typeLabel":"object"},"executableCode":{"type":"object","properties":{"language":{"type":"string","description":"Programming language of the code","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].executableCode.language","typeLabel":"string"},"code":{"type":"string","description":"The code to be executed","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].executableCode.code","typeLabel":"string"}},"uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].executableCode","typeLabel":"object"},"codeExecutionResult":{"type":"object","properties":{"outcome":{"type":"string","enum":["OUTCOME_UNSPECIFIED","OUTCOME_OK","OUTCOME_FAILED","OUTCOME_DEADLINE_EXCEEDED"],"description":"Outcome of the code execution","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].codeExecutionResult.outcome","typeLabel":"enum\u003cstring>"},"output":{"type":"string","description":"Contains stdout when successful, stderr or other description otherwise","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].codeExecutionResult.output","typeLabel":"string"}},"uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].codeExecutionResult","typeLabel":"object"},"videoMetadata":{"type":"object","properties":{"fps":{"type":"number","description":"Frame rate of the video. Range is (0.0, 24.0]","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].videoMetadata.fps","typeLabel":"number"},"startOffset":{"type":"string","description":"Start offset of the video","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].videoMetadata.startOffset","typeLabel":"string"},"endOffset":{"type":"string","description":"End offset of the video","uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].videoMetadata.endOffset","typeLabel":"string"}},"uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX].videoMetadata","typeLabel":"object"}},"uniqueKey":"requests.items.[INDEX].content.parts.items.[INDEX]","typeLabel":"object"},"description":"List of parts that constitute a single message","uniqueKey":"requests.items.[INDEX].content.parts","typeLabel":"object[]"}},"uniqueKey":"requests.items.[INDEX].content","typeLabel":"object"},"taskType":{"type":"string","uniqueKey":"requests.items.[INDEX].taskType","typeLabel":"string"},"title":{"type":"string","uniqueKey":"requests.items.[INDEX].title","typeLabel":"string"},"outputDimensionality":{"type":"integer","uniqueKey":"requests.items.[INDEX].outputDimensionality","typeLabel":"integer"}},"uniqueKey":"requests.items.[INDEX]","typeLabel":"object"},"description":"Batch embedding requests","uniqueKey":"requests","typeLabel":"object[]"},"fallbacks":{"type":"array","items":{"type":"string","uniqueKey":"fallbacks.items.[INDEX]","typeLabel":"string"},"uniqueKey":"fallbacks","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"model":"\u003cstring>","contents":[{"parts":[{"text":"\u003cstring>","thought":true,"thoughtSignature":"aSDinaTvuI8gbWludGxpZnk=","inlineData":{"mimeType":"\u003cstring>","data":"aSDinaTvuI8gbWludGxpZnk=","displayName":"\u003cstring>"},"fileData":{"mimeType":"\u003cstring>","fileUri":"\u003cstring>","displayName":"\u003cstring>"},"functionCall":{"id":"\u003cstring>","name":"\u003cstring>","args":{}},"functionResponse":{"id":"\u003cstring>","name":"\u003cstring>","response":{},"willContinue":true,"scheduling":"\u003cstring>"},"executableCode":{"language":"\u003cstring>","code":"\u003cstring>"},"codeExecutionResult":{"output":"\u003cstring>"},"videoMetadata":{"fps":123,"startOffset":"\u003cstring>","endOffset":"\u003cstring>"}}]}],"systemInstruction":{"parts":[{"text":"\u003cstring>","thought":true,"thoughtSignature":"aSDinaTvuI8gbWludGxpZnk=","inlineData":{"mimeType":"\u003cstring>","data":"aSDinaTvuI8gbWludGxpZnk=","displayName":"\u003cstring>"},"fileData":{"mimeType":"\u003cstring>","fileUri":"\u003cstring>","displayName":"\u003cstring>"},"functionCall":{"id":"\u003cstring>","name":"\u003cstring>","args":{}},"functionResponse":{"id":"\u003cstring>","name":"\u003cstring>","response":{},"willContinue":true,"scheduling":"\u003cstring>"},"executableCode":{"language":"\u003cstring>","code":"\u003cstring>"},"codeExecutionResult":{"output":"\u003cstring>"},"videoMetadata":{"fps":123,"startOffset":"\u003cstring>","endOffset":"\u003cstring>"}}]},"generationConfig":{"temperature":123,"topP":123,"topK":123,"candidateCount":123,"maxOutputTokens":123,"stopSequences":["\u003cstring>"],"responseMimeType":"\u003cstring>","responseSchema":{"format":"\u003cstring>","title":"\u003cstring>","description":"\u003cstring>","nullable":true,"enum":["\u003cstring>"],"properties":{},"required":["\u003cstring>"],"items":"\u003cunknown>","minItems":123,"maxItems":123,"minLength":123,"maxLength":123,"minimum":123,"maximum":123,"pattern":"\u003cstring>","default":"\u003cunknown>","example":"\u003cunknown>","anyOf":"\u003carray>","propertyOrdering":["\u003cstring>"],"minProperties":123,"maxProperties":123},"responseJsonSchema":{},"responseModalities":[],"speechConfig":{"voiceConfig":{"prebuiltVoiceConfig":{"voiceName":"\u003cstring>"}},"multiSpeakerVoiceConfig":{"speakerVoiceConfigs":[{"speaker":"\u003cstring>","voiceConfig":{"prebuiltVoiceConfig":{"voiceName":"\u003cstring>"}}}]},"languageCode":"\u003cstring>"},"thinkingConfig":{"includeThoughts":true,"thinkingBudget":123},"frequencyPenalty":123,"presencePenalty":123,"seed":123,"logprobs":123,"responseLogprobs":true,"audioTimestamp":true,"mediaResolution":"\u003cstring>","routingConfig":{"autoMode":{"modelRoutingPreference":"\u003cstring>"},"manualMode":{"modelName":"\u003cstring>"}},"modelSelectionConfig":{"featureSelectionPreference":"\u003cstring>"},"enableAffectiveDialog":true},"safetySettings":[{"category":"\u003cstring>","threshold":"\u003cstring>","method":"\u003cstring>"}],"tools":[{"functionDeclarations":[{"name":"\u003cstring>","description":"\u003cstring>","parameters":{"format":"\u003cstring>","title":"\u003cstring>","description":"\u003cstring>","nullable":true,"enum":["\u003cstring>"],"properties":{},"required":["\u003cstring>"],"items":"\u003cunknown>","minItems":123,"maxItems":123,"minLength":123,"maxLength":123,"minimum":123,"maximum":123,"pattern":"\u003cstring>","default":"\u003cunknown>","example":"\u003cunknown>","anyOf":"\u003carray>","propertyOrdering":["\u003cstring>"],"minProperties":123,"maxProperties":123},"parametersJsonSchema":{},"response":{"format":"\u003cstring>","title":"\u003cstring>","description":"\u003cstring>","nullable":true,"enum":["\u003cstring>"],"properties":{},"required":["\u003cstring>"],"items":"\u003cunknown>","minItems":123,"maxItems":123,"minLength":123,"maxLength":123,"minimum":123,"maximum":123,"pattern":"\u003cstring>","default":"\u003cunknown>","example":"\u003cunknown>","anyOf":"\u003carray>","propertyOrdering":["\u003cstring>"],"minProperties":123,"maxProperties":123},"responseJsonSchema":{}}],"googleSearch":{"timeRangeFilter":{"startTime":"2023-11-07T05:31:56Z","endTime":"2023-11-07T05:31:56Z"},"excludeDomains":["\u003cstring>"]},"googleSearchRetrieval":{"dynamicRetrievalConfig":{"mode":"\u003cstring>","dynamicThreshold":123}},"retrieval":{"disableAttribution":true,"externalApi":{"endpoint":"\u003cstring>","authConfig":{"apiKeyConfig":{"apiKeyString":"\u003cstring>"},"googleServiceAccountConfig":{"serviceAccount":"\u003cstring>"},"httpBasicAuthConfig":{"credentialSecret":"\u003cstring>"},"oauthConfig":{"accessToken":"\u003cstring>","serviceAccount":"\u003cstring>"},"oidcConfig":{"idToken":"\u003cstring>","serviceAccount":"\u003cstring>"}},"elasticSearchParams":{"index":"\u003cstring>","numHits":123,"searchTemplate":"\u003cstring>"}},"vertexAiSearch":{"datastore":"\u003cstring>","engine":"\u003cstring>","filter":"\u003cstring>","maxResults":123,"dataStoreSpecs":[{"dataStore":"\u003cstring>","filter":"\u003cstring>"}]},"vertexRagStore":{"ragCorpora":["\u003cstring>"],"ragResources":[{"ragCorpus":"\u003cstring>","ragFileIds":["\u003cstring>"]}],"ragRetrievalConfig":{"topK":123,"filter":{"metadataFilter":"\u003cstring>","vectorDistanceThreshold":123,"vectorSimilarityThreshold":123},"hybridSearch":{"alpha":123},"ranking":{"llmRanker":{"modelName":"\u003cstring>"},"rankService":{"modelName":"\u003cstring>"}}},"similarityTopK":123,"storeContext":true,"vectorDistanceThreshold":123}},"codeExecution":{},"enterpriseWebSearch":{"excludeDomains":["\u003cstring>"]},"googleMaps":{"authConfig":{"apiKeyConfig":{"apiKeyString":"\u003cstring>"},"googleServiceAccountConfig":{"serviceAccount":"\u003cstring>"},"httpBasicAuthConfig":{"credentialSecret":"\u003cstring>"},"oauthConfig":{"accessToken":"\u003cstring>","serviceAccount":"\u003cstring>"},"oidcConfig":{"idToken":"\u003cstring>","serviceAccount":"\u003cstring>"}}},"urlContext":{},"computerUse":{}}],"toolConfig":{"functionCallingConfig":{"allowedFunctionNames":["\u003cstring>"]},"retrievalConfig":{"latLng":{"latitude":123,"longitude":123},"languageCode":"\u003cstring>"}},"cachedContent":"\u003cstring>","labels":{},"requests":[{"model":"\u003cstring>","content":{"parts":[{"text":"\u003cstring>","thought":true,"thoughtSignature":"aSDinaTvuI8gbWludGxpZnk=","inlineData":{"mimeType":"\u003cstring>","data":"aSDinaTvuI8gbWludGxpZnk=","displayName":"\u003cstring>"},"fileData":{"mimeType":"\u003cstring>","fileUri":"\u003cstring>","displayName":"\u003cstring>"},"functionCall":{"id":"\u003cstring>","name":"\u003cstring>","args":{}},"functionResponse":{"id":"\u003cstring>","name":"\u003cstring>","response":{},"willContinue":true,"scheduling":"\u003cstring>"},"executableCode":{"language":"\u003cstring>","code":"\u003cstring>"},"codeExecutionResult":{"output":"\u003cstring>"},"videoMetadata":{"fps":123,"startOffset":"\u003cstring>","endOffset":"\u003cstring>"}}]},"taskType":"\u003cstring>","title":"\u003cstring>","outputDimensionality":123}],"fallbacks":["\u003cstring>"]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"9ba40626-a942-4865-8065-03b1074a61cf":{"description":"Successful response. Returns JSON with generated image data in `candidates[0].content.parts[0].inlineData`.\nWhen streaming, events are sent via Server-Sent Events (SSE).\n","content":{"application/json":{"schema":{"type":"object","properties":{"candidates":{"type":"array","items":{"type":"object","properties":{"content":{"type":"object","properties":{"role":{"type":"string","enum":["user","model"],"description":"The producer of the content. Must be either 'user' or 'model'","uniqueKey":"candidates.items.[INDEX].content.role","typeLabel":"enum\u003cstring>"},"parts":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","description":"Text part (can be code)","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].text","typeLabel":"string"},"thought":{"type":"boolean","description":"Indicates if the part is thought from the model","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].thought","typeLabel":"boolean"},"thoughtSignature":{"type":"string","format":"byte","description":"Opaque signature for thought that can be reused in subsequent requests","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].thoughtSignature","typeLabel":"string\u003cbyte>"},"inlineData":{"type":"object","properties":{"mimeType":{"type":"string","description":"The IANA standard MIME type of the source data","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].inlineData.mimeType","typeLabel":"string"},"data":{"type":"string","format":"byte","description":"Base64-encoded raw bytes","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].inlineData.data","typeLabel":"string\u003cbyte>"},"displayName":{"type":"string","description":"Display name of the blob (not currently used in GenerateContent calls)","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].inlineData.displayName","typeLabel":"string"}},"uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].inlineData","typeLabel":"object"},"fileData":{"type":"object","properties":{"mimeType":{"type":"string","description":"The IANA standard MIME type of the source data","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].fileData.mimeType","typeLabel":"string"},"fileUri":{"type":"string","description":"URI of the file","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].fileData.fileUri","typeLabel":"string"},"displayName":{"type":"string","description":"Display name of the file data","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].fileData.displayName","typeLabel":"string"}},"uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].fileData","typeLabel":"object"},"functionCall":{"type":"object","properties":{"id":{"type":"string","description":"Unique ID of the function call. If populated, client should return response with matching id","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionCall.id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to call. Matches FunctionDeclaration.name","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionCall.name","typeLabel":"string"},"args":{"type":"object","description":"Function parameters and values in JSON object format","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionCall.args","typeLabel":"object"}},"uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionCall","typeLabel":"object"},"functionResponse":{"type":"object","properties":{"id":{"type":"string","description":"ID of the function call this response is for. Matches FunctionCall.id","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionResponse.id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function. Matches FunctionDeclaration.name and FunctionCall.name","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionResponse.name","typeLabel":"string"},"response":{"type":"object","description":"Function response in JSON object format. Use \"output\" key for output and \"error\" key for error details","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionResponse.response","typeLabel":"object"},"willContinue":{"type":"boolean","description":"Signals that function call continues (NON_BLOCKING only). If false, future responses will not be considered","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionResponse.willContinue","typeLabel":"boolean"},"scheduling":{"type":"string","description":"How the response should be scheduled (NON_BLOCKING only). Defaults to WHEN_IDLE","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionResponse.scheduling","typeLabel":"string"}},"uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionResponse","typeLabel":"object"},"executableCode":{"type":"object","properties":{"language":{"type":"string","description":"Programming language of the code","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].executableCode.language","typeLabel":"string"},"code":{"type":"string","description":"The code to be executed","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].executableCode.code","typeLabel":"string"}},"uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].executableCode","typeLabel":"object"},"codeExecutionResult":{"type":"object","properties":{"outcome":{"type":"string","enum":["OUTCOME_UNSPECIFIED","OUTCOME_OK","OUTCOME_FAILED","OUTCOME_DEADLINE_EXCEEDED"],"description":"Outcome of the code execution","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].codeExecutionResult.outcome","typeLabel":"enum\u003cstring>"},"output":{"type":"string","description":"Contains stdout when successful, stderr or other description otherwise","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].codeExecutionResult.output","typeLabel":"string"}},"uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].codeExecutionResult","typeLabel":"object"},"videoMetadata":{"type":"object","properties":{"fps":{"type":"number","description":"Frame rate of the video. Range is (0.0, 24.0]","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].videoMetadata.fps","typeLabel":"number"},"startOffset":{"type":"string","description":"Start offset of the video","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].videoMetadata.startOffset","typeLabel":"string"},"endOffset":{"type":"string","description":"End offset of the video","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].videoMetadata.endOffset","typeLabel":"string"}},"uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].videoMetadata","typeLabel":"object"}},"uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX]","typeLabel":"object"},"description":"List of parts that constitute a single message","uniqueKey":"candidates.items.[INDEX].content.parts","typeLabel":"object[]"}},"uniqueKey":"candidates.items.[INDEX].content","typeLabel":"object"},"finishReason":{"type":"string","enum":["FINISH_REASON_UNSPECIFIED","STOP","MAX_TOKENS","SAFETY","RECITATION","LANGUAGE","OTHER","BLOCKLIST","PROHIBITED_CONTENT","SPII","MALFORMED_FUNCTION_CALL","IMAGE_SAFETY","UNEXPECTED_TOOL_CALL"],"uniqueKey":"candidates.items.[INDEX].finishReason","typeLabel":"enum\u003cstring>"},"finishMessage":{"type":"string","description":"Human-readable finish message","uniqueKey":"candidates.items.[INDEX].finishMessage","typeLabel":"string"},"tokenCount":{"type":"integer","description":"Number of tokens for this candidate","uniqueKey":"candidates.items.[INDEX].tokenCount","typeLabel":"integer"},"safetyRatings":{"type":"array","items":{"type":"object","properties":{"category":{"type":"string","description":"Harm category","uniqueKey":"candidates.items.[INDEX].safetyRatings.items.[INDEX].category","typeLabel":"string"},"probability":{"type":"string","description":"Harm probability level","uniqueKey":"candidates.items.[INDEX].safetyRatings.items.[INDEX].probability","typeLabel":"string"},"probabilityScore":{"type":"number","description":"Harm probability score","uniqueKey":"candidates.items.[INDEX].safetyRatings.items.[INDEX].probabilityScore","typeLabel":"number"},"severity":{"type":"string","description":"Harm severity level","uniqueKey":"candidates.items.[INDEX].safetyRatings.items.[INDEX].severity","typeLabel":"string"},"severityScore":{"type":"number","description":"Harm severity score","uniqueKey":"candidates.items.[INDEX].safetyRatings.items.[INDEX].severityScore","typeLabel":"number"},"blocked":{"type":"boolean","description":"Whether content was filtered","uniqueKey":"candidates.items.[INDEX].safetyRatings.items.[INDEX].blocked","typeLabel":"boolean"},"overwrittenThreshold":{"type":"string","description":"Overwritten threshold for safety category (for Gemini 2.0 image output with minors detected)","uniqueKey":"candidates.items.[INDEX].safetyRatings.items.[INDEX].overwrittenThreshold","typeLabel":"string"}},"uniqueKey":"candidates.items.[INDEX].safetyRatings.items.[INDEX]","typeLabel":"object"},"uniqueKey":"candidates.items.[INDEX].safetyRatings","typeLabel":"object[]"},"citationMetadata":{"type":"object","description":"Source attribution of the generated content","uniqueKey":"candidates.items.[INDEX].citationMetadata","typeLabel":"object"},"index":{"type":"integer","description":"Index of the candidate","uniqueKey":"candidates.items.[INDEX].index","typeLabel":"integer"},"groundingMetadata":{"type":"object","description":"Metadata specifying sources used to ground generated content","uniqueKey":"candidates.items.[INDEX].groundingMetadata","typeLabel":"object"},"urlContextMetadata":{"type":"object","properties":{"urlMetadata":{"type":"array","items":{"type":"object","properties":{"retrievedUrl":{"type":"string","uniqueKey":"candidates.items.[INDEX].urlContextMetadata.urlMetadata.items.[INDEX].retrievedUrl","typeLabel":"string"},"urlRetrievalStatus":{"type":"string","uniqueKey":"candidates.items.[INDEX].urlContextMetadata.urlMetadata.items.[INDEX].urlRetrievalStatus","typeLabel":"string"}},"uniqueKey":"candidates.items.[INDEX].urlContextMetadata.urlMetadata.items.[INDEX]","typeLabel":"object"},"uniqueKey":"candidates.items.[INDEX].urlContextMetadata.urlMetadata","typeLabel":"object[]"}},"uniqueKey":"candidates.items.[INDEX].urlContextMetadata","typeLabel":"object"},"avgLogprobs":{"type":"number","description":"Average log probability score of the candidate","uniqueKey":"candidates.items.[INDEX].avgLogprobs","typeLabel":"number"},"logprobsResult":{"type":"object","properties":{"chosenCandidates":{"type":"array","items":{"type":"object","properties":{"token":{"type":"string","description":"The candidate's token string value","uniqueKey":"candidates.items.[INDEX].logprobsResult.chosenCandidates.items.[INDEX].token","typeLabel":"string"},"tokenId":{"type":"integer","description":"The candidate's token ID value","uniqueKey":"candidates.items.[INDEX].logprobsResult.chosenCandidates.items.[INDEX].tokenId","typeLabel":"integer"},"logProbability":{"type":"number","description":"The candidate's log probability","uniqueKey":"candidates.items.[INDEX].logprobsResult.chosenCandidates.items.[INDEX].logProbability","typeLabel":"number"}},"uniqueKey":"candidates.items.[INDEX].logprobsResult.chosenCandidates.items.[INDEX]","typeLabel":"object"},"uniqueKey":"candidates.items.[INDEX].logprobsResult.chosenCandidates","typeLabel":"object[]"},"topCandidates":{"type":"array","items":{"type":"object","properties":{"candidates":{"type":"array","items":{"type":"object","properties":{"token":{"type":"string","description":"The candidate's token string value","uniqueKey":"candidates.items.[INDEX].logprobsResult.topCandidates.items.[INDEX].candidates.items.[INDEX].token","typeLabel":"string"},"tokenId":{"type":"integer","description":"The candidate's token ID value","uniqueKey":"candidates.items.[INDEX].logprobsResult.topCandidates.items.[INDEX].candidates.items.[INDEX].tokenId","typeLabel":"integer"},"logProbability":{"type":"number","description":"The candidate's log probability","uniqueKey":"candidates.items.[INDEX].logprobsResult.topCandidates.items.[INDEX].candidates.items.[INDEX].logProbability","typeLabel":"number"}},"uniqueKey":"candidates.items.[INDEX].logprobsResult.topCandidates.items.[INDEX].candidates.items.[INDEX]","typeLabel":"object"},"uniqueKey":"candidates.items.[INDEX].logprobsResult.topCandidates.items.[INDEX].candidates","typeLabel":"object[]"}},"uniqueKey":"candidates.items.[INDEX].logprobsResult.topCandidates.items.[INDEX]","typeLabel":"object"},"uniqueKey":"candidates.items.[INDEX].logprobsResult.topCandidates","typeLabel":"object[]"}},"uniqueKey":"candidates.items.[INDEX].logprobsResult","typeLabel":"object"}},"uniqueKey":"candidates.items.[INDEX]","typeLabel":"object"},"uniqueKey":"candidates","typeLabel":"object[]"},"promptFeedback":{"type":"object","properties":{"blockReason":{"type":"string","uniqueKey":"promptFeedback.blockReason","typeLabel":"string"},"blockReasonMessage":{"type":"string","description":"Human-readable block reason message","uniqueKey":"promptFeedback.blockReasonMessage","typeLabel":"string"},"safetyRatings":{"type":"array","items":{"type":"object","properties":{"category":{"type":"string","description":"Harm category","uniqueKey":"promptFeedback.safetyRatings.items.[INDEX].category","typeLabel":"string"},"probability":{"type":"string","description":"Harm probability level","uniqueKey":"promptFeedback.safetyRatings.items.[INDEX].probability","typeLabel":"string"},"probabilityScore":{"type":"number","description":"Harm probability score","uniqueKey":"promptFeedback.safetyRatings.items.[INDEX].probabilityScore","typeLabel":"number"},"severity":{"type":"string","description":"Harm severity level","uniqueKey":"promptFeedback.safetyRatings.items.[INDEX].severity","typeLabel":"string"},"severityScore":{"type":"number","description":"Harm severity score","uniqueKey":"promptFeedback.safetyRatings.items.[INDEX].severityScore","typeLabel":"number"},"blocked":{"type":"boolean","description":"Whether content was filtered","uniqueKey":"promptFeedback.safetyRatings.items.[INDEX].blocked","typeLabel":"boolean"},"overwrittenThreshold":{"type":"string","description":"Overwritten threshold for safety category (for Gemini 2.0 image output with minors detected)","uniqueKey":"promptFeedback.safetyRatings.items.[INDEX].overwrittenThreshold","typeLabel":"string"}},"uniqueKey":"promptFeedback.safetyRatings.items.[INDEX]","typeLabel":"object"},"uniqueKey":"promptFeedback.safetyRatings","typeLabel":"object[]"}},"uniqueKey":"promptFeedback","typeLabel":"object"},"usageMetadata":{"type":"object","properties":{"promptTokenCount":{"type":"integer","description":"Number of tokens in the prompt (includes cached content)","uniqueKey":"usageMetadata.promptTokenCount","typeLabel":"integer"},"candidatesTokenCount":{"type":"integer","description":"Number of tokens in the response(s)","uniqueKey":"usageMetadata.candidatesTokenCount","typeLabel":"integer"},"totalTokenCount":{"type":"integer","description":"Total token count for prompt, response candidates, and tool-use prompts","uniqueKey":"usageMetadata.totalTokenCount","typeLabel":"integer"},"cachedContentTokenCount":{"type":"integer","description":"Number of tokens in the cached part of the input","uniqueKey":"usageMetadata.cachedContentTokenCount","typeLabel":"integer"},"thoughtsTokenCount":{"type":"integer","description":"Number of tokens in thoughts output","uniqueKey":"usageMetadata.thoughtsTokenCount","typeLabel":"integer"},"toolUsePromptTokenCount":{"type":"integer","description":"Number of tokens in tool-use prompts","uniqueKey":"usageMetadata.toolUsePromptTokenCount","typeLabel":"integer"},"trafficType":{"type":"string","description":"Traffic type (Pay-As-You-Go or Provisioned Throughput)","uniqueKey":"usageMetadata.trafficType","typeLabel":"string"},"cacheTokensDetails":{"type":"array","items":{"type":"object","properties":{"modality":{"type":"string","description":"The modality (TEXT, IMAGE, AUDIO, etc.)","uniqueKey":"usageMetadata.cacheTokensDetails.items.[INDEX].modality","typeLabel":"string"},"tokenCount":{"type":"integer","uniqueKey":"usageMetadata.cacheTokensDetails.items.[INDEX].tokenCount","typeLabel":"integer"}},"uniqueKey":"usageMetadata.cacheTokensDetails.items.[INDEX]","typeLabel":"object"},"description":"Modalities of the cached content in the request input","uniqueKey":"usageMetadata.cacheTokensDetails","typeLabel":"object[]"},"candidatesTokensDetails":{"type":"array","items":{"type":"object","properties":{"modality":{"type":"string","description":"The modality (TEXT, IMAGE, AUDIO, etc.)","uniqueKey":"usageMetadata.candidatesTokensDetails.items.[INDEX].modality","typeLabel":"string"},"tokenCount":{"type":"integer","uniqueKey":"usageMetadata.candidatesTokensDetails.items.[INDEX].tokenCount","typeLabel":"integer"}},"uniqueKey":"usageMetadata.candidatesTokensDetails.items.[INDEX]","typeLabel":"object"},"description":"Modalities returned in the response","uniqueKey":"usageMetadata.candidatesTokensDetails","typeLabel":"object[]"},"promptTokensDetails":{"type":"array","items":{"type":"object","properties":{"modality":{"type":"string","description":"The modality (TEXT, IMAGE, AUDIO, etc.)","uniqueKey":"usageMetadata.promptTokensDetails.items.[INDEX].modality","typeLabel":"string"},"tokenCount":{"type":"integer","uniqueKey":"usageMetadata.promptTokensDetails.items.[INDEX].tokenCount","typeLabel":"integer"}},"uniqueKey":"usageMetadata.promptTokensDetails.items.[INDEX]","typeLabel":"object"},"description":"Modalities processed in the request input","uniqueKey":"usageMetadata.promptTokensDetails","typeLabel":"object[]"},"toolUsePromptTokensDetails":{"type":"array","items":{"type":"object","properties":{"modality":{"type":"string","description":"The modality (TEXT, IMAGE, AUDIO, etc.)","uniqueKey":"usageMetadata.toolUsePromptTokensDetails.items.[INDEX].modality","typeLabel":"string"},"tokenCount":{"type":"integer","uniqueKey":"usageMetadata.toolUsePromptTokensDetails.items.[INDEX].tokenCount","typeLabel":"integer"}},"uniqueKey":"usageMetadata.toolUsePromptTokensDetails.items.[INDEX]","typeLabel":"object"},"description":"Modalities processed for tool-use request inputs","uniqueKey":"usageMetadata.toolUsePromptTokensDetails","typeLabel":"object[]"}},"uniqueKey":"usageMetadata","typeLabel":"object"},"modelVersion":{"type":"string","description":"The model version used to generate the response","uniqueKey":"modelVersion","typeLabel":"string"},"responseId":{"type":"string","description":"Response ID for identifying each response (encoding of event_id)","uniqueKey":"responseId","typeLabel":"string"},"createTime":{"type":"string","format":"date-time","description":"Timestamp when the request was made to the server","uniqueKey":"createTime","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"candidates":[{"content":{"role":"user","parts":[{"text":"\u003cstring>","thought":true,"thoughtSignature":"aSDinaTvuI8gbWludGxpZnk=","inlineData":{"mimeType":"\u003cstring>","data":"aSDinaTvuI8gbWludGxpZnk=","displayName":"\u003cstring>"},"fileData":{"mimeType":"\u003cstring>","fileUri":"\u003cstring>","displayName":"\u003cstring>"},"functionCall":{"id":"\u003cstring>","name":"\u003cstring>","args":{}},"functionResponse":{"id":"\u003cstring>","name":"\u003cstring>","response":{},"willContinue":true,"scheduling":"\u003cstring>"},"executableCode":{"language":"\u003cstring>","code":"\u003cstring>"},"codeExecutionResult":{"outcome":"OUTCOME_UNSPECIFIED","output":"\u003cstring>"},"videoMetadata":{"fps":123,"startOffset":"\u003cstring>","endOffset":"\u003cstring>"}}]},"finishReason":"FINISH_REASON_UNSPECIFIED","finishMessage":"\u003cstring>","tokenCount":123,"safetyRatings":[{"category":"\u003cstring>","probability":"\u003cstring>","probabilityScore":123,"severity":"\u003cstring>","severityScore":123,"blocked":true,"overwrittenThreshold":"\u003cstring>"}],"citationMetadata":{},"index":123,"groundingMetadata":{},"urlContextMetadata":{"urlMetadata":[{"retrievedUrl":"\u003cstring>","urlRetrievalStatus":"\u003cstring>"}]},"avgLogprobs":123,"logprobsResult":{"chosenCandidates":[{"token":"\u003cstring>","tokenId":123,"logProbability":123}],"topCandidates":[{"candidates":[{"token":"\u003cstring>","tokenId":123,"logProbability":123}]}]}}],"promptFeedback":{"blockReason":"\u003cstring>","blockReasonMessage":"\u003cstring>","safetyRatings":[{"category":"\u003cstring>","probability":"\u003cstring>","probabilityScore":123,"severity":"\u003cstring>","severityScore":123,"blocked":true,"overwrittenThreshold":"\u003cstring>"}]},"usageMetadata":{"promptTokenCount":123,"candidatesTokenCount":123,"totalTokenCount":123,"cachedContentTokenCount":123,"thoughtsTokenCount":123,"toolUsePromptTokenCount":123,"trafficType":"\u003cstring>","cacheTokensDetails":[{"modality":"\u003cstring>","tokenCount":123}],"candidatesTokensDetails":[{"modality":"\u003cstring>","tokenCount":123}],"promptTokensDetails":[{"modality":"\u003cstring>","tokenCount":123}],"toolUsePromptTokensDetails":[{"modality":"\u003cstring>","tokenCount":123}]},"modelVersion":"\u003cstring>","responseId":"\u003cstring>","createTime":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"},"text/event-stream":{"schema":{"type":"object","properties":{"candidates":{"type":"array","items":{"type":"object","properties":{"content":{"type":"object","properties":{"role":{"type":"string","enum":["user","model"],"description":"The producer of the content. Must be either 'user' or 'model'","uniqueKey":"candidates.items.[INDEX].content.role","typeLabel":"enum\u003cstring>"},"parts":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","description":"Text part (can be code)","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].text","typeLabel":"string"},"thought":{"type":"boolean","description":"Indicates if the part is thought from the model","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].thought","typeLabel":"boolean"},"thoughtSignature":{"type":"string","format":"byte","description":"Opaque signature for thought that can be reused in subsequent requests","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].thoughtSignature","typeLabel":"string\u003cbyte>"},"inlineData":{"type":"object","properties":{"mimeType":{"type":"string","description":"The IANA standard MIME type of the source data","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].inlineData.mimeType","typeLabel":"string"},"data":{"type":"string","format":"byte","description":"Base64-encoded raw bytes","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].inlineData.data","typeLabel":"string\u003cbyte>"},"displayName":{"type":"string","description":"Display name of the blob (not currently used in GenerateContent calls)","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].inlineData.displayName","typeLabel":"string"}},"uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].inlineData","typeLabel":"object"},"fileData":{"type":"object","properties":{"mimeType":{"type":"string","description":"The IANA standard MIME type of the source data","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].fileData.mimeType","typeLabel":"string"},"fileUri":{"type":"string","description":"URI of the file","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].fileData.fileUri","typeLabel":"string"},"displayName":{"type":"string","description":"Display name of the file data","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].fileData.displayName","typeLabel":"string"}},"uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].fileData","typeLabel":"object"},"functionCall":{"type":"object","properties":{"id":{"type":"string","description":"Unique ID of the function call. If populated, client should return response with matching id","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionCall.id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to call. Matches FunctionDeclaration.name","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionCall.name","typeLabel":"string"},"args":{"type":"object","description":"Function parameters and values in JSON object format","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionCall.args","typeLabel":"object"}},"uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionCall","typeLabel":"object"},"functionResponse":{"type":"object","properties":{"id":{"type":"string","description":"ID of the function call this response is for. Matches FunctionCall.id","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionResponse.id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function. Matches FunctionDeclaration.name and FunctionCall.name","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionResponse.name","typeLabel":"string"},"response":{"type":"object","description":"Function response in JSON object format. Use \"output\" key for output and \"error\" key for error details","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionResponse.response","typeLabel":"object"},"willContinue":{"type":"boolean","description":"Signals that function call continues (NON_BLOCKING only). If false, future responses will not be considered","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionResponse.willContinue","typeLabel":"boolean"},"scheduling":{"type":"string","description":"How the response should be scheduled (NON_BLOCKING only). Defaults to WHEN_IDLE","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionResponse.scheduling","typeLabel":"string"}},"uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].functionResponse","typeLabel":"object"},"executableCode":{"type":"object","properties":{"language":{"type":"string","description":"Programming language of the code","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].executableCode.language","typeLabel":"string"},"code":{"type":"string","description":"The code to be executed","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].executableCode.code","typeLabel":"string"}},"uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].executableCode","typeLabel":"object"},"codeExecutionResult":{"type":"object","properties":{"outcome":{"type":"string","enum":["OUTCOME_UNSPECIFIED","OUTCOME_OK","OUTCOME_FAILED","OUTCOME_DEADLINE_EXCEEDED"],"description":"Outcome of the code execution","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].codeExecutionResult.outcome","typeLabel":"enum\u003cstring>"},"output":{"type":"string","description":"Contains stdout when successful, stderr or other description otherwise","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].codeExecutionResult.output","typeLabel":"string"}},"uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].codeExecutionResult","typeLabel":"object"},"videoMetadata":{"type":"object","properties":{"fps":{"type":"number","description":"Frame rate of the video. Range is (0.0, 24.0]","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].videoMetadata.fps","typeLabel":"number"},"startOffset":{"type":"string","description":"Start offset of the video","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].videoMetadata.startOffset","typeLabel":"string"},"endOffset":{"type":"string","description":"End offset of the video","uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].videoMetadata.endOffset","typeLabel":"string"}},"uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX].videoMetadata","typeLabel":"object"}},"uniqueKey":"candidates.items.[INDEX].content.parts.items.[INDEX]","typeLabel":"object"},"description":"List of parts that constitute a single message","uniqueKey":"candidates.items.[INDEX].content.parts","typeLabel":"object[]"}},"uniqueKey":"candidates.items.[INDEX].content","typeLabel":"object"},"finishReason":{"type":"string","enum":["FINISH_REASON_UNSPECIFIED","STOP","MAX_TOKENS","SAFETY","RECITATION","LANGUAGE","OTHER","BLOCKLIST","PROHIBITED_CONTENT","SPII","MALFORMED_FUNCTION_CALL","IMAGE_SAFETY","UNEXPECTED_TOOL_CALL"],"uniqueKey":"candidates.items.[INDEX].finishReason","typeLabel":"enum\u003cstring>"},"finishMessage":{"type":"string","description":"Human-readable finish message","uniqueKey":"candidates.items.[INDEX].finishMessage","typeLabel":"string"},"tokenCount":{"type":"integer","description":"Number of tokens for this candidate","uniqueKey":"candidates.items.[INDEX].tokenCount","typeLabel":"integer"},"safetyRatings":{"type":"array","items":{"type":"object","properties":{"category":{"type":"string","description":"Harm category","uniqueKey":"candidates.items.[INDEX].safetyRatings.items.[INDEX].category","typeLabel":"string"},"probability":{"type":"string","description":"Harm probability level","uniqueKey":"candidates.items.[INDEX].safetyRatings.items.[INDEX].probability","typeLabel":"string"},"probabilityScore":{"type":"number","description":"Harm probability score","uniqueKey":"candidates.items.[INDEX].safetyRatings.items.[INDEX].probabilityScore","typeLabel":"number"},"severity":{"type":"string","description":"Harm severity level","uniqueKey":"candidates.items.[INDEX].safetyRatings.items.[INDEX].severity","typeLabel":"string"},"severityScore":{"type":"number","description":"Harm severity score","uniqueKey":"candidates.items.[INDEX].safetyRatings.items.[INDEX].severityScore","typeLabel":"number"},"blocked":{"type":"boolean","description":"Whether content was filtered","uniqueKey":"candidates.items.[INDEX].safetyRatings.items.[INDEX].blocked","typeLabel":"boolean"},"overwrittenThreshold":{"type":"string","description":"Overwritten threshold for safety category (for Gemini 2.0 image output with minors detected)","uniqueKey":"candidates.items.[INDEX].safetyRatings.items.[INDEX].overwrittenThreshold","typeLabel":"string"}},"uniqueKey":"candidates.items.[INDEX].safetyRatings.items.[INDEX]","typeLabel":"object"},"uniqueKey":"candidates.items.[INDEX].safetyRatings","typeLabel":"object[]"},"citationMetadata":{"type":"object","description":"Source attribution of the generated content","uniqueKey":"candidates.items.[INDEX].citationMetadata","typeLabel":"object"},"index":{"type":"integer","description":"Index of the candidate","uniqueKey":"candidates.items.[INDEX].index","typeLabel":"integer"},"groundingMetadata":{"type":"object","description":"Metadata specifying sources used to ground generated content","uniqueKey":"candidates.items.[INDEX].groundingMetadata","typeLabel":"object"},"urlContextMetadata":{"type":"object","properties":{"urlMetadata":{"type":"array","items":{"type":"object","properties":{"retrievedUrl":{"type":"string","uniqueKey":"candidates.items.[INDEX].urlContextMetadata.urlMetadata.items.[INDEX].retrievedUrl","typeLabel":"string"},"urlRetrievalStatus":{"type":"string","uniqueKey":"candidates.items.[INDEX].urlContextMetadata.urlMetadata.items.[INDEX].urlRetrievalStatus","typeLabel":"string"}},"uniqueKey":"candidates.items.[INDEX].urlContextMetadata.urlMetadata.items.[INDEX]","typeLabel":"object"},"uniqueKey":"candidates.items.[INDEX].urlContextMetadata.urlMetadata","typeLabel":"object[]"}},"uniqueKey":"candidates.items.[INDEX].urlContextMetadata","typeLabel":"object"},"avgLogprobs":{"type":"number","description":"Average log probability score of the candidate","uniqueKey":"candidates.items.[INDEX].avgLogprobs","typeLabel":"number"},"logprobsResult":{"type":"object","properties":{"chosenCandidates":{"type":"array","items":{"type":"object","properties":{"token":{"type":"string","description":"The candidate's token string value","uniqueKey":"candidates.items.[INDEX].logprobsResult.chosenCandidates.items.[INDEX].token","typeLabel":"string"},"tokenId":{"type":"integer","description":"The candidate's token ID value","uniqueKey":"candidates.items.[INDEX].logprobsResult.chosenCandidates.items.[INDEX].tokenId","typeLabel":"integer"},"logProbability":{"type":"number","description":"The candidate's log probability","uniqueKey":"candidates.items.[INDEX].logprobsResult.chosenCandidates.items.[INDEX].logProbability","typeLabel":"number"}},"uniqueKey":"candidates.items.[INDEX].logprobsResult.chosenCandidates.items.[INDEX]","typeLabel":"object"},"uniqueKey":"candidates.items.[INDEX].logprobsResult.chosenCandidates","typeLabel":"object[]"},"topCandidates":{"type":"array","items":{"type":"object","properties":{"candidates":{"type":"array","items":{"type":"object","properties":{"token":{"type":"string","description":"The candidate's token string value","uniqueKey":"candidates.items.[INDEX].logprobsResult.topCandidates.items.[INDEX].candidates.items.[INDEX].token","typeLabel":"string"},"tokenId":{"type":"integer","description":"The candidate's token ID value","uniqueKey":"candidates.items.[INDEX].logprobsResult.topCandidates.items.[INDEX].candidates.items.[INDEX].tokenId","typeLabel":"integer"},"logProbability":{"type":"number","description":"The candidate's log probability","uniqueKey":"candidates.items.[INDEX].logprobsResult.topCandidates.items.[INDEX].candidates.items.[INDEX].logProbability","typeLabel":"number"}},"uniqueKey":"candidates.items.[INDEX].logprobsResult.topCandidates.items.[INDEX].candidates.items.[INDEX]","typeLabel":"object"},"uniqueKey":"candidates.items.[INDEX].logprobsResult.topCandidates.items.[INDEX].candidates","typeLabel":"object[]"}},"uniqueKey":"candidates.items.[INDEX].logprobsResult.topCandidates.items.[INDEX]","typeLabel":"object"},"uniqueKey":"candidates.items.[INDEX].logprobsResult.topCandidates","typeLabel":"object[]"}},"uniqueKey":"candidates.items.[INDEX].logprobsResult","typeLabel":"object"}},"uniqueKey":"candidates.items.[INDEX]","typeLabel":"object"},"uniqueKey":"candidates","typeLabel":"object[]"},"promptFeedback":{"type":"object","properties":{"blockReason":{"type":"string","uniqueKey":"promptFeedback.blockReason","typeLabel":"string"},"blockReasonMessage":{"type":"string","description":"Human-readable block reason message","uniqueKey":"promptFeedback.blockReasonMessage","typeLabel":"string"},"safetyRatings":{"type":"array","items":{"type":"object","properties":{"category":{"type":"string","description":"Harm category","uniqueKey":"promptFeedback.safetyRatings.items.[INDEX].category","typeLabel":"string"},"probability":{"type":"string","description":"Harm probability level","uniqueKey":"promptFeedback.safetyRatings.items.[INDEX].probability","typeLabel":"string"},"probabilityScore":{"type":"number","description":"Harm probability score","uniqueKey":"promptFeedback.safetyRatings.items.[INDEX].probabilityScore","typeLabel":"number"},"severity":{"type":"string","description":"Harm severity level","uniqueKey":"promptFeedback.safetyRatings.items.[INDEX].severity","typeLabel":"string"},"severityScore":{"type":"number","description":"Harm severity score","uniqueKey":"promptFeedback.safetyRatings.items.[INDEX].severityScore","typeLabel":"number"},"blocked":{"type":"boolean","description":"Whether content was filtered","uniqueKey":"promptFeedback.safetyRatings.items.[INDEX].blocked","typeLabel":"boolean"},"overwrittenThreshold":{"type":"string","description":"Overwritten threshold for safety category (for Gemini 2.0 image output with minors detected)","uniqueKey":"promptFeedback.safetyRatings.items.[INDEX].overwrittenThreshold","typeLabel":"string"}},"uniqueKey":"promptFeedback.safetyRatings.items.[INDEX]","typeLabel":"object"},"uniqueKey":"promptFeedback.safetyRatings","typeLabel":"object[]"}},"uniqueKey":"promptFeedback","typeLabel":"object"},"usageMetadata":{"type":"object","properties":{"promptTokenCount":{"type":"integer","description":"Number of tokens in the prompt (includes cached content)","uniqueKey":"usageMetadata.promptTokenCount","typeLabel":"integer"},"candidatesTokenCount":{"type":"integer","description":"Number of tokens in the response(s)","uniqueKey":"usageMetadata.candidatesTokenCount","typeLabel":"integer"},"totalTokenCount":{"type":"integer","description":"Total token count for prompt, response candidates, and tool-use prompts","uniqueKey":"usageMetadata.totalTokenCount","typeLabel":"integer"},"cachedContentTokenCount":{"type":"integer","description":"Number of tokens in the cached part of the input","uniqueKey":"usageMetadata.cachedContentTokenCount","typeLabel":"integer"},"thoughtsTokenCount":{"type":"integer","description":"Number of tokens in thoughts output","uniqueKey":"usageMetadata.thoughtsTokenCount","typeLabel":"integer"},"toolUsePromptTokenCount":{"type":"integer","description":"Number of tokens in tool-use prompts","uniqueKey":"usageMetadata.toolUsePromptTokenCount","typeLabel":"integer"},"trafficType":{"type":"string","description":"Traffic type (Pay-As-You-Go or Provisioned Throughput)","uniqueKey":"usageMetadata.trafficType","typeLabel":"string"},"cacheTokensDetails":{"type":"array","items":{"type":"object","properties":{"modality":{"type":"string","description":"The modality (TEXT, IMAGE, AUDIO, etc.)","uniqueKey":"usageMetadata.cacheTokensDetails.items.[INDEX].modality","typeLabel":"string"},"tokenCount":{"type":"integer","uniqueKey":"usageMetadata.cacheTokensDetails.items.[INDEX].tokenCount","typeLabel":"integer"}},"uniqueKey":"usageMetadata.cacheTokensDetails.items.[INDEX]","typeLabel":"object"},"description":"Modalities of the cached content in the request input","uniqueKey":"usageMetadata.cacheTokensDetails","typeLabel":"object[]"},"candidatesTokensDetails":{"type":"array","items":{"type":"object","properties":{"modality":{"type":"string","description":"The modality (TEXT, IMAGE, AUDIO, etc.)","uniqueKey":"usageMetadata.candidatesTokensDetails.items.[INDEX].modality","typeLabel":"string"},"tokenCount":{"type":"integer","uniqueKey":"usageMetadata.candidatesTokensDetails.items.[INDEX].tokenCount","typeLabel":"integer"}},"uniqueKey":"usageMetadata.candidatesTokensDetails.items.[INDEX]","typeLabel":"object"},"description":"Modalities returned in the response","uniqueKey":"usageMetadata.candidatesTokensDetails","typeLabel":"object[]"},"promptTokensDetails":{"type":"array","items":{"type":"object","properties":{"modality":{"type":"string","description":"The modality (TEXT, IMAGE, AUDIO, etc.)","uniqueKey":"usageMetadata.promptTokensDetails.items.[INDEX].modality","typeLabel":"string"},"tokenCount":{"type":"integer","uniqueKey":"usageMetadata.promptTokensDetails.items.[INDEX].tokenCount","typeLabel":"integer"}},"uniqueKey":"usageMetadata.promptTokensDetails.items.[INDEX]","typeLabel":"object"},"description":"Modalities processed in the request input","uniqueKey":"usageMetadata.promptTokensDetails","typeLabel":"object[]"},"toolUsePromptTokensDetails":{"type":"array","items":{"type":"object","properties":{"modality":{"type":"string","description":"The modality (TEXT, IMAGE, AUDIO, etc.)","uniqueKey":"usageMetadata.toolUsePromptTokensDetails.items.[INDEX].modality","typeLabel":"string"},"tokenCount":{"type":"integer","uniqueKey":"usageMetadata.toolUsePromptTokensDetails.items.[INDEX].tokenCount","typeLabel":"integer"}},"uniqueKey":"usageMetadata.toolUsePromptTokensDetails.items.[INDEX]","typeLabel":"object"},"description":"Modalities processed for tool-use request inputs","uniqueKey":"usageMetadata.toolUsePromptTokensDetails","typeLabel":"object[]"}},"uniqueKey":"usageMetadata","typeLabel":"object"},"modelVersion":{"type":"string","description":"The model version used to generate the response","uniqueKey":"modelVersion","typeLabel":"string"},"responseId":{"type":"string","description":"Response ID for identifying each response (encoding of event_id)","uniqueKey":"responseId","typeLabel":"string"},"createTime":{"type":"string","format":"date-time","description":"Timestamp when the request was made to the server","uniqueKey":"createTime","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"candidates":[{"content":{"role":"user","parts":[{"text":"\u003cstring>","thought":true,"thoughtSignature":"aSDinaTvuI8gbWludGxpZnk=","inlineData":{"mimeType":"\u003cstring>","data":"aSDinaTvuI8gbWludGxpZnk=","displayName":"\u003cstring>"},"fileData":{"mimeType":"\u003cstring>","fileUri":"\u003cstring>","displayName":"\u003cstring>"},"functionCall":{"id":"\u003cstring>","name":"\u003cstring>","args":{}},"functionResponse":{"id":"\u003cstring>","name":"\u003cstring>","response":{},"willContinue":true,"scheduling":"\u003cstring>"},"executableCode":{"language":"\u003cstring>","code":"\u003cstring>"},"codeExecutionResult":{"outcome":"OUTCOME_UNSPECIFIED","output":"\u003cstring>"},"videoMetadata":{"fps":123,"startOffset":"\u003cstring>","endOffset":"\u003cstring>"}}]},"finishReason":"FINISH_REASON_UNSPECIFIED","finishMessage":"\u003cstring>","tokenCount":123,"safetyRatings":[{"category":"\u003cstring>","probability":"\u003cstring>","probabilityScore":123,"severity":"\u003cstring>","severityScore":123,"blocked":true,"overwrittenThreshold":"\u003cstring>"}],"citationMetadata":{},"index":123,"groundingMetadata":{},"urlContextMetadata":{"urlMetadata":[{"retrievedUrl":"\u003cstring>","urlRetrievalStatus":"\u003cstring>"}]},"avgLogprobs":123,"logprobsResult":{"chosenCandidates":[{"token":"\u003cstring>","tokenId":123,"logProbability":123}],"topCandidates":[{"candidates":[{"token":"\u003cstring>","tokenId":123,"logProbability":123}]}]}}],"promptFeedback":{"blockReason":"\u003cstring>","blockReasonMessage":"\u003cstring>","safetyRatings":[{"category":"\u003cstring>","probability":"\u003cstring>","probabilityScore":123,"severity":"\u003cstring>","severityScore":123,"blocked":true,"overwrittenThreshold":"\u003cstring>"}]},"usageMetadata":{"promptTokenCount":123,"candidatesTokenCount":123,"totalTokenCount":123,"cachedContentTokenCount":123,"thoughtsTokenCount":123,"toolUsePromptTokenCount":123,"trafficType":"\u003cstring>","cacheTokensDetails":[{"modality":"\u003cstring>","tokenCount":123}],"candidatesTokensDetails":[{"modality":"\u003cstring>","tokenCount":123}],"promptTokensDetails":[{"modality":"\u003cstring>","tokenCount":123}],"toolUsePromptTokensDetails":[{"modality":"\u003cstring>","tokenCount":123}]},"modelVersion":"\u003cstring>","responseId":"\u003cstring>","createTime":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"9f4c6b82-2ee4-477a-a90f-5e38462168ae":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"integer","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"},"status":{"type":"string","uniqueKey":"error.status","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string","description":"Type identifier for the error details","uniqueKey":"error.details.items.[INDEX].@type","typeLabel":"string"},"fieldViolations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","uniqueKey":"error.details.items.[INDEX].fieldViolations.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX].fieldViolations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details.items.[INDEX].fieldViolations","typeLabel":"object[]"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":123,"message":"\u003cstring>","status":"\u003cstring>","details":[{"@type":"\u003cstring>","fieldViolations":[{"description":"\u003cstring>"}]}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"19f57d82-9c43-407a-8a6e-1f673119ea74":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"integer","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"},"status":{"type":"string","uniqueKey":"error.status","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string","description":"Type identifier for the error details","uniqueKey":"error.details.items.[INDEX].@type","typeLabel":"string"},"fieldViolations":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","uniqueKey":"error.details.items.[INDEX].fieldViolations.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX].fieldViolations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details.items.[INDEX].fieldViolations","typeLabel":"object[]"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":123,"message":"\u003cstring>","status":"\u003cstring>","details":[{"@type":"\u003cstring>","fieldViolations":[{"description":"\u003cstring>"}]}]}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"668d822d-84f8-4fc3-92a1-305648c076a6":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Bearer token authentication. Use your provider API key or Vikat authentication token.\nVirtual keys (prefixed with `sk-vk-`, or the legacy `sk-bf-`) can also be passed here.\n","scopes":[]}},"e99a9030-8acb-4312-b86d-c00e445709a9":{"BasicAuth":{"type":"http","scheme":"basic","description":"Basic authentication using username and password.\n","scopes":[]}},"26585bce-d530-4592-9d59-a89d1b2ff932":{"VirtualKeyAuth":{"type":"apiKey","in":"header","name":"x-vikat-vk","description":"Vikat Virtual Key for governance, routing, and access control. Supported on all inference endpoints (`/v1/*`, `/openai/*`, `/anthropic/*`, `/bedrock/*`, `/cohere/*`, `/genai/*`, `/langchain/*`, `/litellm/*`, `/pydanticai/*`, `/mcp`), not on management APIs (`/api/*`).\nExample: `sk-vk-*` prefixed keys (legacy `sk-bf-*` keys are still accepted).\n","scopes":[]}},"006bece4-fbbc-428b-bfc3-cc29669f79a4":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key authentication via the `x-api-key` header.\nVirtual keys (prefixed with `sk-vk-`, or the legacy `sk-bf-`) can also be passed here.\n","scopes":[]}}},"servers":{"8951c53d-a6f0-474f-9a6d-17023ea6d3c7":{"url":"{baseUrl}","description":"Your Vikat instance","variables":{"baseUrl":{"default":"http://localhost:8080","description":"Base URL of your Vikat instance (e.g. https://vikat.mycompany.com)"}}}},"schemas":{"3e449208-ee74-4f1d-be5b-6cd509ade6c2":{"type":"object","description":"Schema object for defining input/output data types (OpenAPI 3.0 subset)","properties":{"type":{"type":"string","enum":["TYPE_UNSPECIFIED","STRING","NUMBER","INTEGER","BOOLEAN","ARRAY","OBJECT","NULL"],"description":"The type of the data"},"format":{"type":"string","description":"Format of the data (e.g., float, double, int32, int64, email, byte)"},"title":{"type":"string","description":"The title of the Schema"},"description":{"type":"string","description":"The description of the data"},"nullable":{"type":"boolean","description":"Indicates if the value may be null"},"enum":{"type":"array","items":{"type":"string"},"description":"Possible values for primitive types with enum format"},"properties":{"type":"object","additionalProperties":{"$circularRef":"3e449208-ee74-4f1d-be5b-6cd509ade6c2"},"description":"Properties of Type.OBJECT"},"required":{"type":"array","items":{"type":"string"},"description":"Required properties of Type.OBJECT"},"items":{"$circularRef":"3e449208-ee74-4f1d-be5b-6cd509ade6c2","description":"Schema of the elements of Type.ARRAY"},"minItems":{"type":"integer","description":"Minimum number of elements for Type.ARRAY"},"maxItems":{"type":"integer","description":"Maximum number of elements for Type.ARRAY"},"minLength":{"type":"integer","description":"Minimum length of Type.STRING"},"maxLength":{"type":"integer","description":"Maximum length of Type.STRING"},"minimum":{"type":"number","description":"Minimum value of Type.INTEGER and Type.NUMBER"},"maximum":{"type":"number","description":"Maximum value of Type.INTEGER and Type.NUMBER"},"pattern":{"type":"string","description":"Pattern to restrict a string to a regular expression"},"default":{"description":"Default value of the data"},"example":{"description":"Example of the object (only populated when object is root)"},"anyOf":{"type":"array","items":{"$circularRef":"3e449208-ee74-4f1d-be5b-6cd509ade6c2"},"description":"Value should be validated against any of the subschemas"},"propertyOrdering":{"type":"array","items":{"type":"string"},"description":"Order of the properties (not standard OpenAPI)"},"minProperties":{"type":"integer","description":"Minimum number of properties for Type.OBJECT"},"maxProperties":{"type":"integer","description":"Maximum number of properties for Type.OBJECT"}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Bearer token authentication. Use your provider API key or Vikat authentication token.\nVirtual keys (prefixed with `sk-vk-`, or the legacy `sk-bf-`) can also be passed here.\n","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer token authentication. Use your provider API key or Vikat authentication token.\nVirtual keys (prefixed with `sk-vk-`, or the legacy `sk-bf-`) can also be passed here.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"},{"schemes":[{"scheme":{"type":"http","scheme":"basic","description":"Basic authentication using username and password.\n","scopes":[]},"schema":{"title":"Basic Auth","type":"object","description":"Basic authentication using username and password.\n","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"BasicAuth","name":"Authorization"}],"title":"BasicAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-vikat-vk","description":"Vikat Virtual Key for governance, routing, and access control. Supported on all inference endpoints (`/v1/*`, `/openai/*`, `/anthropic/*`, `/bedrock/*`, `/cohere/*`, `/genai/*`, `/langchain/*`, `/litellm/*`, `/pydanticai/*`, `/mcp`), not on management APIs (`/api/*`).\nExample: `sk-vk-*` prefixed keys (legacy `sk-bf-*` keys are still accepted).\n","scopes":[]},"schema":{"title":"x-vikat-vk","type":"string","description":"Vikat Virtual Key for governance, routing, and access control. Supported on all inference endpoints (`/v1/*`, `/openai/*`, `/anthropic/*`, `/bedrock/*`, `/cohere/*`, `/genai/*`, `/langchain/*`, `/litellm/*`, `/pydanticai/*`, `/mcp`), not on management APIs (`/api/*`).\nExample: `sk-vk-*` prefixed keys (legacy `sk-bf-*` keys are still accepted).\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"VirtualKeyAuth","name":"x-vikat-vk"}],"title":"VirtualKeyAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key authentication via the `x-api-key` header.\nVirtual keys (prefixed with `sk-vk-`, or the legacy `sk-bf-`) can also be passed here.\n","scopes":[]},"schema":{"title":"x-api-key","type":"string","description":"API key authentication via the `x-api-key` header.\nVirtual keys (prefixed with `sk-vk-`, or the legacy `sk-bf-`) can also be passed here.\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi/openapi.json"},"subdomain":"vikat-ai","siteName":"Vikat","title":"Generate image (Gemini format) - Vikat","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-25T19:22:25.713Z","originalFileLocation":"api-reference/genai-integration/generate-image-gemini-format.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"For Imagen models, use the :predict suffix (e.g., imagen-3.0-generate-001:predict). For Gemini models, use :generateContent with generationConfig.responseModalities: [\u0026quot;IMAGE\u0026quot;] in the request body.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Vikat\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vikat-ai/emJQBbmxc0Co5JmP/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/vikat-ai/emJQBbmxc0Co5JmP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vikat-ai/emJQBbmxc0Co5JmP/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vikat-ai/emJQBbmxc0Co5JmP/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vikat-ai/emJQBbmxc0Co5JmP/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vikat-ai/emJQBbmxc0Co5JmP/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vikat-ai/emJQBbmxc0Co5JmP/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vikat-ai/emJQBbmxc0Co5JmP/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vikat-ai/emJQBbmxc0Co5JmP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Generate image (Gemini format) - Vikat\">\u003cmeta data-mint-head property=\"og:description\" content=\"For Imagen models, use the :predict suffix (e.g., imagen-3.0-generate-001:predict). For Gemini models, use :generateContent with generationConfig.responseModalities: [\u0026quot;IMAGE\u0026quot;] in the request body.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Vikat\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.vikat.ai/api-reference/genai-integration/generate-image-gemini-format\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vikat-ai.mintlify.site/_mintlify/api/og/v2?division=GenAI+Integration\u0026amp;title=Generate+image+%28Gemini+format%29\u0026amp;description=For+Imagen+models%2C+use+the+%60%3Apredict%60+suffix+%28e.g.%2C+%60imagen-3.0-generate-001%3Apredict%60%29.%0AFor+Gemini+models%2C+use+%60%3AgenerateContent%60+with+%60generationConfig.respons\u0026amp;theme=06807847904dd7332c4171c0\u0026amp;signature=eeed6d5ffeba308caa1b2763e3078f91cd21a3a8bbfbecf1beef83464f398cf9\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Generate image (Gemini format) - Vikat\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"For Imagen models, use the :predict suffix (e.g., imagen-3.0-generate-001:predict). For Gemini models, use :generateContent with generationConfig.responseModalities: [\u0026quot;IMAGE\u0026quot;] in the request body.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vikat-ai.mintlify.site/_mintlify/api/og/v2?division=GenAI+Integration\u0026amp;title=Generate+image+%28Gemini+format%29\u0026amp;description=For+Imagen+models%2C+use+the+%60%3Apredict%60+suffix+%28e.g.%2C+%60imagen-3.0-generate-001%3Apredict%60%29.%0AFor+Gemini+models%2C+use+%60%3AgenerateContent%60+with+%60generationConfig.respons\u0026amp;theme=06807847904dd7332c4171c0\u0026amp;signature=eeed6d5ffeba308caa1b2763e3078f91cd21a3a8bbfbecf1beef83464f398cf9\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/vikat-ai/emJQBbmxc0Co5JmP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Vikat\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0C3B43\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.vikat.ai/api-reference/genai-integration/generate-image-gemini-format\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/genai-integration/generate-image-gemini-format.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.vikat.ai/#organization\",\"name\":\"Vikat\",\"url\":\"https://docs.vikat.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vikat-ai/Xw_qzY8whhWmfPh3/media/vikat-logo.png?fit=max\u0026auto=format\u0026n=Xw_qzY8whhWmfPh3\u0026q=85\u0026s=1bce49f93b955ed9b64346a96466adfd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.vikat.ai#website\",\"name\":\"Vikat\",\"url\":\"https://docs.vikat.ai\",\"publisher\":{\"@id\":\"https://docs.vikat.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.vikat.ai/api-reference/genai-integration/generate-image-gemini-format#webpage\",\"url\":\"https://docs.vikat.ai/api-reference/genai-integration/generate-image-gemini-format\",\"name\":\"Generate image (Gemini format)\",\"description\":\"For Imagen models, use the :predict suffix (e.g., imagen-3.0-generate-001:predict). For Gemini models, use :generateContent with generationConfig.responseModalities: [\\\"IMAGE\\\"] in the request body.\",\"dateModified\":\"2026-09-25T19:22:25.713Z\",\"isPartOf\":{\"@id\":\"https://docs.vikat.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.vikat.ai/api-reference/genai-integration/generate-image-gemini-format#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.vikat.ai/api-reference/genai-integration/generate-image-gemini-format#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.vikat.ai/api-reference/models/list-available-models\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GenAI Integration\",\"item\":\"https://docs.vikat.ai/api-reference/genai-integration/generate-content-gemini-format\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Generate image (Gemini format)\",\"item\":\"https://docs.vikat.ai/api-reference/genai-integration/generate-image-gemini-format\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.vikat.ai/api-reference/genai-integration/generate-image-gemini-format#apireference\",\"headline\":\"Generate image (Gemini format)\",\"name\":\"Generate image (Gemini format)\",\"description\":\"For Imagen models, use the :predict suffix (e.g., imagen-3.0-generate-001:predict). For Gemini models, use :generateContent with generationConfig.responseModalities: [\\\"IMAGE\\\"] in the request body.\",\"url\":\"https://docs.vikat.ai/api-reference/genai-integration/generate-image-gemini-format\",\"mainEntityOfPage\":{\"@id\":\"https://docs.vikat.ai/api-reference/genai-integration/generate-image-gemini-format#webpage\"},\"dateModified\":\"2026-09-25T19:22:25.713Z\",\"publisher\":{\"@id\":\"https://docs.vikat.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.vikat.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Vikat\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Vikat","nav":{"global":{"anchors":[]},"tabs":[{"tab":"OSS","icon":"book-open-cover","pages":[{"title":"OSS","href":"/overview"}]},{"tab":"Enterprise","icon":"building","pages":[{"title":"Enterprise","href":"/enterprise/overview"}]},{"tab":"Edge","icon":"globe","groups":[{"group":"Overview","pages":[]},{"group":"Governance \u0026 Control","icon":"shield-halved","pages":[]},{"group":"Admin controls","icon":"sliders","pages":[]},{"group":"Deployment","icon":"cloud-arrow-up","pages":[]},{"group":"Reference","icon":"list","pages":[]}]},{"tab":"Integrations","icon":"plug","pages":[{"title":"Integrations","href":"/cli-agents/overview"}]},{"tab":"Deployment Guides","icon":"server","pages":[{"title":"Deployment Guides","href":"/deployment-guides/k8s"}]},{"tab":"API","icon":"code","groups":[{"group":"API Reference","pages":[{"group":"Models","pages":[{"title":"List available models","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/models","href":"/api-reference/models/list-available-models"}]},{"group":"Chat Completions","pages":[{"title":"Create a chat completion","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/chat/completions","href":"/api-reference/chat-completions/create-a-chat-completion"}]},{"group":"Text Completions","pages":[{"title":"Create a text completion","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/completions","href":"/api-reference/text-completions/create-a-text-completion"}]},{"group":"Responses","pages":[{"title":"Responses API over WebSocket","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/responses","href":"/api-reference/responses/responses-api-over-websocket"},{"title":"Create a response","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/responses","href":"/api-reference/responses/create-a-response"}]},{"group":"OCR","pages":[{"title":"Perform OCR","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/ocr","href":"/api-reference/ocr/perform-ocr"}]},{"group":"Rerank","pages":[{"title":"Rerank documents","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/rerank","href":"/api-reference/rerank/rerank-documents"}]},{"group":"Embeddings","pages":[{"title":"Create embeddings","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/embeddings","href":"/api-reference/embeddings/create-embeddings"}]},{"group":"Audio","pages":[{"title":"Create speech","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/audio/speech","href":"/api-reference/audio/create-speech"},{"title":"Create transcription","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/audio/transcriptions","href":"/api-reference/audio/create-transcription"}]},{"group":"Images","pages":[{"title":"Generate an image","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/images/generations","href":"/api-reference/images/generate-an-image"},{"title":"Edit an image","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/images/edits","href":"/api-reference/images/edit-an-image"},{"title":"Create Variation","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/images/variations","href":"/api-reference/images/create-variation"}]},{"group":"Videos","pages":[{"title":"List video generation jobs","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/videos","href":"/api-reference/videos/list-video-generation-jobs"},{"title":"Generate a video","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/videos","href":"/api-reference/videos/generate-a-video"},{"title":"Retrieve a video generation job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/videos/{video_id}","href":"/api-reference/videos/retrieve-a-video-generation-job"},{"title":"Delete a video generation job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /v1/videos/{video_id}","href":"/api-reference/videos/delete-a-video-generation-job"},{"title":"Download video content","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/videos/{video_id}/content","href":"/api-reference/videos/download-video-content"},{"title":"Remix a video","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/videos/{video_id}/remix","href":"/api-reference/videos/remix-a-video"}]},{"group":"Count Tokens","pages":[{"title":"Count tokens","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/responses/input_tokens","href":"/api-reference/count-tokens/count-tokens"}]},{"group":"Compaction","pages":[{"title":"Compact context","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/responses/compact","href":"/api-reference/compaction/compact-context"}]},{"group":"Batch","pages":[{"title":"List batch jobs","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/batches","href":"/api-reference/batch/list-batch-jobs"},{"title":"Create a batch job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/batches","href":"/api-reference/batch/create-a-batch-job"},{"title":"Retrieve a batch job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/batches/{batch_id}","href":"/api-reference/batch/retrieve-a-batch-job"},{"title":"Cancel a batch job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/batches/{batch_id}/cancel","href":"/api-reference/batch/cancel-a-batch-job"},{"title":"Get batch results","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/batches/{batch_id}/results","href":"/api-reference/batch/get-batch-results"}]},{"group":"Files","pages":[{"title":"List files","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/files","href":"/api-reference/files/list-files"},{"title":"Upload a file","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/files","href":"/api-reference/files/upload-a-file"},{"title":"Retrieve file metadata","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/files/{file_id}","href":"/api-reference/files/retrieve-file-metadata"},{"title":"Delete a file","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /v1/files/{file_id}","href":"/api-reference/files/delete-a-file"},{"title":"Download file content","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/files/{file_id}/content","href":"/api-reference/files/download-file-content"}]},{"group":"Containers","pages":[{"title":"List containers","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/containers","href":"/api-reference/containers/list-containers"},{"title":"Create a container","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/containers","href":"/api-reference/containers/create-a-container"},{"title":"Retrieve a container","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/containers/{container_id}","href":"/api-reference/containers/retrieve-a-container"},{"title":"Delete a container","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /v1/containers/{container_id}","href":"/api-reference/containers/delete-a-container"},{"title":"List files in a container","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/containers/{container_id}/files","href":"/api-reference/containers/list-files-in-a-container"},{"title":"Create a file in a container","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/containers/{container_id}/files","href":"/api-reference/containers/create-a-file-in-a-container"},{"title":"Retrieve a file from a container","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/containers/{container_id}/files/{file_id}","href":"/api-reference/containers/retrieve-a-file-from-a-container"},{"title":"Delete a file from a container","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /v1/containers/{container_id}/files/{file_id}","href":"/api-reference/containers/delete-a-file-from-a-container"},{"title":"Download file content from a container","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/containers/{container_id}/files/{file_id}/content","href":"/api-reference/containers/download-file-content-from-a-container"}]},{"group":"Async Jobs","pages":[{"title":"Create async chat completion","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/chat/completions","href":"/api-reference/async-jobs/create-async-chat-completion"},{"title":"Create async text completion","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/completions","href":"/api-reference/async-jobs/create-async-text-completion"},{"title":"Create async response","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/responses","href":"/api-reference/async-jobs/create-async-response"},{"title":"Create async embedding","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/embeddings","href":"/api-reference/async-jobs/create-async-embedding"},{"title":"Create async speech","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/audio/speech","href":"/api-reference/async-jobs/create-async-speech"},{"title":"Create async transcription","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/audio/transcriptions","href":"/api-reference/async-jobs/create-async-transcription"},{"title":"Create async image generation","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/images/generations","href":"/api-reference/async-jobs/create-async-image-generation"},{"title":"Create async image edit","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/images/edits","href":"/api-reference/async-jobs/create-async-image-edit"},{"title":"Create async image variation","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/images/variations","href":"/api-reference/async-jobs/create-async-image-variation"},{"title":"Get async chat completion job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/chat/completions/{job_id}","href":"/api-reference/async-jobs/get-async-chat-completion-job"},{"title":"Get async text completion job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/completions/{job_id}","href":"/api-reference/async-jobs/get-async-text-completion-job"},{"title":"Get async response job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/responses/{job_id}","href":"/api-reference/async-jobs/get-async-response-job"},{"title":"Get async embedding job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/embeddings/{job_id}","href":"/api-reference/async-jobs/get-async-embedding-job"},{"title":"Get async speech job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/audio/speech/{job_id}","href":"/api-reference/async-jobs/get-async-speech-job"},{"title":"Get async transcription job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/audio/transcriptions/{job_id}","href":"/api-reference/async-jobs/get-async-transcription-job"},{"title":"Get async image generation job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/images/generations/{job_id}","href":"/api-reference/async-jobs/get-async-image-generation-job"},{"title":"Get async image edit job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/images/edits/{job_id}","href":"/api-reference/async-jobs/get-async-image-edit-job"},{"title":"Get async image variation job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/images/variations/{job_id}","href":"/api-reference/async-jobs/get-async-image-variation-job"},{"title":"Create async rerank","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/rerank","href":"/api-reference/async-jobs/create-async-rerank"},{"title":"Get async rerank job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/rerank/{job_id}","href":"/api-reference/async-jobs/get-async-rerank-job"},{"title":"Create async OCR job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/async/ocr","href":"/api-reference/async-jobs/create-async-ocr-job"},{"title":"Get async OCR job","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/async/ocr/{job_id}","href":"/api-reference/async-jobs/get-async-ocr-job"}]},{"group":"Realtime","pages":[{"title":"Realtime API WebSocket","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /v1/realtime","href":"/api-reference/realtime/realtime-api-websocket"},{"title":"Realtime WebRTC SDP exchange","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/realtime/calls","href":"/api-reference/realtime/realtime-webrtc-sdp-exchange"},{"title":"Mint a realtime ephemeral client secret","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/realtime/client_secrets","href":"/api-reference/realtime/mint-a-realtime-ephemeral-client-secret"},{"title":"Mint a realtime session (legacy alias)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/realtime/sessions","href":"/api-reference/realtime/mint-a-realtime-session-legacy-alias"}]},{"group":"OpenAI Integration","pages":[{"title":"Create chat completion (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/chat/completions","href":"/api-reference/openai-integration/create-chat-completion-openai-format"},{"title":"Create chat completion (Azure OpenAI)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/openai/deployments/{deployment-id}/chat/completions","href":"/api-reference/openai-integration/create-chat-completion-azure-openai"},{"title":"Create text completion (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/completions","href":"/api-reference/openai-integration/create-text-completion-openai-format"},{"title":"Create text completion (Azure OpenAI)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/openai/deployments/{deployment-id}/completions","href":"/api-reference/openai-integration/create-text-completion-azure-openai"},{"title":"WebSocket Responses (OpenAI alias)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/responses","href":"/api-reference/openai-integration/websocket-responses-openai-alias"},{"title":"Create response (OpenAI Responses API)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/responses","href":"/api-reference/openai-integration/create-response-openai-responses-api"},{"title":"Create response (Azure OpenAI)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/openai/deployments/{deployment-id}/responses","href":"/api-reference/openai-integration/create-response-azure-openai"},{"title":"Count input tokens","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/responses/input_tokens","href":"/api-reference/openai-integration/count-input-tokens"},{"title":"Compact context (OpenAI)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/responses/compact","href":"/api-reference/openai-integration/compact-context-openai"},{"title":"Create embeddings (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/embeddings","href":"/api-reference/openai-integration/create-embeddings-openai-format"},{"title":"Create embeddings (Azure OpenAI)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/openai/deployments/{deployment-id}/embeddings","href":"/api-reference/openai-integration/create-embeddings-azure-openai"},{"title":"Create speech (OpenAI TTS)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/audio/speech","href":"/api-reference/openai-integration/create-speech-openai-tts"},{"title":"Create speech (Azure OpenAI TTS)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/openai/deployments/{deployment-id}/audio/speech","href":"/api-reference/openai-integration/create-speech-azure-openai-tts"},{"title":"Create transcription (OpenAI Whisper)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/audio/transcriptions","href":"/api-reference/openai-integration/create-transcription-openai-whisper"},{"title":"Create transcription (Azure OpenAI)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/openai/deployments/{deployment-id}/audio/transcriptions","href":"/api-reference/openai-integration/create-transcription-azure-openai"},{"title":"List models (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/models","href":"/api-reference/openai-integration/list-models-openai-format"},{"title":"List models (Azure OpenAI)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/openai/deployments/{deployment-id}/models","href":"/api-reference/openai-integration/list-models-azure-openai"},{"title":"List batch jobs (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/batches","href":"/api-reference/openai-integration/list-batch-jobs-openai-format"},{"title":"Create batch job (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/batches","href":"/api-reference/openai-integration/create-batch-job-openai-format"},{"title":"Retrieve batch job (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/batches/{batch_id}","href":"/api-reference/openai-integration/retrieve-batch-job-openai-format"},{"title":"Cancel batch job (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/batches/{batch_id}/cancel","href":"/api-reference/openai-integration/cancel-batch-job-openai-format"},{"title":"Create image","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/images/generations","href":"/api-reference/openai-integration/create-image"},{"title":"Create image (Azure OpenAI)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/openai/deployments/{deployment-id}/images/generations","href":"/api-reference/openai-integration/create-image-azure-openai"},{"title":"List files (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/files","href":"/api-reference/openai-integration/list-files-openai-format"},{"title":"Upload file (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/files","href":"/api-reference/openai-integration/upload-file-openai-format"},{"title":"Retrieve file metadata (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/files/{file_id}","href":"/api-reference/openai-integration/retrieve-file-metadata-openai-format"},{"title":"Delete file (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /openai/v1/files/{file_id}","href":"/api-reference/openai-integration/delete-file-openai-format"},{"title":"Get file content (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/files/{file_id}/content","href":"/api-reference/openai-integration/get-file-content-openai-format"},{"title":"List containers (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/containers","href":"/api-reference/openai-integration/list-containers-openai-format"},{"title":"Create container (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/containers","href":"/api-reference/openai-integration/create-container-openai-format"},{"title":"Retrieve container (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/containers/{container_id}","href":"/api-reference/openai-integration/retrieve-container-openai-format"},{"title":"Delete container (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /openai/v1/containers/{container_id}","href":"/api-reference/openai-integration/delete-container-openai-format"},{"title":"List files in container (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/containers/{container_id}/files","href":"/api-reference/openai-integration/list-files-in-container-openai-format"},{"title":"Create file in container (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/containers/{container_id}/files","href":"/api-reference/openai-integration/create-file-in-container-openai-format"},{"title":"Retrieve file from container (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/containers/{container_id}/files/{file_id}","href":"/api-reference/openai-integration/retrieve-file-from-container-openai-format"},{"title":"Delete file from container (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /openai/v1/containers/{container_id}/files/{file_id}","href":"/api-reference/openai-integration/delete-file-from-container-openai-format"},{"title":"Get file content from container (OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/containers/{container_id}/files/{file_id}/content","href":"/api-reference/openai-integration/get-file-content-from-container-openai-format"},{"title":"List video generations","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/videos","href":"/api-reference/openai-integration/list-video-generations"},{"title":"Create a video generation","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/videos","href":"/api-reference/openai-integration/create-a-video-generation"},{"title":"Retrieve a video generation","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/videos/{video_id}","href":"/api-reference/openai-integration/retrieve-a-video-generation"},{"title":"Delete a video generation","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /openai/v1/videos/{video_id}","href":"/api-reference/openai-integration/delete-a-video-generation"},{"title":"Download generated video content","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/videos/{video_id}/content","href":"/api-reference/openai-integration/download-generated-video-content"},{"title":"Remix an existing video","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/videos/{video_id}/remix","href":"/api-reference/openai-integration/remix-an-existing-video"},{"title":"WebSocket Realtime (OpenAI alias)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /openai/v1/realtime","href":"/api-reference/openai-integration/websocket-realtime-openai-alias"},{"title":"WebRTC Realtime SDP exchange (OpenAI alias)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/realtime/calls","href":"/api-reference/openai-integration/webrtc-realtime-sdp-exchange-openai-alias"},{"title":"Create realtime client secret (OpenAI alias)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/realtime/client_secrets","href":"/api-reference/openai-integration/create-realtime-client-secret-openai-alias"},{"title":"Create realtime session (OpenAI alias)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /openai/v1/realtime/sessions","href":"/api-reference/openai-integration/create-realtime-session-openai-alias"}]},{"group":"Anthropic Integration","pages":[{"title":"Create message (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /anthropic/v1/messages","href":"/api-reference/anthropic-integration/create-message-anthropic-format"},{"title":"Create message (Anthropic format) - wildcard","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /anthropic/v1/messages/{path}","href":"/api-reference/anthropic-integration/create-message-anthropic-format--wildcard"},{"title":"Create completion (Anthropic legacy format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /anthropic/v1/complete","href":"/api-reference/anthropic-integration/create-completion-anthropic-legacy-format"},{"title":"List models (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /anthropic/v1/models","href":"/api-reference/anthropic-integration/list-models-anthropic-format"},{"title":"Count tokens (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /anthropic/v1/messages/count_tokens","href":"/api-reference/anthropic-integration/count-tokens-anthropic-format"},{"title":"List batch jobs (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /anthropic/v1/messages/batches","href":"/api-reference/anthropic-integration/list-batch-jobs-anthropic-format"},{"title":"Create batch job (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /anthropic/v1/messages/batches","href":"/api-reference/anthropic-integration/create-batch-job-anthropic-format"},{"title":"Retrieve batch job (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /anthropic/v1/messages/batches/{batch_id}","href":"/api-reference/anthropic-integration/retrieve-batch-job-anthropic-format"},{"title":"Cancel batch job (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /anthropic/v1/messages/batches/{batch_id}/cancel","href":"/api-reference/anthropic-integration/cancel-batch-job-anthropic-format"},{"title":"Get batch results (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /anthropic/v1/messages/batches/{batch_id}/results","href":"/api-reference/anthropic-integration/get-batch-results-anthropic-format"},{"title":"List files (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /anthropic/v1/files","href":"/api-reference/anthropic-integration/list-files-anthropic-format"},{"title":"Upload file (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /anthropic/v1/files","href":"/api-reference/anthropic-integration/upload-file-anthropic-format"},{"title":"Get file content (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /anthropic/v1/files/{file_id}/content","href":"/api-reference/anthropic-integration/get-file-content-anthropic-format"},{"title":"Delete file (Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /anthropic/v1/files/{file_id}","href":"/api-reference/anthropic-integration/delete-file-anthropic-format"}]},{"group":"GenAI Integration","pages":[{"title":"Generate content (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/v1beta/models/{model}:generateContent","href":"/api-reference/genai-integration/generate-content-gemini-format"},{"title":"Stream generate content (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/v1beta/models/{model}:streamGenerateContent","href":"/api-reference/genai-integration/stream-generate-content-gemini-format"},{"title":"Embed content (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/v1beta/models/{model}:embedContent","href":"/api-reference/genai-integration/embed-content-gemini-format"},{"title":"Count tokens (Gemini format)","description":"Counts tokens using Google Gemini API format.\n","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/v1beta/models/{model}:countTokens","href":"/api-reference/genai-integration/count-tokens-gemini-format"},{"title":"Generate image (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/v1beta/models/{model}:predict","href":"/api-reference/genai-integration/generate-image-gemini-format"},{"title":"List models (Gemini format)","description":"Lists available models in Google Gemini API format.\n","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /genai/v1beta/models","href":"/api-reference/genai-integration/list-models-gemini-format"},{"title":"Upload file (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/upload/v1beta/files","href":"/api-reference/genai-integration/upload-file-gemini-format"},{"title":"List files (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /genai/v1beta/files","href":"/api-reference/genai-integration/list-files-gemini-format"},{"title":"Retrieve file (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /genai/v1beta/files/{file_id}","href":"/api-reference/genai-integration/retrieve-file-gemini-format"},{"title":"Delete file (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /genai/v1beta/files/{file_id}","href":"/api-reference/genai-integration/delete-file-gemini-format"},{"title":"List batch jobs (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /genai/v1beta/batches","href":"/api-reference/genai-integration/list-batch-jobs-gemini-format"},{"title":"Retrieve a batch job (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /genai/v1beta/batches/{batch_id}","href":"/api-reference/genai-integration/retrieve-a-batch-job-gemini-format"},{"title":"Cancel a batch job (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/v1beta/batches/{batch_id}","href":"/api-reference/genai-integration/cancel-a-batch-job-gemini-format"},{"title":"Delete a batch job (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /genai/v1beta/batches/{batch_id}","href":"/api-reference/genai-integration/delete-a-batch-job-gemini-format"},{"title":"List cached content entries (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /genai/v1beta/cachedContents","href":"/api-reference/genai-integration/list-cached-content-entries-gemini-format"},{"title":"Create cached content (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/v1beta/cachedContents","href":"/api-reference/genai-integration/create-cached-content-gemini-format"},{"title":"Retrieve cached content (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /genai/v1beta/cachedContents/{cached_id}","href":"/api-reference/genai-integration/retrieve-cached-content-gemini-format"},{"title":"Delete cached content (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /genai/v1beta/cachedContents/{cached_id}","href":"/api-reference/genai-integration/delete-cached-content-gemini-format"},{"title":"Update cached content (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json patch /genai/v1beta/cachedContents/{cached_id}","href":"/api-reference/genai-integration/update-cached-content-gemini-format"},{"title":"Rerank documents (Vertex Rank)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /genai/v1/rank","href":"/api-reference/genai-integration/rerank-documents-vertex-rank"},{"title":"Retrieve video generation operation (Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /genai/v1beta/models/{model}/operations/{operation_id}","href":"/api-reference/genai-integration/retrieve-video-generation-operation-gemini-format"}]},{"group":"Bedrock Integration","pages":[{"title":"Converse with model (Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /bedrock/model/{modelId}/converse","href":"/api-reference/bedrock-integration/converse-with-model-bedrock-format"},{"title":"Stream converse with model (Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /bedrock/model/{modelId}/converse-stream","href":"/api-reference/bedrock-integration/stream-converse-with-model-bedrock-format"},{"title":"Invoke model (Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /bedrock/model/{modelId}/invoke","href":"/api-reference/bedrock-integration/invoke-model-bedrock-format"},{"title":"Invoke model with streaming (Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /bedrock/model/{modelId}/invoke-with-response-stream","href":"/api-reference/bedrock-integration/invoke-model-with-streaming-bedrock-format"},{"title":"Count tokens (Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /bedrock/model/{modelId}/count-tokens","href":"/api-reference/bedrock-integration/count-tokens-bedrock-format"},{"title":"Create batch inference job (Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /bedrock/model-invocation-job","href":"/api-reference/bedrock-integration/create-batch-inference-job-bedrock-format"},{"title":"List batch inference jobs (Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /bedrock/model-invocation-jobs","href":"/api-reference/bedrock-integration/list-batch-inference-jobs-bedrock-format"},{"title":"Retrieve batch inference job (Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /bedrock/model-invocation-job/{job_arn}","href":"/api-reference/bedrock-integration/retrieve-batch-inference-job-bedrock-format"},{"title":"Cancel batch inference job (Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /bedrock/model-invocation-job/{job_arn}/stop","href":"/api-reference/bedrock-integration/cancel-batch-inference-job-bedrock-format"},{"title":"S3-compatible ListObjectsV2","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /bedrock/files/{bucket}","href":"/api-reference/bedrock-integration/s3-compatible-listobjectsv2"},{"title":"S3-compatible GetObject","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /bedrock/files/{bucket}/{key}","href":"/api-reference/bedrock-integration/s3-compatible-getobject"},{"title":"S3-compatible PutObject","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /bedrock/files/{bucket}/{key}","href":"/api-reference/bedrock-integration/s3-compatible-putobject"},{"title":"S3-compatible DeleteObject","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /bedrock/files/{bucket}/{key}","href":"/api-reference/bedrock-integration/s3-compatible-deleteobject"},{"title":"S3-compatible HeadObject","deprecated":null,"version":null,"openapi":"/openapi/openapi.json head /bedrock/files/{bucket}/{key}","href":"/api-reference/bedrock-integration/s3-compatible-headobject"}]},{"group":"Cohere Integration","pages":[{"title":"Chat with model (Cohere v2 format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cohere/v2/chat","href":"/api-reference/cohere-integration/chat-with-model-cohere-v2-format"},{"title":"Create embeddings (Cohere v2 format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cohere/v2/embed","href":"/api-reference/cohere-integration/create-embeddings-cohere-v2-format"},{"title":"Rerank documents (Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cohere/v2/rerank","href":"/api-reference/cohere-integration/rerank-documents-cohere-format"},{"title":"Tokenize text (Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cohere/v1/tokenize","href":"/api-reference/cohere-integration/tokenize-text-cohere-format"}]},{"group":"Cursor Integration","pages":[{"title":"Cursor hybrid chat completions","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v1/chat/completions","href":"/api-reference/cursor-integration/cursor-hybrid-chat-completions"},{"title":"List models (Cursor)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /cursor/v1/models","href":"/api-reference/cursor-integration/list-models-cursor"},{"title":"Anthropic complete (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v1/complete","href":"/api-reference/cursor-integration/anthropic-complete-cursor-mount"},{"title":"Anthropic messages (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v1/messages","href":"/api-reference/cursor-integration/anthropic-messages-cursor-mount"},{"title":"Anthropic messages — wildcard (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v1/messages/{path}","href":"/api-reference/cursor-integration/anthropic-messages-—-wildcard-cursor-mount"},{"title":"Anthropic count tokens (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v1/messages/count_tokens","href":"/api-reference/cursor-integration/anthropic-count-tokens-cursor-mount"},{"title":"Gemini list models (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /cursor/v1beta/models","href":"/api-reference/cursor-integration/gemini-list-models-cursor-mount"},{"title":"Gemini model action (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v1beta/models/{model}","href":"/api-reference/cursor-integration/gemini-model-action-cursor-mount"},{"title":"Gemini video operation polling (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /cursor/v1beta/models/{model}/operations/{operation_id}","href":"/api-reference/cursor-integration/gemini-video-operation-polling-cursor-mount"},{"title":"Vertex rank (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v1/rank","href":"/api-reference/cursor-integration/vertex-rank-cursor-mount"},{"title":"Bedrock converse (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/model/{modelId}/converse","href":"/api-reference/cursor-integration/bedrock-converse-cursor-mount"},{"title":"Bedrock converse stream (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/model/{modelId}/converse-stream","href":"/api-reference/cursor-integration/bedrock-converse-stream-cursor-mount"},{"title":"Bedrock invoke (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/model/{modelId}/invoke","href":"/api-reference/cursor-integration/bedrock-invoke-cursor-mount"},{"title":"Bedrock invoke-with-response-stream (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/model/{modelId}/invoke-with-response-stream","href":"/api-reference/cursor-integration/bedrock-invoke-with-response-stream-cursor-mount"},{"title":"Bedrock rerank (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/rerank","href":"/api-reference/cursor-integration/bedrock-rerank-cursor-mount"},{"title":"Bedrock count tokens (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/model/{modelId}/count-tokens","href":"/api-reference/cursor-integration/bedrock-count-tokens-cursor-mount"},{"title":"Cohere chat (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v2/chat","href":"/api-reference/cursor-integration/cohere-chat-cursor-mount"},{"title":"Cohere embed (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v2/embed","href":"/api-reference/cursor-integration/cohere-embed-cursor-mount"},{"title":"Cohere rerank (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v2/rerank","href":"/api-reference/cursor-integration/cohere-rerank-cursor-mount"},{"title":"Cohere tokenize (Cursor mount)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /cursor/v1/tokenize","href":"/api-reference/cursor-integration/cohere-tokenize-cursor-mount"}]},{"group":"LiteLLM Integration","pages":[{"title":"Text completions (LiteLLM - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/v1/completions","href":"/api-reference/litellm-integration/text-completions-litellm--openai-format"},{"title":"Chat completions (LiteLLM - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/v1/chat/completions","href":"/api-reference/litellm-integration/chat-completions-litellm--openai-format"},{"title":"Create embeddings (LiteLLM - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/v1/embeddings","href":"/api-reference/litellm-integration/create-embeddings-litellm--openai-format"},{"title":"List models (LiteLLM - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /litellm/v1/models","href":"/api-reference/litellm-integration/list-models-litellm--openai-format"},{"title":"Create response (LiteLLM - OpenAI Responses API)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/v1/responses","href":"/api-reference/litellm-integration/create-response-litellm--openai-responses-api"},{"title":"Count input tokens (LiteLLM - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/v1/responses/input_tokens","href":"/api-reference/litellm-integration/count-input-tokens-litellm--openai-format"},{"title":"Create speech (LiteLLM - OpenAI TTS)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/v1/audio/speech","href":"/api-reference/litellm-integration/create-speech-litellm--openai-tts"},{"title":"Create transcription (LiteLLM - OpenAI Whisper)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/v1/audio/transcriptions","href":"/api-reference/litellm-integration/create-transcription-litellm--openai-whisper"},{"title":"Create message (LiteLLM - Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/anthropic/v1/messages","href":"/api-reference/litellm-integration/create-message-litellm--anthropic-format"},{"title":"List models (LiteLLM - Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /litellm/genai/v1beta/models","href":"/api-reference/litellm-integration/list-models-litellm--gemini-format"},{"title":"Generate content (LiteLLM - Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/genai/v1beta/models/{model}:generateContent","href":"/api-reference/litellm-integration/generate-content-litellm--gemini-format"},{"title":"Stream generate content (LiteLLM - Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/genai/v1beta/models/{model}:streamGenerateContent","href":"/api-reference/litellm-integration/stream-generate-content-litellm--gemini-format"},{"title":"Converse with model (LiteLLM - Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/bedrock/model/{modelId}/converse","href":"/api-reference/litellm-integration/converse-with-model-litellm--bedrock-format"},{"title":"Stream converse with model (LiteLLM - Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/bedrock/model/{modelId}/converse-stream","href":"/api-reference/litellm-integration/stream-converse-with-model-litellm--bedrock-format"},{"title":"Chat with model (LiteLLM - Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/cohere/v2/chat","href":"/api-reference/litellm-integration/chat-with-model-litellm--cohere-format"},{"title":"Create embeddings (LiteLLM - Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/cohere/v2/embed","href":"/api-reference/litellm-integration/create-embeddings-litellm--cohere-format"},{"title":"Tokenize text (LiteLLM - Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /litellm/cohere/v1/tokenize","href":"/api-reference/litellm-integration/tokenize-text-litellm--cohere-format"}]},{"group":"LangChain Integration","pages":[{"title":"Text completions (LangChain - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/v1/completions","href":"/api-reference/langchain-integration/text-completions-langchain--openai-format"},{"title":"Chat completions (LangChain - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/v1/chat/completions","href":"/api-reference/langchain-integration/chat-completions-langchain--openai-format"},{"title":"Create embeddings (LangChain - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/v1/embeddings","href":"/api-reference/langchain-integration/create-embeddings-langchain--openai-format"},{"title":"List models (LangChain - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /langchain/v1/models","href":"/api-reference/langchain-integration/list-models-langchain--openai-format"},{"title":"Create response (LangChain - OpenAI Responses API)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/v1/responses","href":"/api-reference/langchain-integration/create-response-langchain--openai-responses-api"},{"title":"Count input tokens (LangChain - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/v1/responses/input_tokens","href":"/api-reference/langchain-integration/count-input-tokens-langchain--openai-format"},{"title":"Create speech (LangChain - OpenAI TTS)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/v1/audio/speech","href":"/api-reference/langchain-integration/create-speech-langchain--openai-tts"},{"title":"Create transcription (LangChain - OpenAI Whisper)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/v1/audio/transcriptions","href":"/api-reference/langchain-integration/create-transcription-langchain--openai-whisper"},{"title":"Create message (LangChain - Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/anthropic/v1/messages","href":"/api-reference/langchain-integration/create-message-langchain--anthropic-format"},{"title":"Count tokens (LangChain - Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/anthropic/v1/messages/count_tokens","href":"/api-reference/langchain-integration/count-tokens-langchain--anthropic-format"},{"title":"List models (LangChain - Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /langchain/genai/v1beta/models","href":"/api-reference/langchain-integration/list-models-langchain--gemini-format"},{"title":"Generate content (LangChain - Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/genai/v1beta/models/{model}:generateContent","href":"/api-reference/langchain-integration/generate-content-langchain--gemini-format"},{"title":"Stream generate content (LangChain - Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/genai/v1beta/models/{model}:streamGenerateContent","href":"/api-reference/langchain-integration/stream-generate-content-langchain--gemini-format"},{"title":"Converse with model (LangChain - Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/bedrock/model/{modelId}/converse","href":"/api-reference/langchain-integration/converse-with-model-langchain--bedrock-format"},{"title":"Stream converse with model (LangChain - Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/bedrock/model/{modelId}/converse-stream","href":"/api-reference/langchain-integration/stream-converse-with-model-langchain--bedrock-format"},{"title":"Chat with model (LangChain - Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/cohere/v2/chat","href":"/api-reference/langchain-integration/chat-with-model-langchain--cohere-format"},{"title":"Create embeddings (LangChain - Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/cohere/v2/embed","href":"/api-reference/langchain-integration/create-embeddings-langchain--cohere-format"},{"title":"Tokenize text (LangChain - Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /langchain/cohere/v1/tokenize","href":"/api-reference/langchain-integration/tokenize-text-langchain--cohere-format"}]},{"group":"PydanticAI Integration","pages":[{"title":"Text completions (PydanticAI - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/v1/completions","href":"/api-reference/pydanticai-integration/text-completions-pydanticai--openai-format"},{"title":"Chat completions (PydanticAI - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/v1/chat/completions","href":"/api-reference/pydanticai-integration/chat-completions-pydanticai--openai-format"},{"title":"Create embeddings (PydanticAI - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/v1/embeddings","href":"/api-reference/pydanticai-integration/create-embeddings-pydanticai--openai-format"},{"title":"List models (PydanticAI - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /pydanticai/v1/models","href":"/api-reference/pydanticai-integration/list-models-pydanticai--openai-format"},{"title":"Create response (PydanticAI - OpenAI Responses API)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/v1/responses","href":"/api-reference/pydanticai-integration/create-response-pydanticai--openai-responses-api"},{"title":"Count input tokens (PydanticAI - OpenAI format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/v1/responses/input_tokens","href":"/api-reference/pydanticai-integration/count-input-tokens-pydanticai--openai-format"},{"title":"Create speech (PydanticAI - OpenAI TTS)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/v1/audio/speech","href":"/api-reference/pydanticai-integration/create-speech-pydanticai--openai-tts"},{"title":"Create transcription (PydanticAI - OpenAI Whisper)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/v1/audio/transcriptions","href":"/api-reference/pydanticai-integration/create-transcription-pydanticai--openai-whisper"},{"title":"Create message (PydanticAI - Anthropic format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/anthropic/v1/messages","href":"/api-reference/pydanticai-integration/create-message-pydanticai--anthropic-format"},{"title":"List models (PydanticAI - Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /pydanticai/genai/v1beta/models","href":"/api-reference/pydanticai-integration/list-models-pydanticai--gemini-format"},{"title":"Generate content (PydanticAI - Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/genai/v1beta/models/{model}:generateContent","href":"/api-reference/pydanticai-integration/generate-content-pydanticai--gemini-format"},{"title":"Stream generate content (PydanticAI - Gemini format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/genai/v1beta/models/{model}:streamGenerateContent","href":"/api-reference/pydanticai-integration/stream-generate-content-pydanticai--gemini-format"},{"title":"Converse with model (PydanticAI - Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/bedrock/model/{modelId}/converse","href":"/api-reference/pydanticai-integration/converse-with-model-pydanticai--bedrock-format"},{"title":"Stream converse with model (PydanticAI - Bedrock format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/bedrock/model/{modelId}/converse-stream","href":"/api-reference/pydanticai-integration/stream-converse-with-model-pydanticai--bedrock-format"},{"title":"Chat with model (PydanticAI - Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/cohere/v2/chat","href":"/api-reference/pydanticai-integration/chat-with-model-pydanticai--cohere-format"},{"title":"Create embeddings (PydanticAI - Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/cohere/v2/embed","href":"/api-reference/pydanticai-integration/create-embeddings-pydanticai--cohere-format"},{"title":"Tokenize text (PydanticAI - Cohere format)","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /pydanticai/cohere/v1/tokenize","href":"/api-reference/pydanticai-integration/tokenize-text-pydanticai--cohere-format"}]},{"group":"Health","pages":[{"title":"Health check","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /health","href":"/api-reference/health/health-check"}]},{"group":"Configuration","pages":[{"title":"Get configuration","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/config","href":"/api-reference/configuration/get-configuration"},{"title":"Update configuration","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/config","href":"/api-reference/configuration/update-configuration"},{"title":"Get version","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/version","href":"/api-reference/configuration/get-version"},{"title":"Get proxy configuration","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/proxy-config","href":"/api-reference/configuration/get-proxy-configuration"},{"title":"Update proxy configuration","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/proxy-config","href":"/api-reference/configuration/update-proxy-configuration"},{"title":"Force pricing sync","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/pricing/force-sync","href":"/api-reference/configuration/force-pricing-sync"}]},{"group":"Providers","pages":[{"title":"Refresh live model lists","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/models/refresh","href":"/api-reference/providers/refresh-live-model-lists"},{"title":"List all providers","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/providers","href":"/api-reference/providers/list-all-providers"},{"title":"Add a new provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/providers","href":"/api-reference/providers/add-a-new-provider"},{"title":"Get a specific provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/providers/{provider}","href":"/api-reference/providers/get-a-specific-provider"},{"title":"Update a provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/providers/{provider}","href":"/api-reference/providers/update-a-provider"},{"title":"Delete a provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/providers/{provider}","href":"/api-reference/providers/delete-a-provider"},{"title":"List keys for a provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/providers/{provider}/keys","href":"/api-reference/providers/list-keys-for-a-provider"},{"title":"Create a key for a provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/providers/{provider}/keys","href":"/api-reference/providers/create-a-key-for-a-provider"},{"title":"Get a specific key for a provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/providers/{provider}/keys/{key_id}","href":"/api-reference/providers/get-a-specific-key-for-a-provider"},{"title":"Update a key for a provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/providers/{provider}/keys/{key_id}","href":"/api-reference/providers/update-a-key-for-a-provider"},{"title":"Delete a key from a provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/providers/{provider}/keys/{key_id}","href":"/api-reference/providers/delete-a-key-from-a-provider"},{"title":"List all keys","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/keys","href":"/api-reference/providers/list-all-keys"},{"title":"List models","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/models","href":"/api-reference/providers/list-models"},{"title":"List model details","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/models/details","href":"/api-reference/providers/list-model-details"},{"title":"Get model parameters","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/models/parameters","href":"/api-reference/providers/get-model-parameters"},{"title":"List base models","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/models/base","href":"/api-reference/providers/list-base-models"}]},{"group":"Session","pages":[{"title":"Login","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/session/login","href":"/api-reference/session/login"},{"title":"Logout","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/session/logout","href":"/api-reference/session/logout"},{"title":"Check if authentication is enabled","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/session/is-auth-enabled","href":"/api-reference/session/check-if-authentication-is-enabled"},{"title":"Issue WebSocket ticket","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/session/ws-ticket","href":"/api-reference/session/issue-websocket-ticket"}]},{"group":"Plugins","pages":[{"title":"List all plugins","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/plugins","href":"/api-reference/plugins/list-all-plugins"},{"title":"Create a new plugin","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/plugins","href":"/api-reference/plugins/create-a-new-plugin"},{"title":"List built-in plugin names","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/plugins/builtins","href":"/api-reference/plugins/list-built-in-plugin-names"},{"title":"Get a specific plugin","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/plugins/{name}","href":"/api-reference/plugins/get-a-specific-plugin"},{"title":"Update a plugin","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/plugins/{name}","href":"/api-reference/plugins/update-a-plugin"},{"title":"Delete a plugin","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/plugins/{name}","href":"/api-reference/plugins/delete-a-plugin"}]},{"group":"MCP","pages":[{"title":"Execute MCP tool","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /v1/mcp/tool/execute","href":"/api-reference/mcp/execute-mcp-tool"},{"title":"List MCP clients","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp/clients","href":"/api-reference/mcp/list-mcp-clients"},{"title":"Add MCP client","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/mcp/client","href":"/api-reference/mcp/add-mcp-client"},{"title":"Edit MCP client","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/mcp/client/{id}","href":"/api-reference/mcp/edit-mcp-client"},{"title":"Remove MCP client","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/mcp/client/{id}","href":"/api-reference/mcp/remove-mcp-client"},{"title":"Reconnect MCP client","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/mcp/client/{id}/reconnect","href":"/api-reference/mcp/reconnect-mcp-client"},{"title":"Complete MCP client OAuth flow","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/mcp/client/{id}/complete-oauth","href":"/api-reference/mcp/complete-mcp-client-oauth-flow"},{"title":"List MCP sessions","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp/sessions","href":"/api-reference/mcp/list-mcp-sessions"},{"title":"Revoke an MCP session","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/mcp/sessions/{id}","href":"/api-reference/mcp/revoke-an-mcp-session"},{"title":"Re-authenticate or edit an MCP session","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/mcp/sessions/{id}/reauth","href":"/api-reference/mcp/re-authenticate-or-edit-an-mcp-session"},{"title":"Get per-user-headers submission flow","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp/per-user-headers/flows/{id}","href":"/api-reference/mcp/get-per-user-headers-submission-flow"},{"title":"Submit per-user-headers values","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/mcp/per-user-headers/flows/{id}","href":"/api-reference/mcp/submit-per-user-headers-values"},{"title":"Revoke a per-user-headers credential","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/mcp/per-user-headers/credential/{id}","href":"/api-reference/mcp/revoke-a-per-user-headers-credential"}]},{"group":"OAuth","pages":[{"title":"Get per-user OAuth flow detail","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/oauth/per-user/flows/{id}","href":"/api-reference/oauth/get-per-user-oauth-flow-detail"},{"title":"Start the upstream OAuth authorization for a pending flow","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/oauth/per-user/flows/{id}/start","href":"/api-reference/oauth/start-the-upstream-oauth-authorization-for-a-pending-flow"},{"title":"OAuth callback endpoint","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/oauth/callback","href":"/api-reference/oauth/oauth-callback-endpoint"},{"title":"Get OAuth config status","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/oauth/config/{id}/status","href":"/api-reference/oauth/get-oauth-config-status"},{"title":"Revoke OAuth config","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/oauth/config/{id}","href":"/api-reference/oauth/revoke-oauth-config"}]},{"group":"Governance","pages":[{"title":"List virtual keys","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/virtual-keys","href":"/api-reference/governance/list-virtual-keys"},{"title":"Create virtual key","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/governance/virtual-keys","href":"/api-reference/governance/create-virtual-key"},{"title":"Get virtual key quota","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/virtual-keys/quota","href":"/api-reference/governance/get-virtual-key-quota"},{"title":"Get virtual key","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/virtual-keys/{vk_id}","href":"/api-reference/governance/get-virtual-key"},{"title":"Update virtual key","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/governance/virtual-keys/{vk_id}","href":"/api-reference/governance/update-virtual-key"},{"title":"Delete virtual key","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/governance/virtual-keys/{vk_id}","href":"/api-reference/governance/delete-virtual-key"},{"title":"List teams","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/teams","href":"/api-reference/governance/list-teams"},{"title":"Create team","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/governance/teams","href":"/api-reference/governance/create-team"},{"title":"Get team","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/teams/{team_id}","href":"/api-reference/governance/get-team"},{"title":"Update team","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/governance/teams/{team_id}","href":"/api-reference/governance/update-team"},{"title":"Delete team","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/governance/teams/{team_id}","href":"/api-reference/governance/delete-team"},{"title":"List customers","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/customers","href":"/api-reference/governance/list-customers"},{"title":"Create customer","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/governance/customers","href":"/api-reference/governance/create-customer"},{"title":"Get customer","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/customers/{customer_id}","href":"/api-reference/governance/get-customer"},{"title":"Update customer","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/governance/customers/{customer_id}","href":"/api-reference/governance/update-customer"},{"title":"Delete customer","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/governance/customers/{customer_id}","href":"/api-reference/governance/delete-customer"},{"title":"List business units","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/business-units","href":"/api-reference/governance/list-business-units"},{"title":"Create business unit","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/governance/business-units","href":"/api-reference/governance/create-business-unit"},{"title":"Get business unit","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/business-units/{id}","href":"/api-reference/governance/get-business-unit"},{"title":"Delete business unit","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/governance/business-units/{id}","href":"/api-reference/governance/delete-business-unit"},{"title":"List budgets","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/budgets","href":"/api-reference/governance/list-budgets"},{"title":"List rate limits","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/rate-limits","href":"/api-reference/governance/list-rate-limits"},{"title":"List routing rules","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/routing-rules","href":"/api-reference/governance/list-routing-rules"},{"title":"Create routing rule","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/governance/routing-rules","href":"/api-reference/governance/create-routing-rule"},{"title":"Get routing rule","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/routing-rules/{rule_id}","href":"/api-reference/governance/get-routing-rule"},{"title":"Update routing rule","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/governance/routing-rules/{rule_id}","href":"/api-reference/governance/update-routing-rule"},{"title":"Delete routing rule","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/governance/routing-rules/{rule_id}","href":"/api-reference/governance/delete-routing-rule"},{"title":"List model limits","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/model-configs","href":"/api-reference/governance/list-model-limits"},{"title":"Create model config","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/governance/model-configs","href":"/api-reference/governance/create-model-config"},{"title":"Get model config","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/model-configs/{mc_id}","href":"/api-reference/governance/get-model-config"},{"title":"Update model config","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/governance/model-configs/{mc_id}","href":"/api-reference/governance/update-model-config"},{"title":"Delete model config","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/governance/model-configs/{mc_id}","href":"/api-reference/governance/delete-model-config"},{"title":"List provider governance","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/providers","href":"/api-reference/governance/list-provider-governance"},{"title":"Update provider governance","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/governance/providers/{provider_name}","href":"/api-reference/governance/update-provider-governance"},{"title":"Delete provider governance","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/governance/providers/{provider_name}","href":"/api-reference/governance/delete-provider-governance"},{"title":"List pricing overrides","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/pricing-overrides","href":"/api-reference/governance/list-pricing-overrides"},{"title":"Create pricing override","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/governance/pricing-overrides","href":"/api-reference/governance/create-pricing-override"},{"title":"Update pricing override","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/governance/pricing-overrides/{id}","href":"/api-reference/governance/update-pricing-override"},{"title":"Delete pricing override","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/governance/pricing-overrides/{id}","href":"/api-reference/governance/delete-pricing-override"},{"title":"Get complexity analyzer config","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/governance/complexity-analyzer-config","href":"/api-reference/governance/get-complexity-analyzer-config"},{"title":"Update complexity analyzer config","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/governance/complexity-analyzer-config","href":"/api-reference/governance/update-complexity-analyzer-config"},{"title":"Reset complexity analyzer config","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/governance/complexity-analyzer-config/reset","href":"/api-reference/governance/reset-complexity-analyzer-config"}]},{"group":"Logging","pages":[{"title":"Get logs","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs","href":"/api-reference/logging/get-logs"},{"title":"Delete logs","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/logs","href":"/api-reference/logging/delete-logs"},{"title":"Get a single log entry","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/{id}","href":"/api-reference/logging/get-a-single-log-entry"},{"title":"Get logs for a session","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/sessions/{session_id}","href":"/api-reference/logging/get-logs-for-a-session"},{"title":"Get aggregate totals for a session","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/sessions/{session_id}/summary","href":"/api-reference/logging/get-aggregate-totals-for-a-session"},{"title":"Get log statistics","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/stats","href":"/api-reference/logging/get-log-statistics"},{"title":"Get request count histogram","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram","href":"/api-reference/logging/get-request-count-histogram"},{"title":"Get token usage histogram","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/tokens","href":"/api-reference/logging/get-token-usage-histogram"},{"title":"Get cost histogram","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/cost","href":"/api-reference/logging/get-cost-histogram"},{"title":"Get model usage histogram","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/models","href":"/api-reference/logging/get-model-usage-histogram"},{"title":"Get latency histogram","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/latency","href":"/api-reference/logging/get-latency-histogram"},{"title":"Get cost histogram by provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/cost/by-provider","href":"/api-reference/logging/get-cost-histogram-by-provider"},{"title":"Get token histogram by provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/tokens/by-provider","href":"/api-reference/logging/get-token-histogram-by-provider"},{"title":"Get latency histogram by provider","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/latency/by-provider","href":"/api-reference/logging/get-latency-histogram-by-provider"},{"title":"Get cost histogram by dimension","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/cost/by-dimension","href":"/api-reference/logging/get-cost-histogram-by-dimension"},{"title":"Get token histogram by dimension","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/tokens/by-dimension","href":"/api-reference/logging/get-token-histogram-by-dimension"},{"title":"Get latency histogram by dimension","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/histogram/latency/by-dimension","href":"/api-reference/logging/get-latency-histogram-by-dimension"},{"title":"Get dropped requests count","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/dropped","href":"/api-reference/logging/get-dropped-requests-count"},{"title":"Get available filter data","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/filterdata","href":"/api-reference/logging/get-available-filter-data"},{"title":"Get model usage rankings","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/rankings","href":"/api-reference/logging/get-model-usage-rankings"},{"title":"Get consolidated dashboard data","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/logs/dashboard","href":"/api-reference/logging/get-consolidated-dashboard-data"},{"title":"Recalculate log costs","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/logs/recalculate-cost","href":"/api-reference/logging/recalculate-log-costs"},{"title":"Get MCP tool logs","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp-logs","href":"/api-reference/logging/get-mcp-tool-logs"},{"title":"Delete MCP tool logs","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/mcp-logs","href":"/api-reference/logging/delete-mcp-tool-logs"},{"title":"Get MCP tool log by ID","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp-logs/{id}","href":"/api-reference/logging/get-mcp-tool-log-by-id"},{"title":"Get MCP tool log statistics","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp-logs/stats","href":"/api-reference/logging/get-mcp-tool-log-statistics"},{"title":"Get available MCP log filter data","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp-logs/filterdata","href":"/api-reference/logging/get-available-mcp-log-filter-data"},{"title":"Get MCP tool call volume histogram","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp-logs/histogram","href":"/api-reference/logging/get-mcp-tool-call-volume-histogram"},{"title":"Get MCP cost histogram","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp-logs/histogram/cost","href":"/api-reference/logging/get-mcp-cost-histogram"},{"title":"Get top MCP tools by call count","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/mcp-logs/histogram/top-tools","href":"/api-reference/logging/get-top-mcp-tools-by-call-count"}]},{"group":"Prompt Repository","pages":[{"title":"List folders","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/prompt-repo/folders","href":"/api-reference/prompt-repository/list-folders"},{"title":"Create folder","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/prompt-repo/folders","href":"/api-reference/prompt-repository/create-folder"},{"title":"Get folder","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/prompt-repo/folders/{id}","href":"/api-reference/prompt-repository/get-folder"},{"title":"Update folder","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/prompt-repo/folders/{id}","href":"/api-reference/prompt-repository/update-folder"},{"title":"Delete folder","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/prompt-repo/folders/{id}","href":"/api-reference/prompt-repository/delete-folder"},{"title":"List prompts","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/prompt-repo/prompts","href":"/api-reference/prompt-repository/list-prompts"},{"title":"Create prompt","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/prompt-repo/prompts","href":"/api-reference/prompt-repository/create-prompt"},{"title":"Get prompt","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/prompt-repo/prompts/{id}","href":"/api-reference/prompt-repository/get-prompt"},{"title":"Update prompt","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/prompt-repo/prompts/{id}","href":"/api-reference/prompt-repository/update-prompt"},{"title":"Delete prompt","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/prompt-repo/prompts/{id}","href":"/api-reference/prompt-repository/delete-prompt"},{"title":"List prompt versions","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/prompt-repo/prompts/{id}/versions","href":"/api-reference/prompt-repository/list-prompt-versions"},{"title":"Create prompt version","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/prompt-repo/prompts/{id}/versions","href":"/api-reference/prompt-repository/create-prompt-version"},{"title":"Get prompt version","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/prompt-repo/versions/{id}","href":"/api-reference/prompt-repository/get-prompt-version"},{"title":"Delete prompt version","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/prompt-repo/versions/{id}","href":"/api-reference/prompt-repository/delete-prompt-version"},{"title":"List prompt sessions","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/prompt-repo/prompts/{id}/sessions","href":"/api-reference/prompt-repository/list-prompt-sessions"},{"title":"Create prompt session","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/prompt-repo/prompts/{id}/sessions","href":"/api-reference/prompt-repository/create-prompt-session"},{"title":"Get prompt session","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/prompt-repo/sessions/{id}","href":"/api-reference/prompt-repository/get-prompt-session"},{"title":"Update prompt session","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/prompt-repo/sessions/{id}","href":"/api-reference/prompt-repository/update-prompt-session"},{"title":"Delete prompt session","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/prompt-repo/sessions/{id}","href":"/api-reference/prompt-repository/delete-prompt-session"},{"title":"Rename prompt session","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/prompt-repo/sessions/{id}/rename","href":"/api-reference/prompt-repository/rename-prompt-session"},{"title":"Commit session as version","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/prompt-repo/sessions/{id}/commit","href":"/api-reference/prompt-repository/commit-session-as-version"}]},{"group":"Skills","pages":[{"title":"Upload skill file","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/skills/files/upload","href":"/api-reference/skills/upload-skill-file"},{"title":"Clean up orphan skill files","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/skills/files/orphans","href":"/api-reference/skills/clean-up-orphan-skill-files"},{"title":"Get all-skills version","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/skills/all/version","href":"/api-reference/skills/get-all-skills-version"},{"title":"Bump all-skills version","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/skills/all/version","href":"/api-reference/skills/bump-all-skills-version"},{"title":"List skills","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/skills","href":"/api-reference/skills/list-skills"},{"title":"Create skill","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/skills","href":"/api-reference/skills/create-skill"},{"title":"Get skill","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/skills/{id}","href":"/api-reference/skills/get-skill"},{"title":"Update skill","deprecated":null,"version":null,"openapi":"/openapi/openapi.json put /api/skills/{id}","href":"/api-reference/skills/update-skill"},{"title":"Delete skill","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/skills/{id}","href":"/api-reference/skills/delete-skill"},{"title":"List skill versions","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/skills/{id}/versions","href":"/api-reference/skills/list-skill-versions"},{"title":"Shift served skill version","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /api/skills/{id}/shift-version","href":"/api-reference/skills/shift-served-skill-version"},{"title":"Get Claude Code skills marketplace","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/skills/serve/claude-code/.claude-plugin/marketplace.json","href":"/api-reference/skills/get-claude-code-skills-marketplace"},{"title":"Get Codex skills marketplace JSON","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/skills/serve/codex/.agents/plugins/marketplace.json","href":"/api-reference/skills/get-codex-skills-marketplace-json"},{"title":"Download all skills as ZIP","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/skills/serve/all/download.zip","href":"/api-reference/skills/download-all-skills-as-zip"},{"title":"Download skill as ZIP","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/skills/serve/{skill-name}/download.zip","href":"/api-reference/skills/download-skill-as-zip"},{"title":"Download skill file","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /api/skills/serve/{skill-name}/files/{filepath}","href":"/api-reference/skills/download-skill-file"}]},{"group":"Cache","pages":[{"title":"Clear cache entry by cache ID","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/cache/clear/{cacheId}","href":"/api-reference/cache/clear-cache-entry-by-cache-id"},{"title":"Clear cache by cache key","deprecated":null,"version":null,"openapi":"/openapi/openapi.json delete /api/cache/clear-by-key/{cacheKey}","href":"/api-reference/cache/clear-cache-by-cache-key"}]},{"group":"Infrastructure","pages":[{"title":"WebSocket connection","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /ws","href":"/api-reference/infrastructure/websocket-connection"},{"title":"MCP protocol SSE stream","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /mcp","href":"/api-reference/infrastructure/mcp-protocol-sse-stream"},{"title":"MCP protocol message","deprecated":null,"version":null,"openapi":"/openapi/openapi.json post /mcp","href":"/api-reference/infrastructure/mcp-protocol-message"},{"title":"Prometheus metrics","deprecated":null,"version":null,"openapi":"/openapi/openapi.json get /metrics","href":"/api-reference/infrastructure/prometheus-metrics"}]}]}]},{"tab":"Contributing","icon":"code-pull-request","pages":[{"title":"Contributing","href":"/contributing/setting-up-repo"}]},{"tab":"Benchmarks","icon":"chart-line","pages":[{"title":"Benchmarks","href":"/benchmarking/getting-started"}]}]},"basePath":"","title":"Generate image (Gemini format) - Vikat","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CBsVopKK.js","utils-DZAk68jJ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D32AYZrP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D_A5_cny.js","snippetPresets-xNRfS9th.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BIB25-tq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CydJ4w4j.js","shallow-CYPBeQSG.js","getApiPlaygroundDisplay-A5xJVBOu.js","CodeSnippet-BVRTgi3m.js","CodeSnippets-DjD6BSlt.js","Page-Dr40SSJq.js","getPastedJson-D4V4JyrR.js","icon-uhcnG22T.js","MethodPill-CM-ZQdGH.js","DuplicateIcon-B_WnOiNf.js","createIcon-CJsb8utt.js","DynamicMarkdown-D-2HDKEp.js","SectionHeading-KP5xmMgQ.js","axios-vUo_bRtp.js","Markdown-D_k0dg6k.js","clsx-DK3K4Z1S.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DE3EVdvd.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fN9H9n9g.js"]}