{
"id": "gen_581761234567890123",
"object": "media.generation",
"status": "pending",
"created": 1703001234,
"model": "google/gemini-2.5-flash-image",
"completed_at": 1703001244,
"data": {
"url": "https://example.com/image.png",
"b64_json": "iVBORw0KGgoAAAANSUhEUgAAAAUA...",
"revised_prompt": "A beautiful sunset over the ocean"
},
"usage": {
"input_units": 1,
"output_units": 1,
"duration_seconds": 5,
"input_tokens": 10,
"output_tokens": 0,
"total_tokens": 10,
"cost_rub": 1.5,
"cost": 1.5
},
"error": {
"code": "BAD_GATEWAY",
"message": "Ошибка генерации медиа контента",
"metadata": {
"raw": "content policy violation",
"provider_name": "alibaba"
}
},
"content": "Банан и яблоко — это фрукты.",
"reasoning_summary": "Preparing image generation prompt with camera settings...",
"warnings": [
"Параметр isEnhance не поддерживается и будет проигнорирован"
]
}
{
"error": {
"code": "BAD_REQUEST",
"message": "Недопустимое значение параметра",
"trace_id": "550e8400-e29b-41d4-a716-446655440000",
"details": {},
"metadata": {
"reason": "noProvidersForModel",
"raw": "The parameter `duration` specified in the request is not valid",
"provider_name": "alibaba"
}
},
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}
{
"error": {
"code": "BAD_REQUEST",
"message": "Недопустимое значение параметра",
"trace_id": "550e8400-e29b-41d4-a716-446655440000",
"details": {},
"metadata": {
"reason": "noProvidersForModel",
"raw": "The parameter `duration` specified in the request is not valid",
"provider_name": "alibaba"
}
},
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}
{
"error": {
"code": "BAD_REQUEST",
"message": "Недопустимое значение параметра",
"trace_id": "550e8400-e29b-41d4-a716-446655440000",
"details": {},
"metadata": {
"reason": "noProvidersForModel",
"raw": "The parameter `duration` specified in the request is not valid",
"provider_name": "alibaba"
}
},
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}
{
"error": {
"code": "BAD_REQUEST",
"message": "Недопустимое значение параметра",
"trace_id": "550e8400-e29b-41d4-a716-446655440000",
"details": {},
"metadata": {
"reason": "noProvidersForModel",
"raw": "The parameter `duration` specified in the request is not valid",
"provider_name": "alibaba"
}
},
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}
{
"error": {
"code": "BAD_REQUEST",
"message": "Недопустимое значение параметра",
"trace_id": "550e8400-e29b-41d4-a716-446655440000",
"details": {},
"metadata": {
"reason": "noProvidersForModel",
"raw": "The parameter `duration` specified in the request is not valid",
"provider_name": "alibaba"
}
},
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}
{
"error": {
"code": "BAD_REQUEST",
"message": "Недопустимое значение параметра",
"trace_id": "550e8400-e29b-41d4-a716-446655440000",
"details": {},
"metadata": {
"reason": "noProvidersForModel",
"raw": "The parameter `duration` specified in the request is not valid",
"provider_name": "alibaba"
}
},
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}
{
"error": {
"code": "BAD_REQUEST",
"message": "Недопустимое значение параметра",
"trace_id": "550e8400-e29b-41d4-a716-446655440000",
"details": {},
"metadata": {
"reason": "noProvidersForModel",
"raw": "The parameter `duration` specified in the request is not valid",
"provider_name": "alibaba"
}
},
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}
{
"error": {
"code": "BAD_REQUEST",
"message": "Недопустимое значение параметра",
"trace_id": "550e8400-e29b-41d4-a716-446655440000",
"details": {},
"metadata": {
"reason": "noProvidersForModel",
"raw": "The parameter `duration` specified in the request is not valid",
"provider_name": "alibaba"
}
},
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}
{
"error": {
"code": "BAD_REQUEST",
"message": "Недопустимое значение параметра",
"trace_id": "550e8400-e29b-41d4-a716-446655440000",
"details": {},
"metadata": {
"reason": "noProvidersForModel",
"raw": "The parameter `duration` specified in the request is not valid",
"provider_name": "alibaba"
}
},
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}
{
"error": {
"code": "BAD_REQUEST",
"message": "Недопустимое значение параметра",
"trace_id": "550e8400-e29b-41d4-a716-446655440000",
"details": {},
"metadata": {
"reason": "noProvidersForModel",
"raw": "The parameter `duration` specified in the request is not valid",
"provider_name": "alibaba"
}
},
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}
{
"error": {
"code": "BAD_REQUEST",
"message": "Недопустимое значение параметра",
"trace_id": "550e8400-e29b-41d4-a716-446655440000",
"details": {},
"metadata": {
"reason": "noProvidersForModel",
"raw": "The parameter `duration` specified in the request is not valid",
"provider_name": "alibaba"
}
},
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}
{
"error": {
"code": "BAD_REQUEST",
"message": "Недопустимое значение параметра",
"trace_id": "550e8400-e29b-41d4-a716-446655440000",
"details": {},
"metadata": {
"reason": "noProvidersForModel",
"raw": "The parameter `duration` specified in the request is not valid",
"provider_name": "alibaba"
}
},
"trace_id": "550e8400-e29b-41d4-a716-446655440000"
}
Nano Banana 2 (google/gemini-3.1-flash-image-preview) — модель генерации и редактирования изображений с поддержкой до 4K разрешения, точным рендерингом текста и возможностью передавать до 8 референс-изображений.
Предупреждения (неподдерживаемые параметры и т.д.)
Пример:
[
"Параметр isEnhance не поддерживается и будет проигнорирован"
]
Была ли эта страница полезной?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Polza.ai","colors":{"primary":"#4D7C0F","light":"#A3E635","dark":"#65A30D"},"logo":{"light":"https://mintcdn.com/polza/vvxkgBWcVlkywuwq/logo/light.svg?fit=max\u0026auto=format\u0026n=vvxkgBWcVlkywuwq\u0026q=85\u0026s=03a6a8e98a87bf6c97e54c1bd77e3658","dark":"https://mintcdn.com/polza/vvxkgBWcVlkywuwq/logo/dark.svg?fit=max\u0026auto=format\u0026n=vvxkgBWcVlkywuwq\u0026q=85\u0026s=336d0f754173bad8a33f3ef81a16267b"},"favicon":"https://mintcdn.com/polza/AzzTGFLop3jcikZx/favicon.ico?fit=max\u0026auto=format\u0026n=AzzTGFLop3jcikZx\u0026q=85\u0026s=806cdc343f38a57a177db57fda38732f","api":{"openapi":"https://polza.ai/api/openapi.json"},"navbar":{"links":[{"href":"/glavnoe/support","label":"Поддержка"}],"primary":{"type":"button","label":"Консоль","href":"https://polza.ai/dashboard"}},"footer":{"socials":{"telegram":"https://t.me/polzaai","x":"https://x.com/polza_ai","instagram":"https://instagram.com/polza_ai","youtube":"https://www.youtube.com/@polza_ai"},"links":[{"header":"Polza.ai","items":[{"label":"Главная","href":"https://polza.ai/"},{"label":"Модели и цены","href":"https://polza.ai/models"}]},{"header":"Начать работу","items":[{"label":"Получить API-ключ","href":"https://polza.ai/register"},{"label":"Личный кабинет","href":"https://polza.ai/dashboard"}]},{"header":"Документы","items":[{"label":"Политика обработки персональных данных","href":"https://polza.ai/documents/privacy-policy"},{"label":"Пользовательское соглашение","href":"https://polza.ai/documents/user-agreement"},{"label":"Сведения о ПО Polza.AI","href":"https://polza.ai/software-registry"}]},{"header":"Помощь","items":[{"label":"Поддержка","href":"/glavnoe/support"},{"label":"support@polza.ai","href":"mailto:support@polza.ai"}]}]},"errors":{"404":{"redirect":false,"title":"Страница не найдена","description":"Такой страницы в документации нет — возможно, адрес изменился. Начните с [быстрого старта](/glavnoe/quickstart) или напишите в [поддержку](/glavnoe/support)."}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"languages":[{"language":"ru","default":true,"href":"/"}],"anchors":[{"anchor":"Модели","icon":"microchip","href":"https://polza.ai/models"},{"anchor":"Консоль","icon":"gauge","href":"https://polza.ai/dashboard"},{"anchor":"Обновления","icon":"clock-rotate-left","href":"/changelog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"polza","hasAudioNarration":false,"actualSubdomain":"polza","customDomains":["polza.ai"],"gitSource":{"type":"github","owner":"polza-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6af1bdb37ffc68b33005b543","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"Руководства","count":79},{"language":"default","tag":"Генерация медиа","count":34},{"language":"default","tag":"Интеграции","count":25},{"language":"default","tag":"API Reference","count":23},{"language":"default","tag":"Изображения","count":19},{"language":"default","tag":"Продвинутое","count":13},{"language":"default","tag":"Видео","count":11},{"language":"default","tag":"Документация","count":8},{"language":"default","tag":"Главное","count":8},{"language":"default","tag":"Хранилище","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"gaidy/nanobanano-2","slug":"/gaidy/nanobanano-2","pageMetadata":{"title":"Nano Banana 2","description":"Генерация изображений до 4K — полный API-гайд","icon":"star","openapi":"POST /v1/media","href":"/gaidy/nanobanano-2"},"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: \"Генерация изображений до 4K — полный API-гайд\"\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={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,CodeBlock,CodeGroup,Heading,Note,Table}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Nano Banana 2 (`,_jsx(_components.code,{children:`google/gemini-3.1-flash-image-preview`}),`) — модель генерации и редактирования изображений с поддержкой до 4K разрешения, точным рендерингом текста и возможностью передавать до 8 референс-изображений.`]}),`\n`,_jsx(Heading,{level:`2`,id:`характеристики`,children:`Характеристики`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Характеристика`}),_jsx(_components.th,{children:`Nano Banana`}),_jsx(_components.th,{children:`Nano Banana 2`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`ID модели`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`google/gemini-2.5-flash-image`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`google/gemini-3.1-flash-image-preview`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Max prompt`}),_jsx(_components.td,{children:`20 000 символов`}),_jsx(_components.td,{children:`20 000 символов`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Разрешения`}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`1K, 2K, 4K`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Aspect ratio`}),_jsx(_components.td,{children:`10 вариантов`}),_jsx(_components.td,{children:`11 вариантов`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Референс-изображения`}),_jsx(_components.td,{children:`до 8`}),_jsx(_components.td,{children:`до 8`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`примеры`,children:`Примеры`}),`\n`,_jsx(Heading,{level:`3`,id:`редактирование-с-референс-изображением`,children:`Редактирование с референс-изображением`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`TypeScript`,numberOfLines:`17`,language:`typescript`,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:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://polza.ai/api/v1/media'`}),_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\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'POST'`}),_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\":`#9CDCFE`},children:` headers:`}),_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:` 'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bearer \u003cPOLZA_AI_API_KEY>'`}),_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:` 'Content-Type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`})]}),`\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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_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\":`#9CDCFE`},children:` model:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'google/gemini-3.1-flash-image-preview'`}),_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\":`#9CDCFE`},children:` input:`}),_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\":`#9CDCFE`},children:` prompt:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Добавь текст 'SALE 50%' крупными буквами в центре\"`}),_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\":`#9CDCFE`},children:` image_resolution:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '4K'`}),_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\":`#9CDCFE`},children:` images:`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'url'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://example.com/banner.jpg'`}),_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`16`,language:`python`,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:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://polza.ai/api/v1/media'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Bearer \u003cPOLZA_AI_API_KEY>'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_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:` 'model'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'google/gemini-3.1-flash-image-preview'`}),_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:` 'input'`}),_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:` 'prompt'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Добавь текст 'SALE 50%' крупными буквами в центре\"`}),_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:` 'image_resolution'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'4K'`}),_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:` 'images'`}),_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'url'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'data'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://example.com/banner.jpg'`}),_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`13`,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:`13`,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:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://polza.ai/api/v1/media\"`}),_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:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer \u003cPOLZA_AI_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:` -H`}),_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:` -d`}),_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:` \"model\": \"google/gemini-3.1-flash-image-preview\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"input\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"Добавь текст SALE 50% крупными буквами в центре\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"image_resolution\": \"4K\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"images\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"type\": \"url\", \"data\": \"https://example.com/banner.jpg\" }`})}),`\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`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`ответ`,children:`Ответ`}),`\n`,_jsx(_components.p,{children:`API возвращает объект с ID задачи:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,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:`7`,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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"aig_abc123\"`}),_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:` \"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"media.generation\"`}),_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:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`}),_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:` \"created\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1703001244`}),_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:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"google/gemini-3.1-flash-image-preview\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Опросите статус через `,_jsx(_components.code,{children:`GET /v1/media/{id}`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,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:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://polza.ai/api/v1/media/aig_abc123\"`}),_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:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer \u003cPOLZA_AI_API_KEY>\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`статусы`,children:`Статусы`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Статус`}),_jsx(_components.th,{children:`Описание`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pending`})}),_jsx(_components.td,{children:`В очереди`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`processing`})}),_jsx(_components.td,{children:`Генерация выполняется`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`completed`})}),_jsxs(_components.td,{children:[`Готово, URL результата в поле `,_jsx(_components.code,{children:`output.url`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`failed`})}),_jsxs(_components.td,{children:[`Ошибка, описание в поле `,_jsx(_components.code,{children:`error`})]})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Результаты хранятся `,_jsx(_components.strong,{children:`7 дней`}),`. Для постоянного хранения используйте `,_jsx(_components.a,{href:`/api-reference/storage/upload`,children:`Storage API`}),` с политикой `,_jsx(_components.code,{children:`PERMANENT`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`советы`,children:`Советы`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`4K для печати`,icon:`print`,id:`4k-dlya-pechati`,children:_jsxs(_components.p,{children:[`Для полиграфии и баннеров выбирайте `,_jsx(_components.code,{children:`image_resolution: \"4K\"`}),` — это максимальное качество модели.`]})}),_jsx(Accordion,{title:`Точный рендеринг текста`,icon:`font`,id:`tochniy-rendering-teksta`,children:_jsx(_components.p,{children:`Nano Banana 2 хорошо рендерит текст на изображениях. Указывайте шрифт, размер и расположение в промпте.`})}),_jsx(Accordion,{title:`Детализируйте освещение`,icon:`lightbulb`,id:`detaliziruyte-osveschenie`,children:_jsx(_components.p,{children:`Модель отлично обрабатывает сложные световые схемы — описывайте их подробно: студийный свет, боковое освещение, время суток.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`смотрите-также`,children:`Смотрите также`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Попробовать в Playground`,icon:`play`,href:`/dashboard/playground`,children:_jsx(_components.p,{children:`Тестируйте модель прямо в браузере без написания кода`})}),_jsx(Card,{title:`Статус и результат генерации`,icon:`clock`,href:`/api-reference/media/status`,children:_jsx(_components.p,{children:`GET /v1/media/{id} — проверка статуса задачи`})}),_jsx(Card,{title:`Nano Banana`,icon:`image`,href:`/gaidy/nanobanano`,children:_jsx(_components.p,{children:`Базовая версия модели`})}),_jsx(Card,{title:`Nano Banana Pro`,icon:`star`,href:`/gaidy/nanobanano-pro`,children:_jsx(_components.p,{children:`Продвинутая версия с расширенными возможностями`})})]})]})}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":"Nano Banana 2","description":"Генерация изображений до 4K — полный API-гайд","icon":"star","openapi":"POST /v1/media","href":"/gaidy/nanobanano-2"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Характеристики","slug":"характеристики","depth":2,"children":[]},{"title":"Примеры","slug":"примеры","depth":2,"children":[{"title":"Редактирование с референс-изображением","slug":"редактирование-с-референс-изображением","depth":3,"children":[]}]},{"title":"Ответ","slug":"ответ","depth":2,"children":[{"title":"Статусы","slug":"статусы","depth":3,"children":[]}]},{"title":"Советы","slug":"советы","depth":2,"children":[]},{"title":"Смотрите также","slug":"смотрите-также","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/polza/2b0415a21fa98304/powered-by-mintlify.js","/docs/_mintlify/custom/polza/4c3cb2e13b25640b/logo-home-link.js"],"openApiReferenceData":{"operation":{"operationId":"MediaController_createGeneration[1]","parameters":[],"requestBody":"450f0b56-278f-4a9d-b971-ef020cdaf9f0","responses":{"200":"3f410c48-f136-40b3-b61e-904d91bcf893","400":"11623db5-1164-4b64-8eff-0531126d95e3","401":"fadd6f78-ac58-4414-a592-3bcc3be0c00e","402":"9671a7d9-5b29-430c-bf5b-44b850bef310","403":"6c968f48-4a8a-48c0-868b-2bdba37898e5","404":"889c4886-4da4-435c-8ad5-6fa0e751ff93","408":"15a2e912-ebac-45f8-8128-6edbf2ccf984","409":"c18dd05c-2980-443e-bf9b-68f86c97f3ce","413":"9e066383-e6b6-480f-8212-8bd90604aa2a","429":"28d96a41-ccda-4280-ae8b-a524a1051b6e","500":"309fb105-680a-43e3-a82e-efb7a328c06c","502":"30916451-083a-4f8a-a4fb-16b2d5d5747f","503":"c4fc1324-c449-45a8-85ae-77a6b6a386ce"},"security":["02e7c809-00aa-4aaf-8a8b-82ce7af4d1fd"],"summary":"Создать генерацию медиа","tags":["Медиа"],"method":"post","type":"path","servers":["43ff6ab0-9808-47ea-b0c8-431e6d61c5f5"],"path":"/v1/media","baseUrlOptions":["https://polza.ai/api"],"title":"Создать генерацию медиа","description":"Генерация изображений до 4K — полный API-гайд","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","description":"ID модели для генерации","example":"seedream-3","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"input":{"oneOf":[{"type":"object","title":"Изображение","description":"Входные параметры генерации","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Текстовое описание","example":"Космический корабль в стиле киберпанк","isRequired":true,"uniqueKey":"input.oneOf.0.prompt","typeLabel":"string"},"aspect_ratio":{"type":"string","description":"Соотношение сторон","example":"16:9","enum":["1:1","1:4","4:1","1:8","8:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9","9:21","2:1","1:2","3:1","1:3","27:16","16:27","9:8","8:9","auto","adaptive"],"uniqueKey":"input.oneOf.0.aspect_ratio","typeLabel":"enum\u003cstring>"},"images":{"description":"Медиа файлы для обработки","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["url","base64"],"description":"Тип данных: url или base64","example":"url","isRequired":true,"uniqueKey":"input.oneOf.0.images.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"data":{"type":"string","description":"URL или base64 данные изображения/видео","example":"https://example.com/image.png","isRequired":true,"uniqueKey":"input.oneOf.0.images.items.[INDEX].data","typeLabel":"string"}},"required":["type","data"],"uniqueKey":"input.oneOf.0.images.items.[INDEX]","typeLabel":"object"},"uniqueKey":"input.oneOf.0.images","typeLabel":"object[]"},"callBackUrl":{"type":"string","description":"URL для callback уведомлений","uniqueKey":"input.oneOf.0.callBackUrl","typeLabel":"string"},"seed":{"type":"number","description":"Зерно генерации для воспроизводимости","example":42,"uniqueKey":"input.oneOf.0.seed","typeLabel":"number"},"watermark":{"type":"string","description":"Текст водяного знака","example":"MyBrand","uniqueKey":"input.oneOf.0.watermark","typeLabel":"string"},"image_resolution":{"type":"string","description":"Разрешение изображения. Перечень — общий superset провайдеров; конкретная модель принимает своё подмножество, оно проверяется по каталогу модели.","enum":["0.5K","1K","2K","4K"],"example":"2K","uniqueKey":"input.oneOf.0.image_resolution","typeLabel":"enum\u003cstring>"},"quality":{"type":"string","description":"Качество из каталога выбранной модели","example":"high","uniqueKey":"input.oneOf.0.quality","typeLabel":"string"},"output_format":{"type":"string","description":"Формат выходного изображения (jpg автоматически преобразуется в jpeg)","enum":["png","jpeg","webp","gif"],"example":"png","uniqueKey":"input.oneOf.0.output_format","typeLabel":"enum\u003cstring>"},"animation":{"type":"boolean","description":"Создать анимированный GIF, если модель поддерживает анимацию","example":true,"uniqueKey":"input.oneOf.0.animation","typeLabel":"boolean"},"max_images":{"type":"number","description":"Количество изображений; верхний предел задаёт каталог модели","example":1,"minimum":1,"uniqueKey":"input.oneOf.0.max_images","typeLabel":"number"},"isEnhance":{"type":"boolean","description":"Улучшить промпт для более качественного результата (GPT-Image-1)","example":false,"uniqueKey":"input.oneOf.0.isEnhance","typeLabel":"boolean"},"guidance_scale":{"type":"number","description":"Масштаб управления генерацией (CFG scale)","example":2.5,"uniqueKey":"input.oneOf.0.guidance_scale","typeLabel":"number"},"strength":{"type":"number","description":"Сила трансформации для image-to-image (0-1)","example":0.8,"uniqueKey":"input.oneOf.0.strength","typeLabel":"number"},"enable_safety_checker":{"type":"boolean","description":"Включить проверку безопасности","example":true,"uniqueKey":"input.oneOf.0.enable_safety_checker","typeLabel":"boolean"},"upscale_factor":{"type":"string","description":"Коэффициент увеличения (для upscale моделей)","enum":["1","2","4","8"],"example":"2","uniqueKey":"input.oneOf.0.upscale_factor","typeLabel":"enum\u003cstring>"},"font_inputs":{"description":"Входные шрифты для рендеринга текста (только Sourceful Riverflow V2 Fast/Pro, макс. 2)","type":"array","items":{"type":"object","properties":{"font_url":{"type":"string","description":"URL файла шрифта","example":"https://example.com/fonts/custom-font.ttf","isRequired":true,"uniqueKey":"input.oneOf.0.font_inputs.items.[INDEX].font_url","typeLabel":"string"},"text":{"type":"string","description":"Текст для рендеринга","example":"Hello World","isRequired":true,"uniqueKey":"input.oneOf.0.font_inputs.items.[INDEX].text","typeLabel":"string"}},"required":["font_url","text"],"uniqueKey":"input.oneOf.0.font_inputs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"input.oneOf.0.font_inputs","typeLabel":"object[]"},"super_resolution_references":{"description":"URL высококачественных референсов для super resolution (только Sourceful Riverflow, макс. 4)","example":["https://example.com/reference1.jpg"],"type":"array","items":{"type":"string","uniqueKey":"input.oneOf.0.super_resolution_references.items.[INDEX]","typeLabel":"string"},"uniqueKey":"input.oneOf.0.super_resolution_references","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"input.oneOf.0","typeLabel":"Изображение · object"},{"type":"object","title":"Видео","description":"Входные параметры генерации","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Текстовое описание","example":"Космический корабль в стиле киберпанк","isRequired":true,"uniqueKey":"input.oneOf.1.prompt","typeLabel":"string"},"aspect_ratio":{"type":"string","description":"Соотношение сторон","example":"16:9","enum":["1:1","1:4","4:1","1:8","8:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9","9:21","2:1","1:2","3:1","1:3","27:16","16:27","9:8","8:9","auto","adaptive"],"uniqueKey":"input.oneOf.1.aspect_ratio","typeLabel":"enum\u003cstring>"},"images":{"description":"Медиа файлы для обработки","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["url","base64"],"description":"Тип данных: url или base64","example":"url","isRequired":true,"uniqueKey":"input.oneOf.1.images.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"data":{"type":"string","description":"URL или base64 данные изображения/видео","example":"https://example.com/image.png","isRequired":true,"uniqueKey":"input.oneOf.1.images.items.[INDEX].data","typeLabel":"string"}},"required":["type","data"],"uniqueKey":"input.oneOf.1.images.items.[INDEX]","typeLabel":"object"},"uniqueKey":"input.oneOf.1.images","typeLabel":"object[]"},"callBackUrl":{"type":"string","description":"URL для callback уведомлений","uniqueKey":"input.oneOf.1.callBackUrl","typeLabel":"string"},"seed":{"type":"number","description":"Зерно генерации для воспроизводимости","example":42,"uniqueKey":"input.oneOf.1.seed","typeLabel":"number"},"watermark":{"type":"string","description":"Текст водяного знака","example":"MyBrand","uniqueKey":"input.oneOf.1.watermark","typeLabel":"string"},"duration":{"type":"string","description":"Длительность видео в секундах","example":"10","uniqueKey":"input.oneOf.1.duration","typeLabel":"string"},"resolution":{"type":"string","description":"Разрешение видео в формате p. Для Gemini Omni 4K можно передать 4k или 2160p. Перечень — общий superset провайдеров; конкретная модель принимает своё подмножество, оно проверяется по каталогу модели.","enum":["480p","512p","580p","720p","768p","1080p","2160p","4k"],"example":"720p","uniqueKey":"input.oneOf.1.resolution","typeLabel":"enum\u003cstring>"},"quality":{"type":"string","description":"Качество видео (Runway): 720p или 1080p. 1080p несовместим с длительностью 10с — duration будет 5","enum":["720p","1080p"],"example":"720p","uniqueKey":"input.oneOf.1.quality","typeLabel":"enum\u003cstring>"},"videos":{"description":"Видео файлы для обработки","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["url","base64"],"description":"Тип данных: url или base64","example":"url","isRequired":true,"uniqueKey":"input.oneOf.1.videos.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"data":{"type":"string","description":"URL или base64 данные изображения/видео","example":"https://example.com/image.png","isRequired":true,"uniqueKey":"input.oneOf.1.videos.items.[INDEX].data","typeLabel":"string"}},"required":["type","data"],"uniqueKey":"input.oneOf.1.videos.items.[INDEX]","typeLabel":"object"},"uniqueKey":"input.oneOf.1.videos","typeLabel":"object[]"},"reference_images":{"description":"Изображения-референсы отдельно от опорных кадров","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["url","base64"],"description":"Тип данных: url или base64","example":"url","isRequired":true,"uniqueKey":"input.oneOf.1.reference_images.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"data":{"type":"string","description":"URL или base64 данные изображения/видео","example":"https://example.com/image.png","isRequired":true,"uniqueKey":"input.oneOf.1.reference_images.items.[INDEX].data","typeLabel":"string"}},"required":["type","data"],"uniqueKey":"input.oneOf.1.reference_images.items.[INDEX]","typeLabel":"object"},"uniqueKey":"input.oneOf.1.reference_images","typeLabel":"object[]"},"audios":{"description":"Аудиореференсы","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["url","base64"],"description":"Тип данных: url или base64","example":"url","isRequired":true,"uniqueKey":"input.oneOf.1.audios.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"data":{"type":"string","description":"URL или base64 данные изображения/видео","example":"https://example.com/image.png","isRequired":true,"uniqueKey":"input.oneOf.1.audios.items.[INDEX].data","typeLabel":"string"}},"required":["type","data"],"uniqueKey":"input.oneOf.1.audios.items.[INDEX]","typeLabel":"object"},"uniqueKey":"input.oneOf.1.audios","typeLabel":"object[]"},"audio_ids":{"description":"ID аудио, созданные через gemini-omni-audio","example":["audio_01hx8p0demo"],"maxItems":3,"type":"array","items":{"type":"string","uniqueKey":"input.oneOf.1.audio_ids.items.[INDEX]","typeLabel":"string"},"uniqueKey":"input.oneOf.1.audio_ids","typeLabel":"string[]"},"character_ids":{"description":"ID персонажей, созданные через gemini-omni-character","example":["character_01hx8p0demo"],"maxItems":3,"type":"array","items":{"type":"string","uniqueKey":"input.oneOf.1.character_ids.items.[INDEX]","typeLabel":"string"},"uniqueKey":"input.oneOf.1.character_ids","typeLabel":"string[]"},"video_list":{"description":"Фрагмент исходного видео для Gemini Omni. Альтернатива полю videos + video_start/video_end.","maxItems":1,"type":"array","items":{"type":"object","properties":{"url":{"type":"string","description":"Публичный URL исходного видео","example":"https://example.com/video.mp4","isRequired":true,"uniqueKey":"input.oneOf.1.video_list.items.[INDEX].url","typeLabel":"string"},"start":{"type":"number","description":"Начало фрагмента в секундах","example":0,"minimum":0,"isRequired":true,"uniqueKey":"input.oneOf.1.video_list.items.[INDEX].start","typeLabel":"number"},"ends":{"type":"number","description":"Конец фрагмента в секундах","example":10,"minimum":0,"isRequired":true,"uniqueKey":"input.oneOf.1.video_list.items.[INDEX].ends","typeLabel":"number"}},"required":["url","start","ends"],"uniqueKey":"input.oneOf.1.video_list.items.[INDEX]","typeLabel":"object"},"uniqueKey":"input.oneOf.1.video_list","typeLabel":"object[]"},"video_start":{"type":"number","description":"Начало фрагмента для первого videos[] в секундах","example":0,"minimum":0,"uniqueKey":"input.oneOf.1.video_start","typeLabel":"number"},"video_end":{"type":"number","description":"Конец фрагмента для первого videos[] в секундах","example":10,"minimum":0,"uniqueKey":"input.oneOf.1.video_end","typeLabel":"number"},"multi_shots":{"type":"boolean","description":"Режим мульти-шотов (Wan 2.6, Kling 3.0)","uniqueKey":"input.oneOf.1.multi_shots","typeLabel":"boolean"},"sound":{"type":"boolean","description":"Генерация звука (Kling 2.6, Kling 3.0)","uniqueKey":"input.oneOf.1.sound","typeLabel":"boolean"},"generate_audio":{"type":"boolean","description":"Генерация звука для видео (как у KIE Seedance). Строки \"true\"/\"false\" приводятся к boolean.","example":false,"uniqueKey":"input.oneOf.1.generate_audio","typeLabel":"boolean"},"mode":{"type":"string","description":"Режим генерации (std/pro для Kling 3.0, 720p/1080p для Motion Control)","uniqueKey":"input.oneOf.1.mode","typeLabel":"string"},"character_orientation":{"type":"string","description":"Ориентация персонажа (Kling 2.6 Motion Control)","enum":["image","video"],"uniqueKey":"input.oneOf.1.character_orientation","typeLabel":"enum\u003cstring>"},"upscale_factor":{"type":"string","description":"Коэффициент увеличения (для video upscale моделей)","example":"2","uniqueKey":"input.oneOf.1.upscale_factor","typeLabel":"string"},"creativity":{"type":"number","description":"Режим апскейла: 0 — точный, 1 — творческий","enum":[0,1],"uniqueKey":"input.oneOf.1.creativity","typeLabel":"enum\u003cnumber>"}},"isRequired":true,"uniqueKey":"input.oneOf.1","typeLabel":"Видео · object"},{"type":"object","title":"Аудио (TTS)","description":"Входные параметры генерации","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Текст для синтеза речи","example":"Привет, как дела?","maxLength":5000,"isRequired":true,"uniqueKey":"input.oneOf.2.prompt","typeLabel":"string"},"inputs":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","isRequired":true,"uniqueKey":"input.oneOf.2.inputs.items.[INDEX].text","typeLabel":"string"},"voice_id":{"type":"string","isRequired":true,"uniqueKey":"input.oneOf.2.inputs.items.[INDEX].voice_id","typeLabel":"string"}},"required":["text","voice_id"],"uniqueKey":"input.oneOf.2.inputs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"input.oneOf.2.inputs","typeLabel":"object[]"},"response_format":{"type":"string","uniqueKey":"input.oneOf.2.response_format","typeLabel":"string"},"instructions":{"type":"string","uniqueKey":"input.oneOf.2.instructions","typeLabel":"string"},"emotion":{"type":"string","uniqueKey":"input.oneOf.2.emotion","typeLabel":"string"},"text":{"type":"string","description":"Текст для синтеза (алиас для prompt, имеет приоритет)","example":"Привет, как дела?","maxLength":5000,"uniqueKey":"input.oneOf.2.text","typeLabel":"string"},"voice":{"type":"string","description":"Голос для синтеза","example":"Rachel","uniqueKey":"input.oneOf.2.voice","typeLabel":"string"},"stability":{"type":"number","description":"Стабильность голоса (0-1)","example":0.5,"uniqueKey":"input.oneOf.2.stability","typeLabel":"number"},"similarity_boost":{"type":"number","description":"Усиление схожести (0-1)","example":0.75,"uniqueKey":"input.oneOf.2.similarity_boost","typeLabel":"number"},"style":{"type":"number","description":"Экспрессия стиля (0-1)","example":0,"uniqueKey":"input.oneOf.2.style","typeLabel":"number"},"speed":{"type":"number","description":"Скорость речи (0.7-1.2)","example":1,"uniqueKey":"input.oneOf.2.speed","typeLabel":"number"},"timestamps":{"type":"boolean","description":"Включить временные метки слов","example":false,"uniqueKey":"input.oneOf.2.timestamps","typeLabel":"boolean"},"previous_text":{"type":"string","description":"Предшествующий текст для контекста (до 5000 символов)","maxLength":5000,"uniqueKey":"input.oneOf.2.previous_text","typeLabel":"string"},"next_text":{"type":"string","description":"Последующий текст для контекста (до 5000 символов)","maxLength":5000,"uniqueKey":"input.oneOf.2.next_text","typeLabel":"string"},"language_code":{"type":"string","description":"Код языка ISO 639-1 (только для Turbo 2.5)","example":"ru","uniqueKey":"input.oneOf.2.language_code","typeLabel":"string"},"callBackUrl":{"type":"string","description":"URL для callback уведомлений","uniqueKey":"input.oneOf.2.callBackUrl","typeLabel":"string"}},"isRequired":true,"uniqueKey":"input.oneOf.2","typeLabel":"Аудио (TTS) · object"},{"type":"object","title":"Распознавание","description":"Входные параметры генерации","required":["file"],"properties":{"file":{"type":"string","description":"Аудио файл в формате base64 (data:audio/mp3;base64,...) или URL","example":"data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAA...","isRequired":true,"uniqueKey":"input.oneOf.3.file","typeLabel":"string"},"language":{"type":"string","description":"Язык аудио в формате ISO-639-1 (например: ru, en, de)","example":"ru","uniqueKey":"input.oneOf.3.language","typeLabel":"string"},"prompt":{"type":"string","description":"Промпт для улучшения контекста транскрипции","example":"Это разговор об искусственном интеллекте","uniqueKey":"input.oneOf.3.prompt","typeLabel":"string"},"response_format":{"type":"string","description":"Формат ответа","enum":["json","text","srt","verbose_json","vtt","diarized_json"],"default":"json","uniqueKey":"input.oneOf.3.response_format","typeLabel":"enum\u003cstring>"},"temperature":{"type":"number","description":"Температура сэмплирования (0-1)","example":0,"minimum":0,"maximum":1,"default":0,"uniqueKey":"input.oneOf.3.temperature","typeLabel":"number"},"timestamp_granularities":{"type":"array","description":"Granularity для временных меток (только для verbose_json)","example":["word","segment"],"items":{"type":"string","enum":["word","segment"],"uniqueKey":"input.oneOf.3.timestamp_granularities.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"input.oneOf.3.timestamp_granularities","typeLabel":"enum\u003cstring>[]"},"chunking_strategy":{"oneOf":[{"type":"string","description":"Chunking strategy для разбивки аудио (обязателен для gpt-4o-transcribe-diarize при >30 сек)","enum":["auto"],"example":"auto","uniqueKey":"input.oneOf.3.chunking_strategy.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","description":"Chunking strategy для разбивки аудио (обязателен для gpt-4o-transcribe-diarize при >30 сек)","required":["type"],"example":"auto","properties":{"type":{"type":"string","description":"Тип chunking стратегии","enum":["server_vad"],"example":"server_vad","isRequired":true,"uniqueKey":"input.oneOf.3.chunking_strategy.oneOf.1.type","typeLabel":"enum\u003cstring>"},"prefix_padding_ms":{"type":"number","description":"Prefix padding в миллисекундах","example":300,"minimum":0,"uniqueKey":"input.oneOf.3.chunking_strategy.oneOf.1.prefix_padding_ms","typeLabel":"number"},"silence_duration_ms":{"type":"number","description":"Длительность тишины для разделения в миллисекундах","example":500,"minimum":0,"uniqueKey":"input.oneOf.3.chunking_strategy.oneOf.1.silence_duration_ms","typeLabel":"number"},"threshold":{"type":"number","description":"Порог громкости (0-1)","example":0.5,"minimum":0,"maximum":1,"uniqueKey":"input.oneOf.3.chunking_strategy.oneOf.1.threshold","typeLabel":"number"}},"uniqueKey":"input.oneOf.3.chunking_strategy.oneOf.1","typeLabel":"object"}],"uniqueKey":"input.oneOf.3.chunking_strategy","typeLabel":"enum\u003cstring> | object"},"include":{"type":"array","description":"Дополнительная информация в ответе (logprobs)","example":["logprobs"],"items":{"type":"string","enum":["logprobs"],"uniqueKey":"input.oneOf.3.include.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"input.oneOf.3.include","typeLabel":"enum\u003cstring>[]"},"known_speaker_names":{"description":"Имена известных спикеров (до 4)","example":["agent","customer"],"type":"array","items":{"type":"array","uniqueKey":"input.oneOf.3.known_speaker_names.items.[INDEX]","typeLabel":"array"},"uniqueKey":"input.oneOf.3.known_speaker_names","typeLabel":"array[]"},"known_speaker_references":{"description":"Аудио референсы для известных спикеров (data URLs)","type":"array","items":{"type":"array","uniqueKey":"input.oneOf.3.known_speaker_references.items.[INDEX]","typeLabel":"array"},"uniqueKey":"input.oneOf.3.known_speaker_references","typeLabel":"array[]"},"stream":{"type":"boolean","description":"Стриминг ответа (не поддерживается для whisper-1)","example":false,"uniqueKey":"input.oneOf.3.stream","typeLabel":"boolean"},"language_code":{"type":"string","uniqueKey":"input.oneOf.3.language_code","typeLabel":"string"},"diarize":{"type":"boolean","uniqueKey":"input.oneOf.3.diarize","typeLabel":"boolean"},"tag_audio_events":{"type":"boolean","uniqueKey":"input.oneOf.3.tag_audio_events","typeLabel":"boolean"},"num_speakers":{"type":"number","uniqueKey":"input.oneOf.3.num_speakers","typeLabel":"number"},"timestamps_granularity":{"type":"string","uniqueKey":"input.oneOf.3.timestamps_granularity","typeLabel":"string"}},"isRequired":true,"uniqueKey":"input.oneOf.3","typeLabel":"Распознавание · object"},{"type":"object","title":"Музыка","description":"Входные параметры генерации","required":["prompt"],"properties":{"prompt":{"type":"string","description":"Описание трека или текст песни (lyrics в custom mode). Генерация: до 3000 символов в обычном режиме, до 5000 в custom mode; mashup и sounds: до 500 в обычном режиме","example":"Спокойная инструментальная музыка для медитации","maxLength":5000,"isRequired":true,"uniqueKey":"input.oneOf.4.prompt","typeLabel":"string"},"uploadUrlList":{"description":"Две публичные URL-ссылки на аудио для Suno mashup","example":["https://example.com/audio1.mp3","https://example.com/audio2.mp3"],"minItems":2,"maxItems":2,"type":"array","items":{"type":"string","uniqueKey":"input.oneOf.4.uploadUrlList.items.[INDEX]","typeLabel":"string"},"uniqueKey":"input.oneOf.4.uploadUrlList","typeLabel":"string[]"},"customMode":{"type":"boolean","description":"Режим расширенной настройки (требует style и title)","example":true,"uniqueKey":"input.oneOf.4.customMode","typeLabel":"boolean"},"instrumental":{"type":"boolean","description":"Инструментальная музыка без вокала","example":false,"uniqueKey":"input.oneOf.4.instrumental","typeLabel":"boolean"},"style":{"type":"string","description":"Жанр/стиль музыки (обязателен в custom mode)","example":"Pop, Electronic","maxLength":1000,"uniqueKey":"input.oneOf.4.style","typeLabel":"string"},"title":{"type":"string","description":"Название трека (обязателен в custom mode)","example":"Peaceful Meditation","maxLength":80,"uniqueKey":"input.oneOf.4.title","typeLabel":"string"},"negativeTags":{"type":"string","description":"Стили для исключения из генерации","example":"Heavy Metal, Screamo","uniqueKey":"input.oneOf.4.negativeTags","typeLabel":"string"},"vocalGender":{"type":"string","description":"Пол вокалиста","enum":["m","f"],"example":"f","uniqueKey":"input.oneOf.4.vocalGender","typeLabel":"enum\u003cstring>"},"styleWeight":{"type":"number","description":"Сила следования стилю (0-1)","example":0.65,"uniqueKey":"input.oneOf.4.styleWeight","typeLabel":"number"},"weirdnessConstraint":{"type":"number","description":"Уровень экспериментальности (0-1)","example":0.3,"uniqueKey":"input.oneOf.4.weirdnessConstraint","typeLabel":"number"},"audioWeight":{"type":"number","description":"Баланс аудиофункций (0–1, до двух знаков после запятой)","example":0.65,"uniqueKey":"input.oneOf.4.audioWeight","typeLabel":"number"},"personaId":{"type":"string","description":"ID персоны или голоса в расширенном режиме","example":"persona_123","uniqueKey":"input.oneOf.4.personaId","typeLabel":"string"},"personaModel":{"type":"string","description":"Тип персоны в расширенном режиме","enum":["style_persona","voice_persona"],"example":"style_persona","uniqueKey":"input.oneOf.4.personaModel","typeLabel":"enum\u003cstring>"},"duration":{"type":"number","description":"Длительность в секундах для семейства Suno V6 в расширенном режиме","minimum":10,"maximum":360,"example":125,"uniqueKey":"input.oneOf.4.duration","typeLabel":"number"},"version":{"type":"string","description":"Версия модели Suno. Для генерации музыки по умолчанию V6","enum":["V6","V6_MINI","V6_WILD"],"example":"V6","uniqueKey":"input.oneOf.4.version","typeLabel":"enum\u003cstring>"},"soundLoop":{"type":"boolean","description":"Зациклить результат Suno sounds","example":false,"uniqueKey":"input.oneOf.4.soundLoop","typeLabel":"boolean"},"soundTempo":{"type":"number","description":"Темп Suno sounds (BPM, 1-300)","minimum":1,"maximum":300,"example":120,"uniqueKey":"input.oneOf.4.soundTempo","typeLabel":"number"},"soundKey":{"type":"string","description":"Тональность Suno sounds","enum":["Any","Cm","C#m","Dm","D#m","Em","Fm","F#m","Gm","G#m","Am","A#m","Bm","C","C#","D","D#","E","F","F#","G","G#","A","A#","B"],"example":"Any","uniqueKey":"input.oneOf.4.soundKey","typeLabel":"enum\u003cstring>"},"grabLyrics":{"type":"boolean","description":"Получать lyrics/subtitles для Suno sounds","example":false,"uniqueKey":"input.oneOf.4.grabLyrics","typeLabel":"boolean"},"callBackUrl":{"type":"string","description":"URL для callback уведомлений","uniqueKey":"input.oneOf.4.callBackUrl","typeLabel":"string"}},"isRequired":true,"uniqueKey":"input.oneOf.4","typeLabel":"Музыка · object"}],"isRequired":true,"uniqueKey":"input","typeLabel":"Изображение · object | Видео · object | Аудио (TTS) · object | Распознавание · object | Музыка · object"},"provider":{"type":"object","description":"Настройки роутинга провайдеров","properties":{"require_parameters":{"type":"boolean","description":"Требовать от провайдера поддержку всех переданных параметров","example":true,"uniqueKey":"provider.require_parameters","typeLabel":"boolean"},"allow_fallbacks":{"type":"boolean","description":"Разрешить использование резервных провайдеров","example":true,"uniqueKey":"provider.allow_fallbacks","typeLabel":"boolean"},"order":{"description":"Упорядоченный список slug провайдеров для использования","example":["OpenAI","Anthropic"],"type":"array","items":{"type":"string","uniqueKey":"provider.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"provider.order","typeLabel":"string[]"},"only":{"description":"Список разрешенных slug провайдеров","example":["OpenAI","Google"],"type":"array","items":{"type":"string","uniqueKey":"provider.only.items.[INDEX]","typeLabel":"string"},"uniqueKey":"provider.only","typeLabel":"string[]"},"ignore":{"description":"Список игнорируемых slug провайдеров","example":["DeepInfra"],"type":"array","items":{"type":"string","uniqueKey":"provider.ignore.items.[INDEX]","typeLabel":"string"},"uniqueKey":"provider.ignore","typeLabel":"string[]"},"sort":{"type":"string","description":"Критерий сортировки провайдеров","enum":["price","throughput","latency"],"example":"price","uniqueKey":"provider.sort","typeLabel":"enum\u003cstring>"},"data_residency":{"type":"string","description":"Где должны обрабатываться данные запроса. `ru` — только провайдеры на инфраструктуре в РФ, в том числе при fallback. Если таких провайдеров у модели нет, запрос отклоняется, а не уходит к иностранному провайдеру. Распознавание PDF (OCR) плагина polza-pdf-parser при `ru` отключается: текст извлекается без него. Инструменты, которые клиент включает сам (веб-поиск, web_fetch), параметр не ограничивает: они обращаются к внешним сервисам","enum":["ru"],"example":"ru","uniqueKey":"provider.data_residency","typeLabel":"enum\u003cstring>"},"max_price":{"type":"object","description":"Максимальные цены для запроса","properties":{"prompt":{"type":"number","description":"Максимальная цена за промпт токены (RUB за миллион токенов)","example":10,"uniqueKey":"provider.max_price.prompt","typeLabel":"number"},"completion":{"type":"number","description":"Максимальная цена за completion токены (RUB за миллион токенов)","example":20,"uniqueKey":"provider.max_price.completion","typeLabel":"number"},"image":{"type":"number","description":"Максимальная цена за изображение (RUB за штуку)","example":5,"uniqueKey":"provider.max_price.image","typeLabel":"number"},"audio":{"type":"number","description":"Максимальная цена за аудио (RUB за миллион токенов)","example":15,"uniqueKey":"provider.max_price.audio","typeLabel":"number"},"request":{"type":"number","description":"Максимальная цена за запрос (RUB за запрос)","example":1,"uniqueKey":"provider.max_price.request","typeLabel":"number"},"video_per_second":{"type":"number","description":"Максимальная цена за секунду видео (RUB за секунду)","example":50,"uniqueKey":"provider.max_price.video_per_second","typeLabel":"number"},"stt_per_minute":{"type":"number","description":"Максимальная цена распознавания речи (RUB за минуту)","example":5,"uniqueKey":"provider.max_price.stt_per_minute","typeLabel":"number"},"tts_per_million_characters":{"type":"number","description":"Максимальная цена синтеза речи (RUB за миллион символов)","example":1500,"uniqueKey":"provider.max_price.tts_per_million_characters","typeLabel":"number"}},"uniqueKey":"provider.max_price","typeLabel":"object"}},"uniqueKey":"provider","typeLabel":"object"},"async":{"type":"boolean","description":"Асинхронный режим генерации. При true возвращается taskId для опроса статуса","example":false,"default":false,"uniqueKey":"async","typeLabel":"boolean"},"user":{"type":"string","description":"Уникальный идентификатор конечного пользователя для отслеживания и предотвращения злоупотреблений","example":"user-123","maxLength":256,"uniqueKey":"user","typeLabel":"string"}},"required":["model","input"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"model":"seedream-3","input":{"prompt":"Космический корабль в стиле киберпанк","aspect_ratio":"16:9","images":[{"type":"url","data":"https://example.com/image.png"}],"callBackUrl":"\u003cstring>","seed":42,"watermark":"MyBrand","image_resolution":"2K","quality":"high","output_format":"png","animation":true,"max_images":1,"isEnhance":false,"guidance_scale":2.5,"strength":0.8,"enable_safety_checker":true,"upscale_factor":"2","font_inputs":[{"font_url":"https://example.com/fonts/custom-font.ttf","text":"Hello World"}],"super_resolution_references":["https://example.com/reference1.jpg"]},"provider":{"require_parameters":true,"allow_fallbacks":true,"order":["OpenAI","Anthropic"],"only":["OpenAI","Google"],"ignore":["DeepInfra"],"sort":"price","data_residency":"ru","max_price":{"prompt":10,"completion":20,"image":5,"audio":15,"request":1,"video_per_second":50,"stt_per_minute":5,"tts_per_million_characters":1500}},"async":false,"user":"user-123"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"3f410c48-f136-40b3-b61e-904d91bcf893":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Уникальный идентификатор генерации","example":"gen_581761234567890123","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"object":{"type":"string","description":"Тип объекта","example":"media.generation","isRequired":true,"uniqueKey":"object","typeLabel":"string"},"status":{"type":"string","description":"Статус генерации","enum":["pending","processing","completed","failed","cancelled"],"example":"pending","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"created":{"type":"number","description":"Временная метка создания (Unix timestamp)","example":1703001234,"isRequired":true,"uniqueKey":"created","typeLabel":"number"},"model":{"type":"string","description":"ID модели, которая генерирует контент","example":"google/gemini-2.5-flash-image","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"completed_at":{"type":"number","description":"Временная метка завершения (Unix timestamp)","example":1703001244,"uniqueKey":"completed_at","typeLabel":"number"},"data":{"oneOf":[{"type":"object","description":"Данные сгенерированного контента","properties":{"url":{"type":"string","description":"URL сгенерированного изображения","example":"https://example.com/image.png","uniqueKey":"data.oneOf.0.url","typeLabel":"string"},"b64_json":{"type":"string","description":"Base64 изображение","example":"iVBORw0KGgoAAAANSUhEUgAAAAUA...","uniqueKey":"data.oneOf.0.b64_json","typeLabel":"string"},"revised_prompt":{"type":"string","description":"Пересмотренный prompt","example":"A beautiful sunset over the ocean","uniqueKey":"data.oneOf.0.revised_prompt","typeLabel":"string"}},"uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"object","description":"Данные сгенерированного контента","properties":{"url":{"type":"string","description":"URL сгенерированного видео","example":"https://example.com/video.mp4","uniqueKey":"data.oneOf.1.url","typeLabel":"string"},"thumbnail_b64":{"type":"string","description":"Base64 превью кадра","example":"iVBORw0KGgoAAAANSUhEUgAAAAUA...","uniqueKey":"data.oneOf.1.thumbnail_b64","typeLabel":"string"},"revised_prompt":{"type":"string","description":"Пересмотренный prompt","example":"A cinematic shot of a city at night","uniqueKey":"data.oneOf.1.revised_prompt","typeLabel":"string"},"duration":{"type":"number","description":"Длительность видео (секунды)","example":5,"uniqueKey":"data.oneOf.1.duration","typeLabel":"number"}},"uniqueKey":"data.oneOf.1","typeLabel":"object"},{"type":"object","description":"Данные сгенерированного контента","properties":{"url":{"type":"string","description":"URL аудио трека","example":"https://example.com/track.mp3","uniqueKey":"data.oneOf.2.url","typeLabel":"string"},"thumbnail_url":{"type":"string","description":"URL обложки трека","example":"https://example.com/cover.jpeg","uniqueKey":"data.oneOf.2.thumbnail_url","typeLabel":"string"},"title":{"type":"string","description":"Название трека","example":"Peaceful Meditation","uniqueKey":"data.oneOf.2.title","typeLabel":"string"},"duration":{"type":"number","description":"Длительность трека (секунды)","example":198.44,"uniqueKey":"data.oneOf.2.duration","typeLabel":"number"}},"uniqueKey":"data.oneOf.2","typeLabel":"object"},{"type":"object","description":"Данные сгенерированного контента","required":["type","audio"],"properties":{"type":{"type":"object","isRequired":true,"uniqueKey":"data.oneOf.3.type","typeLabel":"object"},"audio":{"type":"string","description":"Audio data в base64","example":"data:audio/mpeg;base64,//uQx...","isRequired":true,"uniqueKey":"data.oneOf.3.audio","typeLabel":"string"},"url":{"type":"string","uniqueKey":"data.oneOf.3.url","typeLabel":"string"},"b64_json":{"type":"string","uniqueKey":"data.oneOf.3.b64_json","typeLabel":"string"},"content_type":{"type":"string","uniqueKey":"data.oneOf.3.content_type","typeLabel":"string"},"alignment":{"type":"object","uniqueKey":"data.oneOf.3.alignment","typeLabel":"object"},"normalized_alignment":{"type":"object","uniqueKey":"data.oneOf.3.normalized_alignment","typeLabel":"object"},"voice_segments":{"type":"object","uniqueKey":"data.oneOf.3.voice_segments","typeLabel":"object"},"voice":{"type":"string","description":"Голос использованный для генерации","example":"alloy","uniqueKey":"data.oneOf.3.voice","typeLabel":"string"},"duration":{"type":"number","description":"Длительность аудио (секунды)","example":10,"uniqueKey":"data.oneOf.3.duration","typeLabel":"number"},"timestamps":{"description":"Временные метки слов","type":"array","items":{"type":"object","properties":{"word":{"type":"string","description":"Слово","example":"hello","isRequired":true,"uniqueKey":"data.oneOf.3.timestamps.items.[INDEX].word","typeLabel":"string"},"start":{"type":"number","description":"Время начала (секунды)","example":0.5,"isRequired":true,"uniqueKey":"data.oneOf.3.timestamps.items.[INDEX].start","typeLabel":"number"},"end":{"type":"number","description":"Время окончания (секунды)","example":1,"isRequired":true,"uniqueKey":"data.oneOf.3.timestamps.items.[INDEX].end","typeLabel":"number"}},"required":["word","start","end"],"uniqueKey":"data.oneOf.3.timestamps.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.oneOf.3.timestamps","typeLabel":"object[]"}},"uniqueKey":"data.oneOf.3","typeLabel":"object"},{"type":"object","description":"Данные сгенерированного контента","required":["type","text"],"properties":{"type":{"type":"object","isRequired":true,"uniqueKey":"data.oneOf.4.type","typeLabel":"object"},"text":{"type":"string","isRequired":true,"uniqueKey":"data.oneOf.4.text","typeLabel":"string"},"language":{"type":"string","uniqueKey":"data.oneOf.4.language","typeLabel":"string"},"duration":{"type":"number","uniqueKey":"data.oneOf.4.duration","typeLabel":"number"},"words":{"type":"object","uniqueKey":"data.oneOf.4.words","typeLabel":"object"},"segments":{"type":"object","uniqueKey":"data.oneOf.4.segments","typeLabel":"object"},"speakers":{"type":"object","uniqueKey":"data.oneOf.4.speakers","typeLabel":"object"},"native":{"type":"object","uniqueKey":"data.oneOf.4.native","typeLabel":"object"}},"uniqueKey":"data.oneOf.4","typeLabel":"object"}],"uniqueKey":"data","typeLabel":"object"},"usage":{"type":"object","description":"Информация об использовании ресурсов","properties":{"input_units":{"type":"number","description":"Входные единицы (для edit mode)","example":1,"uniqueKey":"usage.input_units","typeLabel":"number"},"output_units":{"type":"number","description":"Выходные единицы (сгенерированные)","example":1,"uniqueKey":"usage.output_units","typeLabel":"number"},"duration_seconds":{"type":"number","description":"Длительность для видео/аудио (секунды)","example":5,"uniqueKey":"usage.duration_seconds","typeLabel":"number"},"input_tokens":{"type":"number","description":"Количество входных токенов","example":10,"uniqueKey":"usage.input_tokens","typeLabel":"number"},"output_tokens":{"type":"number","description":"Количество выходных токенов","example":0,"uniqueKey":"usage.output_tokens","typeLabel":"number"},"total_tokens":{"type":"number","description":"Общее количество токенов","example":10,"uniqueKey":"usage.total_tokens","typeLabel":"number"},"cost_rub":{"type":"number","description":"Стоимость в рублях","example":1.5,"uniqueKey":"usage.cost_rub","typeLabel":"number"},"cost":{"type":"number","description":"Стоимость в рублях (alias для cost_rub)","example":1.5,"uniqueKey":"usage.cost","typeLabel":"number"}},"uniqueKey":"usage","typeLabel":"object"},"error":{"type":"object","description":"Информация об ошибке (если failed)","required":["code","message"],"properties":{"code":{"type":"string","description":"Код ошибки (FORBIDDEN, BAD_GATEWAY, REQUEST_TIMEOUT и т.д.)","example":"BAD_GATEWAY","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Сообщение об ошибке на русском языке","example":"Ошибка генерации медиа контента","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"metadata":{"type":"object","description":"Детали ошибки: текст апстрима (raw), если он безопасен для показа, и имя апстрима","example":{"raw":"content policy violation","provider_name":"alibaba"},"uniqueKey":"error.metadata","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"content":{"type":"string","description":"Текстовый ответ модели (если вернула текст вместо/вместе с изображением)","example":"Банан и яблоко — это фрукты.","uniqueKey":"content","typeLabel":"string"},"reasoning_summary":{"type":"string","description":"Краткое резюме рассуждений модели","example":"Preparing image generation prompt with camera settings...","uniqueKey":"reasoning_summary","typeLabel":"string"},"warnings":{"description":"Предупреждения (неподдерживаемые параметры и т.д.)","example":["Параметр isEnhance не поддерживается и будет проигнорирован"],"type":"array","items":{"type":"string","uniqueKey":"warnings.items.[INDEX]","typeLabel":"string"},"uniqueKey":"warnings","typeLabel":"string[]"}},"required":["id","object","status","created","model"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"gen_581761234567890123","object":"media.generation","status":"pending","created":1703001234,"model":"google/gemini-2.5-flash-image","completed_at":1703001244,"data":{"url":"https://example.com/image.png","b64_json":"iVBORw0KGgoAAAANSUhEUgAAAAUA...","revised_prompt":"A beautiful sunset over the ocean"},"usage":{"input_units":1,"output_units":1,"duration_seconds":5,"input_tokens":10,"output_tokens":0,"total_tokens":10,"cost_rub":1.5,"cost":1.5},"error":{"code":"BAD_GATEWAY","message":"Ошибка генерации медиа контента","metadata":{"raw":"content policy violation","provider_name":"alibaba"}},"content":"Банан и яблоко — это фрукты.","reasoning_summary":"Preparing image generation prompt with camera settings...","warnings":["Параметр isEnhance не поддерживается и будет проигнорирован"]}}},"exampleType":"generated"}},"exampleType":"generated"},"11623db5-1164-4b64-8eff-0531126d95e3":{"description":"Некорректный запрос. Проверьте параметры и тело","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Информация об ошибке","required":["code","message"],"properties":{"code":{"type":"string","description":"Код ошибки","enum":["BAD_REQUEST","UNAUTHORIZED","api_key_revoked","INSUFFICIENT_BALANCE","FORBIDDEN","guard_no_route","guard_blocked","unofficial_providers_disabled","NOT_FOUND","REQUEST_TIMEOUT","CONFLICT","PAYLOAD_TOO_LARGE","TOO_MANY_REQUESTS","BAD_GATEWAY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"example":"BAD_REQUEST","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Описание ошибки","example":"Недопустимое значение параметра","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"error.trace_id","typeLabel":"string"},"details":{"type":"object","description":"Уточняющие поля ошибки. Отдаются только для 4xx","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"},"metadata":{"type":"object","description":"Метаданные ошибки провайдера","properties":{"reason":{"type":"string","description":"Машинная причина отказа: по ней можно ветвиться, не разбирая текст","example":"noProvidersForModel","uniqueKey":"error.metadata.reason","typeLabel":"string"},"raw":{"type":"string","description":"Исходный текст ответа провайдера","example":"The parameter `duration` specified in the request is not valid","uniqueKey":"error.metadata.raw","typeLabel":"string"},"provider_name":{"type":"string","description":"Провайдер, вернувший ошибку","example":"alibaba","uniqueKey":"error.metadata.provider_name","typeLabel":"string"}},"uniqueKey":"error.metadata","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"trace_id","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"BAD_REQUEST","message":"Недопустимое значение параметра","trace_id":"550e8400-e29b-41d4-a716-446655440000","details":{},"metadata":{"reason":"noProvidersForModel","raw":"The parameter `duration` specified in the request is not valid","provider_name":"alibaba"}},"trace_id":"550e8400-e29b-41d4-a716-446655440000"}}},"exampleType":"generated"}},"exampleType":"generated"},"fadd6f78-ac58-4414-a592-3bcc3be0c00e":{"description":"Ошибка авторизации. Проверьте ключ доступа","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Информация об ошибке","required":["code","message"],"properties":{"code":{"type":"string","description":"Код ошибки","enum":["BAD_REQUEST","UNAUTHORIZED","api_key_revoked","INSUFFICIENT_BALANCE","FORBIDDEN","guard_no_route","guard_blocked","unofficial_providers_disabled","NOT_FOUND","REQUEST_TIMEOUT","CONFLICT","PAYLOAD_TOO_LARGE","TOO_MANY_REQUESTS","BAD_GATEWAY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"example":"BAD_REQUEST","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Описание ошибки","example":"Недопустимое значение параметра","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"error.trace_id","typeLabel":"string"},"details":{"type":"object","description":"Уточняющие поля ошибки. Отдаются только для 4xx","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"},"metadata":{"type":"object","description":"Метаданные ошибки провайдера","properties":{"reason":{"type":"string","description":"Машинная причина отказа: по ней можно ветвиться, не разбирая текст","example":"noProvidersForModel","uniqueKey":"error.metadata.reason","typeLabel":"string"},"raw":{"type":"string","description":"Исходный текст ответа провайдера","example":"The parameter `duration` specified in the request is not valid","uniqueKey":"error.metadata.raw","typeLabel":"string"},"provider_name":{"type":"string","description":"Провайдер, вернувший ошибку","example":"alibaba","uniqueKey":"error.metadata.provider_name","typeLabel":"string"}},"uniqueKey":"error.metadata","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"trace_id","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"BAD_REQUEST","message":"Недопустимое значение параметра","trace_id":"550e8400-e29b-41d4-a716-446655440000","details":{},"metadata":{"reason":"noProvidersForModel","raw":"The parameter `duration` specified in the request is not valid","provider_name":"alibaba"}},"trace_id":"550e8400-e29b-41d4-a716-446655440000"}}},"exampleType":"generated"}},"exampleType":"generated"},"9671a7d9-5b29-430c-bf5b-44b850bef310":{"description":"Недостаточно средств или достигнут лимит","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Информация об ошибке","required":["code","message"],"properties":{"code":{"type":"string","description":"Код ошибки","enum":["BAD_REQUEST","UNAUTHORIZED","api_key_revoked","INSUFFICIENT_BALANCE","FORBIDDEN","guard_no_route","guard_blocked","unofficial_providers_disabled","NOT_FOUND","REQUEST_TIMEOUT","CONFLICT","PAYLOAD_TOO_LARGE","TOO_MANY_REQUESTS","BAD_GATEWAY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"example":"BAD_REQUEST","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Описание ошибки","example":"Недопустимое значение параметра","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"error.trace_id","typeLabel":"string"},"details":{"type":"object","description":"Уточняющие поля ошибки. Отдаются только для 4xx","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"},"metadata":{"type":"object","description":"Метаданные ошибки провайдера","properties":{"reason":{"type":"string","description":"Машинная причина отказа: по ней можно ветвиться, не разбирая текст","example":"noProvidersForModel","uniqueKey":"error.metadata.reason","typeLabel":"string"},"raw":{"type":"string","description":"Исходный текст ответа провайдера","example":"The parameter `duration` specified in the request is not valid","uniqueKey":"error.metadata.raw","typeLabel":"string"},"provider_name":{"type":"string","description":"Провайдер, вернувший ошибку","example":"alibaba","uniqueKey":"error.metadata.provider_name","typeLabel":"string"}},"uniqueKey":"error.metadata","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"trace_id","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"BAD_REQUEST","message":"Недопустимое значение параметра","trace_id":"550e8400-e29b-41d4-a716-446655440000","details":{},"metadata":{"reason":"noProvidersForModel","raw":"The parameter `duration` specified in the request is not valid","provider_name":"alibaba"}},"trace_id":"550e8400-e29b-41d4-a716-446655440000"}}},"exampleType":"generated"}},"exampleType":"generated"},"6c968f48-4a8a-48c0-868b-2bdba37898e5":{"description":"Ошибка доступа. Проверьте права доступа ключа","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Информация об ошибке","required":["code","message"],"properties":{"code":{"type":"string","description":"Код ошибки","enum":["BAD_REQUEST","UNAUTHORIZED","api_key_revoked","INSUFFICIENT_BALANCE","FORBIDDEN","guard_no_route","guard_blocked","unofficial_providers_disabled","NOT_FOUND","REQUEST_TIMEOUT","CONFLICT","PAYLOAD_TOO_LARGE","TOO_MANY_REQUESTS","BAD_GATEWAY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"example":"BAD_REQUEST","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Описание ошибки","example":"Недопустимое значение параметра","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"error.trace_id","typeLabel":"string"},"details":{"type":"object","description":"Уточняющие поля ошибки. Отдаются только для 4xx","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"},"metadata":{"type":"object","description":"Метаданные ошибки провайдера","properties":{"reason":{"type":"string","description":"Машинная причина отказа: по ней можно ветвиться, не разбирая текст","example":"noProvidersForModel","uniqueKey":"error.metadata.reason","typeLabel":"string"},"raw":{"type":"string","description":"Исходный текст ответа провайдера","example":"The parameter `duration` specified in the request is not valid","uniqueKey":"error.metadata.raw","typeLabel":"string"},"provider_name":{"type":"string","description":"Провайдер, вернувший ошибку","example":"alibaba","uniqueKey":"error.metadata.provider_name","typeLabel":"string"}},"uniqueKey":"error.metadata","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"trace_id","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"BAD_REQUEST","message":"Недопустимое значение параметра","trace_id":"550e8400-e29b-41d4-a716-446655440000","details":{},"metadata":{"reason":"noProvidersForModel","raw":"The parameter `duration` specified in the request is not valid","provider_name":"alibaba"}},"trace_id":"550e8400-e29b-41d4-a716-446655440000"}}},"exampleType":"generated"}},"exampleType":"generated"},"889c4886-4da4-435c-8ad5-6fa0e751ff93":{"description":"Ресурс не найден","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Информация об ошибке","required":["code","message"],"properties":{"code":{"type":"string","description":"Код ошибки","enum":["BAD_REQUEST","UNAUTHORIZED","api_key_revoked","INSUFFICIENT_BALANCE","FORBIDDEN","guard_no_route","guard_blocked","unofficial_providers_disabled","NOT_FOUND","REQUEST_TIMEOUT","CONFLICT","PAYLOAD_TOO_LARGE","TOO_MANY_REQUESTS","BAD_GATEWAY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"example":"BAD_REQUEST","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Описание ошибки","example":"Недопустимое значение параметра","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"error.trace_id","typeLabel":"string"},"details":{"type":"object","description":"Уточняющие поля ошибки. Отдаются только для 4xx","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"},"metadata":{"type":"object","description":"Метаданные ошибки провайдера","properties":{"reason":{"type":"string","description":"Машинная причина отказа: по ней можно ветвиться, не разбирая текст","example":"noProvidersForModel","uniqueKey":"error.metadata.reason","typeLabel":"string"},"raw":{"type":"string","description":"Исходный текст ответа провайдера","example":"The parameter `duration` specified in the request is not valid","uniqueKey":"error.metadata.raw","typeLabel":"string"},"provider_name":{"type":"string","description":"Провайдер, вернувший ошибку","example":"alibaba","uniqueKey":"error.metadata.provider_name","typeLabel":"string"}},"uniqueKey":"error.metadata","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"trace_id","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"BAD_REQUEST","message":"Недопустимое значение параметра","trace_id":"550e8400-e29b-41d4-a716-446655440000","details":{},"metadata":{"reason":"noProvidersForModel","raw":"The parameter `duration` specified in the request is not valid","provider_name":"alibaba"}},"trace_id":"550e8400-e29b-41d4-a716-446655440000"}}},"exampleType":"generated"}},"exampleType":"generated"},"15a2e912-ebac-45f8-8128-6edbf2ccf984":{"description":"Истекло время ожидания ответа. Повторите запрос","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Информация об ошибке","required":["code","message"],"properties":{"code":{"type":"string","description":"Код ошибки","enum":["BAD_REQUEST","UNAUTHORIZED","api_key_revoked","INSUFFICIENT_BALANCE","FORBIDDEN","guard_no_route","guard_blocked","unofficial_providers_disabled","NOT_FOUND","REQUEST_TIMEOUT","CONFLICT","PAYLOAD_TOO_LARGE","TOO_MANY_REQUESTS","BAD_GATEWAY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"example":"BAD_REQUEST","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Описание ошибки","example":"Недопустимое значение параметра","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"error.trace_id","typeLabel":"string"},"details":{"type":"object","description":"Уточняющие поля ошибки. Отдаются только для 4xx","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"},"metadata":{"type":"object","description":"Метаданные ошибки провайдера","properties":{"reason":{"type":"string","description":"Машинная причина отказа: по ней можно ветвиться, не разбирая текст","example":"noProvidersForModel","uniqueKey":"error.metadata.reason","typeLabel":"string"},"raw":{"type":"string","description":"Исходный текст ответа провайдера","example":"The parameter `duration` specified in the request is not valid","uniqueKey":"error.metadata.raw","typeLabel":"string"},"provider_name":{"type":"string","description":"Провайдер, вернувший ошибку","example":"alibaba","uniqueKey":"error.metadata.provider_name","typeLabel":"string"}},"uniqueKey":"error.metadata","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"trace_id","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"BAD_REQUEST","message":"Недопустимое значение параметра","trace_id":"550e8400-e29b-41d4-a716-446655440000","details":{},"metadata":{"reason":"noProvidersForModel","raw":"The parameter `duration` specified in the request is not valid","provider_name":"alibaba"}},"trace_id":"550e8400-e29b-41d4-a716-446655440000"}}},"exampleType":"generated"}},"exampleType":"generated"},"c18dd05c-2980-443e-bf9b-68f86c97f3ce":{"description":"Конфликт состояния. Перечитайте ресурс и повторите запрос","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Информация об ошибке","required":["code","message"],"properties":{"code":{"type":"string","description":"Код ошибки","enum":["BAD_REQUEST","UNAUTHORIZED","api_key_revoked","INSUFFICIENT_BALANCE","FORBIDDEN","guard_no_route","guard_blocked","unofficial_providers_disabled","NOT_FOUND","REQUEST_TIMEOUT","CONFLICT","PAYLOAD_TOO_LARGE","TOO_MANY_REQUESTS","BAD_GATEWAY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"example":"BAD_REQUEST","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Описание ошибки","example":"Недопустимое значение параметра","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"error.trace_id","typeLabel":"string"},"details":{"type":"object","description":"Уточняющие поля ошибки. Отдаются только для 4xx","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"},"metadata":{"type":"object","description":"Метаданные ошибки провайдера","properties":{"reason":{"type":"string","description":"Машинная причина отказа: по ней можно ветвиться, не разбирая текст","example":"noProvidersForModel","uniqueKey":"error.metadata.reason","typeLabel":"string"},"raw":{"type":"string","description":"Исходный текст ответа провайдера","example":"The parameter `duration` specified in the request is not valid","uniqueKey":"error.metadata.raw","typeLabel":"string"},"provider_name":{"type":"string","description":"Провайдер, вернувший ошибку","example":"alibaba","uniqueKey":"error.metadata.provider_name","typeLabel":"string"}},"uniqueKey":"error.metadata","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"trace_id","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"BAD_REQUEST","message":"Недопустимое значение параметра","trace_id":"550e8400-e29b-41d4-a716-446655440000","details":{},"metadata":{"reason":"noProvidersForModel","raw":"The parameter `duration` specified in the request is not valid","provider_name":"alibaba"}},"trace_id":"550e8400-e29b-41d4-a716-446655440000"}}},"exampleType":"generated"}},"exampleType":"generated"},"9e066383-e6b6-480f-8212-8bd90604aa2a":{"description":"Размер тела запроса превышает допустимый предел","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Информация об ошибке","required":["code","message"],"properties":{"code":{"type":"string","description":"Код ошибки","enum":["BAD_REQUEST","UNAUTHORIZED","api_key_revoked","INSUFFICIENT_BALANCE","FORBIDDEN","guard_no_route","guard_blocked","unofficial_providers_disabled","NOT_FOUND","REQUEST_TIMEOUT","CONFLICT","PAYLOAD_TOO_LARGE","TOO_MANY_REQUESTS","BAD_GATEWAY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"example":"BAD_REQUEST","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Описание ошибки","example":"Недопустимое значение параметра","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"error.trace_id","typeLabel":"string"},"details":{"type":"object","description":"Уточняющие поля ошибки. Отдаются только для 4xx","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"},"metadata":{"type":"object","description":"Метаданные ошибки провайдера","properties":{"reason":{"type":"string","description":"Машинная причина отказа: по ней можно ветвиться, не разбирая текст","example":"noProvidersForModel","uniqueKey":"error.metadata.reason","typeLabel":"string"},"raw":{"type":"string","description":"Исходный текст ответа провайдера","example":"The parameter `duration` specified in the request is not valid","uniqueKey":"error.metadata.raw","typeLabel":"string"},"provider_name":{"type":"string","description":"Провайдер, вернувший ошибку","example":"alibaba","uniqueKey":"error.metadata.provider_name","typeLabel":"string"}},"uniqueKey":"error.metadata","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"trace_id","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"BAD_REQUEST","message":"Недопустимое значение параметра","trace_id":"550e8400-e29b-41d4-a716-446655440000","details":{},"metadata":{"reason":"noProvidersForModel","raw":"The parameter `duration` specified in the request is not valid","provider_name":"alibaba"}},"trace_id":"550e8400-e29b-41d4-a716-446655440000"}}},"exampleType":"generated"}},"exampleType":"generated"},"28d96a41-ccda-4280-ae8b-a524a1051b6e":{"description":"Слишком много запросов. Повторите позже","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Информация об ошибке","required":["code","message"],"properties":{"code":{"type":"string","description":"Код ошибки","enum":["BAD_REQUEST","UNAUTHORIZED","api_key_revoked","INSUFFICIENT_BALANCE","FORBIDDEN","guard_no_route","guard_blocked","unofficial_providers_disabled","NOT_FOUND","REQUEST_TIMEOUT","CONFLICT","PAYLOAD_TOO_LARGE","TOO_MANY_REQUESTS","BAD_GATEWAY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"example":"BAD_REQUEST","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Описание ошибки","example":"Недопустимое значение параметра","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"error.trace_id","typeLabel":"string"},"details":{"type":"object","description":"Уточняющие поля ошибки. Отдаются только для 4xx","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"},"metadata":{"type":"object","description":"Метаданные ошибки провайдера","properties":{"reason":{"type":"string","description":"Машинная причина отказа: по ней можно ветвиться, не разбирая текст","example":"noProvidersForModel","uniqueKey":"error.metadata.reason","typeLabel":"string"},"raw":{"type":"string","description":"Исходный текст ответа провайдера","example":"The parameter `duration` specified in the request is not valid","uniqueKey":"error.metadata.raw","typeLabel":"string"},"provider_name":{"type":"string","description":"Провайдер, вернувший ошибку","example":"alibaba","uniqueKey":"error.metadata.provider_name","typeLabel":"string"}},"uniqueKey":"error.metadata","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"trace_id","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"BAD_REQUEST","message":"Недопустимое значение параметра","trace_id":"550e8400-e29b-41d4-a716-446655440000","details":{},"metadata":{"reason":"noProvidersForModel","raw":"The parameter `duration` specified in the request is not valid","provider_name":"alibaba"}},"trace_id":"550e8400-e29b-41d4-a716-446655440000"}}},"exampleType":"generated"}},"exampleType":"generated"},"309fb105-680a-43e3-a82e-efb7a328c06c":{"description":"Ошибка сервера. Обратитесь к поставщику услуг","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Информация об ошибке","required":["code","message"],"properties":{"code":{"type":"string","description":"Код ошибки","enum":["BAD_REQUEST","UNAUTHORIZED","api_key_revoked","INSUFFICIENT_BALANCE","FORBIDDEN","guard_no_route","guard_blocked","unofficial_providers_disabled","NOT_FOUND","REQUEST_TIMEOUT","CONFLICT","PAYLOAD_TOO_LARGE","TOO_MANY_REQUESTS","BAD_GATEWAY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"example":"BAD_REQUEST","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Описание ошибки","example":"Недопустимое значение параметра","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"error.trace_id","typeLabel":"string"},"details":{"type":"object","description":"Уточняющие поля ошибки. Отдаются только для 4xx","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"},"metadata":{"type":"object","description":"Метаданные ошибки провайдера","properties":{"reason":{"type":"string","description":"Машинная причина отказа: по ней можно ветвиться, не разбирая текст","example":"noProvidersForModel","uniqueKey":"error.metadata.reason","typeLabel":"string"},"raw":{"type":"string","description":"Исходный текст ответа провайдера","example":"The parameter `duration` specified in the request is not valid","uniqueKey":"error.metadata.raw","typeLabel":"string"},"provider_name":{"type":"string","description":"Провайдер, вернувший ошибку","example":"alibaba","uniqueKey":"error.metadata.provider_name","typeLabel":"string"}},"uniqueKey":"error.metadata","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"trace_id","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"BAD_REQUEST","message":"Недопустимое значение параметра","trace_id":"550e8400-e29b-41d4-a716-446655440000","details":{},"metadata":{"reason":"noProvidersForModel","raw":"The parameter `duration` specified in the request is not valid","provider_name":"alibaba"}},"trace_id":"550e8400-e29b-41d4-a716-446655440000"}}},"exampleType":"generated"}},"exampleType":"generated"},"30916451-083a-4f8a-a4fb-16b2d5d5747f":{"description":"Поставщик услуг вернул некорректный ответ","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Информация об ошибке","required":["code","message"],"properties":{"code":{"type":"string","description":"Код ошибки","enum":["BAD_REQUEST","UNAUTHORIZED","api_key_revoked","INSUFFICIENT_BALANCE","FORBIDDEN","guard_no_route","guard_blocked","unofficial_providers_disabled","NOT_FOUND","REQUEST_TIMEOUT","CONFLICT","PAYLOAD_TOO_LARGE","TOO_MANY_REQUESTS","BAD_GATEWAY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"example":"BAD_REQUEST","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Описание ошибки","example":"Недопустимое значение параметра","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"error.trace_id","typeLabel":"string"},"details":{"type":"object","description":"Уточняющие поля ошибки. Отдаются только для 4xx","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"},"metadata":{"type":"object","description":"Метаданные ошибки провайдера","properties":{"reason":{"type":"string","description":"Машинная причина отказа: по ней можно ветвиться, не разбирая текст","example":"noProvidersForModel","uniqueKey":"error.metadata.reason","typeLabel":"string"},"raw":{"type":"string","description":"Исходный текст ответа провайдера","example":"The parameter `duration` specified in the request is not valid","uniqueKey":"error.metadata.raw","typeLabel":"string"},"provider_name":{"type":"string","description":"Провайдер, вернувший ошибку","example":"alibaba","uniqueKey":"error.metadata.provider_name","typeLabel":"string"}},"uniqueKey":"error.metadata","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"trace_id","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"BAD_REQUEST","message":"Недопустимое значение параметра","trace_id":"550e8400-e29b-41d4-a716-446655440000","details":{},"metadata":{"reason":"noProvidersForModel","raw":"The parameter `duration` specified in the request is not valid","provider_name":"alibaba"}},"trace_id":"550e8400-e29b-41d4-a716-446655440000"}}},"exampleType":"generated"}},"exampleType":"generated"},"c4fc1324-c449-45a8-85ae-77a6b6a386ce":{"description":"Сервис временно недоступен. Повторите позже","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","description":"Информация об ошибке","required":["code","message"],"properties":{"code":{"type":"string","description":"Код ошибки","enum":["BAD_REQUEST","UNAUTHORIZED","api_key_revoked","INSUFFICIENT_BALANCE","FORBIDDEN","guard_no_route","guard_blocked","unofficial_providers_disabled","NOT_FOUND","REQUEST_TIMEOUT","CONFLICT","PAYLOAD_TOO_LARGE","TOO_MANY_REQUESTS","BAD_GATEWAY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"example":"BAD_REQUEST","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Описание ошибки","example":"Недопустимое значение параметра","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"error.trace_id","typeLabel":"string"},"details":{"type":"object","description":"Уточняющие поля ошибки. Отдаются только для 4xx","additionalProperties":true,"uniqueKey":"error.details","typeLabel":"object"},"metadata":{"type":"object","description":"Метаданные ошибки провайдера","properties":{"reason":{"type":"string","description":"Машинная причина отказа: по ней можно ветвиться, не разбирая текст","example":"noProvidersForModel","uniqueKey":"error.metadata.reason","typeLabel":"string"},"raw":{"type":"string","description":"Исходный текст ответа провайдера","example":"The parameter `duration` specified in the request is not valid","uniqueKey":"error.metadata.raw","typeLabel":"string"},"provider_name":{"type":"string","description":"Провайдер, вернувший ошибку","example":"alibaba","uniqueKey":"error.metadata.provider_name","typeLabel":"string"}},"uniqueKey":"error.metadata","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"trace_id":{"type":"string","description":"ID трассировки запроса","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"trace_id","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"BAD_REQUEST","message":"Недопустимое значение параметра","trace_id":"550e8400-e29b-41d4-a716-446655440000","details":{},"metadata":{"reason":"noProvidersForModel","raw":"The parameter `duration` specified in the request is not valid","provider_name":"alibaba"}},"trace_id":"550e8400-e29b-41d4-a716-446655440000"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"02e7c809-00aa-4aaf-8a8b-82ce7af4d1fd":{"bearer":{"scheme":"bearer","bearerFormat":"API Key","type":"http","description":"API ключ передаётся в заголовке: Authorization: Bearer \u003cPOLZA_AI_API_KEY>","scopes":[],"schemeName":"bearer"}}},"servers":{"43ff6ab0-9808-47ea-b0c8-431e6d61c5f5":{"url":"https://polza.ai/api","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"scheme":"bearer","bearerFormat":"API Key","type":"http","description":"API ключ передаётся в заголовке: Authorization: Bearer \u003cPOLZA_AI_API_KEY>","scopes":[],"schemeName":"bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API ключ передаётся в заголовке: Authorization: Bearer \u003cPOLZA_AI_API_KEY>","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"https://polza.ai/api/openapi.json"},"subdomain":"polza","siteName":"Polza.ai","title":"Nano Banana 2 - Polza.ai","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-20T13:28:39.964Z","originalFileLocation":"gaidy/nanobanano-2.mdx","locale":"ru"},"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=\"Генерация изображений до 4K — полный API-гайд\">\u003cmeta data-mint-head name=\"application-name\" content=\"Polza.ai\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/polza/CQHRsFqB3M6hClzF/_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=\"/docs/mintlify-assets/_mintlify/favicons/polza/CQHRsFqB3M6hClzF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/polza/CQHRsFqB3M6hClzF/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/polza/CQHRsFqB3M6hClzF/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/polza/CQHRsFqB3M6hClzF/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/polza/CQHRsFqB3M6hClzF/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/polza/CQHRsFqB3M6hClzF/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/polza/CQHRsFqB3M6hClzF/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/polza/CQHRsFqB3M6hClzF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Nano Banana 2 - Polza.ai\">\u003cmeta data-mint-head property=\"og:description\" content=\"Генерация изображений до 4K — полный API-гайд\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Polza.ai\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://polza.ai/docs/gaidy/nanobanano-2\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://polza.mintlify.site/docs/_mintlify/api/og/v2?division=%D0%98%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D1%8F\u0026amp;title=Nano+Banana+2\u0026amp;description=%D0%93%D0%B5%D0%BD%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D1%8F+%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B9+%D0%B4%D0%BE+4K+%E2%80%94+%D0%BF%D0%BE%D0%BB%D0%BD%D1%8B%D0%B9+API-%D0%B3%D0%B0%D0%B9%D0%B4\u0026amp;theme=e66d600095dcc8df2fba5d6f\u0026amp;signature=365fe6aba802e67c82d904edeec22cccc656292bbd17e4b2276522dd7ec9dbf1\">\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=\"Nano Banana 2 - Polza.ai\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Генерация изображений до 4K — полный API-гайд\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://polza.mintlify.site/docs/_mintlify/api/og/v2?division=%D0%98%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D1%8F\u0026amp;title=Nano+Banana+2\u0026amp;description=%D0%93%D0%B5%D0%BD%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D1%8F+%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B9+%D0%B4%D0%BE+4K+%E2%80%94+%D0%BF%D0%BE%D0%BB%D0%BD%D1%8B%D0%B9+API-%D0%B3%D0%B0%D0%B9%D0%B4\u0026amp;theme=e66d600095dcc8df2fba5d6f\u0026amp;signature=365fe6aba802e67c82d904edeec22cccc656292bbd17e4b2276522dd7ec9dbf1\">\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=\"/docs/mintlify-assets/_mintlify/favicons/polza/CQHRsFqB3M6hClzF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Polza.ai\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4D7C0F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://polza.ai/docs/gaidy/nanobanano-2\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/gaidy/nanobanano-2.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://polza.ai/#organization\",\"name\":\"Polza.ai\",\"url\":\"https://polza.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/polza/vvxkgBWcVlkywuwq/logo/light.svg?fit=max\u0026auto=format\u0026n=vvxkgBWcVlkywuwq\u0026q=85\u0026s=03a6a8e98a87bf6c97e54c1bd77e3658\"}},{\"@type\":\"WebSite\",\"@id\":\"https://polza.ai/docs#website\",\"name\":\"Polza.ai\",\"url\":\"https://polza.ai/docs\",\"publisher\":{\"@id\":\"https://polza.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://polza.ai/docs/gaidy/nanobanano-2#webpage\",\"url\":\"https://polza.ai/docs/gaidy/nanobanano-2\",\"name\":\"Nano Banana 2\",\"description\":\"Генерация изображений до 4K — полный API-гайд\",\"dateModified\":\"2026-03-20T13:28:39.964Z\",\"isPartOf\":{\"@id\":\"https://polza.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://polza.ai/docs/gaidy/nanobanano-2#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://polza.ai/docs/gaidy/nanobanano-2#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Генерация медиа\",\"item\":\"https://polza.ai/docs/gaidy/gemini-omni-1-1-flash\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Изображения\",\"item\":\"https://polza.ai/docs/gaidy/topaz-upscale\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Nano Banana 2\",\"item\":\"https://polza.ai/docs/gaidy/nanobanano-2\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://polza.ai/docs/gaidy/nanobanano-2#apireference\",\"headline\":\"Nano Banana 2\",\"name\":\"Nano Banana 2\",\"description\":\"Генерация изображений до 4K — полный API-гайд\",\"url\":\"https://polza.ai/docs/gaidy/nanobanano-2\",\"mainEntityOfPage\":{\"@id\":\"https://polza.ai/docs/gaidy/nanobanano-2#webpage\"},\"dateModified\":\"2026-03-20T13:28:39.964Z\",\"publisher\":{\"@id\":\"https://polza.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://polza.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Polza.ai\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Polza.ai","nav":{"global":{"languages":[{"language":"ru","default":true,"href":"/"}],"anchors":[{"anchor":"Модели","icon":"microchip","href":"https://polza.ai/models"},{"anchor":"Консоль","icon":"gauge","href":"https://polza.ai/dashboard"},{"anchor":"Обновления","icon":"clock-rotate-left","href":"/changelog"}]},"tabs":[{"tab":"Документация","pages":[{"title":"Документация","href":""}]},{"tab":"Руководства","groups":[{"group":"Начало работы","pages":[{"title":"Начало работы","icon":"rocket","href":"/gaidy/getting-started"},{"title":"Получение списка моделей","icon":"microchip","href":"/gaidy/models"},{"title":"Текстовые запросы","icon":"comments","href":"/gaidy/chat-completions"},{"title":"Передача медиа на вход","icon":"upload","href":"/gaidy/media-input"}]},{"group":"Продвинутое","pages":[{"title":"Выбор провайдера","icon":"server","href":"/gaidy/provider-selection"},{"title":"Неофициальные провайдеры","icon":"server","href":"/gaidy/unofficial-providers"},{"title":"Вызов функций (Tool Calling)","icon":"wrench","href":"/gaidy/tool-calling"},{"title":"Структурный вывод","icon":"brackets-curly","href":"/gaidy/structured-output"},{"title":"Плагины","icon":"plug","href":"/gaidy/plugins"},{"title":"Поиск в интернете","icon":"globe","href":"/gaidy/web-search"},{"title":"Серверные инструменты","icon":"screwdriver-wrench","href":"/gaidy/server-tools"},{"title":"Reasoning Tokens","icon":"brain","href":"/osobennosti/reasoning-tokens"},{"title":"Кеширование запросов","icon":"database","href":"/osobennosti/caching"},{"title":"Учет средств (Usage)","icon":"chart-pie","href":"/osobennosti/usage"},{"title":"OAuth PKCE","icon":"key","href":"/gaidy/oauth-pkce"},{"title":"MCP-сервер","icon":"plug","href":"/gaidy/mcp"},{"title":"Алиасы параметров","icon":"microchip","href":"/osobennosti/aliases"}]},{"group":"Классификация и оценка","pages":[{"title":"Jev: решения вместо текста","icon":"scale-balanced","href":"/gaidy/jev"},{"title":"Как задавать вопросы Jev","icon":"circle-question","href":"/gaidy/jev-questions"},{"title":"Jev: рецепты и ограничения","icon":"book-open","href":"/gaidy/jev-recipes"}]},{"group":"Генерация медиа","pages":[{"group":"Видео","icon":"video","pages":[{"title":"Gemini Omni 1.1 Flash","icon":"video","href":"/gaidy/gemini-omni-1-1-flash"},{"title":"Gemini Omni Video","icon":"video","href":"/gaidy/gemini-omni-video"},{"title":"Seedance 1.5 Pro","icon":"video","href":"/gaidy/seedance-1-5-pro"},{"title":"Seedance 2","icon":"video","href":"/gaidy/seedance-2"},{"title":"Kling 3.0","icon":"video","href":"/gaidy/kling-3"},{"title":"Kling 3.0 Motion Control","icon":"video","href":"/gaidy/kling-3-motion-control"},{"title":"Kling 2.6 Motion Control","icon":"video","href":"/gaidy/kling-2-6-motion-control"},{"title":"Kling 2.5 Turbo","icon":"video","href":"/gaidy/kling-2-5-turbo"},{"title":"Wan 2.6","icon":"video","href":"/gaidy/wan-2-6"},{"title":"Wan 2.5","icon":"video","href":"/gaidy/wan-2-5"},{"title":"Veo 3.1","icon":"video","href":"/gaidy/veo-3-1"}]},{"group":"Изображения","icon":"image","pages":[{"title":"Topaz Upscale","icon":"expand","href":"/gaidy/topaz-upscale"},{"title":"Seedream 5.0 Lite","icon":"sparkles","href":"/gaidy/seedream-5-lite"},{"title":"Seedream 4.5","icon":"sparkles","href":"/gaidy/seedream-4-5"},{"title":"Seedream 4","icon":"sparkles","href":"/gaidy/seedream-4"},{"title":"Seedream 3.0","icon":"sparkles","href":"/gaidy/seedream-3"},{"title":"Flux-2 Pro","icon":"wand-magic-sparkles","href":"/gaidy/flux-2-pro"},{"title":"Flux-2 Flex","icon":"wand-magic-sparkles","href":"/gaidy/flux-2-flex"},{"title":"Grok Image","icon":"image","href":"/gaidy/grok-imagine"},{"title":"Qwen Image","icon":"image","href":"/gaidy/qwen-image"},{"title":"Qwen Image 2","icon":"image","href":"/gaidy/qwen-image-2"},{"title":"Qwen Image 2.1","icon":"image","href":"/gaidy/qwen-image-2.1"},{"title":"GPT Image 1.5","icon":"image","href":"/gaidy/gpt-image-1-5"},{"title":"OpenAI GPT-5 Image Mini","icon":"image","href":"/gaidy/gpt-5-image-mini"},{"title":"OpenAI GPT-5 Image","icon":"image","href":"/gaidy/gpt-5-image"},{"title":"OpenAI GPT-5.4 Image 2","icon":"image","href":"/gaidy/gpt-5-4-image-2"},{"title":"Nano Banana","icon":"wand-magic-sparkles","href":"/gaidy/nanobanano"},{"title":"Nano Banana Pro","description":"Продвинутая генерация изображений с Nano Banana Pro","icon":"star","href":"/gaidy/nanobanano-pro"},{"title":"Nano Banana 2","icon":"star","openapi":"POST /v1/media","href":"/gaidy/nanobanano-2"}]},{"group":"Аудио","icon":"volume-high","pages":[{"title":"Aiesa Транскрипция","description":"Асинхронная расшифровка аудио с диаризацией и LLM-анализом","icon":"waveform-lines","href":"/gaidy/aiesa-transcribe"}]},{"group":"Музыка","icon":"music","pages":[{"title":"Suno Music Generate","icon":"music","href":"/gaidy/suno-music"},{"title":"Suno Sounds","icon":"wave-square","href":"/gaidy/suno-sounds"},{"title":"Suno Mashup","icon":"shuffle","href":"/gaidy/suno-mashup"},{"title":"Google Lyria 3","icon":"music","href":"/gaidy/google-lyria-3"}]}]},{"group":"Интеграции","pages":[{"title":"Claude Code","icon":"code","href":"/integracii/claude-code"},{"title":"Claude Desktop","icon":"desktop","href":"/integracii/claude-desktop"},{"title":"Cline (VS Code / Cursor)","icon":"code","href":"/integracii/cline"},{"title":"Cline Desktop","icon":"desktop","href":"/integracii/cline-desktop"},{"title":"Codex CLI","icon":"c","href":"/integracii/codex"},{"title":"ChatGPT Desktop","icon":"desktop","href":"/integracii/chatgpt-desktop"},{"title":"Cherry Studio","icon":"cherries","href":"/integracii/cherry-studio"},{"title":"DeepSeek Harness","icon":"d","href":"/integracii/deepseek-harness"},{"title":"Dify","icon":"robot","href":"/integracii/dify"},{"title":"Gemini CLI","icon":"g","href":"/integracii/gemini-cli"},{"title":"Hermes Agent","icon":"robot","href":"/integracii/hermes-agent"},{"title":"Hermes Desktop","icon":"desktop","href":"/integracii/hermes-desktop"},{"title":"Kilo Code (VS Code / PyCharm)","icon":"k","href":"/integracii/kilo-code"},{"title":"LangChain","icon":"link","href":"/integracii/langchain"},{"title":"N8N","icon":"n","href":"/integracii/n8n"},{"title":"OpenClaw","icon":"paw","href":"/integracii/openclaw"},{"title":"OpenClaw Desktop","icon":"desktop","href":"/integracii/openclaw-desktop"},{"title":"OpenCode","icon":"terminal","href":"/integracii/opencode"},{"title":"OpenCode Desktop","icon":"desktop","href":"/integracii/opencode-desktop"},{"title":"Polza IDE (alpha)","icon":"laptop-code","href":"/integracii/polza-ide"},{"title":"Polza.AI Proxy","icon":"server","href":"/integracii/proxy"},{"title":"RAG","icon":"magnifying-glass","href":"/gaidy/rag"},{"title":"Roo Code","icon":"robot","href":"/integracii/roo-code"},{"title":"Qwen Code CLI","icon":"q","href":"/integracii/qwen-code"},{"title":"Qwen Code Desktop","icon":"desktop","href":"/integracii/qwen-code-desktop"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Nano Banana 2 - Polza.ai","buildId":"dpl_3pZeXn3XukjzFRgAX73A7GNDfRJ1","deploymentId":"dpl_3pZeXn3XukjzFRgAX73A7GNDfRJ1","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CW3yP2DK.js","utils-BN0nty2W.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C8_MydSG.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bsl5xDMQ.js","snippetPresets-DYv9OBej.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-9OnYPrVf.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-xr67xWGO.js","shallow-DO1aDdBF.js","getApiPlaygroundDisplay-o7cLzFL-.js","CodeSnippet-CGr2yOA8.js","CodeSnippets-CzBbqPNh.js","Page-CBlOSKZG.js","getPastedJson-dpi9sn5Y.js","icon-aIWHt8Pn.js","MethodPill-Bv2zLsGY.js","DuplicateIcon-DxFSz0J6.js","createIcon-uDNv6jwj.js","DynamicMarkdown-C91yhnNP.js","SectionHeading-DG_xjOLR.js","axios-vUo_bRtp.js","Markdown-B4M_Eo1P.js","clsx-DShopWo_.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BX6wab7q.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-48h67xm_.js"]}