Типы данных пользовательских узлов ComfyUI: Python, форматы тензоров (IMAGE, LATENT, MASK), пользовательские типы и подстановочные знаки в INPUT_TYPES.
Это наиболее важные встроенные типы данных. Вы также можете определить собственные типы данных.Типы данных используются на стороне клиента, чтобы рабочий процесс не мог передать в узел данные неправильного вида: отчасти это похоже на строгую типизацию.
Клиентский код JavaScript, как правило, не позволяет подключать выход узла ко входу с другим типом данных,
хотя ниже отмечено несколько исключений.
Типы данных ComfyUI
COMBO
В INPUT_TYPES нет дополнительных параметров
Тип данных Python: определяется как list[str], выходное значение имеет тип str
Представляет собой виджет выпадающего меню.
В отличие от других типов данных, COMBO задаётся в INPUT_TYPES не с помощью str, а с помощью list[str], где перечислены варианты из выпадающего списка, при этом первый вариант выбран по умолчанию.Входы типа COMBO часто динамически генерируются во время выполнения. Например, во встроенном узле CheckpointLoaderSimple можно найти
или они могут быть просто фиксированным списком вариантов,
"play_sound": (["no","yes"], {}),
Примитив и перенаправление
Узлы примитивов и перенаправления существуют только на стороне клиента. У них нет собственного типа данных, но при подключении они принимают тип данных того входа или выхода, к которому подключены (поэтому они не могут подключаться к входу *…)
Типы данных Python
INT
Дополнительные параметры в INPUT_TYPES:
default обязателен
min и max необязательны
Тип данных Python: int
FLOAT
Дополнительные параметры в INPUT_TYPES:
default обязателен
min, max, step необязательны
Тип данных Python: float
STRING
Дополнительные параметры в INPUT_TYPES:
default обязателен
Тип данных Python: str
BOOLEAN
Дополнительные параметры в INPUT_TYPES:
default обязателен
Тип данных Python: bool
Типы данных тензоров
IMAGE
Нет дополнительных параметров в INPUT_TYPES
Python-тип torch.Tensor с формой [B,H,W,C]
Пакет из B изображений высотой H, шириной W и с C каналами (обычно C=3 для RGB).
LATENT
Нет дополнительных параметров в INPUT_TYPES
Python-тип dict, содержащий torch.Tensor с формой [B,C,H,W]
Передаваемый dict содержит ключ samples, который является torch.Tensor с формой [B,C,H,W] и представляет
пакет из B латентов с C каналами (обычно C=4 для существующих моделей stable diffusion), высотой H и шириной W.Высота и ширина составляют 1/8 соответствующего размера изображения (это значение, которое вы задаёте в узле Empty Latent Image).Другие записи в словаре содержат, например, латентные маски.
MASK
Нет дополнительных параметров в INPUT_TYPES
Python-тип torch.Tensor с формой [H,W] или [B,C,H,W]
AUDIO
Нет дополнительных параметров в INPUT_TYPES
Python-тип dict, содержащий torch.Tensor с формой [B, C, T] и частоту дискретизации.
Передаваемый dict содержит ключ waveform, который является torch.Tensor с формой [B, C, T] и представляет пакет из B аудиосэмплов с C каналами (C=2 для стерео и C=1 для моно) и T шагами по времени (то есть количеством аудиосэмплов).dict содержит ещё один ключ sample_rate, который указывает частоту дискретизации аудио.
Пользовательские типы данных сэмплирования
Шум
Тип данных NOISE представляет источник шума (а не сам шум). Его может представлять любой объект Python, предоставляющий метод генерации шума с сигнатурой generate_noise(self, input_latent:Tensor) -> Tensor, и свойство seed:Optional[int].
seed передаётся в метод sample гида в SamplerCustomAdvanced, но, судя по всему, ни один из стандартных гидов его не использует. Он необязателен, поэтому обычно можно задать его как None.
Когда требуется добавить шум, в этот метод передаётся латент. Метод должен вернуть Tensor той же формы, содержащий шум.См. пример смешивания шума
Сэмплер
Тип данных SAMPLER представляет сэмплер, который, в свою очередь, представляется объектом Python, предоставляющим метод sample. Выборка в Stable Diffusion выходит за рамки этого руководства; см. comfy/samplers.py, если хотите углубиться в эту часть кода.
Сигмы
Тип данных SIGMAS представляет значения сигмы до и после каждого шага процесса выборки, создаваемые scheduler. Они представляются одномерным тензором длины steps+1, где каждый элемент задаёт шум, который ожидается перед соответствующим шагом, а последнее значение задаёт шум после финального шага.normal scheduler с 20 шагами и denoise, равным 1, для модели SDXL выдаёт:
Начальное значение сигмы зависит от модели, поэтому узлу scheduler требуется вход MODEL, чтобы получить выход SIGMAS
Гид
GUIDER представляет собой обобщение процесса удаления шума, «направляемого» промптом или любой другой формой условия. В Comfy гид представляется callable-объектом Python, предоставляющим метод __call__(*args, **kwargs), который вызывается в процессе выборки.Метод __call__ принимает (в args[0]) пакет зашумлённых латентов (тензор [B,C,H,W]) и возвращает предсказание шума (тензор той же формы).
Типы данных моделей
Существует ряд более технических типов данных для моделей Stable Diffusion. Наиболее важные из них: MODEL, CLIP, VAE и CONDITIONING.
Работа с ними (пока что) выходит за рамки этого руководства!
Дополнительные параметры
Ниже приведён список официально поддерживаемых ключей, которые можно использовать в части «extra options» определения входа.
Вы можете использовать дополнительные ключи для своих пользовательских виджетов, но не должны применять какие-либо из ключей ниже для других целей.
Ключ
Описание
default
Значение виджета по умолчанию
min
Минимальное значение числа (FLOAT или INT)
max
Максимальное значение числа (FLOAT или INT)
step
Количество, на которое увеличивается или уменьшается значение виджета
label_on
Подпись в интерфейсе, когда bool равен True (BOOL)
label_off
Подпись в интерфейсе, когда bool равен False (BOOL)
defaultInput
По умолчанию использует входной сокет вместо поддерживаемого виджета
forceInput
То же, что defaultInput, и дополнительно запрещает преобразование в виджет
multiline
Использовать многострочное текстовое поле (STRING)
placeholder
Текст-заполнитель, отображаемый в интерфейсе, когда поле пустое (STRING)
Если соединение существует, вместо вычисленного значения вы получите само соединение (т.е. ["nodeId", <outputIndex>]). В основном полезно, когда ваш узел использует расширение узлов.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ComfyUI","colors":{"primary":"#49378B","light":"#F2FF59","dark":"#F2FF59"},"logo":{"light":"https://mintcdn.com/dripart/WCFdTagRdhtvk9-o/logo/light.svg?fit=max\u0026auto=format\u0026n=WCFdTagRdhtvk9-o\u0026q=85\u0026s=ec112de87239058f5a931a7e4b594965","dark":"https://mintcdn.com/dripart/QzWbjSCBG7w61rR3/logo/dark.svg?fit=max\u0026auto=format\u0026n=QzWbjSCBG7w61rR3\u0026q=85\u0026s=62b4d879fb3aadbd7a468d1539032d6f","href":"/"},"favicon":"https://mintcdn.com/dripart/maKDA164-rrTfyxY/favicon.ico?fit=max\u0026auto=format\u0026n=maKDA164-rrTfyxY\u0026q=85\u0026s=94f3a697cf4c9a1ee3961b69219d0942","appearance":{"default":"dark"},"navbar":{"links":[{"href":"https://blog.comfy.org/?utm_source=docs","label":"Blog"},{"href":"/tutorials/partner-nodes/pricing","label":"Pricing"},{"href":"https://platform.comfy.org/?utm_source=docs","label":"Platform"},{"href":"https://comfy.org/download?utm_source=docs","label":"Download"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"Resources","items":[{"label":"installation","href":"/installation/system_requirements"},{"label":"Tutorials","href":"/tutorials/basic/text-to-image"},{"label":"Development","href":"/development/overview"}]},{"header":"Products","items":[{"label":"Features","href":"https://www.comfy.org/?utm_source=docs"},{"label":"Gallery","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"Download","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"Company","items":[{"label":"About","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"Careers","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"Terms of Service","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"Privacy Policy","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"search":{"prompt":"Search Comfy documentation..."},"seo":{"metatags":{"googlebot":"max-video-preview:0"}},"icons":{"library":"fontawesome"},"integrations":{"ga4":{"measurementId":"G-MXC01ZDDHQ"},"posthog":{"apiKey":"phc_iKfK86id4xVYws9LybMje0h44eGtfwFgRPIBehmy8rO"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":""},{"language":"zh","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"资源","items":[{"label":"安装","href":"/zh/installation/system_requirements"},{"label":"教程","href":"/zh/tutorials/basic/text-to-image"},{"label":"开发","href":"/zh/development/overview"}]},{"header":"产品","items":[{"label":"功能","href":"https://www.comfy.org/?utm_source=docs"},{"label":"画廊","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"下载","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"公司","items":[{"label":"关于","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"招聘","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"服务条款","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"隐私政策","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"href":"zh"},{"language":"ja","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"リソース","items":[{"label":"インストール","href":"/ja/installation/system_requirements"},{"label":"チュートリアル","href":"/ja/tutorials/basic/text-to-image"},{"label":"開発","href":"/ja/development/overview"}]},{"header":"プロダクト","items":[{"label":"機能","href":"https://www.comfy.org/?utm_source=docs"},{"label":"ギャラリー","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"ダウンロード","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"会社情報","items":[{"label":"概要","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"採用情報","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"利用規約","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"プライバシーポリシー","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"navbar":{"links":[{"href":"/ja/tutorials/partner-nodes/pricing","label":"料金"},{"href":"https://comfy.org/download?utm_source=docs","label":"ダウンロード"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"href":"ja"},{"language":"ko","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"리소스","items":[{"label":"설치","href":"/ko/installation/system_requirements"},{"label":"튜토리얼","href":"/ko/tutorials/basic/text-to-image"},{"label":"개발","href":"/ko/development/overview"}]},{"header":"제품","items":[{"label":"기능","href":"https://www.comfy.org/?utm_source=docs"},{"label":"갤러리","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"다운로드","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"회사 정보","items":[{"label":"소개","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"채용","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"이용약관","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"개인정보 처리방침","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"navbar":{"links":[{"href":"/ko/tutorials/partner-nodes/pricing","label":"가격 정책"},{"href":"https://comfy.org/download?utm_source=docs","label":"다운로드"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"href":"ko"},{"language":"es","href":"es"},{"language":"ru","href":"ru"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dripart","hasAudioNarration":false,"actualSubdomain":"dripart","customDomains":["docs.comfy.org"],"gitSource":{"type":"github","owner":"comfy-org","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b106644bbd70c6d2eb3ec4a","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"en","tag":"Built-in Nodes","count":1216},{"language":"ja","tag":"組み込みノード","count":1216},{"language":"zh","tag":"内置节点","count":1216},{"language":"en","tag":"Nodes","count":1215},{"language":"ja","tag":"ノード","count":1215},{"language":"zh","tag":"节点","count":1215},{"language":"ko","tag":"내장 노드 (Built-in Nodes)","count":1174},{"language":"ko","tag":"노드","count":1173},{"language":"es","tag":"Nodos integrados","count":1108},{"language":"es","tag":"Nodos","count":1107},{"language":"en","tag":"Tutorials","count":457},{"language":"ru","tag":"Руководства","count":457},{"language":"es","tag":"Tutoriales","count":456},{"language":"ja","tag":"API 開発","count":449},{"language":"ko","tag":"API 개발","count":449},{"language":"zh","tag":"API 开发","count":449},{"language":"en","tag":"Partner","count":387},{"language":"ja","tag":"Partner","count":387},{"language":"ko","tag":"Partner","count":387},{"language":"zh","tag":"Partner","count":387},{"language":"en","tag":"Model","count":385},{"language":"es","tag":"Partner","count":385},{"language":"ja","tag":"Model","count":385},{"language":"ko","tag":"Model","count":385},{"language":"zh","tag":"Model","count":385},{"language":"es","tag":"Modelo","count":378},{"language":"ja","tag":"はじめに","count":377},{"language":"ko","tag":"시작하기","count":377},{"language":"zh","tag":"开始使用","count":377},{"language":"en","tag":"Image","count":367},{"language":"ru","tag":"Comfy Router","count":361},{"language":"es","tag":"Comfy Router","count":360},{"language":"en","tag":"Comfy Router","count":352},{"language":"ja","tag":"Comfy Router","count":352},{"language":"ko","tag":"Comfy Router","count":352},{"language":"zh","tag":"Comfy Router","count":352},{"language":"es","tag":"Imagen","count":334},{"language":"en","tag":"Agent tools","count":327},{"language":"en","tag":"Models","count":320},{"language":"es","tag":"Models","count":320},{"language":"ja","tag":"Models","count":320},{"language":"ko","tag":"Models","count":320},{"language":"ru","tag":"Модели","count":320},{"language":"zh","tag":"Models","count":320},{"language":"en","tag":"Catalog","count":319},{"language":"es","tag":"All Models","count":317},{"language":"ru","tag":"Все модели","count":317},{"language":"es","tag":"Video","count":290},{"language":"ja","tag":"画像","count":222},{"language":"ko","tag":"이미지","count":222},{"language":"zh","tag":"图像","count":222},{"language":"ru","tag":"Для разработчиков","count":213},{"language":"ja","tag":"Video","count":208},{"language":"zh","tag":"Video","count":208},{"language":"ko","tag":"Video","count":191},{"language":"ru","tag":"Партнёрские узлы","count":170},{"language":"ru","tag":"Партнёрские модели","count":163},{"language":"ru","tag":"Пользовательские узлы","count":123},{"language":"ru","tag":"Видео","count":106},{"language":"ru","tag":"Изображения","count":96}],"searchSettings":{"maxResults":10}},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"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":"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":"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":"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":"turbopuffer-dual-write","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":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":":root{--ink-900: #151417;--hub-shell-light: #f7f6f9;--accent-purple: #49378b;--accent-yellow: #f2ff59;--primary: 73 55 139 !important;--primary-light: 242 255 89 !important;--primary-dark: 242 255 89 !important}html.dark{--primary: 242 255 89 !important;--background-dark: 14 14 13 !important}html.dark body{background-color:#0e0e0d!important}html.dark #navbar,html.dark #navbar-transition{background-color:var(--ink-900)!important}html.dark #sidebar,html.dark #sidebar-content{background-color:rgb(var(--background-dark))!important}html.dark #navbar,html.dark #navbar-transition{box-shadow:none!important;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html.dark #navbar-transition{border-bottom:1px solid rgba(255, 255, 255, 0.08)!important;opacity:1!important}html.dark img.nav-logo{filter:none}html.dark #sidebar-content a:not([aria-current=\"page\"]){color:rgba(255, 255, 255, 0.72)!important}html.dark #sidebar-content a:not([aria-current=\"page\"]) *{color:inherit!important}html.dark #sidebar-content a[aria-current=\"page\"]{color:var(--accent-yellow)!important;background-color:rgba(242, 255, 89, 0.10)!important}html.dark #sidebar-content a[aria-current=\"page\"] *{color:inherit!important}html.dark .nav-tabs-item[data-active],html.dark mobile-nav-tabs-item[data-active]{color:var(--accent-yellow)!important}html.dark #navbar a[href*=\"comfy.org/cloud\"] span.absolute{background-color:var(--accent-yellow)!important}html.dark #navbar a[href*=\"comfy.org/cloud\"] span.text-white{color:#151417!important}html:not(.dark) #background-color,html:not(.dark) #navbar,html:not(.dark) #navbar-transition,html:not(.dark) #sidebar,html:not(.dark) #sidebar-content{background-color:var(--hub-shell-light)!important}html:not(.dark) .nav-tabs-item[data-active],html:not(.dark) mobile-nav-tabs-item[data-active],html:not(.dark) nav-dropdown-item[data-active]{background-color:transparent!important;box-shadow:none!important;color:var(--accent-purple)!important;font-weight:600!important}html:not(.dark) .nav-tabs-item[data-active] *,html:not(.dark) mobile-nav-tabs-item[data-active] *,html:not(.dark) nav-dropdown-item[data-active] *{color:inherit!important}html:not(.dark) #sidebar-content li:has(>a[aria-current=\"page\"]){background-color:transparent!important;box-shadow:none!important}html:not(.dark) #sidebar-content a[aria-current=\"page\"]{color:var(--accent-purple)!important;background-color:rgba(73, 55, 139, 0.1)!important;font-weight:600!important}html:not(.dark) #sidebar-content a[aria-current=\"page\"] *{color:inherit!important}html:not(.dark) toc-item[data-active],html:not(.dark) toc-item[data-active-deepest],html:not(.dark) toc-item[data-active] a,html:not(.dark) toc-item[data-active-deepest] a{background-color:transparent!important;color:var(--accent-purple)!important;font-weight:600!important}html:not(.dark) #header :where(h1,h2,h3,h4,h5,h6),html:not(.dark) #content-area :where(h1,h2,h3,h4,h5,h6){color:#151417!important}html:not(.dark) #navbar a[href*=\"comfy.org/cloud\"]{background-color:transparent!important;color:var(--accent-purple)!important;border-radius:0.75rem;box-shadow:inset 0 0 0 1px var(--accent-purple)!important}html:not(.dark) #navbar a[href*=\"comfy.org/cloud\"] span.absolute{background-color:transparent!important}html:not(.dark) #navbar a[href*=\"comfy.org/cloud\"] *{color:inherit!important}#sidebar .sticky.top-0.pointer-events-none.bg-linear-to-b{background-image:none!important}@media (min-width: 1024px){#navbar.is-not-custom.is-not-center+div:has(>#sidebar),.max-w-8xl.mx-auto.relative,.max-w-8xl.mx-auto{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}#navbar [class*=\"px-12\"],#navbar [class*=\"mx-4\"]{padding-left:0!important;padding-right:1.5rem!important;margin-left:0!important;margin-right:0!important}#navbar a.select-none,#navbar .nav-logo{margin-left:1rem!important}#navbar .nav-tabs{padding-left:2rem!important}#sidebar{left:0!important;margin-left:0!important;box-shadow:none!important}#sidebar-content{margin-left:0!important;padding-left:1rem!important;box-sizing:border-box!important}#navbar,#navbar-transition{left:0!important;right:0!important;width:100%!important;max-width:none!important}#content-area{margin-left:0!important;max-width:none!important;width:100%!important;padding-left:18rem!important}#sidebar.sticky~#content-container #content-area{padding-left:2rem!important;padding-right:2rem!important}#content-container,#body-content{max-width:none!important;width:100%!important}:root{--content-width: 100%;--sidebar-width: 18rem}}@media (min-width: 1024px){nav#sidebar,#sidebar[style]{left:0!important;right:auto!important;margin-left:0!important;transform:none!important}#navbar li.navbar-link:has(a[href*=\"comfy.org/download\"]){margin-right:0!important}#navbar a[href*=\"comfy.org/download\"]{box-sizing:border-box;border:1px solid rgb(255 255 255 / 0.22);border-radius:0.75rem;padding:7px 0.875rem!important;color:#fff!important;font-size:0.875rem;line-height:1.25rem}html:not(.dark) #navbar a[href*=\"comfy.org/download\"]{border-color:rgb(0 0 0 / 0.16);color:#151417!important}#navbar a[href*=\"comfy.org/download\"]:hover{background:rgb(255 255 255 / 0.06)}html:not(.dark) #navbar a[href*=\"comfy.org/download\"]:hover{background:rgb(0 0 0 / 0.04)}#navbar li.navbar-link:has(a[href*=\"comfy.org/download\"])+.whitespace-nowrap,#navbar .flex.space-x-6>.whitespace-nowrap.hidden{margin-left:0.5rem!important}}body:has(.router-api-reference-marker) #content,body:has(.router-api-reference-marker) #header{max-width:48rem}body:has(.router-api-reference-marker) #content-area table{width:100%;table-layout:auto}body:has(.router-api-reference-marker) #content-area th,body:has(.router-api-reference-marker) #content-area td{min-width:4rem!important;overflow-wrap:anywhere}body:has(.router-api-reference-marker) #content-area table:has(th:nth-child(6)) th:nth-child(3),body:has(.router-api-reference-marker) #content-area table:has(th:nth-child(6)) td:nth-child(3){min-width:5rem!important}@media (max-width: 1535px){body:has(.router-api-reference-marker) #content-side-layout{display:none!important}}body:has(.router-provider-coverage-marker) #content,body:has(.router-provider-coverage-marker) #header{max-width:64rem}body:has(.router-provider-coverage-marker) #content-area table{width:100%;table-layout:auto}body:has(.router-provider-coverage-marker) #content-area th,body:has(.router-provider-coverage-marker) #content-area td{min-width:5rem!important;overflow-wrap:anywhere}body:has(.router-provider-coverage-marker) #content-area th:first-child,body:has(.router-provider-coverage-marker) #content-area td:first-child{min-width:12rem!important}body:has(.router-quickstart-marker) [data-component-part=\"card-content\"] [data-component-part=\"code-block-root\"][style*=\"height:190px\"],body:has(.router-quickstart-marker) [data-component-part=\"card-content\"] [data-component-part=\"code-block-root\"][style*=\"height: 190px\"]{height:86px!important}#content img:not([data-component-part=\"card-image\"]){max-width:min(100%, 750px)}#content .frame:has(img){max-width:calc(750px + 1rem)}"},{"filePath":"samples-cards.css","content":".sample-card-grid{display:grid;gap:20px;grid-template-columns:repeat(2, minmax(0, 1fr));margin-top:28px}.sample-card{min-width:0;perspective:1200px}.sample-card-inner{height:565px;position:relative;transform-style:preserve-3d;transition:transform 560ms cubic-bezier(.2, .75, .3, 1)}.sample-card[data-flipped=\"true\"] .sample-card-inner{transform:rotateY(180deg)}.sample-card-face{backface-visibility:hidden;background:#fff;border:1px solid #e5e1eb;border-radius:12px;box-sizing:border-box;height:100%;inset:0;overflow:hidden;position:absolute;width:100%}.sample-card-front{display:flex;flex-direction:column}.sample-card-back{opacity:0;pointer-events:none;transform:rotateY(180deg);visibility:hidden}.sample-card[data-flipped=\"true\"] .sample-card-front{pointer-events:none;transition:visibility 0s linear 280ms;visibility:hidden}.sample-card[data-flipped=\"true\"][data-active-path=\"api\"] .sample-card-back[data-sample-path=\"api\"],.sample-card[data-flipped=\"true\"][data-active-path=\"endpoint\"] .sample-card-back[data-sample-path=\"endpoint\"]{opacity:1;pointer-events:auto;visibility:visible}.sample-card-preview{border-bottom:1px solid #e5e1eb;cursor:pointer;display:block;width:100%}.sample-card-body{display:flex;flex:1;flex-direction:column;padding:20px}.sample-card-body h2,.sample-path-body h2{color:#49378b;font-size:18px;font-weight:700;letter-spacing:-.02em;margin:0 0 8px}.sample-path-body h2{text-align:center}.sample-card-body>p{color:#5f5966;font-size:14px;line-height:1.55;margin:0;min-height:66px}.sample-card-actions{display:flex;gap:8px;margin-top:20px}.sample-card-actions button{background:#fff;border:1px solid #cfc8de;border-radius:6px;color:#49378b;cursor:pointer;flex:1;font-size:13px;font-weight:700;padding:10px 12px}.sample-card-links{border-top:1px solid #eeeaf1;display:flex;gap:8px;margin-top:16px;padding-top:12px}.sample-card-links a{color:#625b6c;font-size:12px;font-weight:650;text-decoration:none}.sample-card-links span{color:#b3adba}.sample-path-body{padding:20px}.sample-path-body>button{background:transparent;border:0;color:#625b6c;cursor:pointer;font-size:12px;font-weight:700;padding:0}.sample-path-eyebrow{color:#857a9e;font-size:10px;font-weight:700;letter-spacing:.08em;margin:19px 0 5px;text-align:center;text-transform:uppercase}.sample-path-body>p:not(.sample-path-eyebrow){color:#5f5966;font-size:12px;line-height:1.5;margin:0 0 15px}.sample-path-steps{display:grid;gap:8px}.sample-path-step{align-items:center;background:#faf9fc;border:1px solid #e5e1ea;border-radius:8px;display:flex;gap:10px;padding:10px 11px}.sample-path-number{align-items:center;background:#49378b;border-radius:999px;color:#fff;display:inline-flex;flex:0 0 21px;font-size:11px;font-weight:700;height:21px;justify-content:center}.sample-path-copy{flex:1;min-width:0}.sample-path-copy strong{color:#312c36;display:block;font-size:12px}.sample-path-copy span{color:#706a75;display:block;font-size:11px;line-height:1.35;margin-top:2px}.sample-path-step a{color:#49378b;flex:0 0 auto;font-size:11px;font-weight:700;text-decoration:none}@media (max-width: 768px){.sample-card-grid{grid-template-columns:1fr}.sample-card-inner{height:clamp(620px, 180vw, 760px)}}"}]}
{"page":{"pagePath":"ru/custom-nodes/backend/datatypes","slug":"/ru/custom-nodes/backend/datatypes","pageMetadata":{"title":"Типы данных пользовательских узлов ComfyUI","sidebarTitle":"Типы данных","description":"Типы данных пользовательских узлов ComfyUI: Python, форматы тензоров (IMAGE, LATENT, MASK), пользовательские типы и подстановочные знаки в INPUT_TYPES.","translationSourceHash":"f04aba65","translationFrom":"custom-nodes/backend/datatypes.mdx","translationBlockHashes":{"_intro":"80373b23","Comfy datatypes":"fcd90f30","Python datatypes":"37b2f2ea","Tensor datatypes":"cfddd57a","Custom Sampling datatypes":"3f4ac4eb","Model datatypes":"26b3c960","Additional Parameters":"cd3afb90"},"href":"/ru/custom-nodes/backend/datatypes"},"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: \"Типы данных пользовательских узлов ComfyUI: Python, форматы тензоров (IMAGE, LATENT, MASK), пользовательские типы и подстановочные знаки в INPUT_TYPES.\"\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`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Это наиболее важные встроенные типы данных. Вы также можете `,_jsx(_components.a,{href:`/ru/custom-nodes/backend/more_on_inputs#%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D1%81%D0%BA%D0%B8%D0%B5-%D1%82%D0%B8%D0%BF%D1%8B-%D0%B4%D0%B0%D0%BD%D0%BD%D1%8B%D1%85`,children:`определить собственные типы данных`}),`.`]}),`\n`,_jsx(_components.p,{children:`Типы данных используются на стороне клиента, чтобы рабочий процесс не мог передать в узел данные неправильного вида: отчасти это похоже на строгую типизацию.\nКлиентский код JavaScript, как правило, не позволяет подключать выход узла ко входу с другим типом данных,\nхотя ниже отмечено несколько исключений.`}),`\n`,_jsx(Heading,{level:`2`,id:`типы-данных-comfyui`,children:`Типы данных ComfyUI`}),`\n`,_jsx(Heading,{level:`3`,id:`combo`,children:`COMBO`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`В `,_jsx(_components.code,{children:`INPUT_TYPES`}),` нет дополнительных параметров`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Тип данных Python: определяется как `,_jsx(_components.code,{children:`list[str]`}),`, выходное значение имеет тип `,_jsx(_components.code,{children:`str`})]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Представляет собой виджет выпадающего меню.\nВ отличие от других типов данных, `,_jsx(_components.code,{children:`COMBO`}),` задаётся в `,_jsx(_components.code,{children:`INPUT_TYPES`}),` не с помощью `,_jsx(_components.code,{children:`str`}),`, а с помощью `,_jsx(_components.code,{children:`list[str]`}),`, где перечислены варианты из выпадающего списка, при этом первый вариант выбран по умолчанию.`]}),`\n`,_jsxs(_components.p,{children:[`Входы типа `,_jsx(_components.code,{children:`COMBO`}),` часто динамически генерируются во время выполнения. Например, во встроенном узле `,_jsx(_components.code,{children:`CheckpointLoaderSimple`}),` можно найти`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"ckpt_name\": (folder_paths.get_filename_list(\"checkpoints\"), )`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`или они могут быть просто фиксированным списком вариантов,`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"play_sound\": ([\"no\",\"yes\"], {}),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`примитив-и-перенаправление`,children:`Примитив и перенаправление`}),`\n`,_jsxs(_components.p,{children:[`Узлы примитивов и перенаправления существуют только на стороне клиента. У них нет собственного типа данных, но при подключении они принимают тип данных того входа или выхода, к которому подключены (поэтому они не могут подключаться к входу `,_jsx(_components.code,{children:`*`}),`…)`]}),`\n`,_jsx(Heading,{level:`2`,id:`типы-данных-python`,children:`Типы данных Python`}),`\n`,_jsx(Heading,{level:`3`,id:`int`,children:`INT`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Дополнительные параметры в `,_jsx(_components.code,{children:`INPUT_TYPES`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`default`}),` обязателен`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`min`}),` и `,_jsx(_components.code,{children:`max`}),` необязательны`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Тип данных Python: `,_jsx(_components.code,{children:`int`})]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`float`,children:`FLOAT`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Дополнительные параметры в `,_jsx(_components.code,{children:`INPUT_TYPES`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`default`}),` обязателен`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`min`}),`, `,_jsx(_components.code,{children:`max`}),`, `,_jsx(_components.code,{children:`step`}),` необязательны`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Тип данных Python: `,_jsx(_components.code,{children:`float`})]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`string`,children:`STRING`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Дополнительные параметры в `,_jsx(_components.code,{children:`INPUT_TYPES`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`default`}),` обязателен`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Тип данных Python: `,_jsx(_components.code,{children:`str`})]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`boolean`,children:`BOOLEAN`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Дополнительные параметры в `,_jsx(_components.code,{children:`INPUT_TYPES`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`default`}),` обязателен`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Тип данных Python: `,_jsx(_components.code,{children:`bool`})]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`типы-данных-тензоров`,children:`Типы данных тензоров`}),`\n`,_jsx(Heading,{level:`3`,id:`image`,children:`IMAGE`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Нет дополнительных параметров в `,_jsx(_components.code,{children:`INPUT_TYPES`})]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Python-тип `,_jsx(_components.code,{children:`torch.Tensor`}),` с `,_jsx(_components.em,{children:`формой`}),` [B,H,W,C]`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Пакет из `,_jsx(_components.code,{children:`B`}),` изображений высотой `,_jsx(_components.code,{children:`H`}),`, шириной `,_jsx(_components.code,{children:`W`}),` и с `,_jsx(_components.code,{children:`C`}),` каналами (обычно `,_jsx(_components.code,{children:`C=3`}),` для `,_jsx(_components.code,{children:`RGB`}),`).`]}),`\n`,_jsx(Heading,{level:`3`,id:`latent`,children:`LATENT`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Нет дополнительных параметров в `,_jsx(_components.code,{children:`INPUT_TYPES`})]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Python-тип `,_jsx(_components.code,{children:`dict`}),`, содержащий `,_jsx(_components.code,{children:`torch.Tensor`}),` с `,_jsx(_components.em,{children:`формой`}),` [B,C,H,W]`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Передаваемый `,_jsx(_components.code,{children:`dict`}),` содержит ключ `,_jsx(_components.code,{children:`samples`}),`, который является `,_jsx(_components.code,{children:`torch.Tensor`}),` с `,_jsx(_components.em,{children:`формой`}),` [B,C,H,W] и представляет\nпакет из `,_jsx(_components.code,{children:`B`}),` латентов с `,_jsx(_components.code,{children:`C`}),` каналами (обычно `,_jsx(_components.code,{children:`C=4`}),` для существующих моделей stable diffusion), высотой `,_jsx(_components.code,{children:`H`}),` и шириной `,_jsx(_components.code,{children:`W`}),`.`]}),`\n`,_jsx(_components.p,{children:`Высота и ширина составляют 1/8 соответствующего размера изображения (это значение, которое вы задаёте в узле Empty Latent Image).`}),`\n`,_jsx(_components.p,{children:`Другие записи в словаре содержат, например, латентные маски.`}),`\n`,_jsx(Heading,{level:`3`,id:`mask`,children:`MASK`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Нет дополнительных параметров в `,_jsx(_components.code,{children:`INPUT_TYPES`})]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Python-тип `,_jsx(_components.code,{children:`torch.Tensor`}),` с `,_jsx(_components.em,{children:`формой`}),` [H,W] или [B,C,H,W]`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`audio`,children:`AUDIO`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Нет дополнительных параметров в `,_jsx(_components.code,{children:`INPUT_TYPES`})]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Python-тип `,_jsx(_components.code,{children:`dict`}),`, содержащий `,_jsx(_components.code,{children:`torch.Tensor`}),` с `,_jsx(_components.em,{children:`формой`}),` [B, C, T] и частоту дискретизации.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Передаваемый `,_jsx(_components.code,{children:`dict`}),` содержит ключ `,_jsx(_components.code,{children:`waveform`}),`, который является `,_jsx(_components.code,{children:`torch.Tensor`}),` с `,_jsx(_components.em,{children:`формой`}),` [B, C, T] и представляет пакет из `,_jsx(_components.code,{children:`B`}),` аудиосэмплов с `,_jsx(_components.code,{children:`C`}),` каналами (`,_jsx(_components.code,{children:`C=2`}),` для стерео и `,_jsx(_components.code,{children:`C=1`}),` для моно) и `,_jsx(_components.code,{children:`T`}),` шагами по времени (то есть количеством аудиосэмплов).`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`dict`}),` содержит ещё один ключ `,_jsx(_components.code,{children:`sample_rate`}),`, который указывает частоту дискретизации аудио.`]}),`\n`,_jsx(Heading,{level:`2`,id:`пользовательские-типы-данных-сэмплирования`,children:`Пользовательские типы данных сэмплирования`}),`\n`,_jsx(Heading,{level:`3`,id:`шум`,children:`Шум`}),`\n`,_jsxs(_components.p,{children:[`Тип данных `,_jsx(_components.code,{children:`NOISE`}),` представляет `,_jsx(_components.em,{children:`источник`}),` шума (а не сам шум). Его может представлять любой объект Python, предоставляющий метод генерации шума с сигнатурой `,_jsx(_components.code,{children:`generate_noise(self, input_latent:Tensor) -> Tensor`}),`, и свойство `,_jsx(_components.code,{children:`seed:Optional[int]`}),`.`]}),`\n`,_jsxs(Tip,{children:[_jsx(_components.code,{children:`seed`}),` передаётся в метод `,_jsx(_components.code,{children:`sample`}),` гида в `,_jsx(_components.code,{children:`SamplerCustomAdvanced`}),`, но, судя по всему, ни один из стандартных гидов его не использует. Он необязателен, поэтому обычно можно задать его как None.`]}),`\n`,_jsxs(_components.p,{children:[`Когда требуется добавить шум, в этот метод передаётся латент. Метод должен вернуть `,_jsx(_components.code,{children:`Tensor`}),` той же формы, содержащий шум.`]}),`\n`,_jsxs(_components.p,{children:[`См. `,_jsx(_components.a,{href:`/ru/custom-nodes/backend/snippets#%D1%81%D0%BE%D0%B7%D0%B4%D0%B0%D0%BD%D0%B8%D0%B5-%D0%B2%D0%B0%D1%80%D0%B8%D0%B0%D1%86%D0%B8%D0%B9-%D1%88%D1%83%D0%BC%D0%B0`,children:`пример смешивания шума`})]}),`\n`,_jsx(Heading,{level:`3`,id:`сэмплер`,children:`Сэмплер`}),`\n`,_jsxs(_components.p,{children:[`Тип данных `,_jsx(_components.code,{children:`SAMPLER`}),` представляет сэмплер, который, в свою очередь, представляется объектом Python, предоставляющим метод `,_jsx(_components.code,{children:`sample`}),`. Выборка в Stable Diffusion выходит за рамки этого руководства; см. `,_jsx(_components.code,{children:`comfy/samplers.py`}),`, если хотите углубиться в эту часть кода.`]}),`\n`,_jsx(Heading,{level:`3`,id:`сигмы`,children:`Сигмы`}),`\n`,_jsxs(_components.p,{children:[`Тип данных `,_jsx(_components.code,{children:`SIGMAS`}),` представляет значения сигмы до и после каждого шага процесса выборки, создаваемые scheduler. Они представляются одномерным тензором длины `,_jsx(_components.code,{children:`steps+1`}),`, где каждый элемент задаёт шум, который ожидается перед соответствующим шагом, а последнее значение задаёт шум после финального шага.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`normal`}),` scheduler с 20 шагами и denoise, равным 1, для модели SDXL выдаёт:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`5`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`tensor([14.6146, 10.7468, 8.0815, 6.2049, 4.8557, `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` 3.8654, 3.1238, 2.5572, 2.1157, 1.7648, `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` 1.4806, 1.2458, 1.0481, 0.8784, 0.7297, `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` 0.5964, 0.4736, 0.3555, 0.2322, 0.0292, 0.0000])`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Tip,{children:[`Начальное значение сигмы зависит от модели, поэтому узлу scheduler требуется вход `,_jsx(_components.code,{children:`MODEL`}),`, чтобы получить выход SIGMAS`]}),`\n`,_jsx(Heading,{level:`3`,id:`гид`,children:`Гид`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GUIDER`}),` представляет собой обобщение процесса удаления шума, «направляемого» промптом или любой другой формой условия. В Comfy гид представляется `,_jsx(_components.code,{children:`callable`}),`-объектом Python, предоставляющим метод `,_jsx(_components.code,{children:`__call__(*args, **kwargs)`}),`, который вызывается в процессе выборки.`]}),`\n`,_jsxs(_components.p,{children:[`Метод `,_jsx(_components.code,{children:`__call__`}),` принимает (в `,_jsx(_components.code,{children:`args[0]`}),`) пакет зашумлённых латентов (тензор `,_jsx(_components.code,{children:`[B,C,H,W]`}),`) и возвращает предсказание шума (тензор той же формы).`]}),`\n`,_jsx(Heading,{level:`2`,id:`типы-данных-моделей`,children:`Типы данных моделей`}),`\n`,_jsxs(_components.p,{children:[`Существует ряд более технических типов данных для моделей Stable Diffusion. Наиболее важные из них: `,_jsx(_components.code,{children:`MODEL`}),`, `,_jsx(_components.code,{children:`CLIP`}),`, `,_jsx(_components.code,{children:`VAE`}),` и `,_jsx(_components.code,{children:`CONDITIONING`}),`.\nРабота с ними (пока что) выходит за рамки этого руководства! `]}),`\n`,_jsx(Heading,{level:`2`,id:`additional-parameters`,children:`Дополнительные параметры`}),`\n`,_jsx(_components.p,{children:`Ниже приведён список официально поддерживаемых ключей, которые можно использовать в части «extra options» определения входа.`}),`\n`,_jsxs(Warning,{children:[`Вы можете использовать дополнительные ключи для своих пользовательских виджетов, но `,_jsx(_components.em,{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:`default`})}),_jsx(_components.td,{children:`Значение виджета по умолчанию`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`min`})}),_jsxs(_components.td,{children:[`Минимальное значение числа (`,_jsx(_components.code,{children:`FLOAT`}),` или `,_jsx(_components.code,{children:`INT`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`max`})}),_jsxs(_components.td,{children:[`Максимальное значение числа (`,_jsx(_components.code,{children:`FLOAT`}),` или `,_jsx(_components.code,{children:`INT`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`step`})}),_jsx(_components.td,{children:`Количество, на которое увеличивается или уменьшается значение виджета`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`label_on`})}),_jsxs(_components.td,{children:[`Подпись в интерфейсе, когда bool равен `,_jsx(_components.code,{children:`True`}),` (`,_jsx(_components.code,{children:`BOOL`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`label_off`})}),_jsxs(_components.td,{children:[`Подпись в интерфейсе, когда bool равен `,_jsx(_components.code,{children:`False`}),` (`,_jsx(_components.code,{children:`BOOL`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`defaultInput`})}),_jsx(_components.td,{children:`По умолчанию использует входной сокет вместо поддерживаемого виджета`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`forceInput`})}),_jsxs(_components.td,{children:[`То же, что `,_jsx(_components.code,{children:`defaultInput`}),`, и дополнительно запрещает преобразование в виджет`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`multiline`})}),_jsxs(_components.td,{children:[`Использовать многострочное текстовое поле (`,_jsx(_components.code,{children:`STRING`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`placeholder`})}),_jsxs(_components.td,{children:[`Текст-заполнитель, отображаемый в интерфейсе, когда поле пустое (`,_jsx(_components.code,{children:`STRING`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`dynamicPrompts`})}),_jsx(_components.td,{children:`Заставляет фронтенд вычислять динамические промпты`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lazy`})}),_jsxs(_components.td,{children:[`Объявляет, что этот вход использует `,_jsx(_components.a,{href:`/ru/custom-nodes/backend/lazy_evaluation`,children:`ленивое вычисление`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rawLink`})}),_jsxs(_components.td,{children:[`Если соединение существует, вместо вычисленного значения вы получите само соединение (т.е. `,_jsx(_components.code,{children:`[\"nodeId\", \u003coutputIndex>]`}),`). В основном полезно, когда ваш узел использует `,_jsx(_components.a,{href:`/ru/custom-nodes/backend/expansion`,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":"Типы данных пользовательских узлов ComfyUI","sidebarTitle":"Типы данных","description":"Типы данных пользовательских узлов ComfyUI: Python, форматы тензоров (IMAGE, LATENT, MASK), пользовательские типы и подстановочные знаки в INPUT_TYPES.","translationSourceHash":"f04aba65","translationFrom":"custom-nodes/backend/datatypes.mdx","translationBlockHashes":{"_intro":"80373b23","Comfy datatypes":"fcd90f30","Python datatypes":"37b2f2ea","Tensor datatypes":"cfddd57a","Custom Sampling datatypes":"3f4ac4eb","Model datatypes":"26b3c960","Additional Parameters":"cd3afb90"},"href":"/ru/custom-nodes/backend/datatypes"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Типы данных ComfyUI","slug":"типы-данных-comfyui","depth":2,"children":[{"title":"COMBO","slug":"combo","depth":3,"children":[]},{"title":"Примитив и перенаправление","slug":"примитив-и-перенаправление","depth":3,"children":[]}]},{"title":"Типы данных Python","slug":"типы-данных-python","depth":2,"children":[{"title":"INT","slug":"int","depth":3,"children":[]},{"title":"FLOAT","slug":"float","depth":3,"children":[]},{"title":"STRING","slug":"string","depth":3,"children":[]},{"title":"BOOLEAN","slug":"boolean","depth":3,"children":[]}]},{"title":"Типы данных тензоров","slug":"типы-данных-тензоров","depth":2,"children":[{"title":"IMAGE","slug":"image","depth":3,"children":[]},{"title":"LATENT","slug":"latent","depth":3,"children":[]},{"title":"MASK","slug":"mask","depth":3,"children":[]},{"title":"AUDIO","slug":"audio","depth":3,"children":[]}]},{"title":"Пользовательские типы данных сэмплирования","slug":"пользовательские-типы-данных-сэмплирования","depth":2,"children":[{"title":"Шум","slug":"шум","depth":3,"children":[]},{"title":"Сэмплер","slug":"сэмплер","depth":3,"children":[]},{"title":"Сигмы","slug":"сигмы","depth":3,"children":[]},{"title":"Гид","slug":"гид","depth":3,"children":[]}]},{"title":"Типы данных моделей","slug":"типы-данных-моделей","depth":2,"children":[]},{"title":"Дополнительные параметры","slug":"additional-parameters","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/dripart/0598a3d384a97986/giscus-comments.js","/_mintlify/custom/dripart/bd0341946f3c75a6/syft.js","/_mintlify/custom/dripart/042392a43b5e681e/samples-cards.js"],"subdomain":"dripart","siteName":"ComfyUI","title":"Типы данных пользовательских узлов ComfyUI - ComfyUI","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/custom-nodes/backend/datatypes","matchLevel":1},"zh":{"href":"/zh/custom-nodes/backend/datatypes","matchLevel":1},"ja":{"href":"/ja/custom-nodes/backend/datatypes","matchLevel":1},"ko":{"href":"/ko/custom-nodes/backend/datatypes","matchLevel":1},"es":{"href":"/es/custom-nodes/backend/datatypes","matchLevel":1},"ru":{"href":"/ru/custom-nodes/backend/datatypes","matchLevel":0}}},"lastModified":"2026-12-02T18:35:05.640Z","originalFileLocation":"ru/custom-nodes/backend/datatypes.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=\"dark\"}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=\"Типы данных пользовательских узлов ComfyUI: Python, форматы тензоров (IMAGE, LATENT, MASK), пользовательские типы и подстановочные знаки в INPUT_TYPES.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ComfyUI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Типы данных пользовательских узлов ComfyUI - ComfyUI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Типы данных пользовательских узлов ComfyUI: Python, форматы тензоров (IMAGE, LATENT, MASK), пользовательские типы и подстановочные знаки в INPUT_TYPES.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ComfyUI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.comfy.org/ru/custom-nodes/backend/datatypes\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dripart.mintlify.site/_mintlify/api/og/v2?division=Python+%28%D0%B1%D1%8D%D0%BA%D0%B5%D0%BD%D0%B4%29\u0026amp;title=%D0%A2%D0%B8%D0%BF%D1%8B+%D0%B4%D0%B0%D0%BD%D0%BD%D1%8B%D1%85+%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D1%81%D0%BA%D0%B8%D1%85+%D1%83%D0%B7%D0%BB%D0%BE%D0%B2+ComfyUI\u0026amp;description=%D0%A2%D0%B8%D0%BF%D1%8B+%D0%B4%D0%B0%D0%BD%D0%BD%D1%8B%D1%85+%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D1%81%D0%BA%D0%B8%D1%85+%D1%83%D0%B7%D0%BB%D0%BE%D0%B2+ComfyUI%3A+Python%2C+%D1%84%D0%BE%D1%80%D0%BC%D0%B0%D1%82%D1%8B+%D1%82%D0%B5%D0%BD%D0%B7%D0%BE%D1%80%D0%BE%D0%B2+%28IMAGE%2C+LATENT%2C+MASK%29%2C+%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D1%81%D0%BA%D0%B8%D0%B5+%D1%82%D0%B8%D0%BF%D1%8B+%D0%B8+%D0%BF%D0%BE%D0%B4%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BE%D1%87%D0%BD%D1%8B%D0%B5+%D0%B7%D0%BD%D0%B0%D0%BA%D0%B8+%D0%B2+INPUT_TYPES.\u0026amp;theme=b252c39adf72ba65053766a0\u0026amp;signature=993728ed12f5cea45e38947e68bed8f0353a068e8f0ca92347b252ec3cab514f\">\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=\"Типы данных пользовательских узлов ComfyUI - ComfyUI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Типы данных пользовательских узлов ComfyUI: Python, форматы тензоров (IMAGE, LATENT, MASK), пользовательские типы и подстановочные знаки в INPUT_TYPES.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dripart.mintlify.site/_mintlify/api/og/v2?division=Python+%28%D0%B1%D1%8D%D0%BA%D0%B5%D0%BD%D0%B4%29\u0026amp;title=%D0%A2%D0%B8%D0%BF%D1%8B+%D0%B4%D0%B0%D0%BD%D0%BD%D1%8B%D1%85+%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D1%81%D0%BA%D0%B8%D1%85+%D1%83%D0%B7%D0%BB%D0%BE%D0%B2+ComfyUI\u0026amp;description=%D0%A2%D0%B8%D0%BF%D1%8B+%D0%B4%D0%B0%D0%BD%D0%BD%D1%8B%D1%85+%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D1%81%D0%BA%D0%B8%D1%85+%D1%83%D0%B7%D0%BB%D0%BE%D0%B2+ComfyUI%3A+Python%2C+%D1%84%D0%BE%D1%80%D0%BC%D0%B0%D1%82%D1%8B+%D1%82%D0%B5%D0%BD%D0%B7%D0%BE%D1%80%D0%BE%D0%B2+%28IMAGE%2C+LATENT%2C+MASK%29%2C+%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D1%81%D0%BA%D0%B8%D0%B5+%D1%82%D0%B8%D0%BF%D1%8B+%D0%B8+%D0%BF%D0%BE%D0%B4%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BE%D1%87%D0%BD%D1%8B%D0%B5+%D0%B7%D0%BD%D0%B0%D0%BA%D0%B8+%D0%B2+INPUT_TYPES.\u0026amp;theme=b252c39adf72ba65053766a0\u0026amp;signature=993728ed12f5cea45e38947e68bed8f0353a068e8f0ca92347b252ec3cab514f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ComfyUI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#49378B\">\u003cmeta data-mint-head name=\"googlebot\" content=\"max-video-preview:0\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.comfy.org/ru/custom-nodes/backend/datatypes\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ru/custom-nodes/backend/datatypes.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.comfy.org/ru/custom-nodes/backend/datatypes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.comfy.org/custom-nodes/backend/datatypes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.comfy.org/zh/custom-nodes/backend/datatypes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.comfy.org/ja/custom-nodes/backend/datatypes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.comfy.org/ko/custom-nodes/backend/datatypes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.comfy.org/es/custom-nodes/backend/datatypes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.comfy.org/custom-nodes/backend/datatypes\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.comfy.org/#organization\",\"name\":\"ComfyUI\",\"url\":\"https://docs.comfy.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dripart/WCFdTagRdhtvk9-o/logo/light.svg?fit=max\u0026auto=format\u0026n=WCFdTagRdhtvk9-o\u0026q=85\u0026s=ec112de87239058f5a931a7e4b594965\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.comfy.org#website\",\"name\":\"ComfyUI\",\"url\":\"https://docs.comfy.org\",\"publisher\":{\"@id\":\"https://docs.comfy.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.comfy.org/ru/custom-nodes/backend/datatypes#webpage\",\"url\":\"https://docs.comfy.org/ru/custom-nodes/backend/datatypes\",\"name\":\"Типы данных пользовательских узлов ComfyUI\",\"description\":\"Типы данных пользовательских узлов ComfyUI: Python, форматы тензоров (IMAGE, LATENT, MASK), пользовательские типы и подстановочные знаки в INPUT_TYPES.\",\"dateModified\":\"2026-12-02T18:35:05.640Z\",\"isPartOf\":{\"@id\":\"https://docs.comfy.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.comfy.org/ru/custom-nodes/backend/datatypes#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.comfy.org/ru/custom-nodes/backend/datatypes#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Пользовательские узлы\",\"item\":\"https://docs.comfy.org/ru/custom-nodes/intro\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Создание пользовательских узлов\",\"item\":\"https://docs.comfy.org/ru/custom-nodes/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Python (бэкенд)\",\"item\":\"https://docs.comfy.org/ru/custom-nodes/backend/server_overview\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Типы данных пользовательских узлов ComfyUI\",\"item\":\"https://docs.comfy.org/ru/custom-nodes/backend/datatypes\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.comfy.org/ru/custom-nodes/backend/datatypes#article\",\"headline\":\"Типы данных пользовательских узлов ComfyUI\",\"name\":\"Типы данных пользовательских узлов ComfyUI\",\"description\":\"Типы данных пользовательских узлов ComfyUI: Python, форматы тензоров (IMAGE, LATENT, MASK), пользовательские типы и подстановочные знаки в INPUT_TYPES.\",\"url\":\"https://docs.comfy.org/ru/custom-nodes/backend/datatypes\",\"mainEntityOfPage\":{\"@id\":\"https://docs.comfy.org/ru/custom-nodes/backend/datatypes#webpage\"},\"dateModified\":\"2026-12-02T18:35:05.640Z\",\"publisher\":{\"@id\":\"https://docs.comfy.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.comfy.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ComfyUI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ComfyUI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/ru/custom-nodes/backend/datatypes.md","siteName":"ComfyUI","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/custom-nodes/backend/datatypes"}]},{"language":"zh","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"资源","items":[{"label":"安装","href":"/zh/installation/system_requirements"},{"label":"教程","href":"/zh/tutorials/basic/text-to-image"},{"label":"开发","href":"/zh/development/overview"}]},{"header":"产品","items":[{"label":"功能","href":"https://www.comfy.org/?utm_source=docs"},{"label":"画廊","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"下载","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"公司","items":[{"label":"关于","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"招聘","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"服务条款","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"隐私政策","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"pages":[{"title":"zh","href":"/zh/custom-nodes/backend/datatypes"}]},{"language":"ja","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"リソース","items":[{"label":"インストール","href":"/ja/installation/system_requirements"},{"label":"チュートリアル","href":"/ja/tutorials/basic/text-to-image"},{"label":"開発","href":"/ja/development/overview"}]},{"header":"プロダクト","items":[{"label":"機能","href":"https://www.comfy.org/?utm_source=docs"},{"label":"ギャラリー","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"ダウンロード","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"会社情報","items":[{"label":"概要","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"採用情報","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"利用規約","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"プライバシーポリシー","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"navbar":{"links":[{"href":"/ja/tutorials/partner-nodes/pricing","label":"料金"},{"href":"https://comfy.org/download?utm_source=docs","label":"ダウンロード"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"pages":[{"title":"ja","href":"/ja/custom-nodes/backend/datatypes"}]},{"language":"ko","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"리소스","items":[{"label":"설치","href":"/ko/installation/system_requirements"},{"label":"튜토리얼","href":"/ko/tutorials/basic/text-to-image"},{"label":"개발","href":"/ko/development/overview"}]},{"header":"제품","items":[{"label":"기능","href":"https://www.comfy.org/?utm_source=docs"},{"label":"갤러리","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"다운로드","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"회사 정보","items":[{"label":"소개","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"채용","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"이용약관","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"개인정보 처리방침","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"navbar":{"links":[{"href":"/ko/tutorials/partner-nodes/pricing","label":"가격 정책"},{"href":"https://comfy.org/download?utm_source=docs","label":"다운로드"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"pages":[{"title":"ko","href":"/ko/custom-nodes/backend/datatypes"}]},{"language":"es","pages":[{"title":"es","href":"/es/custom-nodes/backend/datatypes"}]},{"language":"ru","tabs":[{"tab":"Начало работы","pages":[{"title":"Начало работы","href":"/ru"}]},{"tab":"Руководства","pages":[{"title":"Руководства","href":"/ru/basic-concepts/workflow"}]},{"tab":"Comfy Router","pages":[{"title":"Comfy Router","href":"/ru/development/comfy-router/quickstart"}]},{"tab":"Инструменты для агентов","pages":[{"title":"Инструменты для агентов","href":"/ru/agent-tools"}]},{"tab":"Для разработчиков","pages":[{"group":"Разработка с Comfy","pages":[{"title":"ComfyUI для разработчиков: SDK, Server API и облако","sidebarTitle":"Обзор для разработчиков","href":"/ru/development/overview"},{"title":"Получение API-ключа","sidebarTitle":"API-ключи","icon":"key","href":"/ru/development/api-development/getting-an-api-key"},{"title":"Примеры Comfy API: вызовы Router, развёртывания и приложения","sidebarTitle":"Примеры","icon":"code","mode":"wide","href":"/ru/development/examples"}]},{"group":"Развёртывание ComfyUI","pages":[{"title":"Развернуть ComfyUI","sidebarTitle":"Обзор","icon":"map","href":"/ru/development/deploy/overview"},{"group":"Comfy Cloud","root":{"title":"Развернуть в Comfy Cloud","sidebarTitle":"Развернуть в Comfy Cloud","icon":"cloud","href":"/ru/development/deploy/cloud"},"pages":[{"title":"Развернуть в Comfy Cloud","sidebarTitle":"Развернуть в Comfy Cloud","icon":"cloud","href":"/ru/development/deploy/cloud"},{"title":"Добавление пользовательских сборок в Comfy Cloud","sidebarTitle":"Пользовательские сборки","icon":"puzzle-piece","href":"/ru/development/deploy/cloud-custom-builds"},{"title":"Управление развёртываниями Comfy Cloud и версиями сборок","sidebarTitle":"Управление развёртываниями","icon":"cloud-arrow-up","href":"/ru/development/serverless/overview"},{"title":"Использование и лимиты","sidebarTitle":"Использование и лимиты","icon":"gauge","href":"/ru/development/deploy/cloud-usage"}]},{"group":"Варианты собственного хостинга","root":{"title":"Самостоятельный хостинг ComfyUI: bare metal, GPU-облака и Docker","sidebarTitle":"Варианты хостинга","icon":"server","href":"/ru/development/deploy/self-hosting"},"pages":[{"title":"Самостоятельный хостинг ComfyUI: bare metal, GPU-облака и Docker","sidebarTitle":"Варианты хостинга","icon":"server","href":"/ru/development/deploy/self-hosting"},{"group":"Server API для собственного хостинга","pages":[{"title":"Обзор сервера ComfyUI: REST и WebSocket API","sidebarTitle":"Обзор сервера","href":"/ru/development/comfyui-server/comms_overview"},{"title":"Примеры API сервера ComfyUI: HTTP, WebSocket, история","sidebarTitle":"Примеры API","href":"/ru/development/comfyui-server/api-examples"},{"title":"Маршруты сервера ComfyUI (HTTP и WebSocket API)","sidebarTitle":"Маршруты HTTP и WebSocket","icon":"route","href":"/ru/development/comfyui-server/comms_routes"},{"title":"Сообщения сервера ComfyUI (WebSocket API)","sidebarTitle":"Сообщения WebSocket","icon":"comment","href":"/ru/development/comfyui-server/comms_messages"},{"title":"Флаги запуска ComfyUI: справочник по командной строке","sidebarTitle":"Флаги запуска","icon":"terminal","href":"/ru/development/comfyui-server/startup-flags"},{"title":"Интеграция API-ключа аккаунта ComfyUI","sidebarTitle":"Интеграция API-ключа","icon":"puzzle-piece","href":"/ru/development/comfyui-server/api-key-integration"}]}]},{"group":"Запуск рабочих процессов","pages":[{"title":"Запуск рабочих процессов ComfyUI: SDK и серверные API","sidebarTitle":"Обзор","icon":"play","href":"/ru/development/run-workflows/overview"},{"title":"Запустить первый рабочий процесс","sidebarTitle":"Первый рабочий процесс","href":"/ru/development/api-development/quickstart"},{"title":"SDK ComfyUI: клиенты Python и TypeScript для ComfyUI","sidebarTitle":"SDK","icon":"code","href":"/ru/development/api-development/sdks"},{"title":"API-прокси для собственного ComfyUI","sidebarTitle":"API-прокси","icon":"plug","href":"/ru/development/comfyui-server/api-proxy"},{"title":"Формат API рабочего процесса ComfyUI: экспорт JSON для отправки через API","sidebarTitle":"Формат API рабочего процесса","icon":"file-code","href":"/ru/development/api-development/workflow-api-format"},{"title":"Метаданные рабочего процесса ComfyUI в выходных файлах","sidebarTitle":"Метаданные рабочего процесса","icon":"file-code","href":"/ru/development/api-development/workflow-metadata"},{"group":"Справочник Comfy API","boost":10,"pages":[{"title":"Версии Comfy API: v2 и устаревший облачный API v1","sidebarTitle":"Обзор","href":"/ru/development/comfy-api/overview"},{"group":"v2","pages":[{"title":"Обзор Comfy API v2","sidebarTitle":"Обзор","href":"/ru/api-reference/v2/overview"},{"title":"Заметки о дизайне Comfy API v2: версионирование и задания","sidebarTitle":"Заметки о дизайне","icon":"compass","href":"/ru/development/api-development/sdks-design"},{"group":"Справочник API","pages":[{"group":"assets","pages":[{"title":"Upload an asset (single-call multipart)","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml post /api/v2/assets","href":"/ru/api-reference/v2/assets/upload-an-asset-single-call-multipart"},{"title":"Create or reuse an asset over existing bytes","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml post /api/v2/assets/from-hash","href":"/ru/api-reference/v2/assets/create-or-reuse-an-asset-over-existing-bytes"},{"title":"Existence check for a blob by blake3 hash","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml head /api/v2/assets/by-hash/{hash}","href":"/ru/api-reference/v2/assets/existence-check-for-a-blob-by-blake3-hash"},{"title":"Asset metadata","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml get /api/v2/assets/{id}","href":"/ru/api-reference/v2/assets/asset-metadata"},{"title":"Delete an asset record","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml delete /api/v2/assets/{id}","href":"/ru/api-reference/v2/assets/delete-an-asset-record"},{"title":"Asset bytes","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml get /api/v2/assets/{id}/content","href":"/ru/api-reference/v2/assets/asset-bytes"}]},{"group":"jobs","pages":[{"title":"List jobs, newest first","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml get /api/v2/jobs","href":"/ru/api-reference/v2/jobs/list-jobs-newest-first"},{"title":"Submit a workflow for execution","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml post /api/v2/jobs","href":"/ru/api-reference/v2/jobs/submit-a-workflow-for-execution"},{"title":"Job status (the polling workhorse)","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml get /api/v2/jobs/{id}","href":"/ru/api-reference/v2/jobs/job-status-the-polling-workhorse"},{"title":"The workflow behind a job — authoring version if pinned, executed graph otherwise","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml get /api/v2/jobs/{id}/workflow","href":"/ru/api-reference/v2/jobs/the-workflow-behind-a-job-—-authoring-version-if-pinned-executed-graph-otherwise"},{"title":"What the run printed","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml get /api/v2/jobs/{id}/logs","href":"/ru/api-reference/v2/jobs/what-the-run-printed"},{"title":"Live event stream (SSE)","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml get /api/v2/jobs/{id}/events","href":"/ru/api-reference/v2/jobs/live-event-stream-sse"},{"title":"Request cancellation","deprecated":null,"version":null,"openapi":"/openapi-v2.yaml post /api/v2/jobs/{id}/cancel","href":"/ru/api-reference/v2/jobs/request-cancellation"}]}]}]},{"group":"v1 Cloud API (устарело)","pages":[{"title":"Обзор v1 Cloud API","sidebarTitle":"Обзор","href":"/ru/development/cloud/overview"},{"title":"Справочник по Cloud API","sidebarTitle":"Примеры кода","icon":"book-open","href":"/ru/development/cloud/api-reference"},{"title":"Спецификация OpenAPI","icon":"file-lines","openapi":"/openapi-cloud.yaml","href":"/ru/development/cloud/openapi"},{"group":"Справочник Cloud API","pages":[{"group":"workflow","pages":[{"title":"Get information about current prompt executions","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/prompt","href":"/ru/api-reference/cloud/workflow/get-information-about-current-prompt-executions"},{"title":"Submit a workflow for execution","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/prompt","href":"/ru/api-reference/cloud/workflow/submit-a-workflow-for-execution"},{"title":"Get available workflow templates","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/workflow_templates","href":"/ru/api-reference/cloud/workflow/get-available-workflow-templates"},{"title":"Get available subgraph blueprints","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/global_subgraphs","href":"/ru/api-reference/cloud/workflow/get-available-subgraph-blueprints"},{"title":"Get a specific subgraph blueprint","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/global_subgraphs/{id}","href":"/ru/api-reference/cloud/workflow/get-a-specific-subgraph-blueprint"}]},{"group":"node","pages":[{"title":"Get all node information","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/object_info","href":"/ru/api-reference/cloud/node/get-all-node-information"},{"title":"Get server feature flags","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/features","href":"/ru/api-reference/cloud/node/get-server-feature-flags"}]},{"group":"model","pages":[{"title":"Get available model folders","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/experiment/models","href":"/ru/api-reference/cloud/model/get-available-model-folders"},{"title":"Get models in a specific folder","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/experiment/models/{folder}","href":"/ru/api-reference/cloud/model/get-models-in-a-specific-folder"},{"title":"Get model preview image","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/experiment/models/preview/{folder}/{path_index}/{filename}","href":"/ru/api-reference/cloud/model/get-model-preview-image"}]},{"group":"job","pages":[{"title":"Manage execution history","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/history","href":"/ru/api-reference/cloud/job/manage-execution-history"},{"title":"Get execution history (v2)","deprecated":true,"version":null,"openapi":"/openapi-cloud.yaml get /api/history_v2","href":"/ru/api-reference/cloud/job/get-execution-history-v2"},{"title":"Get history for specific prompt","deprecated":true,"version":null,"openapi":"/openapi-cloud.yaml get /api/history_v2/{prompt_id}","href":"/ru/api-reference/cloud/job/get-history-for-specific-prompt"},{"title":"List jobs with pagination and filtering","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/jobs","href":"/ru/api-reference/cloud/job/list-jobs-with-pagination-and-filtering"},{"title":"Get full job details","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/jobs/{job_id}","href":"/ru/api-reference/cloud/job/get-full-job-details"},{"title":"Get queue information","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/queue","href":"/ru/api-reference/cloud/job/get-queue-information"},{"title":"Manage queue operations","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/queue","href":"/ru/api-reference/cloud/job/manage-queue-operations"},{"title":"Interrupt currently running jobs","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/interrupt","href":"/ru/api-reference/cloud/job/interrupt-currently-running-jobs"},{"title":"Get job status","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/job/{job_id}/status","href":"/ru/api-reference/cloud/job/get-job-status"}]},{"group":"file","pages":[{"title":"View a file","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/view","href":"/ru/api-reference/cloud/file/view-a-file"},{"title":"Get related mask layer files","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/files/mask-layers","href":"/ru/api-reference/cloud/file/get-related-mask-layer-files"},{"title":"Upload an image file","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/upload/image","href":"/ru/api-reference/cloud/file/upload-an-image-file"},{"title":"Upload a mask image","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/upload/mask","href":"/ru/api-reference/cloud/file/upload-a-mask-image"}]},{"group":"asset","pages":[{"title":"List user assets","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/assets","href":"/ru/api-reference/cloud/asset/list-user-assets"},{"title":"Upload a new asset","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/assets","href":"/ru/api-reference/cloud/asset/upload-a-new-asset"},{"title":"Create asset reference from existing hash","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/assets/from-hash","href":"/ru/api-reference/cloud/asset/create-asset-reference-from-existing-hash"},{"title":"Get asset metadata from remote URL","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/assets/remote-metadata","href":"/ru/api-reference/cloud/asset/get-asset-metadata-from-remote-url"},{"title":"Initiate background download for large files","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/assets/download","href":"/ru/api-reference/cloud/asset/initiate-background-download-for-large-files"},{"title":"Get asset details","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/assets/{id}","href":"/ru/api-reference/cloud/asset/get-asset-details"},{"title":"Update asset metadata","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml put /api/assets/{id}","href":"/ru/api-reference/cloud/asset/update-asset-metadata"},{"title":"Delete asset","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml delete /api/assets/{id}","href":"/ru/api-reference/cloud/asset/delete-asset"},{"title":"Add tags to asset","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/assets/{id}/tags","href":"/ru/api-reference/cloud/asset/add-tags-to-asset"},{"title":"Remove tags from asset","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml delete /api/assets/{id}/tags","href":"/ru/api-reference/cloud/asset/remove-tags-from-asset"},{"title":"List all tags","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/tags","href":"/ru/api-reference/cloud/asset/list-all-tags"},{"title":"Get tag histogram for filtered assets","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/assets/tags/refine","href":"/ru/api-reference/cloud/asset/get-tag-histogram-for-filtered-assets"},{"title":"Check if asset exists by hash","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml head /api/assets/hash/{hash}","href":"/ru/api-reference/cloud/asset/check-if-asset-exists-by-hash"}]},{"group":"user","pages":[{"title":"List user data files","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/userdata","href":"/ru/api-reference/cloud/user/list-user-data-files"},{"title":"Get user data file","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/userdata/{file}","href":"/ru/api-reference/cloud/user/get-user-data-file"},{"title":"Upload or update a user data file","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml post /api/userdata/{file}","href":"/ru/api-reference/cloud/user/upload-or-update-a-user-data-file"},{"title":"Delete a user data file","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml delete /api/userdata/{file}","href":"/ru/api-reference/cloud/user/delete-a-user-data-file"},{"title":"Get current user information","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/user","href":"/ru/api-reference/cloud/user/get-current-user-information"}]},{"group":"system","pages":[{"title":"Get system statistics","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/system_stats","href":"/ru/api-reference/cloud/system/get-system-statistics"}]},{"group":"billing","pages":[{"title":"Get workspace usage over time","deprecated":null,"version":null,"openapi":"/openapi-cloud.yaml get /api/billing/usage/timeseries","href":"/ru/api-reference/cloud/billing/get-workspace-usage-over-time"}]}]}]}]}]}]},{"group":"Comfy CLI","pages":[{"title":"Начать работу с Comfy CLI","sidebarTitle":"Начать","href":"/ru/comfy-cli/getting-started"},{"title":"Справочник команд Comfy CLI","sidebarTitle":"Справочник команд","href":"/ru/comfy-cli/reference"},{"title":"Устранение неполадок Comfy CLI: настройка и установка","sidebarTitle":"Устранение неполадок","href":"/ru/comfy-cli/troubleshooting"}]},{"group":"Спецификации","pages":[{"group":"Workflow JSON","pages":[{"title":"JSON рабочего процесса","href":"/ru/specs/workflow_json"},{"title":"JSON рабочего процесса 0.4","href":"/ru/specs/workflow_json_0.4"}]},{"group":"Определения узлов","pages":[{"title":"JSON определения узла","href":"/ru/specs/nodedef_json"},{"title":"Определение узла JSON 1.0","href":"/ru/specs/nodedef_json_1_0"}]}]},{"group":"Пользовательские узлы","pages":[{"title":"Разработка пользовательских узлов ComfyUI: создание, расширение и публикация","sidebarTitle":"Обзор","href":"/ru/custom-nodes/intro"},{"group":"Создание пользовательских узлов","pages":[{"title":"Типы и архитектура пользовательских узлов ComfyUI","sidebarTitle":"Типы узлов","href":"/ru/custom-nodes/overview"},{"title":"Создание пользовательских узлов в ComfyUI","sidebarTitle":"Создать первый узел","href":"/ru/custom-nodes/walkthrough"},{"group":"Python (бэкенд)","pages":[{"title":"Свойства пользовательских узлов ComfyUI","sidebarTitle":"Свойства узла","href":"/ru/custom-nodes/backend/server_overview"},{"title":"Жизненный цикл пользовательских узлов ComfyUI","sidebarTitle":"Жизненный цикл узла","description":"ComfyUI загружает пользовательские узлы при запуске и читает NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS и WEB_DIRECTORY для регистрации узлов и JavaScript.","href":"/ru/custom-nodes/backend/lifecycle"},{"title":"Типы данных пользовательских узлов ComfyUI","sidebarTitle":"Типы данных","href":"/ru/custom-nodes/backend/datatypes"},{"title":"Изображения, латенты и маски","description":"Работа с изображениями и масками в пользовательских узлах ComfyUI: формы тензоров PyTorch, преобразования PIL и латенты.","sidebarTitle":"Изображения, латенты, маски","href":"/ru/custom-nodes/backend/images_and_masks"},{"title":"Скрытые и гибкие входы","sidebarTitle":"Скрытые и гибкие входы","href":"/ru/custom-nodes/backend/more_on_inputs"},{"title":"Ленивые вычисления в ComfyUI для пользовательских узлов","sidebarTitle":"Ленивые вычисления","href":"/ru/custom-nodes/backend/lazy_evaluation"},{"title":"Расширение узлов ComfyUI: возврат подграфов из узла","sidebarTitle":"Расширение узлов","href":"/ru/custom-nodes/backend/expansion"},{"title":"Списки данных и обработка списков в ComfyUI","sidebarTitle":"Списки и обработка списков","href":"/ru/custom-nodes/backend/lists"},{"title":"torch.Tensor в ComfyUI: формы и операции","sidebarTitle":"Тензоры","href":"/ru/custom-nodes/backend/tensors"},{"title":"Фрагменты кода Python для пользовательских узлов ComfyUI","sidebarTitle":"Фрагменты Python","href":"/ru/custom-nodes/backend/snippets"},{"title":"Руководство по инверсии модели выполнения","sidebarTitle":"Модель выполнения","icon":"code-branch","href":"/ru/development/comfyui-server/execution_model_inversion_guide"}]},{"group":"JavaScript (UI)","pages":[{"title":"Расширения JavaScript для веб-клиента ComfyUI","sidebarTitle":"Расширения JavaScript","href":"/ru/custom-nodes/js/javascript_overview"},{"title":"Хуки JavaScript в ComfyUI","sidebarTitle":"Хуки","href":"/ru/custom-nodes/js/javascript_hooks"},{"title":"Объекты фронтенда ComfyUI: LiteGraph, ComfyApp и ComfyNode","sidebarTitle":"Объекты Comfy","href":"/ru/custom-nodes/js/javascript_objects_and_hijacking"},{"title":"API настроек расширений ComfyUI","sidebarTitle":"API настроек","href":"/ru/custom-nodes/js/javascript_settings"},{"title":"API диалогов ComfyUI","sidebarTitle":"API диалогов","href":"/ru/custom-nodes/js/javascript_dialog"},{"title":"ComfyUI Toast API","sidebarTitle":"Toast API","href":"/ru/custom-nodes/js/javascript_toast"},{"title":"API значков панели «О программе» ComfyUI","sidebarTitle":"Значки панели «О программе»","href":"/ru/custom-nodes/js/javascript_about_panel_badges"},{"title":"API вкладок нижней панели ComfyUI","sidebarTitle":"Вкладки нижней панели","href":"/ru/custom-nodes/js/javascript_bottom_panel_tabs"},{"title":"API вкладок боковой панели ComfyUI","sidebarTitle":"Вкладки боковой панели","href":"/ru/custom-nodes/js/javascript_sidebar_tabs"},{"title":"API Selection Toolbox в ComfyUI","sidebarTitle":"Selection Toolbox","href":"/ru/custom-nodes/js/javascript_selection_toolbox"},{"title":"API команд и горячих клавиш ComfyUI","sidebarTitle":"Команды и горячие клавиши","href":"/ru/custom-nodes/js/javascript_commands_keybindings"},{"title":"API меню верхней панели ComfyUI","sidebarTitle":"API меню верхней панели","href":"/ru/custom-nodes/js/javascript_topbar_menu"},{"title":"Подграфы ComfyUI","sidebarTitle":"Подграфы","href":"/ru/custom-nodes/js/subgraphs"},{"title":"API указателя холста для виджетов и курсоров","sidebarTitle":"API указателя холста","href":"/ru/custom-nodes/js/canvas-pointer-api"},{"title":"Примеры JavaScript для пользовательских узлов: меню, события и хуки","sidebarTitle":"Примеры JavaScript","href":"/ru/custom-nodes/js/javascript_examples"}]},{"title":"i18n пользовательских узлов ComfyUI: локализация определений узлов","sidebarTitle":"Поддержка i18n","href":"/ru/custom-nodes/i18n"},{"group":"Руководства по миграции","pages":[{"title":"Миграция пользовательских узлов ComfyUI на V3: переход со схемы V1 на V3","href":"/ru/custom-nodes/v3_migration"},{"title":"Миграция на API контекстного меню ComfyUI: меню холста и узлов","sidebarTitle":"Миграция контекстного меню","href":"/ru/custom-nodes/js/context-menu-migration"},{"title":"Миграция идентификаторов узлов для расширений фронтенда","sidebarTitle":"Миграция идентификаторов узлов","href":"/ru/custom-nodes/js/node-id-migration"},{"title":"Миграция регистрации ссылок для фронтенд-расширений","sidebarTitle":"Регистрация ссылок","href":"/ru/custom-nodes/js/link-registration-migration"},{"title":"Миграция системы виджетов для расширений фронтенда","sidebarTitle":"Миграция системы виджетов","href":"/ru/custom-nodes/js/widgets-migration"},{"title":"Миграция обратных вызовов подключений для расширений фронтенда","sidebarTitle":"Обратные вызовы подключений","href":"/ru/custom-nodes/js/connection-callbacks-migration"},{"title":"Миграция колбэков сериализации для расширений фронтенда","sidebarTitle":"Колбэки сериализации","href":"/ru/custom-nodes/js/serialization-callbacks-migration"},{"title":"Миграция геометрии узлов для расширений фронтенда","sidebarTitle":"Миграция геометрии узлов","href":"/ru/custom-nodes/js/node-geometry-migration"},{"title":"Миграция расширений фронтенда после удаления PrimeVue","sidebarTitle":"Удаление PrimeVue","href":"/ru/custom-nodes/js/primevue-removal-migration"},{"title":"Замена узлов ComfyUI: миграция устаревших узлов","sidebarTitle":"Замена узлов","href":"/ru/custom-nodes/backend/node-replacement"}]}]},{"group":"Упаковка и публикация","pages":[{"title":"Справка по пользовательским узлам ComfyUI в Markdown","sidebarTitle":"Документация узла","href":"/ru/custom-nodes/help_page"},{"title":"Шаблоны рабочих процессов","href":"/ru/custom-nodes/workflow_templates"},{"title":"Чертежи подграфов","href":"/ru/custom-nodes/subgraph_blueprints"},{"title":"Comfy Registry: публикация и версии пользовательских узлов","sidebarTitle":"Обзор реестра","href":"/ru/registry/overview"},{"title":"Публикация пользовательских узлов в Comfy Registry","sidebarTitle":"Публикация узлов","href":"/ru/registry/publishing"},{"title":"Опубликовать пользовательский узел в ComfyUI Manager","sidebarTitle":"Опубликовать в Manager","href":"/ru/custom-nodes/backend/manager"},{"title":"Заявить права на пользовательский узел в Comfy Registry","sidebarTitle":"Заявить права на узел","href":"/ru/registry/claim-my-node"},{"title":"Стандарты качества и безопасности узлов Comfy Registry","sidebarTitle":"Качество и безопасность","href":"/ru/registry/standards"},{"title":"CI/CD пользовательских узлов","sidebarTitle":"CI/CD","href":"/ru/registry/cicd"},{"title":"ComfyUI Registry: спецификация pyproject.toml для пользовательских узлов","sidebarTitle":"pyproject.toml","href":"/ru/registry/specifications"},{"title":"Обзор API реестра пользовательских узлов","href":"/ru/registry/api-reference/overview"},{"group":"Справочник API реестра","pages":[{"group":"Admin","pages":[{"title":"Generate a short-lived JWT admin token","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /admin/generate-token","href":"/ru/registry/api-reference/admin/generate-a-short-lived-jwt-admin-token"}]},{"group":"Registry","pages":[{"title":"Retrieve multiple node versions in a single request","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /bulk/nodes/versions","href":"/ru/registry/api-reference/registry/retrieve-multiple-node-versions-in-a-single-request"},{"title":"list all comfy-nodes","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /comfy-nodes","href":"/ru/registry/api-reference/registry/list-all-comfy-nodes"},{"title":"Retrieve a node by ComfyUI node name","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /comfy-nodes/{comfyNodeName}/node","href":"/ru/registry/api-reference/registry/retrieve-a-node-by-comfyui-node-name"},{"title":"Get server feature flags","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /features","href":"/ru/registry/api-reference/registry/get-server-feature-flags"},{"title":"Retrieves a list of nodes","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /nodes","href":"/ru/registry/api-reference/registry/retrieves-a-list-of-nodes"},{"title":"Retrieves a list of nodes","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /nodes/search","href":"/ru/registry/api-reference/registry/retrieves-a-list-of-nodes-1"},{"title":"Retrieve a specific node by ID","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /nodes/{nodeId}","href":"/ru/registry/api-reference/registry/retrieve-a-specific-node-by-id"},{"title":"Returns a node version to be installed.","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /nodes/{nodeId}/install","href":"/ru/registry/api-reference/registry/returns-a-node-version-to-be-installed"},{"title":"Add review to a specific version of a node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /nodes/{nodeId}/reviews","href":"/ru/registry/api-reference/registry/add-review-to-a-specific-version-of-a-node"},{"title":"Create Node Translations","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /nodes/{nodeId}/translations","href":"/ru/registry/api-reference/registry/create-node-translations"},{"title":"List all versions of a node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /nodes/{nodeId}/versions","href":"/ru/registry/api-reference/registry/list-all-versions-of-a-node"},{"title":"Retrieve a specific version of a node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /nodes/{nodeId}/versions/{versionId}","href":"/ru/registry/api-reference/registry/retrieve-a-specific-version-of-a-node"},{"title":"list comfy-nodes for node version","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /nodes/{nodeId}/versions/{version}/comfy-nodes","href":"/ru/registry/api-reference/registry/list-comfy-nodes-for-node-version"},{"title":"create comfy-nodes for certain node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /nodes/{nodeId}/versions/{version}/comfy-nodes","href":"/ru/registry/api-reference/registry/create-comfy-nodes-for-certain-node"},{"title":"get specify comfy-node based on its id","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /nodes/{nodeId}/versions/{version}/comfy-nodes/{comfyNodeName}","href":"/ru/registry/api-reference/registry/get-specify-comfy-node-based-on-its-id"},{"title":"Update a specific comfy-node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi put /nodes/{nodeId}/versions/{version}/comfy-nodes/{comfyNodeName}","href":"/ru/registry/api-reference/registry/update-a-specific-comfy-node"},{"title":"Retrieve all publishers","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /publishers","href":"/ru/registry/api-reference/registry/retrieve-all-publishers"},{"title":"Create a new publisher","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /publishers","href":"/ru/registry/api-reference/registry/create-a-new-publisher"},{"title":"Validate if a publisher username is available","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /publishers/validate","href":"/ru/registry/api-reference/registry/validate-if-a-publisher-username-is-available"},{"title":"Retrieve a publisher by ID","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /publishers/{publisherId}","href":"/ru/registry/api-reference/registry/retrieve-a-publisher-by-id"},{"title":"Update a publisher","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi put /publishers/{publisherId}","href":"/ru/registry/api-reference/registry/update-a-publisher"},{"title":"Delete a publisher","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi delete /publishers/{publisherId}","href":"/ru/registry/api-reference/registry/delete-a-publisher"},{"title":"Retrieve all nodes","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /publishers/{publisherId}/nodes","href":"/ru/registry/api-reference/registry/retrieve-all-nodes"},{"title":"Create a new custom node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /publishers/{publisherId}/nodes","href":"/ru/registry/api-reference/registry/create-a-new-custom-node"},{"title":"Retrieve all nodes","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /publishers/{publisherId}/nodes/v2","href":"/ru/registry/api-reference/registry/retrieve-all-nodes-1"},{"title":"Update a specific node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi put /publishers/{publisherId}/nodes/{nodeId}","href":"/ru/registry/api-reference/registry/update-a-specific-node"},{"title":"Delete a specific node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi delete /publishers/{publisherId}/nodes/{nodeId}","href":"/ru/registry/api-reference/registry/delete-a-specific-node"},{"title":"Claim nodeId into publisherId for the authenticated publisher","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /publishers/{publisherId}/nodes/{nodeId}/claim-my-node","href":"/ru/registry/api-reference/registry/claim-nodeid-into-publisherid-for-the-authenticated-publisher"},{"title":"Retrieve permissions the user has for a given publisher","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /publishers/{publisherId}/nodes/{nodeId}/permissions","href":"/ru/registry/api-reference/registry/retrieve-permissions-the-user-has-for-a-given-publisher"},{"title":"Publish a new version of a node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /publishers/{publisherId}/nodes/{nodeId}/versions","href":"/ru/registry/api-reference/registry/publish-a-new-version-of-a-node"},{"title":"Update changelog and deprecation status of a node version","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi put /publishers/{publisherId}/nodes/{nodeId}/versions/{versionId}","href":"/ru/registry/api-reference/registry/update-changelog-and-deprecation-status-of-a-node-version"},{"title":"Unpublish (delete) a specific version of a node","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi delete /publishers/{publisherId}/nodes/{nodeId}/versions/{versionId}","href":"/ru/registry/api-reference/registry/unpublish-delete-a-specific-version-of-a-node"},{"title":"Retrieve permissions the user has for a given publisher","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /publishers/{publisherId}/permissions","href":"/ru/registry/api-reference/registry/retrieve-permissions-the-user-has-for-a-given-publisher-1"},{"title":"Create a new personal access token","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /publishers/{publisherId}/tokens","href":"/ru/registry/api-reference/registry/create-a-new-personal-access-token"},{"title":"Delete a specific personal access token","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi delete /publishers/{publisherId}/tokens/{tokenId}","href":"/ru/registry/api-reference/registry/delete-a-specific-personal-access-token"},{"title":"Get information about the calling user.","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /users","href":"/ru/registry/api-reference/registry/get-information-about-the-calling-user"},{"title":"Retrieve all publishers for a given user","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /users/publishers/","href":"/ru/registry/api-reference/registry/retrieve-all-publishers-for-a-given-user"},{"title":"List all node versions given some filters.","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /versions","href":"/ru/registry/api-reference/registry/list-all-node-versions-given-some-filters"}]},{"group":"Freepik","pages":[{"title":"Relight an image","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /proxy/freepik/v1/ai/image-relight","href":"/ru/registry/api-reference/freepik/relight-an-image"},{"title":"Get the status of the relight task","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /proxy/freepik/v1/ai/image-relight/{task_id}","href":"/ru/registry/api-reference/freepik/get-the-status-of-the-relight-task"},{"title":"Style transfer an image","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /proxy/freepik/v1/ai/image-style-transfer","href":"/ru/registry/api-reference/freepik/style-transfer-an-image"},{"title":"Get the status of the style transfer task","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /proxy/freepik/v1/ai/image-style-transfer/{task_id}","href":"/ru/registry/api-reference/freepik/get-the-status-of-the-style-transfer-task"},{"title":"Upscale an image with Magnific","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /proxy/freepik/v1/ai/image-upscaler","href":"/ru/registry/api-reference/freepik/upscale-an-image-with-magnific"},{"title":"Upscale an image with Precision V2","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /proxy/freepik/v1/ai/image-upscaler-precision-v2","href":"/ru/registry/api-reference/freepik/upscale-an-image-with-precision-v2"},{"title":"Get the status of the Precision V2 upscaling task","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /proxy/freepik/v1/ai/image-upscaler-precision-v2/{task_id}","href":"/ru/registry/api-reference/freepik/get-the-status-of-the-precision-v2-upscaling-task"},{"title":"Get the status of the upscaling task","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /proxy/freepik/v1/ai/image-upscaler/{task_id}","href":"/ru/registry/api-reference/freepik/get-the-status-of-the-upscaling-task"},{"title":"Skin enhancer using AI (Creative)","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /proxy/freepik/v1/ai/skin-enhancer/creative","href":"/ru/registry/api-reference/freepik/skin-enhancer-using-ai-creative"},{"title":"Skin enhancer using AI (Faithful)","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /proxy/freepik/v1/ai/skin-enhancer/faithful","href":"/ru/registry/api-reference/freepik/skin-enhancer-using-ai-faithful"},{"title":"Skin enhancer using AI (Flexible)","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /proxy/freepik/v1/ai/skin-enhancer/flexible","href":"/ru/registry/api-reference/freepik/skin-enhancer-using-ai-flexible"},{"title":"Get the status of one skin enhancer task","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /proxy/freepik/v1/ai/skin-enhancer/{task_id}","href":"/ru/registry/api-reference/freepik/get-the-status-of-one-skin-enhancer-task"}]},{"group":"Sonilo","pages":[{"title":"Generate music from text prompt","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /proxy/sonilo/t2m/generate","href":"/ru/registry/api-reference/sonilo/generate-music-from-text-prompt"},{"title":"Get a Sonilo task","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /proxy/sonilo/v1/tasks/{task_id}","href":"/ru/registry/api-reference/sonilo/get-a-sonilo-task"},{"title":"Generate a song with lyrics from a text prompt","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /proxy/sonilo/v1/text-to-music-l","href":"/ru/registry/api-reference/sonilo/generate-a-song-with-lyrics-from-a-text-prompt"},{"title":"Generate music from video","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /proxy/sonilo/v2m/generate","href":"/ru/registry/api-reference/sonilo/generate-music-from-video"}]},{"group":"API Nodes","pages":[{"title":"Post proxyviduextend","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /proxy/vidu/extend","href":"/ru/registry/api-reference/api-nodes/post-proxyviduextend"},{"title":"Post proxyviduimg2video","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /proxy/vidu/img2video","href":"/ru/registry/api-reference/api-nodes/post-proxyviduimg2video"},{"title":"Post proxyvidumultiframe","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /proxy/vidu/multiframe","href":"/ru/registry/api-reference/api-nodes/post-proxyvidumultiframe"},{"title":"Post proxyvidureference2video","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /proxy/vidu/reference2video","href":"/ru/registry/api-reference/api-nodes/post-proxyvidureference2video"},{"title":"Post proxyvidustart end2video","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /proxy/vidu/start-end2video","href":"/ru/registry/api-reference/api-nodes/post-proxyvidustart-end2video"},{"title":"Get proxyvidutasks creations","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /proxy/vidu/tasks/{id}/creations","href":"/ru/registry/api-reference/api-nodes/get-proxyvidutasks-creations"},{"title":"Post proxyvidutext2video","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /proxy/vidu/text2video","href":"/ru/registry/api-reference/api-nodes/post-proxyvidutext2video"}]},{"group":"Releases","pages":[{"title":"Get release notes","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /releases","href":"/ru/registry/api-reference/releases/get-release-notes"}]},{"group":"Comfy Router","pages":[{"title":"List the models Comfy Router can run.","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /v2/models","href":"/ru/registry/api-reference/comfy-router/list-the-models-comfy-router-can-run"},{"title":"Read one partner model's catalog entry by canonical model ID.","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /v2/models/{provider}/{model}","href":"/ru/registry/api-reference/comfy-router/read-one-partner-models-catalog-entry-by-canonical-model-id"},{"title":"Run a partner model synchronously by canonical model ID.","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /v2/models/{provider}/{model}","href":"/ru/registry/api-reference/comfy-router/run-a-partner-model-synchronously-by-canonical-model-id"},{"title":"Price a model call before running it, without running it.","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /v2/models/{provider}/{model}/estimate","href":"/ru/registry/api-reference/comfy-router/price-a-model-call-before-running-it-without-running-it"},{"title":"Read one partner model's input and output schemas as an OpenAPI document.","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /v2/models/{provider}/{model}/openapi.json","href":"/ru/registry/api-reference/comfy-router/read-one-partner-models-input-and-output-schemas-as-an-openapi-document"},{"title":"Submit a partner model run to the queue and return immediately.","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi post /v2/models/{provider}/{model}/requests","href":"/ru/registry/api-reference/comfy-router/submit-a-partner-model-run-to-the-queue-and-return-immediately"},{"title":"Collect the result of one submitted request.","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /v2/models/{provider}/{model}/requests/{request_id}","href":"/ru/registry/api-reference/comfy-router/collect-the-result-of-one-submitted-request"},{"title":"Ask for one submitted request to be cancelled.","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi put /v2/models/{provider}/{model}/requests/{request_id}/cancel","href":"/ru/registry/api-reference/comfy-router/ask-for-one-submitted-request-to-be-cancelled"},{"title":"Read the queue state of one submitted request.","deprecated":null,"version":null,"openapi":"https://api.comfy.org/openapi get /v2/models/{provider}/{model}/requests/{request_id}/status","href":"/ru/registry/api-reference/comfy-router/read-the-queue-state-of-one-submitted-request"}]}]}]}]}]},{"tab":"Рейтинги","pages":[{"title":"Рейтинги","href":"/ru/rankings"}]},{"tab":"Поддержка","pages":[{"title":"Поддержка","href":"/ru/support/contact-support"}]}]}]},"basePath":"","title":"Типы данных пользовательских узлов ComfyUI - ComfyUI","deploymentId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","buildId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","dynamics":[],"chunks":[]}