Generate Gemini 4 Hydrogen responses from text and multimodal input, structured schemas, functions, and built-in tools.
Gemini 4 Hydrogen exposes text reasoning, multimodal understanding, structured output, function calling, and built-in tools through one generateContent endpoint. Select a capability to view its request and response shape.
Text and thinking
Multimodal understanding
Structured output
Function calling
Built-in tools
Generate content
POST /v1beta/models/gemini-4-hydrogen:generateContent
Text, executable code, code results, or other returned parts.
string[]
Search queries issued when grounding metadata is returned.
string
Google-provided HTML and CSS for the search suggestions UI when returned.
object[]
Web or Maps sources returned for the response.
object[]
Links generated text segments to grounding sources when returned.
object
Code returned when codeExecution is enabled and the model selects code execution.
object
Execution outcome and output returned after code execution.
integer
Tokens used for tool context when this metric is reported.
string
Response identifier.
Common optional request fields
object
Text-only system instruction with a parts array.
string[]
Up to five strings that stop generation when encountered.
object[]
Safety thresholds applied by harm category.
string
Supported category, such as HARM_CATEGORY_HATE_SPEECH or HARM_CATEGORY_DANGEROUS_CONTENT.
string
Blocking threshold, such as BLOCK_MEDIUM_AND_ABOVE, BLOCK_ONLY_HIGH, or BLOCK_NONE.
Error responses
integer
HTTP-compatible error code.
string
Human-readable error description.
string
Canonical error status.
A 400 response commonly indicates an invalid final conversation turn, an unsupported thinking level or tool, or an incomplete function response. A 401 response indicates an invalid API key; 429 indicates rate limiting.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"AnyFast","description":"AnyFast API documentation — unified access to AI models from Anthropic, ByteDance, OpenAI, and more.","colors":{"primary":"#6D28D9","light":"#8B5CF6","dark":"#5B21B6"},"logo":{"light":"https://mintcdn.com/13108701256/jzu-_XFYEJnqgdJi/logo/light.svg?fit=max\u0026auto=format\u0026n=jzu-_XFYEJnqgdJi\u0026q=85\u0026s=dd4b307fc5a359cdfeed37fcd3015842","dark":"https://mintcdn.com/13108701256/jzu-_XFYEJnqgdJi/logo/dark.svg?fit=max\u0026auto=format\u0026n=jzu-_XFYEJnqgdJi\u0026q=85\u0026s=3303bc5b49fec3aa2015dc9927286584","href":"https://www.anyfast.ai"},"favicon":"https://mintcdn.com/13108701256/ciuuPfOYrnV5Potx/favicon.svg?fit=max\u0026auto=format\u0026n=ciuuPfOYrnV5Potx\u0026q=85\u0026s=bb57081a959cb46f2fd60906102179ce","navbar":{"links":[],"primary":{"type":"button","label":"Dashboard","href":"https://www.anyfast.ai/console/token"}},"footer":{"socials":{}},"search":{"prompt":"Search docs, APIs, models..."},"seo":{"metatags":{"og:image":"https://docs.anyfast.ai/images/layfz/social-media-cover.jpg","og:site_name":"AnyFast Docs","twitter:card":"summary_large_image","twitter:site":"@anyfast_ai","twitter:image":"https://docs.anyfast.ai/images/layfz/social-media-cover.jpg"}},"integrations":{"ga4":{"measurementId":"G-LE1QQD03ZG"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.anyfast.ai"}]},"languages":[{"language":"en","default":true,"href":""},{"language":"zh","href":"zh"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"13108701256","hasAudioNarration":false,"actualSubdomain":"13108701256","customDomains":["docs.anyfast.ai"],"gitSource":{"type":"gitlab","owner":"maas","repo":"docs-anyfast","hostUrl":"https://gitlab.anyfast.com.cn","projectId":39,"deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0550f2371c191c3d4c1241","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"en","tag":"Model Introduction","count":404},{"language":"zh","tag":"模型介绍","count":404},{"language":"en","tag":"API Reference","count":212},{"language":"zh","tag":"API 参考","count":212},{"language":"en","tag":"Model APIs","count":205},{"language":"zh","tag":"模型 API","count":205},{"language":"en","tag":"OpenAI","count":84},{"language":"zh","tag":"OpenAI","count":84},{"language":"en","tag":"Alibaba","count":64},{"language":"zh","tag":"Alibaba","count":64},{"language":"en","tag":"ByteDance","count":58},{"language":"en","tag":"Google","count":58},{"language":"zh","tag":"ByteDance","count":58},{"language":"zh","tag":"Google","count":58},{"language":"en","tag":"Anthropic","count":51},{"language":"zh","tag":"Anthropic","count":51},{"language":"en","tag":"Text \u0026 multimodal","count":42},{"language":"zh","tag":"文本与多模态","count":42},{"language":"en","tag":"Use Cases","count":38},{"language":"zh","tag":"场景示例","count":38}]},"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":"custom-rbac-roles","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":"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":"site-roles","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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"global.css","content":":root{font-size:17px;zoom:80%}.bg-primary\\/10{background-color:transparent!important}.dark .dark\\:bg-primary-light\\/10{background-color:transparent!important}.contact-purple-info svg{color:#6D28D9!important;stroke:#6D28D9!important}.contact-enterprise-card svg{color:#6D28D9!important;stroke:#6D28D9!important}.contact-best-ways-card-inner{border:1px solid rgba(128, 128, 128, 0.2);border-radius:1rem;padding:1.5rem;height:auto;box-sizing:border-box}.contact-best-ways-card-inner p.contact-best-ways-heading{display:flex;align-items:center;gap:0.5rem;margin:0 0 0.75rem!important;font-weight:600;line-height:1.4}.contact-best-ways-card-inner p{margin:0!important;line-height:1.6}.contact-best-ways-check{display:inline-flex;width:1.125rem;height:1.125rem;flex:0 0 1.125rem;align-items:center;justify-content:center;border-radius:50%;background-color:#6D28D9;color:#fff;font-size:0.75rem;font-weight:700;line-height:1}#search-bar-entry{border:1px solid rgba(140, 130, 160, 0.25)!important;border-radius:6px!important}#search-bar-entry:hover{border:1.5px solid #6D28D9!important;box-shadow:0 0 0 3px rgba(109, 40, 217, 0.16)!important}#navbar a[href*=\"/console/token\"]{border-radius:6px!important}#topbar-cta-button a[href*=\"/console/token\"]>span.absolute{border-radius:6px!important}#sidebar .method-nav-pill{display:none!important}#sidebar a[href*=\"/api-reference/model-api/\"]>div:has(>.method-nav-pill){display:none!important}@media (min-width: 1024px){#sidebar{height:calc(125dvh - var(--mintlify-slot-header-height, calc(4rem + var(--topbar-tabs-height, 0rem))) - var(--banner-height, 0px))!important}}.kling-api-example-panel{float:right;position:relative;top:auto;width:47%;margin:1.5rem 0 1.5rem 2rem;z-index:1}.kling-api-example-panel>div{margin-top:0;margin-bottom:1rem}.kling-api-example-panel.api-full-width-example-panel{float:none;position:static;width:100%;margin:1rem 0 1.5rem;clear:both}.happyhorse-api-example-panel,.seedream-api-example-panel,.wan-api-example-panel{display:block;position:relative;top:auto;width:60%;margin-top:1.5rem;margin-bottom:1.5rem;margin-left:1.25rem;clear:right}.seedream-api-example-panel+.seedream-api-example-panel{margin-top:2.5rem}.happyhorse-api-example-panel pre,.seedream-api-example-panel pre,.wan-api-example-panel pre{overflow-x:auto;overflow-y:hidden;overflow-wrap:normal;white-space:pre!important;word-break:normal}.happyhorse-api-example-panel .whitespace-pre,.seedream-api-example-panel .whitespace-pre,.wan-api-example-panel .whitespace-pre{overflow-wrap:normal;white-space:pre!important;word-break:normal}.happyhorse-api-example-panel pre code,.seedream-api-example-panel pre code,.wan-api-example-panel pre code{max-width:none!important;min-width:max-content!important;width:max-content!important}@media (min-width: 1280px){#navbar .max-w-8xl.mx-auto.relative{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}div:has(>main#content-container){width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:2rem!important;padding-right:1.5rem!important}#sidebar{width:16rem!important;min-width:16rem!important;max-width:16rem!important}#content{width:100%!important}#content-side-layout{width:9rem!important;min-width:9rem!important;max-width:9rem!important;transform:none}#content-side-layout:has(.code-group){width:28rem!important;min-width:28rem!important;max-width:28rem!important}#table-of-contents-layout{width:9rem!important;min-width:9rem!important;max-width:9rem!important;padding-left:0!important;transform:none}#table-of-contents{width:9rem!important}.kling-api-example-panel{width:51%;margin-left:2rem}}@media (max-width: 1400px){.happyhorse-api-example-panel,.seedream-api-example-panel,.wan-api-example-panel{float:none;position:static;width:100%;margin:1rem 0 1.5rem}}@media (max-width: 1024px){.kling-api-example-panel{float:none;position:static;width:100%;margin:1rem 0 1.5rem}.happyhorse-api-example-panel,.seedream-api-example-panel,.wan-api-example-panel{width:100%}}"}]}
{"page":{"pagePath":"api-reference/model-api/google/gemini-4-hydrogen","slug":"/api-reference/model-api/google/gemini-4-hydrogen","pageMetadata":{"title":"gemini-4-hydrogen","description":"Generate Gemini 4 Hydrogen responses from text and multimodal input, structured schemas, functions, and built-in tools.","tag":"NEW","href":"/api-reference/model-api/google/gemini-4-hydrogen"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Generate Gemini 4 Hydrogen responses from text and multimodal input, structured schemas, functions, and built-in tools.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,ParamField,ResponseField,Tab,Tabs}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Gemini 4 Hydrogen exposes text reasoning, multimodal understanding, structured output, function calling, and built-in tools through one `,_jsx(_components.code,{children:`generateContent`}),` endpoint. Select a capability to view its request and response shape.`]}),`\n`,_jsxs(Tabs,{sync:false,children:[_jsxs(Tab,{title:`Text and thinking`,id:`text-and-thinking`,\"data-child-heading-ids\":`[\"generate-content\",\"authentication-and-headers\",\"request-body\",\"successful-response\"]`,children:[_jsx(Heading,{level:`2`,id:`generate-content`,children:`Generate content`}),_jsx(_components.p,{children:_jsx(_components.code,{children:`POST /v1beta/models/gemini-4-hydrogen:generateContent`})}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`15`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://www.anyfast.ai/v1beta/models/gemini-4-hydrogen:generateContent?key=YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"contents\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"role\": \"user\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"parts\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"text\": \"Reply with exactly: AnyFast Hydrogen verification passed.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"generationConfig\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"thinkingConfig\": {\"thinkingLevel\": \"high\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"maxOutputTokens\": 2048`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),_jsx(Heading,{level:`2`,id:`authentication-and-headers`,children:`Authentication and headers`}),_jsx(ParamField,{query:`key`,type:`string`,required:true,id:`param-key`,children:`AnyFast API key.`}),_jsx(ParamField,{header:`Content-Type`,type:`string`,default:`application/json`,required:true,id:`param-content-type`,children:`Request media type.`}),_jsx(Heading,{level:`2`,id:`request-body`,children:`Request body`}),_jsxs(ParamField,{body:`contents`,type:`object[]`,required:true,id:`param-contents`,children:[`Conversation history and the current user request. The final item must be a non-empty `,_jsx(_components.code,{children:`user`}),` turn.`]}),_jsxs(ParamField,{body:`contents[].role`,type:`string`,default:`user`,id:`param-contents-role`,children:[`Conversation role: `,_jsx(_components.code,{children:`user`}),` or `,_jsx(_components.code,{children:`model`}),`. Do not end the request with a `,_jsx(_components.code,{children:`model`}),` turn.`]}),_jsx(ParamField,{body:`contents[].parts`,type:`object[]`,required:true,id:`param-contents-parts`,children:`Content parts for the turn.`}),_jsx(ParamField,{body:`contents[].parts[].text`,type:`string`,required:true,id:`param-contents-parts-text`,children:`Text prompt or conversation content.`}),_jsxs(ParamField,{body:`generationConfig.thinkingConfig.thinkingLevel`,type:`string`,default:`high`,id:`param-generation-config-thinking-config-thinking-level`,children:[`Thinking level: `,_jsx(_components.code,{children:`low`}),`, `,_jsx(_components.code,{children:`medium`}),`, `,_jsx(_components.code,{children:`high`}),`, or `,_jsx(_components.code,{children:`xhigh`}),`.`]}),_jsxs(ParamField,{body:`generationConfig.maxOutputTokens`,type:`integer`,id:`param-generation-config-max-output-tokens`,children:[`Maximum generated tokens for a synchronous request, from 1 through 65,536 per foreground segment; longer decodes may return a `,_jsx(_components.code,{children:`continuationToken`}),`.`]}),_jsx(Heading,{level:`2`,id:`successful-response`,children:`Successful response`}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`21`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`21`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"candidates\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"parts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AnyFast Hydrogen verification passed.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"thoughtSignature\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"opaque-signature-placeholder\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"role\"`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"finishReason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"STOP\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usageMetadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"promptTokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`41`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"candidatesTokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"thoughtsTokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`40`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalTokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`91`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"trafficType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ON_DEMAND\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"promptTokensDetails\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"modality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TEXT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"tokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`41`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"candidatesTokensDetails\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"modality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TEXT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"tokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"modelVersion\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gemini-4-hydrogen\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createTime\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-16T02:54:36.249415Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"responseId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"response-example-001\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(ResponseField,{name:`candidates`,type:`object[]`,id:`param-candidates`,children:`Generated candidates.`}),_jsx(ResponseField,{name:`candidates[].content`,type:`object`,id:`param-candidates-content`,children:`Model response turn.`}),_jsx(ResponseField,{name:`candidates[].content.parts[].text`,type:`string`,id:`param-candidates-content-parts-text`,children:`Generated text.`}),_jsx(ResponseField,{name:`candidates[].content.parts[].thoughtSignature`,type:`string`,id:`param-candidates-content-parts-thought-signature`,children:`Opaque signature returned with the model part. Preserve it when replaying the turn.`}),_jsxs(ResponseField,{name:`candidates[].finishReason`,type:`string`,id:`param-candidates-finish-reason`,children:[`Why generation stopped, such as `,_jsx(_components.code,{children:`STOP`}),`, `,_jsx(_components.code,{children:`MAX_TOKENS`}),`, `,_jsx(_components.code,{children:`SAFETY`}),`, or `,_jsx(_components.code,{children:`CONTINUATION`}),`.`]}),_jsx(ResponseField,{name:`candidates[].safetyRatings`,type:`object[]`,id:`param-candidates-safety-ratings`,children:`Safety assessments returned when the candidate is evaluated.`}),_jsx(ResponseField,{name:`usageMetadata`,type:`object`,id:`param-usage-metadata`,children:`Input, output, reasoning, tool, cache, and total token counts.`}),_jsx(ResponseField,{name:`usageMetadata.promptTokensDetails`,type:`object[]`,id:`param-usage-metadata-prompt-tokens-details`,children:`Input token counts grouped by modality.`}),_jsx(ResponseField,{name:`usageMetadata.candidatesTokensDetails`,type:`object[]`,id:`param-usage-metadata-candidates-tokens-details`,children:`Output token counts grouped by modality.`}),_jsx(ResponseField,{name:`modelVersion`,type:`string`,id:`param-model-version`,children:`Model version that produced the response.`}),_jsx(ResponseField,{name:`createTime`,type:`string`,id:`param-create-time`,children:`Response creation timestamp when returned.`}),_jsx(ResponseField,{name:`responseId`,type:`string`,id:`param-response-id`,children:`Response identifier.`}),_jsx(ResponseField,{name:`candidates[].continuationToken`,type:`string`,id:`param-candidates-continuation-token`,children:`Opaque token returned when the foreground segment reaches its output limit and continuation is available.`})]}),_jsxs(Tab,{title:`Multimodal understanding`,id:`multimodal-understanding`,\"data-child-heading-ids\":`[\"generate-content-2\",\"authentication-and-headers-2\",\"request-body-2\",\"successful-response-2\"]`,children:[_jsx(Heading,{level:`2`,id:`generate-content-2`,children:`Generate content`}),_jsx(_components.p,{children:_jsx(_components.code,{children:`POST /v1beta/models/gemini-4-hydrogen:generateContent`})}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`17`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://www.anyfast.ai/v1beta/models/gemini-4-hydrogen:generateContent?key=YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"contents\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"role\": \"user\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"parts\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {\"text\": \"Summarize this architecture and identify the likely bottleneck.\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"fileData\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mimeType\": \"image/png\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"fileUri\": \"https://example.com/architecture.png\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),_jsx(Heading,{level:`2`,id:`authentication-and-headers-2`,children:`Authentication and headers`}),_jsx(ParamField,{query:`key`,type:`string`,required:true,id:`param-key-1`,children:`AnyFast API key.`}),_jsx(ParamField,{header:`Content-Type`,type:`string`,default:`application/json`,required:true,id:`param-content-type-1`,children:`Request media type.`}),_jsx(Heading,{level:`2`,id:`request-body-2`,children:`Request body`}),_jsx(ParamField,{body:`contents`,type:`object[]`,required:true,id:`param-contents-1`,children:`Conversation turns containing text and media.`}),_jsxs(ParamField,{body:`contents[].role`,type:`string`,default:`user`,id:`param-contents-role-1`,children:[`Conversation role: `,_jsx(_components.code,{children:`user`}),` or `,_jsx(_components.code,{children:`model`}),`.`]}),_jsx(ParamField,{body:`contents[].parts`,type:`object[]`,required:true,id:`param-contents-parts-1`,children:`One or more text or media parts.`}),_jsx(ParamField,{body:`contents[].parts[].text`,type:`string`,id:`param-contents-parts-text-1`,children:`Instruction or question about the media.`}),_jsx(ParamField,{body:`contents[].parts[].inlineData`,type:`object`,id:`param-contents-parts-inline-data`,children:`Inline image, audio, video, or document data.`}),_jsxs(ParamField,{body:`contents[].parts[].inlineData.mimeType`,type:`string`,required:true,id:`param-contents-parts-inline-data-mime-type`,children:[`Media MIME type, such as `,_jsx(_components.code,{children:`image/jpeg`}),`, `,_jsx(_components.code,{children:`audio/mpeg`}),`, `,_jsx(_components.code,{children:`video/mp4`}),`, or `,_jsx(_components.code,{children:`application/pdf`}),`.`]}),_jsx(ParamField,{body:`contents[].parts[].inlineData.data`,type:`string`,required:true,id:`param-contents-parts-inline-data-data`,children:`Base64-encoded media bytes.`}),_jsx(ParamField,{body:`contents[].parts[].fileData`,type:`object`,id:`param-contents-parts-file-data`,children:`Media or document supplied by URI.`}),_jsx(ParamField,{body:`contents[].parts[].fileData.mimeType`,type:`string`,required:true,id:`param-contents-parts-file-data-mime-type`,children:`Media MIME type.`}),_jsx(ParamField,{body:`contents[].parts[].fileData.fileUri`,type:`string`,required:true,id:`param-contents-parts-file-data-file-uri`,children:`Accessible media or document URI.`}),_jsx(Heading,{level:`2`,id:`successful-response-2`,children:`Successful response`}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`20`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"candidates\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"parts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The diagram shows a queue-backed worker tier. The database connection pool is the likely bottleneck...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"model\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"finishReason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"STOP\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usageMetadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"promptTokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`846`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"candidatesTokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`94`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalTokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`940`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"promptTokensDetails\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"modality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TEXT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"tokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`18`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"modality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"IMAGE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"tokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`828`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"modelVersion\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gemini-4-hydrogen\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"responseId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"response-example-002\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(ResponseField,{name:`candidates[].content.parts[].text`,type:`string`,id:`param-candidates-content-parts-text-1`,children:`Text analysis of the supplied media.`}),_jsx(ResponseField,{name:`candidates[].finishReason`,type:`string`,id:`param-candidates-finish-reason-1`,children:`Reason generation stopped.`}),_jsx(ResponseField,{name:`usageMetadata.promptTokensDetails`,type:`object[]`,id:`param-usage-metadata-prompt-tokens-details-1`,children:`Input token counts grouped by modality.`}),_jsx(ResponseField,{name:`usageMetadata.candidatesTokensDetails`,type:`object[]`,id:`param-usage-metadata-candidates-tokens-details-1`,children:`Output token counts grouped by modality when returned.`}),_jsx(ResponseField,{name:`modelVersion`,type:`string`,id:`param-model-version-1`,children:`Model version that produced the response.`}),_jsx(ResponseField,{name:`responseId`,type:`string`,id:`param-response-id-1`,children:`Response identifier.`})]}),_jsxs(Tab,{title:`Structured output`,id:`structured-output`,\"data-child-heading-ids\":`[\"generate-content-3\",\"authentication-and-headers-3\",\"request-body-3\",\"successful-response-3\"]`,children:[_jsx(Heading,{level:`2`,id:`generate-content-3`,children:`Generate content`}),_jsx(_components.p,{children:_jsx(_components.code,{children:`POST /v1beta/models/gemini-4-hydrogen:generateContent`})}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`21`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`21`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://www.anyfast.ai/v1beta/models/gemini-4-hydrogen:generateContent?key=YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"contents\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"role\": \"user\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"parts\": [{\"text\": \"Extract the service, severity, and action: demo-api is timing out and requires immediate rollback.\"}]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"generationConfig\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"responseMimeType\": \"application/json\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"responseSchema\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"object\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"properties\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"service\": {\"type\": \"string\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"severity\": {\"type\": \"string\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"action\": {\"type\": \"string\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"required\": [\"service\", \"severity\", \"action\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),_jsx(Heading,{level:`2`,id:`authentication-and-headers-3`,children:`Authentication and headers`}),_jsx(ParamField,{query:`key`,type:`string`,required:true,id:`param-key-2`,children:`AnyFast API key.`}),_jsx(ParamField,{header:`Content-Type`,type:`string`,default:`application/json`,required:true,id:`param-content-type-2`,children:`Request media type.`}),_jsx(Heading,{level:`2`,id:`request-body-3`,children:`Request body`}),_jsx(ParamField,{body:`contents`,type:`object[]`,required:true,id:`param-contents-2`,children:`Conversation turns containing the extraction or generation instruction.`}),_jsx(ParamField,{body:`contents[].parts[].text`,type:`string`,required:true,id:`param-contents-parts-text-2`,children:`Instruction and source text.`}),_jsxs(ParamField,{body:`generationConfig.responseMimeType`,type:`string`,required:true,id:`param-generation-config-response-mime-type`,children:[`Use `,_jsx(_components.code,{children:`application/json`}),` for JSON structured output or `,_jsx(_components.code,{children:`text/x.enum`}),` for a single enum value.`]}),_jsx(ParamField,{body:`generationConfig.responseSchema`,type:`object`,required:true,id:`param-generation-config-response-schema`,children:`Schema that constrains the generated JSON. Define explicit properties and required fields.`}),_jsx(Heading,{level:`2`,id:`successful-response-3`,children:`Successful response`}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`23`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`23`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"candidates\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"parts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`service`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`demo-api`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`severity`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`medium`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`action`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`retry`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"thoughtSignature\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"opaque-signature-placeholder\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"model\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"finishReason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"STOP\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usageMetadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"promptTokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`238`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"candidatesTokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`36`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"thoughtsTokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`49`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalTokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`323`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"trafficType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ON_DEMAND\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"promptTokensDetails\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"modality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TEXT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"tokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`238`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"candidatesTokensDetails\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"modality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TEXT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"tokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`36`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"modelVersion\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gemini-4-hydrogen\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"responseId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"response-example-003\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(ResponseField,{name:`candidates[].content.parts[].text`,type:`string`,id:`param-candidates-content-parts-text-2`,children:`JSON serialized as text and conforming to the requested schema.`}),_jsx(ResponseField,{name:`candidates[].content.parts[].thoughtSignature`,type:`string`,id:`param-candidates-content-parts-thought-signature-1`,children:`Opaque signature returned with the model part. Preserve it when replaying the turn.`}),_jsx(ResponseField,{name:`candidates[].finishReason`,type:`string`,id:`param-candidates-finish-reason-2`,children:`Reason generation stopped.`}),_jsx(ResponseField,{name:`usageMetadata`,type:`object`,id:`param-usage-metadata-1`,children:`Token accounting for the request.`}),_jsx(ResponseField,{name:`usageMetadata.promptTokensDetails`,type:`object[]`,id:`param-usage-metadata-prompt-tokens-details-2`,children:`Input token counts grouped by modality.`}),_jsx(ResponseField,{name:`usageMetadata.candidatesTokensDetails`,type:`object[]`,id:`param-usage-metadata-candidates-tokens-details-2`,children:`Output token counts grouped by modality.`}),_jsx(ResponseField,{name:`modelVersion`,type:`string`,id:`param-model-version-2`,children:`Model version that produced the response.`}),_jsx(ResponseField,{name:`responseId`,type:`string`,id:`param-response-id-2`,children:`Response identifier.`})]}),_jsxs(Tab,{title:`Function calling`,id:`function-calling`,\"data-child-heading-ids\":`[\"generate-function-call\",\"authentication-and-headers-4\",\"request-body-4\",\"function-call-response\"]`,children:[_jsx(Heading,{level:`2`,id:`generate-function-call`,children:`Generate function call`}),_jsx(_components.p,{children:_jsx(_components.code,{children:`POST /v1beta/models/gemini-4-hydrogen:generateContent`})}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`26`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`26`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://www.anyfast.ai/v1beta/models/gemini-4-hydrogen:generateContent?key=YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"contents\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"role\": \"user\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"parts\": [{\"text\": \"Check the deployment status for demo-api.\"}]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"tools\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"functionDeclarations\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"get_deployment_status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"Return the current deployment status for a service.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"parameters\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"object\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"properties\": {\"service\": {\"type\": \"string\"}},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"required\": [\"service\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"toolConfig\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"functionCallingConfig\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mode\": \"ANY\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"allowedFunctionNames\": [\"get_deployment_status\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),_jsx(Heading,{level:`2`,id:`authentication-and-headers-4`,children:`Authentication and headers`}),_jsx(ParamField,{query:`key`,type:`string`,required:true,id:`param-key-3`,children:`AnyFast API key.`}),_jsx(ParamField,{header:`Content-Type`,type:`string`,default:`application/json`,required:true,id:`param-content-type-3`,children:`Request media type.`}),_jsx(Heading,{level:`2`,id:`request-body-4`,children:`Request body`}),_jsx(ParamField,{body:`contents`,type:`object[]`,required:true,id:`param-contents-3`,children:`Conversation turns containing the user request and, for later steps, previous model calls and function results.`}),_jsx(ParamField,{body:`tools[].functionDeclarations`,type:`object[]`,required:true,id:`param-tools-function-declarations`,children:`Functions available to the model.`}),_jsx(ParamField,{body:`tools[].functionDeclarations[].name`,type:`string`,required:true,id:`param-tools-function-declarations-name`,children:`Function name.`}),_jsx(ParamField,{body:`tools[].functionDeclarations[].description`,type:`string`,id:`param-tools-function-declarations-description`,children:`When and how the model should use the function.`}),_jsx(ParamField,{body:`tools[].functionDeclarations[].parameters`,type:`object`,id:`param-tools-function-declarations-parameters`,children:`JSON Schema for function arguments.`}),_jsxs(ParamField,{body:`toolConfig.functionCallingConfig.mode`,type:`string`,default:`AUTO`,id:`param-tool-config-function-calling-config-mode`,children:[_jsx(_components.code,{children:`AUTO`}),`, `,_jsx(_components.code,{children:`ANY`}),`, `,_jsx(_components.code,{children:`NONE`}),`, or `,_jsx(_components.code,{children:`VALIDATED`}),`.`]}),_jsx(ParamField,{body:`toolConfig.functionCallingConfig.allowedFunctionNames`,type:`string[]`,id:`param-tool-config-function-calling-config-allowed-function-names`,children:`Subset of declared functions the model may call.`}),_jsx(ParamField,{body:`contents[].parts[].functionResponse.name`,type:`string`,required:true,id:`param-contents-parts-function-response-name`,children:`Function name when returning a tool result.`}),_jsx(ParamField,{body:`contents[].parts[].functionResponse.id`,type:`string`,id:`param-contents-parts-function-response-id`,children:`Call ID returned by the model.`}),_jsx(ParamField,{body:`contents[].parts[].functionResponse.response`,type:`object`,id:`param-contents-parts-function-response-response`,children:`Structured function result.`}),_jsx(ParamField,{body:`contents[].parts[].thoughtSignature`,type:`string`,id:`param-contents-parts-thought-signature`,children:`Opaque signature returned by the model. Preserve it exactly in later requests.`}),_jsx(Heading,{level:`2`,id:`function-call-response`,children:`Function-call response`}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`27`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`27`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"candidates\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"parts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"functionCall\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lookup_weather\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"args\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"city\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Shanghai\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"call-example-001\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"thoughtSignature\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"opaque-signature-placeholder\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"model\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"finishReason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"STOP\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usageMetadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"promptTokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`93`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"candidatesTokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`22`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"thoughtsTokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`25`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalTokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`140`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"trafficType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ON_DEMAND\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"promptTokensDetails\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"modality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TEXT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"tokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`93`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"candidatesTokensDetails\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"modality\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TEXT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"tokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`22`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"modelVersion\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gemini-4-hydrogen\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"responseId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"response-example-004\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(ResponseField,{name:`candidates[].content.parts[].functionCall`,type:`object`,id:`param-candidates-content-parts-function-call`,children:`Function requested by the model.`}),_jsx(ResponseField,{name:`candidates[].content.parts[].functionCall.id`,type:`string`,id:`param-candidates-content-parts-function-call-id`,children:`Call ID to associate with a returned function result.`}),_jsx(ResponseField,{name:`candidates[].content.parts[].functionCall.name`,type:`string`,id:`param-candidates-content-parts-function-call-name`,children:`Function name.`}),_jsx(ResponseField,{name:`candidates[].content.parts[].functionCall.args`,type:`object`,id:`param-candidates-content-parts-function-call-args`,children:`Model-generated function arguments.`}),_jsx(ResponseField,{name:`candidates[].content.parts[].thoughtSignature`,type:`string`,id:`param-candidates-content-parts-thought-signature-2`,children:`Opaque signature that must be preserved when the model turn is replayed.`}),_jsx(ResponseField,{name:`usageMetadata.toolUsePromptTokenCount`,type:`integer`,id:`param-usage-metadata-tool-use-prompt-token-count`,children:`Tokens used for tool context when this metric is reported.`}),_jsx(ResponseField,{name:`usageMetadata.promptTokensDetails`,type:`object[]`,id:`param-usage-metadata-prompt-tokens-details-3`,children:`Input token counts grouped by modality when returned.`}),_jsx(ResponseField,{name:`usageMetadata.candidatesTokensDetails`,type:`object[]`,id:`param-usage-metadata-candidates-tokens-details-3`,children:`Output token counts grouped by modality when returned.`}),_jsx(ResponseField,{name:`responseId`,type:`string`,id:`param-response-id-3`,children:`Response identifier.`})]}),_jsxs(Tab,{title:`Built-in tools`,id:`built-in-tools`,\"data-child-heading-ids\":`[\"generate-grounded-content\",\"authentication-and-headers-5\",\"request-body-5\",\"grounded-response\"]`,children:[_jsx(Heading,{level:`2`,id:`generate-grounded-content`,children:`Generate grounded content`}),_jsx(_components.p,{children:_jsx(_components.code,{children:`POST /v1beta/models/gemini-4-hydrogen:generateContent`})}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`10`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://www.anyfast.ai/v1beta/models/gemini-4-hydrogen:generateContent?key=YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"contents\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"role\": \"user\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"parts\": [{\"text\": \"Find the latest stable Gemini API model and cite the source.\"}]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"tools\": [{\"googleSearch\": {}}]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),_jsx(Heading,{level:`2`,id:`authentication-and-headers-5`,children:`Authentication and headers`}),_jsx(ParamField,{query:`key`,type:`string`,required:true,id:`param-key-4`,children:`AnyFast API key.`}),_jsx(ParamField,{header:`Content-Type`,type:`string`,default:`application/json`,required:true,id:`param-content-type-4`,children:`Request media type.`}),_jsx(Heading,{level:`2`,id:`request-body-5`,children:`Request body`}),_jsx(ParamField,{body:`contents`,type:`object[]`,required:true,id:`param-contents-4`,children:`Conversation turns containing the tool-assisted request.`}),_jsx(ParamField,{body:`tools[].googleSearch`,type:`object`,id:`param-tools-google-search`,children:`Ground the response with current Google Search results.`}),_jsx(ParamField,{body:`tools[].googleMaps`,type:`object`,id:`param-tools-google-maps`,children:`Ground location-related answers with Google Maps data.`}),_jsx(ParamField,{body:`tools[].urlContext`,type:`object`,id:`param-tools-url-context`,children:`Read and analyze URLs supplied in the prompt.`}),_jsx(ParamField,{body:`tools[].codeExecution`,type:`object`,id:`param-tools-code-execution`,children:`Allow the model to execute code.`}),_jsx(ParamField,{body:`tools[].computerUse`,type:`object`,id:`param-tools-computer-use`,children:`Allow the model to propose computer-use actions. This tool is in Preview.`}),_jsxs(ParamField,{body:`tools[].computerUse.environment`,type:`string`,id:`param-tools-computer-use-environment`,children:[`Computer-use environment, such as `,_jsx(_components.code,{children:`ENVIRONMENT_BROWSER`}),`.`]}),_jsx(Heading,{level:`2`,id:`grounded-response`,children:`Grounded response`}),_jsx(`div`,{className:`kling-api-example-panel`,children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`33`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`33`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"candidates\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"parts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Gemini 4 Hydrogen is the latest stable Flash model...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"model\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"finishReason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"STOP\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"groundingMetadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"webSearchQueries\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"latest stable Gemini API model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"searchEntryPoint\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"renderedContent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cstyle>...\u003c/style>\u003cdiv>...\u003c/div>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"groundingChunks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"web\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"uri\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://ai.google.dev/gemini-api/docs/models\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Gemini models\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"groundingSupports\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"segment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"startIndex\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"endIndex\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`56`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Gemini 4 Hydrogen is the latest stable Flash model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"groundingChunkIndices\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usageMetadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"promptTokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`15`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"candidatesTokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`58`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"toolUsePromptTokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`43`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalTokenCount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`116`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"modelVersion\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gemini-4-hydrogen\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"responseId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"response-example-005\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(ResponseField,{name:`candidates[].content.parts`,type:`object[]`,id:`param-candidates-content-parts`,children:`Text, executable code, code results, or other returned parts.`}),_jsx(ResponseField,{name:`candidates[].groundingMetadata.webSearchQueries`,type:`string[]`,id:`param-candidates-grounding-metadata-web-search-queries`,children:`Search queries issued when grounding metadata is returned.`}),_jsx(ResponseField,{name:`candidates[].groundingMetadata.searchEntryPoint.renderedContent`,type:`string`,id:`param-candidates-grounding-metadata-search-entry-point-rendered-content`,children:`Google-provided HTML and CSS for the search suggestions UI when returned.`}),_jsx(ResponseField,{name:`candidates[].groundingMetadata.groundingChunks`,type:`object[]`,id:`param-candidates-grounding-metadata-grounding-chunks`,children:`Web or Maps sources returned for the response.`}),_jsx(ResponseField,{name:`candidates[].groundingMetadata.groundingSupports`,type:`object[]`,id:`param-candidates-grounding-metadata-grounding-supports`,children:`Links generated text segments to grounding sources when returned.`}),_jsxs(ResponseField,{name:`candidates[].content.parts[].executableCode`,type:`object`,id:`param-candidates-content-parts-executable-code`,children:[`Code returned when `,_jsx(_components.code,{children:`codeExecution`}),` is enabled and the model selects code execution.`]}),_jsx(ResponseField,{name:`candidates[].content.parts[].codeExecutionResult`,type:`object`,id:`param-candidates-content-parts-code-execution-result`,children:`Execution outcome and output returned after code execution.`}),_jsx(ResponseField,{name:`usageMetadata.toolUsePromptTokenCount`,type:`integer`,id:`param-usage-metadata-tool-use-prompt-token-count-1`,children:`Tokens used for tool context when this metric is reported.`}),_jsx(ResponseField,{name:`responseId`,type:`string`,id:`param-response-id-4`,children:`Response identifier.`})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`common-optional-request-fields`,children:`Common optional request fields`}),`\n`,_jsxs(ParamField,{body:`systemInstruction`,type:`object`,id:`param-system-instruction`,children:[`Text-only system instruction with a `,_jsx(_components.code,{children:`parts`}),` array.`]}),`\n`,_jsx(ParamField,{body:`generationConfig.stopSequences`,type:`string[]`,id:`param-generation-config-stop-sequences`,children:`Up to five strings that stop generation when encountered.`}),`\n`,_jsx(ParamField,{body:`safetySettings`,type:`object[]`,id:`param-safety-settings`,children:`Safety thresholds applied by harm category.`}),`\n`,_jsxs(ParamField,{body:`safetySettings[].category`,type:`string`,id:`param-safety-settings-category`,children:[`Supported category, such as `,_jsx(_components.code,{children:`HARM_CATEGORY_HATE_SPEECH`}),` or `,_jsx(_components.code,{children:`HARM_CATEGORY_DANGEROUS_CONTENT`}),`.`]}),`\n`,_jsxs(ParamField,{body:`safetySettings[].threshold`,type:`string`,id:`param-safety-settings-threshold`,children:[`Blocking threshold, such as `,_jsx(_components.code,{children:`BLOCK_MEDIUM_AND_ABOVE`}),`, `,_jsx(_components.code,{children:`BLOCK_ONLY_HIGH`}),`, or `,_jsx(_components.code,{children:`BLOCK_NONE`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error responses`}),`\n`,_jsx(ResponseField,{name:`error.code`,type:`integer`,id:`param-error-code`,children:`HTTP-compatible error code.`}),`\n`,_jsx(ResponseField,{name:`error.message`,type:`string`,id:`param-error-message`,children:`Human-readable error description.`}),`\n`,_jsx(ResponseField,{name:`error.status`,type:`string`,id:`param-error-status`,children:`Canonical error status.`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`400`}),` response commonly indicates an invalid final conversation turn, an unsupported thinking level or tool, or an incomplete function response. A `,_jsx(_components.code,{children:`401`}),` response indicates an invalid API key; `,_jsx(_components.code,{children:`429`}),` indicates rate limiting.`]})}),`\n`,_jsx(`script`,{src:`/public/feedback.js`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"gemini-4-hydrogen","description":"Generate Gemini 4 Hydrogen responses from text and multimodal input, structured schemas, functions, and built-in tools.","tag":"NEW","href":"/api-reference/model-api/google/gemini-4-hydrogen"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Generate content","slug":"generate-content","depth":2,"children":[],"tabId":"text-and-thinking"},{"title":"Authentication and headers","slug":"authentication-and-headers","depth":2,"children":[],"tabId":"text-and-thinking"},{"title":"Request body","slug":"request-body","depth":2,"children":[],"tabId":"text-and-thinking"},{"title":"Successful response","slug":"successful-response","depth":2,"children":[],"tabId":"text-and-thinking"},{"title":"Generate content","slug":"generate-content-2","depth":2,"children":[],"tabId":"multimodal-understanding"},{"title":"Authentication and headers","slug":"authentication-and-headers-2","depth":2,"children":[],"tabId":"multimodal-understanding"},{"title":"Request body","slug":"request-body-2","depth":2,"children":[],"tabId":"multimodal-understanding"},{"title":"Successful response","slug":"successful-response-2","depth":2,"children":[],"tabId":"multimodal-understanding"},{"title":"Generate content","slug":"generate-content-3","depth":2,"children":[],"tabId":"structured-output"},{"title":"Authentication and headers","slug":"authentication-and-headers-3","depth":2,"children":[],"tabId":"structured-output"},{"title":"Request body","slug":"request-body-3","depth":2,"children":[],"tabId":"structured-output"},{"title":"Successful response","slug":"successful-response-3","depth":2,"children":[],"tabId":"structured-output"},{"title":"Generate function call","slug":"generate-function-call","depth":2,"children":[],"tabId":"function-calling"},{"title":"Authentication and headers","slug":"authentication-and-headers-4","depth":2,"children":[],"tabId":"function-calling"},{"title":"Request body","slug":"request-body-4","depth":2,"children":[],"tabId":"function-calling"},{"title":"Function-call response","slug":"function-call-response","depth":2,"children":[],"tabId":"function-calling"},{"title":"Generate grounded content","slug":"generate-grounded-content","depth":2,"children":[],"tabId":"built-in-tools"},{"title":"Authentication and headers","slug":"authentication-and-headers-5","depth":2,"children":[],"tabId":"built-in-tools"},{"title":"Request body","slug":"request-body-5","depth":2,"children":[],"tabId":"built-in-tools"},{"title":"Grounded response","slug":"grounded-response","depth":2,"children":[],"tabId":"built-in-tools"},{"title":"Common optional request fields","slug":"common-optional-request-fields","depth":2,"children":[]},{"title":"Error responses","slug":"error-responses","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/13108701256/732cc469d132ece5/public/feedback.js","/_mintlify/custom/13108701256/77e35c9cec00c64f/workers/docs-feedback/src/index.js"],"subdomain":"13108701256","siteName":"AnyFast","title":"gemini-4-hydrogen - AnyFast","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/model-api/google/gemini-4-hydrogen","matchLevel":0},"zh":{"href":"/zh/api-reference/model-api/google/gemini-4-hydrogen","matchLevel":1}}},"lastModified":"2026-11-16T03:26:35.351Z","originalFileLocation":"api-reference/model-api/google/gemini-4-hydrogen.mdx","locale":"en"},"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=\"Generate Gemini 4 Hydrogen responses from text and multimodal input, structured schemas, functions, and built-in tools.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AnyFast\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/13108701256/gXJe3s6yIozLssx1/_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/13108701256/gXJe3s6yIozLssx1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/13108701256/gXJe3s6yIozLssx1/_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/13108701256/gXJe3s6yIozLssx1/_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/13108701256/gXJe3s6yIozLssx1/_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/13108701256/gXJe3s6yIozLssx1/_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/13108701256/gXJe3s6yIozLssx1/_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/13108701256/gXJe3s6yIozLssx1/_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/13108701256/gXJe3s6yIozLssx1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"gemini-4-hydrogen - AnyFast\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate Gemini 4 Hydrogen responses from text and multimodal input, structured schemas, functions, and built-in tools.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AnyFast Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.anyfast.ai/api-reference/model-api/google/gemini-4-hydrogen\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.anyfast.ai/images/layfz/social-media-cover.jpg\">\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=\"gemini-4-hydrogen - AnyFast\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate Gemini 4 Hydrogen responses from text and multimodal input, structured schemas, functions, and built-in tools.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.anyfast.ai/images/layfz/social-media-cover.jpg\">\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/13108701256/gXJe3s6yIozLssx1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AnyFast\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6D28D9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.anyfast.ai/api-reference/model-api/google/gemini-4-hydrogen\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/model-api/google/gemini-4-hydrogen.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.anyfast.ai/api-reference/model-api/google/gemini-4-hydrogen\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.anyfast.ai/zh/api-reference/model-api/google/gemini-4-hydrogen\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.anyfast.ai/api-reference/model-api/google/gemini-4-hydrogen\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.anyfast.ai/#organization\",\"name\":\"AnyFast\",\"url\":\"https://docs.anyfast.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/13108701256/jzu-_XFYEJnqgdJi/logo/light.svg?fit=max\u0026auto=format\u0026n=jzu-_XFYEJnqgdJi\u0026q=85\u0026s=dd4b307fc5a359cdfeed37fcd3015842\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.anyfast.ai#website\",\"name\":\"AnyFast\",\"url\":\"https://docs.anyfast.ai\",\"publisher\":{\"@id\":\"https://docs.anyfast.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.anyfast.ai/api-reference/model-api/google/gemini-4-hydrogen#webpage\",\"url\":\"https://docs.anyfast.ai/api-reference/model-api/google/gemini-4-hydrogen\",\"name\":\"gemini-4-hydrogen\",\"description\":\"Generate Gemini 4 Hydrogen responses from text and multimodal input, structured schemas, functions, and built-in tools.\",\"dateModified\":\"2026-11-16T03:26:35.351Z\",\"isPartOf\":{\"@id\":\"https://docs.anyfast.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.anyfast.ai/api-reference/model-api/google/gemini-4-hydrogen#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.anyfast.ai/api-reference/model-api/google/gemini-4-hydrogen#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Model APIs\",\"item\":\"https://docs.anyfast.ai/api-reference/model-api/alibaba/qwen3.8-max\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"gemini-4-hydrogen\",\"item\":\"https://docs.anyfast.ai/api-reference/model-api/google/gemini-4-hydrogen\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.anyfast.ai/api-reference/model-api/google/gemini-4-hydrogen#article\",\"headline\":\"gemini-4-hydrogen\",\"name\":\"gemini-4-hydrogen\",\"description\":\"Generate Gemini 4 Hydrogen responses from text and multimodal input, structured schemas, functions, and built-in tools.\",\"url\":\"https://docs.anyfast.ai/api-reference/model-api/google/gemini-4-hydrogen\",\"mainEntityOfPage\":{\"@id\":\"https://docs.anyfast.ai/api-reference/model-api/google/gemini-4-hydrogen#webpage\"},\"image\":\"https://docs.anyfast.ai/images/layfz/social-media-cover.jpg\",\"dateModified\":\"2026-11-16T03:26:35.351Z\",\"publisher\":{\"@id\":\"https://docs.anyfast.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.anyfast.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AnyFast\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AnyFast\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/model-api/google/gemini-4-hydrogen.md","siteName":"AnyFast","nav":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.anyfast.ai"}]},"languages":[{"language":"en","default":true,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Model Introduction","pages":[{"title":"Model Introduction","href":"/guides/model-api/alibaba/qwen3.8-max"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Introduction","icon":"book-open","href":"/api-reference/introduction"}]},{"group":"Native Compatible Endpoints","pages":[{"group":"OpenAI","pages":[{"title":"Chat Completions","openapi":"api-reference/endpoints/openapi/openai/openapi.yaml POST /v1/chat/completions","href":"/api-reference/endpoints/openai"}]},{"group":"Anthropic Claude","pages":[{"title":"Create Message","openapi":"api-reference/endpoints/openapi/anthropic/openapi.yaml POST /v1/messages","href":"/api-reference/endpoints/anthropic"}]},{"group":"Google Gemini","pages":[{"title":"Generate Content","openapi":"api-reference/endpoints/openapi/gemini-native/openapi.yaml POST /v1beta/models/{model}:generateContent","href":"/api-reference/endpoints/gemini-native"},{"title":"Chat Completions","openapi":"api-reference/endpoints/openapi/gemini-chat/openapi.yaml POST /v1/chat/completions","href":"/api-reference/endpoints/gemini-chat"}]},{"group":"ByteDance Doubao","pages":[{"title":"Chat Completions","openapi":"api-reference/endpoints/openapi/doubao/openapi.yaml POST /v1/chat/completions","href":"/api-reference/endpoints/doubao"},{"title":"Create Response","openapi":"api-reference/endpoints/openapi/doubao-responses/openapi.yaml POST /v1/responses","href":"/api-reference/endpoints/doubao-responses"}]}]},{"group":"Model APIs","pages":[{"group":"Alibaba","icon":"/images/providers/alibaba-cloud.svg","pages":[{"group":"Text \u0026 multimodal","expanded":false,"pages":[{"title":"qwen3.8-max","openapi":"api-reference/model-api/alibaba/openapi/qwen3.8-max/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3.8-max"},{"title":"qwen3.8-flash","openapi":"api-reference/model-api/alibaba/openapi/qwen3.8-flash/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3.8-flash"},{"title":"qwen3.7-max","openapi":"api-reference/model-api/alibaba/openapi/qwen3.7-max/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3.7-max"},{"title":"qwen3.7-max-preview","openapi":"api-reference/model-api/alibaba/openapi/qwen3.7-max-preview/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3.7-max-preview"},{"title":"qwen3.7-plus","openapi":"api-reference/model-api/alibaba/openapi/qwen3.7-plus/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3.7-plus"},{"title":"qwen3.6-plus","openapi":"api-reference/model-api/alibaba/openapi/qwen3.6-plus/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3.6-plus"},{"title":"qwen3.6-flash","openapi":"api-reference/model-api/alibaba/openapi/qwen3.6-flash/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3.6-flash"},{"title":"qwen3.5-397b-a17b","openapi":"api-reference/model-api/alibaba/openapi/qwen3.5-397b-a17b/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3.5-397b-a17b"},{"title":"qwen3-coder-next","openapi":"api-reference/model-api/alibaba/openapi/qwen3-coder-next/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-coder-next"},{"title":"qwen3-coder","openapi":"api-reference/model-api/alibaba/openapi/qwen3-coder/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-coder"},{"title":"qwen3-next-80b-a3b-instruct","openapi":"api-reference/model-api/alibaba/openapi/qwen3-next-80b-a3b-instruct/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-next-80b-a3b-instruct"},{"title":"qwen3-next-80b-a3b-thinking","openapi":"api-reference/model-api/alibaba/openapi/qwen3-next-80b-a3b-thinking/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-next-80b-a3b-thinking"},{"title":"qwen3-235b-a22b-instruct-2507","openapi":"api-reference/model-api/alibaba/openapi/qwen3-235b-a22b-instruct-2507/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-235b-a22b-instruct-2507"},{"title":"qwen3-235b-a22b-thinking-2507","openapi":"api-reference/model-api/alibaba/openapi/qwen3-235b-a22b-thinking-2507/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-235b-a22b-thinking-2507"},{"title":"qwen3-235b-a22b","openapi":"api-reference/model-api/alibaba/openapi/qwen3-235b-a22b/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-235b-a22b"},{"title":"qwen3-30b-a3b-instruct-2507","openapi":"api-reference/model-api/alibaba/openapi/qwen3-30b-a3b-instruct-2507/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-30b-a3b-instruct-2507"},{"title":"qwen3-30b-a3b-thinking-2507","openapi":"api-reference/model-api/alibaba/openapi/qwen3-30b-a3b-thinking-2507/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-30b-a3b-thinking-2507"},{"title":"qwen3-32b","openapi":"api-reference/model-api/alibaba/openapi/qwen3-32b/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-32b"},{"title":"qwen3-14b","openapi":"api-reference/model-api/alibaba/openapi/qwen3-14b/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-14b"},{"title":"qwen3-vl-235b-a22b-instruct","openapi":"api-reference/model-api/alibaba/openapi/qwen3-vl-235b-a22b-instruct/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-vl-235b-a22b-instruct"},{"title":"qwen3-vl-235b-a22b-thinking","openapi":"api-reference/model-api/alibaba/openapi/qwen3-vl-235b-a22b-thinking/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/alibaba/qwen3-vl-235b-a22b-thinking"}]},{"group":"Image generation","expanded":false,"pages":[{"title":"qwen-image-plus","openapi":"api-reference/model-api/alibaba/openapi/qwen-image-plus/openapi.yaml POST /v1/images/generations","href":"/api-reference/model-api/alibaba/qwen-image-plus"},{"title":"Wan2.7 Image / Pro","openapi":"api-reference/model-api/alibaba/openapi/wan2.7-image/openapi.yaml POST /v1/images/generations","href":"/api-reference/model-api/alibaba/wan2.7-image"},{"title":"wan2.6-t2i","openapi":"api-reference/model-api/alibaba/openapi/wan2.6-t2i/openapi.yaml POST /v1/images/generations","href":"/api-reference/model-api/alibaba/wan2.6-t2i"}]},{"group":"Video generation","expanded":false,"pages":[{"title":"happyhorse-1.1","href":"/api-reference/model-api/alibaba/happyhorse-1.1"},{"title":"happyhorse-1.0","href":"/api-reference/model-api/alibaba/happyhorse-1.0"},{"title":"happyhorse-task-query","openapi":"api-reference/model-api/alibaba/openapi/happyhorse-task-query/openapi.yaml GET /v1/video/generations/{task_id}","href":"/api-reference/model-api/alibaba/happyhorse-task-query"},{"title":"wan3.0-video-prime","tag":"NEW","href":"/api-reference/model-api/alibaba/wan3.0-video-prime"},{"title":"wan3.0-video","href":"/api-reference/model-api/alibaba/wan3.0-video"},{"title":"Wan2.7","href":"/api-reference/model-api/alibaba/wan2.7"},{"title":"Wan2.2 A14B","href":"/api-reference/model-api/alibaba/wan2.2-a14b"},{"title":"wan2-task-query","openapi":"api-reference/model-api/alibaba/openapi/wan2-task-query/openapi.yaml GET /v1/video/generations/{task_id}","href":"/api-reference/model-api/alibaba/wan2-task-query"}]}]},{"group":"Anthropic","icon":"/images/providers/anthropic.svg","pages":[{"title":"claude-opus-5-5","openapi":"api-reference/model-api/anthropic/openapi/claude-opus-5-5/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-opus-5-5"},{"title":"claude-fable-5-2","openapi":"api-reference/model-api/anthropic/openapi/claude-fable-5-2/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-fable-5-2"},{"title":"claude-fable-5-1","openapi":"api-reference/model-api/anthropic/openapi/claude-fable-5-1/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-fable-5-1"},{"title":"claude-fable-5","openapi":"api-reference/model-api/anthropic/openapi/claude-fable-5/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-fable-5"},{"title":"claude-opus-5","openapi":"api-reference/model-api/anthropic/openapi/claude-opus-5/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-opus-5"},{"title":"claude-opus-4-8","openapi":"api-reference/model-api/anthropic/openapi/claude-opus-4-8/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-opus-4-8"},{"title":"claude-opus-4-7","openapi":"api-reference/model-api/anthropic/openapi/claude-opus-4-7/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-opus-4-7"},{"title":"claude-opus-4-6","openapi":"api-reference/model-api/anthropic/openapi/claude-opus-4-6/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-opus-4-6"},{"title":"claude-opus-4-6-thinking","openapi":"api-reference/model-api/anthropic/openapi/claude-opus-4-6-thinking/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-opus-4-6-thinking"},{"title":"claude-sonnet-5-5","openapi":"api-reference/model-api/anthropic/openapi/claude-sonnet-5-5/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-sonnet-5-5"},{"title":"claude-sonnet-5","openapi":"api-reference/model-api/anthropic/openapi/claude-sonnet-5/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-sonnet-5"},{"title":"claude-sonnet-4-6","openapi":"api-reference/model-api/anthropic/openapi/claude-sonnet-4-6/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-sonnet-4-6"},{"title":"claude-sonnet-4-6-thinking","openapi":"api-reference/model-api/anthropic/openapi/claude-sonnet-4-6-thinking/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-sonnet-4-6-thinking"},{"title":"claude-opus-4-5-20251101","openapi":"api-reference/model-api/anthropic/openapi/claude-opus-4-5-20251101/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-opus-4-5-20251101"},{"title":"claude-opus-4-5-20251101-thinking","openapi":"api-reference/model-api/anthropic/openapi/claude-opus-4-5-20251101-thinking/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-opus-4-5-20251101-thinking"},{"title":"claude-sonnet-4-5-20250929","openapi":"api-reference/model-api/anthropic/openapi/claude-sonnet-4-5-20250929/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-sonnet-4-5-20250929"},{"title":"claude-sonnet-4-5-20250929-thinking","openapi":"api-reference/model-api/anthropic/openapi/claude-sonnet-4-5-20250929-thinking/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-sonnet-4-5-20250929-thinking"},{"title":"claude-haiku-5-5","openapi":"api-reference/model-api/anthropic/openapi/claude-haiku-5-5/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-haiku-5-5"},{"title":"claude-haiku-4-5-20251001","openapi":"api-reference/model-api/anthropic/openapi/claude-haiku-4-5-20251001/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-haiku-4-5-20251001"},{"title":"claude-haiku-4-5-20251001-thinking","openapi":"api-reference/model-api/anthropic/openapi/claude-haiku-4-5-20251001-thinking/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-haiku-4-5-20251001-thinking"},{"title":"claude-opus-4-20250514","openapi":"api-reference/model-api/anthropic/openapi/claude-opus-4-20250514/openapi.yaml POST /v1/messages","href":"/api-reference/model-api/anthropic/claude-opus-4-20250514"}]},{"group":"Black Forest Labs","icon":"/images/providers/bfl.svg","pages":[{"title":"flux-1.1-pro","openapi":"api-reference/model-api/blackforestlabs/openapi/flux-1-1-pro/openapi.yaml POST /v1/images/generations","href":"/api-reference/model-api/blackforestlabs/flux-1-1-pro"},{"title":"flux-1-kontext-pro","openapi":"api-reference/model-api/blackforestlabs/openapi/flux-1-kontext-pro/openapi.yaml POST /v1/images/generations","href":"/api-reference/model-api/blackforestlabs/flux-1-kontext-pro"},{"title":"flux-1-kontext-pro-edit","openapi":"api-reference/model-api/blackforestlabs/openapi/flux-1-kontext-pro-edit/openapi.yaml POST /v1/images/edits","href":"/api-reference/model-api/blackforestlabs/flux-1-kontext-pro-edit"}]},{"group":"ByteDance","icon":"/images/providers/bytedance.svg","pages":[{"title":"Seedance Task Query","openapi":"api-reference/model-api/bytedance/openapi/seedance-task-query/openapi.yaml GET /v1/video/generations/{id}","href":"/api-reference/model-api/bytedance/seedance-task-query"},{"group":"Asset Management","pages":[{"title":"Create Asset Group","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-create-group/openapi.yaml POST /volc/asset/CreateAssetGroup","href":"/api-reference/model-api/bytedance/volc-asset-create-group"},{"title":"Create Image Asset","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-create-image/openapi.yaml POST /volc/asset/CreateAsset","href":"/api-reference/model-api/bytedance/volc-asset-create-image"},{"title":"Create Video Asset","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-create-video/openapi.yaml POST /volc/asset/CreateAsset","href":"/api-reference/model-api/bytedance/volc-asset-create-video"},{"title":"Create Audio Asset","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-create-audio/openapi.yaml POST /volc/asset/CreateAsset","href":"/api-reference/model-api/bytedance/volc-asset-create-audio"},{"title":"List Asset Groups","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-list-groups/openapi.yaml POST /volc/asset/ListAssetGroups","href":"/api-reference/model-api/bytedance/volc-asset-list-groups"},{"title":"List Assets","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-list-assets/openapi.yaml POST /volc/asset/ListAssets","href":"/api-reference/model-api/bytedance/volc-asset-list-assets"},{"title":"Get Asset","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-get-asset/openapi.yaml POST /volc/asset/GetAsset","href":"/api-reference/model-api/bytedance/volc-asset-get-asset"},{"title":"Update Asset Group","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-update-group/openapi.yaml POST /volc/asset/UpdateAssetGroup","href":"/api-reference/model-api/bytedance/volc-asset-update-group"},{"title":"Update Asset","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-update-asset/openapi.yaml POST /volc/asset/UpdateAsset","href":"/api-reference/model-api/bytedance/volc-asset-update-asset"},{"title":"Delete Asset","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-delete-asset/openapi.yaml POST /volc/asset/DeleteAsset","href":"/api-reference/model-api/bytedance/volc-asset-delete-asset"},{"title":"Delete Asset Group","openapi":"api-reference/model-api/bytedance/openapi/volc-asset-delete-group/openapi.yaml POST /volc/asset/DeleteAssetGroup","href":"/api-reference/model-api/bytedance/volc-asset-delete-group"}]},{"title":"seedance-2.5","tag":"NEW","href":"/api-reference/model-api/bytedance/seedance-2-5"},{"title":"seedance-2.5-flash","tag":"NEW","href":"/api-reference/model-api/bytedance/seedance-2-5-flash"},{"title":"seedance-2.0-mini","openapi":"api-reference/model-api/bytedance/openapi/seedance-2-0-mini/openapi.yaml POST /v1/video/generations","href":"/api-reference/model-api/bytedance/seedance-2-0-mini"},{"title":"seedance-2.0-ultra","openapi":"api-reference/model-api/bytedance/openapi/seedance-2-0-ultra/openapi.yaml POST /v1/video/generations","href":"/api-reference/model-api/bytedance/seedance-2-0-ultra"},{"title":"seedance-2.0-fast","openapi":"api-reference/model-api/bytedance/openapi/seedance-2-0-fast/openapi.yaml POST /v1/video/generations","href":"/api-reference/model-api/bytedance/seedance-2-0-fast"},{"title":"seedance-2.0","openapi":"api-reference/model-api/bytedance/openapi/seedance-2-0/openapi.yaml POST /v1/video/generations","href":"/api-reference/model-api/bytedance/seedance-2-0"},{"title":"doubao-seed-2.1-pro","openapi":"api-reference/model-api/bytedance/openapi/doubao-seed-2.1-pro/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/bytedance/doubao-seed-2.1-pro"},{"title":"doubao-seed-2.1-turbo","openapi":"api-reference/model-api/bytedance/openapi/doubao-seed-2.1-turbo/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/bytedance/doubao-seed-2.1-turbo"},{"title":"doubao-seed-evolving","openapi":"api-reference/model-api/bytedance/openapi/doubao-seed-evolving/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/bytedance/doubao-seed-evolving"},{"title":"doubao-seed-2.0-pro","openapi":"api-reference/model-api/bytedance/openapi/doubao-seed-2.0-pro/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/bytedance/doubao-seed-2.0-pro"},{"title":"doubao-seed-2.0-code","openapi":"api-reference/model-api/bytedance/openapi/doubao-seed-2.0-code/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/bytedance/doubao-seed-2.0-code"},{"title":"doubao-seed-2.0-lite","openapi":"api-reference/model-api/bytedance/openapi/doubao-seed-2.0-lite/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/bytedance/doubao-seed-2.0-lite"},{"title":"doubao-seed-2.0-mini","openapi":"api-reference/model-api/bytedance/openapi/doubao-seed-2.0-mini/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/bytedance/doubao-seed-2.0-mini"},{"title":"doubao-seed-1.6","openapi":"api-reference/model-api/bytedance/openapi/doubao-seed-1-6-251015/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/bytedance/doubao-seed-1-6-251015"},{"title":"seedream-5.5","href":"/api-reference/model-api/bytedance/seedream-5-5"},{"title":"seedream-5.0-pro","href":"/api-reference/model-api/bytedance/doubao-seedream-5-0-pro-260628"},{"title":"seedream-5.0-flash","href":"/api-reference/model-api/bytedance/doubao-seedream-5-0-flash-260915"},{"title":"seedream-5.0-lite","href":"/api-reference/model-api/bytedance/seedream-5-0-lite-260128"},{"title":"seedream-5.0","href":"/api-reference/model-api/bytedance/doubao-seedream-5-0-260128"},{"title":"seedream-4.5","href":"/api-reference/model-api/bytedance/doubao-seedream-4-5-251128"},{"title":"seedream-4.0","href":"/api-reference/model-api/bytedance/doubao-seedream-4-0-250828"},{"title":"seedream-3.0-t2i","openapi":"api-reference/model-api/bytedance/openapi/doubao-seedream-3-0-t2i-250415/openapi.yaml POST /v1/images/generations","href":"/api-reference/model-api/bytedance/doubao-seedream-3-0-t2i-250415"}]},{"group":"DeepSeek","icon":"/images/providers/deepseek.svg","pages":[{"title":"deepseek-v4.1-flash-1017","tag":"NEW","openapi":"api-reference/model-api/deepseek/openapi/deepseek-v4-1-flash-1017/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/deepseek/deepseek-v4-1-flash-1017"},{"title":"deepseek-v4.1-flash","openapi":"api-reference/model-api/deepseek/openapi/deepseek-v4-1-flash/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/deepseek/deepseek-v4-1-flash"},{"title":"deepseek-v4-flash","openapi":"api-reference/model-api/deepseek/openapi/deepseek-v4-flash/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/deepseek/deepseek-v4-flash"},{"title":"deepseek-v4-pro","openapi":"api-reference/model-api/deepseek/openapi/deepseek-v4-pro/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/deepseek/deepseek-v4-pro"},{"title":"deepseek-v3-2-exp","openapi":"api-reference/model-api/deepseek/openapi/deepseek-v3-2-exp/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/deepseek/deepseek-v3-2-exp"},{"title":"deepseek-v3-1-terminus","openapi":"api-reference/model-api/deepseek/openapi/deepseek-v3-1-terminus/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/deepseek/deepseek-v3-1-terminus"},{"title":"deepseek-v3-1","openapi":"api-reference/model-api/deepseek/openapi/deepseek-v3-1/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/deepseek/deepseek-v3-1"},{"title":"deepseek-v3","openapi":"api-reference/model-api/deepseek/openapi/deepseek-v3/openapi.yaml POST /v1/chat/completions","description":"Creates a model response for the given chat conversation.","href":"/api-reference/model-api/deepseek/deepseek-v3"}]},{"group":"Google","icon":"/images/providers/google.svg","pages":[{"title":"gemini-4-hydrogen","tag":"NEW","href":"/api-reference/model-api/google/gemini-4-hydrogen"},{"title":"gemini-4-argon","description":"Generate Gemini 4 Argon responses from text and multimodal input, structured schemas, functions, and built-in tools.","tag":"NEW","href":"/api-reference/model-api/google/gemini-4-argon"},{"title":"gemini-nano-banana-2.1","tag":"NEW","openapi":"api-reference/model-api/google/openapi/gemini-nano-banana-2-1/openapi.yaml POST /v1beta/models/gemini-nano-banana-2.1:generateContent","href":"/api-reference/model-api/google/gemini-nano-banana-2-1"},{"title":"gemini-nano-banana-2.1-stream","openapi":"api-reference/model-api/google/openapi/gemini-nano-banana-2-1-stream/openapi.yaml POST /v1beta/models/gemini-nano-banana-2.1:streamGenerateContent","href":"/api-reference/model-api/google/gemini-nano-banana-2-1-stream"},{"title":"gemini-3.8-flash","tag":"NEW","href":"/api-reference/model-api/google/gemini-3.8-flash"},{"title":"gemini-3.7-flash","openapi":"api-reference/model-api/google/openapi/gemini-3.7-flash/openapi.yaml POST /v1beta/models/gemini-3.7-flash:generateContent","href":"/api-reference/model-api/google/gemini-3.7-flash"},{"title":"gemini-3.6-flash","openapi":"api-reference/model-api/google/openapi/gemini-3.6-flash/openapi.yaml POST /v1beta/models/gemini-3.6-flash:generateContent","href":"/api-reference/model-api/google/gemini-3.6-flash"},{"title":"gemini-3.5-flash-lite","openapi":"api-reference/model-api/google/openapi/gemini-3.5-flash-lite/openapi.yaml POST /v1beta/models/gemini-3.5-flash-lite:generateContent","href":"/api-reference/model-api/google/gemini-3.5-flash-lite"},{"title":"gemini-3.5-flash","openapi":"api-reference/model-api/google/openapi/gemini-3.5-flash/openapi.yaml POST /v1beta/models/gemini-3.5-flash:generateContent","href":"/api-reference/model-api/google/gemini-3.5-flash"},{"title":"gemini-3.1-flash-image","openapi":"api-reference/model-api/google/openapi/gemini-3.1-flash-image/openapi.yaml POST /v1beta/models/gemini-3.1-flash-image:generateContent","href":"/api-reference/model-api/google/gemini-3.1-flash-image"},{"title":"gemini-3.1-flash-image-stream","openapi":"api-reference/model-api/google/openapi/gemini-3.1-flash-image-stream/openapi.yaml POST /v1beta/models/gemini-3.1-flash-image:streamGenerateContent","href":"/api-reference/model-api/google/gemini-3.1-flash-image-stream"},{"title":"gemini-3.1-flash-lite-image","openapi":"api-reference/model-api/google/openapi/gemini-3.1-flash-lite-image/openapi.yaml POST /v1beta/models/gemini-3.1-flash-lite-image:generateContent","href":"/api-reference/model-api/google/gemini-3.1-flash-lite-image"},{"title":"gemini-3.1-flash-lite-image-stream","openapi":"api-reference/model-api/google/openapi/gemini-3.1-flash-lite-image-stream/openapi.yaml POST /v1beta/models/gemini-3.1-flash-lite-image:streamGenerateContent","href":"/api-reference/model-api/google/gemini-3.1-flash-lite-image-stream"},{"title":"gemini-3.1-flash-image-preview-c","openapi":"api-reference/model-api/google/openapi/gemini-3.1-flash-image-preview-c/openapi.yaml POST /v1beta/models/gemini-3.1-flash-image-preview-c:generateContent","href":"/api-reference/model-api/google/gemini-3.1-flash-image-preview-c"},{"title":"gemini-3.1-pro-preview","openapi":"api-reference/model-api/google/openapi/gemini-3.1-pro-preview/openapi.yaml POST /v1beta/models/gemini-3.1-pro-preview:generateContent","href":"/api-reference/model-api/google/gemini-3.1-pro-preview"},{"title":"gemini-3.1-flash-lite-preview","openapi":"api-reference/model-api/google/openapi/gemini-3.1-flash-lite-preview/openapi.yaml POST /v1beta/models/gemini-3.1-flash-lite-preview:generateContent","href":"/api-reference/model-api/google/gemini-3.1-flash-lite-preview"},{"title":"gemini-3-pro-preview","openapi":"api-reference/model-api/google/openapi/gemini-3-pro-preview/openapi.yaml POST /v1beta/models/gemini-3-pro-preview:generateContent","href":"/api-reference/model-api/google/gemini-3-pro-preview"},{"title":"gemini-3-pro-preview-stream","openapi":"api-reference/model-api/google/openapi/gemini-3-pro-preview-stream/openapi.yaml POST /v1beta/models/gemini-3-pro-preview:streamGenerateContent","href":"/api-reference/model-api/google/gemini-3-pro-preview-stream"},{"title":"gemini-3-pro-image","openapi":"api-reference/model-api/google/openapi/gemini-3-pro-image/openapi.yaml POST /v1beta/models/gemini-3-pro-image:generateContent","href":"/api-reference/model-api/google/gemini-3-pro-image"},{"title":"gemini-3-pro-image-stream","openapi":"api-reference/model-api/google/openapi/gemini-3-pro-image-stream/openapi.yaml POST /v1beta/models/gemini-3-pro-image:streamGenerateContent","href":"/api-reference/model-api/google/gemini-3-pro-image-stream"},{"title":"gemini-3-pro-image-preview-c","openapi":"api-reference/model-api/google/openapi/gemini-3-pro-image-preview-c/openapi.yaml POST /v1beta/models/gemini-3-pro-image-preview-c:generateContent","href":"/api-reference/model-api/google/gemini-3-pro-image-preview-c"},{"title":"gemini-3-flash-preview","openapi":"api-reference/model-api/google/openapi/gemini-3-flash-preview/openapi.yaml POST /v1beta/models/gemini-3-flash-preview:generateContent","href":"/api-reference/model-api/google/gemini-3-flash-preview"},{"title":"gemini-2.5-pro","openapi":"api-reference/model-api/google/openapi/gemini-2-5-pro/openapi.yaml POST /v1beta/models/gemini-2.5-pro:generateContent","href":"/api-reference/model-api/google/gemini-2-5-pro"},{"title":"gemini-2.5-pro-stream","openapi":"api-reference/model-api/google/openapi/gemini-2-5-pro-stream/openapi.yaml POST /v1beta/models/gemini-2.5-pro:streamGenerateContent","href":"/api-reference/model-api/google/gemini-2-5-pro-stream"},{"title":"gemini-2.5-flash","openapi":"api-reference/model-api/google/openapi/gemini-2-5-flash/openapi.yaml POST /v1beta/models/gemini-2.5-flash:generateContent","href":"/api-reference/model-api/google/gemini-2-5-flash"},{"title":"gemini-2.5-flash-image","openapi":"api-reference/model-api/google/openapi/gemini-2-5-flash-image/openapi.yaml POST /v1beta/models/gemini-2.5-flash-image:generateContent","href":"/api-reference/model-api/google/gemini-2-5-flash-image"},{"title":"gemini-2.5-flash-image-stream","openapi":"api-reference/model-api/google/openapi/gemini-2-5-flash-image-stream/openapi.yaml POST /v1beta/models/gemini-2.5-flash-image:streamGenerateContent","href":"/api-reference/model-api/google/gemini-2-5-flash-image-stream"},{"title":"gemini-2.5-flash-lite","openapi":"api-reference/model-api/google/openapi/gemini-2-5-flash-lite/openapi.yaml POST /v1beta/models/gemini-2.5-flash-lite:generateContent","href":"/api-reference/model-api/google/gemini-2.5-flash-lite"},{"title":"gemini-2.0-flash","openapi":"api-reference/model-api/google/openapi/gemini-2-0-flash/openapi.yaml POST /v1beta/models/gemini-2.0-flash:generateContent","href":"/api-reference/model-api/google/gemini-2-0-flash"}]},{"group":"Kling","icon":"https://unpkg.com/@lobehub/icons-static-svg@latest/icons/kling-color.svg","pages":[{"title":"Kling 4.0","href":"/api-reference/model-api/kling/kling-4.0"},{"title":"Kling 3.0 Turbo","href":"/api-reference/model-api/kling/kling-3.0-turbo"},{"title":"Kling 3.0","href":"/api-reference/model-api/kling/kling-3.0"},{"title":"Kling 3.0 Omni","href":"/api-reference/model-api/kling/kling-3.0-omni"},{"title":"Kling O1","href":"/api-reference/model-api/kling/kling-o1"},{"title":"Kling 2.6","href":"/api-reference/model-api/kling/kling-2.6"},{"title":"Kling 2.5-turbo","href":"/api-reference/model-api/kling/kling-2.5-turbo"},{"group":"Element Management","root":{"title":"Element Management","href":"/api-reference/model-api/kling/kling-element-management"},"pages":[{"title":"kling-element-create","openapi":"api-reference/model-api/kling/openapi/kling-element-create/openapi.yaml POST /kling/v2/general/advanced-custom-elements","href":"/api-reference/model-api/kling/kling-element-create"},{"title":"kling-element-query","openapi":"api-reference/model-api/kling/openapi/kling-element-query/openapi.yaml GET /kling/v2/general/advanced-custom-elements/{task_id}","href":"/api-reference/model-api/kling/kling-element-query"},{"title":"kling-element-preset-list","openapi":"api-reference/model-api/kling/openapi/kling-element-preset-list/openapi.yaml GET /kling/v1/general/advanced-presets-elements","href":"/api-reference/model-api/kling/kling-element-preset-list"}]},{"title":"Voice Management","href":"/api-reference/model-api/kling/kling-voice-management"},{"title":"Kling Digital Human","tag":"NEW","href":"/api-reference/model-api/kling/kling-digital-human"},{"title":"Kling Lip Sync","href":"/api-reference/model-api/kling/kling-lip-sync"},{"title":"Kling Identify Face","openapi":"api-reference/model-api/kling/openapi/kling-identify-face/openapi.yaml POST /kling/v1/videos/identify-face","href":"/api-reference/model-api/kling/kling-identify-face"}]},{"group":"MiniMax","icon":"/images/providers/minimax.svg","pages":[{"title":"MiniMax-H3","href":"/api-reference/model-api/minimax/minimax-h3"},{"title":"minimax-m3","openapi":"api-reference/model-api/minimax/openapi/minimax-m3/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/minimax/minimax-m3"},{"title":"minimax-m2.7","openapi":"api-reference/model-api/minimax/openapi/minimax-m2.7/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/minimax/minimax-m2.7"},{"title":"minimax-m2.5","openapi":"api-reference/model-api/minimax/openapi/minimax-m2.5/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/minimax/minimax-m2.5"},{"title":"minimax-m2.1","openapi":"api-reference/model-api/minimax/openapi/minimax-m2.1/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/minimax/minimax-m2.1"}]},{"group":"MoonShot","icon":"/images/providers/moonshot.svg","pages":[{"title":"kimi-k3.1-pro / kimi-k3.1-pro-highspeed","tag":"NEW","openapi":"api-reference/model-api/moonshot/openapi/kimi-k3-1-pro/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/moonshot/kimi-k3-1-pro"},{"title":"kimi-k3","openapi":"api-reference/model-api/moonshot/openapi/kimi-k3/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/moonshot/kimi-k3"},{"title":"kimi-k2.6","openapi":"api-reference/model-api/moonshot/openapi/kimi-k2-6/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/moonshot/kimi-k2-6"},{"title":"kimi-k2.5","openapi":"api-reference/model-api/moonshot/openapi/kimi-k2-5/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/moonshot/kimi-k2-5"}]},{"group":"OpenAI","icon":"/images/providers/openai.svg","pages":[{"title":"gpt-6.2-astra","tag":"NEW","href":"/api-reference/model-api/openai/gpt-6.2-astra"},{"title":"gpt-6.2-sol","tag":"NEW","href":"/api-reference/model-api/openai/gpt-6.2-sol"},{"title":"gpt-6-astra","href":"/api-reference/model-api/openai/gpt-6-astra"},{"title":"gpt-6.1-sol","openapi":"api-reference/model-api/openai/openapi/gpt-6.1-sol/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-6.1-sol"},{"title":"gpt-6.1-terra","openapi":"api-reference/model-api/openai/openapi/gpt-6.1-terra/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-6.1-terra"},{"title":"gpt-6-sol","openapi":"api-reference/model-api/openai/openapi/gpt-6-sol/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-6-sol"},{"title":"gpt-6-luna","openapi":"api-reference/model-api/openai/openapi/gpt-6-luna/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-6-luna"},{"title":"gpt-5.6","openapi":"api-reference/model-api/openai/openapi/gpt-5-6/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-6"},{"title":"gpt-5.6-sol","openapi":"api-reference/model-api/openai/openapi/gpt-5-6-sol/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-6-sol"},{"title":"gpt-5.6-terra","openapi":"api-reference/model-api/openai/openapi/gpt-5-6-terra/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-6-terra"},{"title":"gpt-5.6-luna","openapi":"api-reference/model-api/openai/openapi/gpt-5-6-luna/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-6-luna"},{"title":"gpt-5.5","openapi":"api-reference/model-api/openai/openapi/gpt-5-5/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-5"},{"title":"gpt-5.4","openapi":"api-reference/model-api/openai/openapi/gpt-5-4/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-4"},{"title":"gpt-5.4-mini","openapi":"api-reference/model-api/openai/openapi/gpt-5-4-mini/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-4-mini"},{"title":"gpt-5.3-codex","openapi":"api-reference/model-api/openai/openapi/gpt-5-3-codex/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-3-codex"},{"title":"gpt-5.2","openapi":"api-reference/model-api/openai/openapi/gpt-5-2/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-2"},{"title":"gpt-5.2-chat","openapi":"api-reference/model-api/openai/openapi/gpt-5-2-chat/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-2-chat"},{"title":"gpt-5.2-chat-latest","openapi":"api-reference/model-api/openai/openapi/gpt-5-2-chat-latest/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-2-chat-latest"},{"title":"gpt-5.2-codex","openapi":"api-reference/model-api/openai/openapi/gpt-5-2-codex/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/openai/gpt-5-2-codex"},{"title":"gpt-5.1","openapi":"api-reference/model-api/openai/openapi/gpt-5-1/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-1"},{"title":"gpt-5.1-chat","openapi":"api-reference/model-api/openai/openapi/gpt-5-1-chat/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-1-chat"},{"title":"gpt-5.1-chat-latest","openapi":"api-reference/model-api/openai/openapi/gpt-5-1-chat-latest/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-1-chat-latest"},{"title":"gpt-5.1-codex-mini","openapi":"api-reference/model-api/openai/openapi/gpt-5-1-codex-mini/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-1-codex-mini"},{"title":"gpt-5","openapi":"api-reference/model-api/openai/openapi/gpt-5/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5"},{"title":"gpt-5-chat-latest","openapi":"api-reference/model-api/openai/openapi/gpt-5-chat-latest/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-chat-latest"},{"title":"gpt-5-pro","openapi":"api-reference/model-api/openai/openapi/gpt-5-pro/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-pro"},{"title":"gpt-5-codex","openapi":"api-reference/model-api/openai/openapi/gpt-5-codex/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-codex"},{"title":"gpt-5-codex-high","openapi":"api-reference/model-api/openai/openapi/gpt-5-codex-high/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-codex-high"},{"title":"gpt-5-codex-low","openapi":"api-reference/model-api/openai/openapi/gpt-5-codex-low/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-codex-low"},{"title":"gpt-5-mini","openapi":"api-reference/model-api/openai/openapi/gpt-5-mini/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-mini"},{"title":"gpt-5-nano","openapi":"api-reference/model-api/openai/openapi/gpt-5-nano/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-5-nano"},{"title":"gpt-4o","openapi":"api-reference/model-api/openai/openapi/gpt-4o/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-4o"},{"title":"gpt-4o-mini","openapi":"api-reference/model-api/openai/openapi/gpt-4o-mini/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-4o-mini"},{"title":"gpt-4.1","openapi":"api-reference/model-api/openai/openapi/gpt-4-1/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-4-1"},{"title":"gpt-4","openapi":"api-reference/model-api/openai/openapi/gpt-4/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/openai/gpt-4"},{"title":"GPT Image 2.6","tag":"NEW","href":"/api-reference/model-api/openai/gpt-image-2-6"},{"title":"GPT Image 2.5","href":"/api-reference/model-api/openai/gpt-image-2-5"},{"title":"GPT Image 2","href":"/api-reference/model-api/openai/gpt-image-2"},{"title":"gpt-image-2-c","openapi":"api-reference/model-api/openai/openapi/gpt-image-2-c/openapi.yaml POST /v1/images/generations","href":"/api-reference/model-api/openai/gpt-image-2-c"},{"title":"gpt-image-2-c-edit","openapi":"api-reference/model-api/openai/openapi/gpt-image-2-c-edit/openapi.yaml POST /v1/images/edits","href":"/api-reference/model-api/openai/gpt-image-2-c-edit"},{"title":"gpt-image-1.5","openapi":"api-reference/model-api/openai/openapi/gpt-image-1-5/openapi.yaml POST /v1/images/generations","href":"/api-reference/model-api/openai/gpt-image-1-5"},{"title":"gpt-image-1","openapi":"api-reference/model-api/openai/openapi/gpt-image-1/openapi.yaml POST /v1/images/generations","href":"/api-reference/model-api/openai/gpt-image-1"}]},{"group":"xAI","icon":"/images/providers/xai.svg","pages":[{"title":"grok-4.7","tag":"NEW","openapi":"api-reference/model-api/xai/openapi/grok-4-7/openapi.yaml POST /v1/responses","href":"/api-reference/model-api/xai/grok-4-7"},{"title":"grok-4.6","openapi":"api-reference/model-api/xai/openapi/grok-4-6/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/xai/grok-4-6"},{"title":"grok-4.5","openapi":"api-reference/model-api/xai/openapi/grok-4-5/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/xai/grok-4-5"},{"title":"grok-4.3","openapi":"api-reference/model-api/xai/openapi/grok-4-3/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/xai/grok-4-3"},{"title":"grok-4-1-fast-reasoning","openapi":"api-reference/model-api/xai/openapi/grok-4-1-fast-reasoning/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/xai/grok-4-1-fast-reasoning"},{"title":"grok-4-1-fast-non-reasoning","openapi":"api-reference/model-api/xai/openapi/grok-4-1-fast-non-reasoning/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/xai/grok-4-1-fast-non-reasoning"}]},{"group":"Zhipu","icon":"/images/providers/zhipu.svg","pages":[{"title":"glm-5.3","tag":"NEW","openapi":"api-reference/model-api/zhipu/openapi/glm-5.3/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/zhipu/glm-5.3"},{"title":"glm-5.2","openapi":"api-reference/model-api/zhipu/openapi/glm-5.2/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/zhipu/glm-5.2"},{"title":"glm-5.1","openapi":"api-reference/model-api/zhipu/openapi/glm-5.1/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/zhipu/glm-5.1"},{"title":"glm-5","openapi":"api-reference/model-api/zhipu/openapi/glm-5/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/zhipu/glm-5"},{"title":"glm-4-7","openapi":"api-reference/model-api/zhipu/openapi/glm-4.7/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/zhipu/glm-4.7"},{"title":"glm-4.5","openapi":"api-reference/model-api/zhipu/openapi/glm-4.5/openapi.yaml POST /v1/chat/completions","href":"/api-reference/model-api/zhipu/glm-4.5"}]}]}]},{"tab":"Use Cases","pages":[{"title":"Use Cases","href":"/guides/usecases/use-anyfast-in-claude-code"}]}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/api-reference/model-api/google/gemini-4-hydrogen"}]}]},"basePath":"","title":"gemini-4-hydrogen - AnyFast","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":[],"chunks":[]}