Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,7 @@
{
"group": "Tencent",
"pages": [
"tutorials/partner-nodes/tencent/hy-4",
"tutorials/partner-nodes/tencent/hy-image-3-5"
]
},
Expand Down Expand Up @@ -4832,6 +4833,7 @@
{
"group": "Tencent",
"pages": [
"zh/tutorials/partner-nodes/tencent/hy-4",
"zh/tutorials/partner-nodes/tencent/hy-image-3-5"
]
},
Expand Down Expand Up @@ -8925,6 +8927,7 @@
{
"group": "Tencent",
"pages": [
"ja/tutorials/partner-nodes/tencent/hy-4",
"ja/tutorials/partner-nodes/tencent/hy-image-3-5"
]
},
Expand Down Expand Up @@ -13035,6 +13038,7 @@
{
"group": "Tencent",
"pages": [
"ko/tutorials/partner-nodes/tencent/hy-4",
"ko/tutorials/partner-nodes/tencent/hy-image-3-5"
]
},
Expand Down Expand Up @@ -17072,6 +17076,7 @@
{
"group": "Tencent",
"pages": [
"es/tutorials/partner-nodes/tencent/hy-4",
"es/tutorials/partner-nodes/tencent/hy-image-3-5"
]
},
Expand Down
12 changes: 10 additions & 2 deletions es/tutorials/partner-nodes/pricing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "Precios de los Nodos asociados"
description: "Precios en créditos de los Nodos asociados de cada proveedor (Anthropic, OpenAI, Kling, Luma), por modelo, tipo de token y tipo de generación."
sidebarTitle: "Precios"
mode: "wide"
translationSourceHash: 88ee7601
translationSourceHash: dad5182f
translationFrom: tutorials/partner-nodes/pricing.mdx
translationBlockHashes:
"_intro": a779f1c1
Expand Down Expand Up @@ -42,7 +42,7 @@ translationBlockHashes:
"Runway": bd14d7ff
"Sonilo": 48b9c581
"sync.so": 590402a9
"Tencent": 3638a7e0
"Tencent": cbe22aa6
"Topaz": 5d08cf76
"Tripo": 842e861e
"Pruna": f1b6a267
Expand Down Expand Up @@ -1386,6 +1386,14 @@ Créditos totales = **(créditos / seg) × `duration`**.

## Tencent

### Texto

Las tarifas de la insignia son **por 1K tokens**; la tabla es **por 1M tokens**. Las imágenes opcionales suman tokens de entrada a la tarifa de entrada.

| Modelo | Créditos de entrada / 1M | Créditos de salida / 1M |
| :---- | -----------------: | :------------------ |
| hy4 | 251.6 | 754.6 |

### Imagen

**HY Image 3.5 Preview** cobra una tarifa por cada imagen generada. Las salidas `1K` y `2K`, y los tamaños `custom` de hasta 4.19 megapíxeles, cuestan la tarifa base. El modelo renderiza la salida `4K` a 2K y luego le aplica upscale; cuesta más, al igual que un tamaño `custom` superior a 4.19 megapíxeles.
Expand Down
74 changes: 74 additions & 0 deletions es/tutorials/partner-nodes/tencent/hy-4.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
---
title: "Tencent HY4 en ComfyUI: imagen a prompt y análisis de imágenes"
description: "Ejecuta Tencent HY4 en ComfyUI para convertir una imagen de referencia en un prompt, una descripción o un desglose de gráficos, con control de tokens."
sidebarTitle: "HY4"
translationSourceHash: c3364e65
translationFrom: tutorials/partner-nodes/tencent/hy-4.mdx
translationBlockHashes:
"_intro": d33dd548
"What the Tencent HY node is good at": 385d0037
"Tencent HY4 image to prompt workflow": 6a4f6d35
"Get started": 43365e00
---
import ReqHint from "/snippets/es/tutorials/partner-nodes/req-hint.mdx";
import UpdateReminder from "/snippets/es/tutorials/update-reminder.mdx";

**Tencent HY4** es el modelo de lenguaje grande de Tencent, disponible en ComfyUI a través del nodo socio `Tencent HY`. El nodo recibe un prompt de texto y hasta 20 imágenes, y devuelve texto: un prompt artístico escrito a partir de una imagen de referencia, una descripción de imagen, un desglose de gráfico o cualquier otra respuesta que pidas.

Hy4 se lanzó el 4 de noviembre de 2026. Es la primera generación Hy con comprensión visual, y Tencent reporta mejoras sobre Hy4 preview en el seguimiento de instrucciones, la comprensión de contexto largo y las tareas agénticas de horizonte largo. El nodo llama al modelo a través de Comfy API, así que no se requieren descargas de modelos ni una GPU local.

La plantilla que se cubre aquí es el ejemplo image to prompt: lee una foto y escribe un prompt separado por comas que puedes pegar en un modelo de imagen.

## Para qué sirve el nodo Tencent HY

- **De imagen a prompt**: escribe un prompt estructurado que cubre sujeto, composición, cámara, iluminación, color, textura y estilo
- **Comprensión de imágenes**: descripciones, desglose de gráficos y diagramas, y revisión de detalles finos en fotos, capturas de pantalla y documentos
- **Varias imágenes por solicitud**: hasta 20 imágenes en una sola llamada, donde cada imagen de un lote cuenta una vez
- **Control por instrucciones**: `system_prompt` mantiene un rol permanente, mientras que `prompt` lleva la tarea de esta ejecución
- **Alternar el razonamiento**: `reasoning` hace que el modelo piense antes de responder, para las tareas que lo necesitan
- **Respuestas largas**: `max_tokens` acepta hasta 64000 tokens

<ReqHint/>
<UpdateReminder/>

## Flujo de trabajo de Tencent HY4 de imagen a prompt

La plantilla carga una foto de referencia, solicita a Tencent HY un prompt de arte estándar y, si quieres, puede guardar el prompt y la respuesta junto con la ejecución.

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_tencent_hy4-1.webp" alt="Vista previa del flujo de trabajo de Tencent HY4 de imagen a prompt" />

<CardGroup cols={2}>
{/* <Card title="Run on Comfy Cloud" icon="cloud" href="https://cloud.comfy.org/?template=api_tencent_hy4&utm_source=docs&utm_medium=referral&utm_campaign=tencent-hy4">
Open in Comfy Cloud
</Card> */}
<Card title="Descargar flujo de trabajo" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_tencent_hy4.json">
Descarga el JSON o busca &quot;Tencent: Hy4&quot; en la Biblioteca de plantillas
</Card>
</CardGroup>

**Materiales de entrada**

Sube este archivo al nodo `LoadImage` correspondiente:

<CardGroup cols={2}>
<Card title="blue_poppies_field.png" icon="image" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/blue_poppies_field.png">
Nodo `LoadImage` · `blue_poppies_field.png`
</Card>
</CardGroup>

### Pasos para ejecutar el flujo de trabajo

Este flujo de trabajo muestra cómo generar una respuesta con Tencent HY y, si lo necesitas, guardar esa conversación en ComfyUI. Carga una imagen de referencia, ejecuta el grafo y lee la respuesta en `Preview Any`. Si quieres una copia guardada, mantén `Save Text` para escribir el prompt y la respuesta en `output/Hy4/`; si no necesitas guardar, omite o elimina ese nodo.

### Consejos para los prompts

- Indica el formato de salida. La línea de la plantilla `Only output positive prompt, no extra explanations` es lo que mantiene la respuesta lista para pegar
- Cuando conectes varias imágenes, refiérete a ellas en orden (`the first image`, `the second image`) para que los detalles correspondan a la imagen correcta
- Coloca las instrucciones repetidas en `system_prompt` y deja `prompt` para la tarea, por ejemplo `You write photography prompts for a stock library`
- La `seed` solo decide si el nodo se vuelve a ejecutar. Las respuestas siguen variando entre ejecuciones

## Empezar

Actualiza ComfyUI, busca `Tencent: Hy4` en la Biblioteca de plantillas y abre el flujo de trabajo de imagen a prompt.

Tencent HY4 factura según el consumo de tokens de la API. Consulta la [tabla de precios](/es/tutorials/partner-nodes/pricing) para conocer las tarifas de Hy4.
12 changes: 10 additions & 2 deletions ja/tutorials/partner-nodes/pricing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "Partner Node 価格"
description: "Anthropic、OpenAI、Kling、Luma など全プロバイダーの Partner Node クレジット価格。モデル、トークン種別、生成種別ごとに分類。"
sidebarTitle: "料金"
mode: "wide"
translationSourceHash: 88ee7601
translationSourceHash: dad5182f
translationFrom: tutorials/partner-nodes/pricing.mdx
translationBlockHashes:
"_intro": a779f1c1
Expand Down Expand Up @@ -42,7 +42,7 @@ translationBlockHashes:
"Runway": bd14d7ff
"Sonilo": 48b9c581
"sync.so": 590402a9
"Tencent": 3638a7e0
"Tencent": cbe22aa6
"Topaz": 5d08cf76
"Tripo": 842e861e
"Pruna": f1b6a267
Expand Down Expand Up @@ -1392,6 +1392,14 @@ Text to Music: 合計クレジット = **(クレジット / 秒)× `duration

## Tencent

### テキスト

バッジレートは **1Kトークンあたり**。表は **100万トークンあたり**。画像を追加すると入力トークンとして入力レートで加算されます。

| モデル | 入力クレジット / 1M | 出力クレジット / 1M |
| :---- | -----------------: | :------------------ |
| hy4 | 251.6 | 754.6 |

### 画像

**HY Image 3.5 Preview** は生成した画像 1 枚につき 1 つのレートで課金されます。`1K`、`2K` 出力、および 4.19 メガピクセル以下の `custom` サイズは基本レートです。`4K` 出力は 2K でレンダリングした後にモデルがアップスケールするためレートが高くなり、4.19 メガピクセルを超える `custom` サイズも同じく高いレートになります。
Expand Down
74 changes: 74 additions & 0 deletions ja/tutorials/partner-nodes/tencent/hy-4.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
---
title: "Tencent HY4: ComfyUI 画像からプロンプト生成と画像分析"
description: "ComfyUI で Tencent HY4 を実行し、参照画像をアートプロンプト、キャプション、チャートの内訳に変換できます。推論、複数画像、トークン制御にも対応しています。"
sidebarTitle: "HY4"
translationSourceHash: c3364e65
translationFrom: tutorials/partner-nodes/tencent/hy-4.mdx
translationBlockHashes:
"_intro": d33dd548
"What the Tencent HY node is good at": 385d0037
"Tencent HY4 image to prompt workflow": 6a4f6d35
"Get started": 43365e00
---
import ReqHint from "/snippets/ja/tutorials/partner-nodes/req-hint.mdx";
import UpdateReminder from "/snippets/ja/tutorials/update-reminder.mdx";

**Tencent HY4** は Tencent の大規模言語モデルで、ComfyUI では `Tencent HY` パートナーノードを通じて利用できます。このノードはテキストプロンプトと最大 20 枚の画像を受け取り、テキストを返します。参照画像から作成したアートプロンプト、キャプション、チャートの内訳、その他依頼した任意の回答などです。

Hy4 は 2026 年 11 月 4 日にリリースされました。視覚的理解を備えた初の Hy 世代であり、Tencent によれば Hy4 プレビューと比較して、指示への追従性、長文コンテキストの理解、長期的なエージェントタスクにおいて改善が見られます。このノードは Comfy API を通じてモデルを呼び出すため、モデルのダウンロードやローカル GPU は必須ではありません。

ここで扱うテンプレートは画像からプロンプトへの変換例です。写真を読み取り、画像モデルに貼り付けられるカンマ区切りのプロンプトを生成します。

## Tencent HY ノードが得意なこと

- **画像からプロンプト**: 被写体、構図、カメラ、ライティング、色、質感、スタイルを網羅する構造化プロンプトを生成します
- **画像理解**: 写真、スクリーンショット、ドキュメントに対するキャプション、チャートや図の分解、細部の確認
- **1リクエストで複数画像**: 1回の呼び出しで最大20枚の画像を処理でき、バッチ内の各画像は1回としてカウントされます
- **指示の制御**: `system_prompt` は常設の役割を保持し、`prompt` は今回の実行におけるタスクを担います
- **推論の切り替え**: `reasoning` を有効にすると、必要なタスクでモデルが回答前に思考します
- **長い回答**: `max_tokens` は最大64000トークンまで受け付けます

<ReqHint/>
<UpdateReminder/>

## Tencent HY4 画像からプロンプトへのワークフロー

テンプレートは参照写真を読み込み、Tencent HY にスタンダードなアートプロンプトを要求し、必要に応じてプロンプトと回答を実行と一緒に保存できます。

<img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_tencent_hy4-1.webp" alt="Tencent HY4 image to prompt workflow preview" />

<CardGroup cols={2}>
{/* <Card title="Run on Comfy Cloud" icon="cloud" href="https://cloud.comfy.org/?template=api_tencent_hy4&utm_source=docs&utm_medium=referral&utm_campaign=tencent-hy4">
Open in Comfy Cloud
</Card> */}
<Card title="ワークフローをダウンロード" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_tencent_hy4.json">
JSON をダウンロードするか、テンプレートライブラリで &quot;Tencent: Hy4&quot; を検索してください
</Card>
</CardGroup>

**入力素材**

このファイルを対応する `LoadImage` ノードにアップロードしてください:

<CardGroup cols={2}>
<Card title="blue_poppies_field.png" icon="image" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/blue_poppies_field.png">
`LoadImage` ノード · `blue_poppies_field.png`
</Card>
</CardGroup>

### ワークフローを実行する手順

このワークフローは、Tencent HY で返信を生成し、必要に応じてその会話履歴を ComfyUI に保存する方法を示します。参照画像を読み込んでグラフを実行し、`Preview Any` で回答を確認してください。保存が必要なら `Save Text` を残すとプロンプトと回答が `output/Hy4/` に書き出されます。不要ならそのノードをスキップまたは削除してください。

### プロンプト作成のヒント

- 出力形式を明示してください。テンプレートの `Only output positive prompt, no extra explanations` という行が、回答をそのまま貼り付けられる状態に保つ役割を果たします
- 複数の画像を接続する場合は、順番に言及してください(`the first image`、`the second image`)。そうすることで詳細が正しい画像に紐づきます
- 繰り返し使う指示は `system_prompt` に置き、`prompt` はタスク用に残してください。例えば `You write photography prompts for a stock library`
- `seed` はノードを再実行するかどうかだけを決めます。回答は実行ごとに変わります

## はじめる

ComfyUI を更新し、テンプレートライブラリで `Tencent: Hy4` を検索して、画像からプロンプトを生成するワークフローを開きます。

Tencent HY4はAPIのトークン使用量に基づいて課金されます。Hy4の料金については[料金表](/ja/tutorials/partner-nodes/pricing)をご覧ください。
12 changes: 10 additions & 2 deletions ko/tutorials/partner-nodes/pricing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "Partner Node 가격"
description: "Anthropic, OpenAI, Kling, Luma 등 모든 제공업체의 Partner Node 크레딧 가격을 모델, 토큰 유형, 생성 유형별로 구분합니다."
sidebarTitle: "가격 정책"
mode: "wide"
translationSourceHash: 88ee7601
translationSourceHash: dad5182f
translationFrom: tutorials/partner-nodes/pricing.mdx
translationBlockHashes:
"_intro": a779f1c1
Expand Down Expand Up @@ -42,7 +42,7 @@ translationBlockHashes:
"Runway": bd14d7ff
"Sonilo": 48b9c581
"sync.so": 590402a9
"Tencent": 3638a7e0
"Tencent": cbe22aa6
"Topaz": 5d08cf76
"Tripo": 842e861e
"Pruna": f1b6a267
Expand Down Expand Up @@ -1390,6 +1390,14 @@ Sonilo 텍스트로 음악 생성: 총 크레딧 = **(크레딧 / 초) × `durat

## Tencent

### 텍스트

배지 요금은 **1K 토큰당**이며, 표는 **1M 토큰당**입니다. 이미지를 추가하면 입력 요금으로 입력 토큰에 합산됩니다.

| 모델 | 입력 크레딧 / 1M | 출력 크레딧 / 1M |
| :---- | -----------------: | :------------------ |
| hy4 | 251.6 | 754.6 |

### 이미지

**HY Image 3.5 Preview**는 생성된 이미지 한 장당 하나의 요금으로 청구됩니다. `1K`, `2K` 출력과 4.19 메가픽셀 이하의 `custom` 크기는 기본 요금입니다. `4K` 출력은 2K로 렌더링한 뒤 모델이 업스케일하므로 요금이 더 높고, 4.19 메가픽셀을 초과하는 `custom` 크기도 같은 높은 요금이 적용됩니다.
Expand Down
Loading
Loading