Tencent Hunyuan · 模型供應商SandBase 上的 Tencent Hunyuan AI 模型
用於語言與視覺生成任務的 Hunyuan 模型。
最常用的 Tencent Hunyuan 模型
Tencent Hunyuan 模型目錄
語言模型
聊天、推理、程式開發與工具使用。
4 個模型Hy3
tencent/hy3- 價格
- 每 100 萬 tokens 的 $0.132 / $0.528
- 上下文
- 262K tokens
Hy4 preview
tencent/hy4-preview- 價格
- 每 100 萬 tokens 的 $0.834 / $2.5
- 上下文
- 1.0M tokens
Hy4 flash
tencent/hy4-flash- 價格
- 每 100 萬 tokens 的 $0.07 / $0.281
- 上下文
- 1.0M tokens
Hy4
tencent/hy4- 價格
- 每 100 萬 tokens 的 $0.834 / $2.5
- 上下文
- 1.0M tokens
圖片模型
產生與編輯圖片。
2 個模型影片模型
從文字、圖片或參考資料建立、編輯與延伸影片。
1 個模型3D 模型
圖片或文字生成的網格與紋理。
21 個模型Hunyuan 3D 3.1 Pro Image to 3D
tencent/hunyuan-3d/3.1/pro/image-to-3d- 價格
- 每次執行自 $0.375 起
Hunyuan 3D 3.0 Image to 3D
tencent/hunyuan-3d/3.0/image-to-3d- 價格
- 每次執行自 $0.63 起
Hunyuan 3D 3.1 Pro Text to 3D
tencent/hunyuan-3d/3.1/pro/text-to-3d- 價格
- 每次執行自 $0.375 起
Hunyuan3D 2.0
tencent/hunyuan-3d/v2- 價格
- 每次執行自 $0.16 起
Hunyuan3D 2.0 Multi-View
tencent/hunyuan-3d/v2/multi-view- 價格
- 每次執行自 $0.16 起
Hunyuan 3D 3.1 Rapid Image to 3D
tencent/hunyuan-3d/3.1/rapid/image-to-3d- 價格
- 每次執行自 $0.27 起
Hunyuan 3D 3.1 Rapid Text to 3D
tencent/hunyuan-3d/3.1/rapid/text-to-3d- 價格
- 每次執行自 $0.27 起
Hunyuan 3D 3.0 Text to 3D
tencent/hunyuan-3d/v3/text-to-3d- 價格
- 每次執行自 $0.63 起
Hunyuan 3D 3.1 Smart Topology
tencent/hunyuan-3d/3.1/smart-topology- 價格
- 每次執行自 $0.75 起
Hunyuan3D 2.0 Mini Turbo
tencent/hunyuan-3d/v2/mini-turbo- 價格
- 每次執行自 $0.08 起
Hunyuan3D 2.0 Mini
tencent/hunyuan-3d/v2/mini- 價格
- 每次執行自 $0.1 起
Hunyuan3D 2.0 Turbo
tencent/hunyuan3d/v2/turbo- 價格
- 每次執行自 $0.14 起
Hunyuan3D 2.0 Multi-View Turbo
tencent/hunyuan-3d/v2/multi-view-turbo- 價格
- 每次執行自 $0.14 起
Hunyuan 3D 3.1 Part Splitter
tencent/hunyuan-3d/3.1/part- 價格
- 每次執行自 $0.45 起
Hunyuan 3D 3.6 Image to 3D
tencent/hunyuan-3d/3.6/image-to-3d- 價格
- 每次執行自 $1.4 起
Hunyuan 3D 3.6 Text to 3D
tencent/hunyuan-3d/3.6/text-to-3d- 價格
- 每次執行自 $2 起
Miora 3D 1.2 Image to 3D
tencent/miora-3d/1.2/image-to-3d- 價格
- 每次執行自 $0.343 起
Miora 3D 1.2 Text to 3D
tencent/miora-3d/1.2/text-to-3d- 價格
- 每次執行自 $0.429 起
Miora 3D Multi-View to 3D
tencent/miora-3d/multi-view-to-3d- 價格
- 每次執行自 $0.343 起
Miora 3D T1 Image to 3D
tencent/miora-3d/t1/image-to-3d- 價格
- 每次執行自 $0.257 起
Miora 3D T1 Text to 3D
tencent/miora-3d/t1/text-to-3d- 價格
- 每次執行自 $0.343 起
Token 價格為每 100 萬 input / output tokens;媒體價格為每次執行的基礎價格。模型頁面會顯示即時價格與請求欄位。
透過單一 API 呼叫 Tencent Hunyuan 模型
Tencent Hunyuan 是 Tencent 的 AI 模型系列。在 SandBase 上,您可以透過同一個 SandBase API key 呼叫其語言模型(Hy4、Hy4 flash、Hy4 preview 和 Hy3)、用於文字生成圖片與編修的 Hunyuan Image 3.0、用於文字生成影片的 Hunyuan Video 1.5,以及用於圖像轉 3D、文字轉 3D、重拓樸與零件拆分的 Hunyuan 3D 和 Miora 3D 模型。
語言模型使用與 OpenAI 相容的 chat completions endpoint,因此只要修改 base URL 和模型名稱,既有的 OpenAI SDK 就能直接使用。對於圖片、影片與 3D 模型,每個模型頁面都會顯示其 request schema 與範例。
from openai import OpenAI
client = OpenAI(base_url="https://api.sandbase.ai/v1", api_key="YOUR_SANDBASE_API_KEY")
reply = client.chat.completions.create(
model="tencent/hy4-flash",
messages=[{"role": "user", "content": "Summarize the benefits of prefix caching in two sentences."}],
)
print(reply.choices[0].message.content)Tencent Hunyuan API 問題
SandBase 上的 Hunyuan API 是什麼?
這是透過 SandBase 的 API 存取 Tencent Hunyuan 模型。您只要使用一個 SandBase API key,就能呼叫所有模型,例如 tencent/hy4-flash 或 tencent/hy3。
我可以使用哪些 Hunyuan 模型?
語言模型 Hy4、Hy4 flash、Hy4 preview 和 Hy3;Hunyuan Image 3.0 與 Image 3.0 Edit;Hunyuan Video 1.5 文字轉影片;以及用於 3D 生成、重拓樸與零件拆分的 Hunyuan 3D 和 Miora 3D 模型。上方的目錄列出了目前可用的所有模型。
我要如何從程式碼呼叫 Hy3 或 Hy4?
將 OpenAI SDK 指向 https://api.sandbase.ai/v1,使用您的 SandBase 金鑰,並將 model 設為目錄中的某個 id,例如 tencent/hy4-flash。上方範例是一個完整請求。
Hunyuan 語言模型支援推理、工具呼叫與結構化輸出嗎?
每個模型頁面都會列出該模型支援的功能。請在建立相依於某項功能的實作之前,先確認您要使用的模型頁面。
Hunyuan 的用量如何計費?
每個模型頁面都會顯示目前價格以及計費單位。
