# DGrid AI Docs: Traditional Chinese > Documentation for DGrid AI: The Decentralized Smart Network of AI ## Traditional Chinese ### 文件 #### 新手入門 - [DGrid AI 文件](https://docs.dgrid.ai/zh-Hant/index.md): DGrid AI 官方文件中心:探索 Web3 原生閘道存取 200 多個領先 AI 模型,並查閱快速入門指南、API 參考文件、$DGAI 代幣經濟、節點運營、Premium License 與整個生態系的完整資訊,是新手與開發者開始使用 DGrid 的最佳起點。 - [快速入門](https://docs.dgrid.ai/zh-Hant/quickstart.md): 5 分鐘快速上手 DGrid:建立帳戶、產生 API 金鑰,並透過 AI Gateway 完成您對模型的第一次呼叫,搭配 OpenAI 相容 SDK、curl 與 Python 範例逐步操作,協助開發者快速整合、驗證流程並順利進入後續完整應用開發階段,並引導讀者前往更深入的指南、API 範例與整合教學。 #### 核心概念 - [我們的工作](https://docs.dgrid.ai/zh-Hant/what-we-do.md): 認識 DGrid 的使命、願景、產品路線與核心價值:致力於打造可信賴的去中心化 AI 推論網路,並有效率地連結模型供應商與全球各地的使用者、開發者、節點運營商與企業合作夥伴,共同推動 AI 民主化、價值共享與生態繁榮發展,並彰顯 DGrid 在 Web3 與 AI 交匯產業中的獨特定位。 - [背景](https://docs.dgrid.ai/zh-Hant/background.md): 深入分析推動 DGrid 打造去中心化 AI 推論網路的市場痛點、產業缺口,以及目前中心化 AI 基礎設施在成本結構、可用性、審查風險、資料隱私與供應商鎖定等方面所面臨的核心問題、長期挑戰與對全球開發者與終端使用者的深遠影響,並進一步探討未來 AI 基礎設施去中心化的方向。 - [DGrid 解決方案](https://docs.dgrid.ai/zh-Hant/dgrid-solution.md): 深入介紹 DGrid AI 去中心化推論網路的核心架構、關鍵模組與技術設計,涵蓋請求路由、結果驗證、激勵分配、節點協作與 Proof of Quality 共識機制等多項核心系統元件與整體運作方式,並輔以系統架構圖與資料流程說明,並結合實際範例闡述每個模組之間的互動與資料流。 - [節點運營商](https://docs.dgrid.ai/zh-Hant/node-operators.md): 深入了解節點運營商為何是 DGrid 去中心化 AI 推論網路的骨幹,掌握 GPU 硬體規格需求、加入流程、保證金條件,並學會如何透過貢獻算力進行模型推論、達成 SLA 並持續賺取 $DGAI 與相關生態系獎勵的營運訣竅與最佳實踐方法,並提供節點收益試算範例與營運監控的相關工具建議。 #### AI 閘道 - [AI Gateway](https://docs.dgrid.ai/zh-Hant/ai-gateway/overview.md): DGrid AI Gateway 提供統一且相容 OpenAI 的 API 介面,可呼叫超過 200 種領先 AI 模型,並支援加密貨幣計費、智慧路由、自動故障轉移、全球邊緣節點存取、使用量監控、即時報表與成本分析等多項面向開發者的核心能力,並涵蓋 SLA 保證、計費透明度與多區域容錯設計。 - [兌換 DGrid Credit Code](https://docs.dgrid.ai/zh-Hant/ai-gateway/redeem-credit-code.md): 了解如何在 DGrid 帳戶中兌換 DGrid Credit Code,並立即將 credits 加入您的帳戶。 - [自動儲值](https://docs.dgrid.ai/zh-Hant/ai-gateway/auto-deposit.md): 依儲值餘額自動補足 USDT,並管理錢包授權、累計扣款上限與到期日。 - [通知設定](https://docs.dgrid.ai/zh-Hant/ai-gateway/notifications.md): 設定儲值餘額與自動儲值事件的電子郵件、Lark 及自訂 Webhook 通知。 - [免費模型路由器](https://docs.dgrid.ai/zh-Hant/ai-gateway/free-models-router.md): 透過 DGrid 免費智慧推論閘道,以自動模型路由和公平使用限制處理日常 AI 任務。 - [支援的國家與地區](https://docs.dgrid.ai/zh-Hant/ai-gateway/supported-regions.md): DGrid AI Gateway 的區域可用性、支援國家清單、IP 封鎖政策、法遵限制等完整說明文件,協助開發者在全球部署應用程式時掌握地理使用限制、合規要求與相關注意事項,避免上線後出現服務中斷、合規風險或客戶體驗下降等問題,並定期更新政策異動以反映最新法規與市場狀況。 ##### 整合教學 - [整合教學](https://docs.dgrid.ai/zh-Hant/ai-gateway/integrations.md): 將 DGrid AI Gateway 串接至 Cursor、Claude Code、Codex、OpenClaw、Hermes Agent 與 Vercel AI SDK 的逐步教學,以及更多整合資源。 - [使用 DGrid 設定 Cursor](https://docs.dgrid.ai/zh-Hant/ai-gateway/integrations/cursor.md): 使用 API 金鑰、自訂 Base URL 與完整模型 ID,將 Cursor 串接至 DGrid AI Gateway。 - [使用 DGrid 設定 Claude Code](https://docs.dgrid.ai/zh-Hant/ai-gateway/integrations/claude-code.md): 將 Claude Code CLI 或桌面版 Code 分頁串接至 DGrid AI Gateway,並驗證首次回應。 - [使用 DGrid 設定 Codex](https://docs.dgrid.ai/zh-Hant/ai-gateway/integrations/codex.md): 設定 Codex CLI 或桌面應用程式,透過 Responses API 使用 DGrid AI Gateway。 - [使用 DGrid 設定 OpenClaw](https://docs.dgrid.ai/zh-Hant/ai-gateway/integrations/openclaw.md): 安裝 OpenClaw、將 DGrid 設為自訂供應商,並在控制台傳送第一則訊息。 - [使用 DGrid 設定 Hermes Agent](https://docs.dgrid.ai/zh-Hant/ai-gateway/integrations/hermes-agent.md): 在 Hermes Agent 設定自訂供應商,透過 Chat Completions 使用 DGrid 模型。 - [使用 DGrid 設定 Vercel AI SDK](https://docs.dgrid.ai/zh-Hant/ai-gateway/integrations/vercel-ai-sdk.md): 使用 Vercel AI SDK 與 OpenAI 相容介接套件,在 Node.js 腳本中呼叫 DGrid。 #### AI 競技場 - [AI Arena](https://docs.dgrid.ai/zh-Hant/ai-arena/overview.md): 比較 AI 模型、賺取貢獻積分、兌換 $DGAI,並角逐每週 50,000 積分獎池。 - [Arena for Agent](https://docs.dgrid.ai/zh-Hant/ai-arena/arena-for-agent.md): 建立 AI Agent 自動評估 DGrid AI Arena 的模型,賺取可兌換 $DGAI 的積分。 #### 生態系統 - [Dori 尋找模型](https://docs.dgrid.ai/zh-Hant/dori.md): Dori 是 DGrid 推出的自然語言 AI 助理,可跨供應商、價格、上下文視窗大小、推論速度與基準測試資料協助使用者發現、比較並評估各類大型語言模型 LLM 的能力、成本與整體表現,加速團隊的模型選型決策與效益分析流程,並提供典型用法、應用情境與快速上手範例對話。 - [DClaw](https://docs.dgrid.ai/zh-Hant/dclaw.md): DClaw 是 DGrid 推出的一鍵部署層,讓開發者可在去中心化節點上快速啟動個人 AI Agent 與工作流,完全無需自行管理伺服器、基礎設施或繁瑣的部署流程,並支援版本控制、自動擴展、健康檢查、可觀測性與 Web3 結算等實用功能,並比較與傳統雲端託管在成本、隱私與彈性上的差異。 #### $DGAI 代幣 - [什麼是 $DGAI?](https://docs.dgrid.ai/zh-Hant/what-is-dgai.md): 認識 $DGAI:DGrid AI 的原生實用代幣,用於質押節點、支付推論費用、進行治理投票,並負責整個網路的獎勵分配與激勵循環,是 DGrid 代幣經濟運作的核心資產,本頁將詳細介紹其角色、用途、長期價值流向與市場意義,並進一步說明取得、質押與使用 $DGAI 代幣的主要管道。 - [核心功能](https://docs.dgrid.ai/zh-Hant/core-functions.md): 深入解析 $DGAI 代幣的四大核心功能——質押、支付、激勵與治理——如何共同驅動 DGrid 去中心化 AI 推論網路的日常運作、節點協作、生態系長期發展與整體代幣經濟價值的循環累積,並持續支撐網路安全性與可持續成長,並提供與其他主流代幣經濟模型的對比與優勢分析。 - [流通機制](https://docs.dgrid.ai/zh-Hant/circulation-mechanism.md): 詳細解析 $DGAI 代幣如何透過質押、推論付費、節點獎勵、代幣回購與燃燒等多項核心機制,在 DGrid 經濟體中順暢流動,並逐步形成封閉式價值循環體系、長期可持續的代幣經濟模型,以及健康穩定的供需平衡與激勵相容關係,並透過實際數據範例與圖表深入剖析每一個流程環節。 - [代幣分配](https://docs.dgrid.ai/zh-Hant/token-distribution.md): 說明固定 10 億枚 $DGAI 如何分配給節點、社群、團隊、投資人、空投與初始流動性,以及各項鎖定與釋出時程。 #### GENESIS PREMIUM - [計畫總覽](https://docs.dgrid.ai/zh-Hant/premium/program-overview.md): 完整介紹 DGrid Genesis Premium License 計畫的核心內容、設計理念、為何早期參與者應該加入,以及成為 Genesis Member 後可解鎖的代幣獎勵、運算資源、治理權限、生態系專屬權益與長期社群地位,協助潛在買家評估價值,並協助讀者快速判斷自己是否適合加入 Genesis。 - [專屬權益](https://docs.dgrid.ai/zh-Hant/premium/exclusive-benefits.md): 完整盤點僅限 DGrid Genesis Member 透過 Premium License 計畫享有的代幣獎勵、運算資源優先存取、治理權重提升、空投資格、社群活動邀請等獨家權益,協助早期支持者最大化 Premium License 的長期價值與生態系內部影響力。 - [購買與啟用](https://docs.dgrid.ai/zh-Hant/premium/purchase-and-activation.md): 從購買 DGrid Genesis Pass 到啟用 Premium License 的逐步操作教學,引導您完成付款驗證、KYC 身份認證、錢包綁定、收據下載,並解鎖 Genesis Member 的代幣獎勵與專屬權益,為新買家準備的完整入門指南與操作手冊,並補充常見錯誤排解、退款政策與支援聯絡管道。 - [激勵機制與獎勵](https://docs.dgrid.ai/zh-Hant/premium/incentive-mechanism-and-rewards.md): 詳細說明 DGrid Genesis Member 如何透過 Premium License 激勵與返佣計畫賺取並兌換 tDGAI、IOTX、推薦獎勵以及空投積分,包含發放規則、計算公式、結算頻率、領取條件、稅務注意事項與相關兌換流程的完整操作指南,並附上常見問題、案例試算與獎勵發放時程表。 - [合規與法規](https://docs.dgrid.ai/zh-Hant/premium/compliance-and-regulatory.md): 詳細整理適用於全球購買 DGrid Genesis Premium License 的 Regulation S 法遵要求、KYC 流程、資訊揭露義務、合格投資人規定、區域銷售限制等多項法律與監管原則,協助跨境買家順利完成完整合規程序並降低後續法律風險,並協助企業買家完成法務內審與合規證明文件。 - [法律聲明](https://docs.dgrid.ai/zh-Hant/premium/legal-disclaimer.md): 規範參與 DGrid Genesis Premium License 計畫的重要法律免責聲明、風險揭露、責任限制條款、使用者義務、資料保護政策、智慧財產權聲明以及爭議解決條件,作為購買前的正式法律參考文件,提供買家完整審閱與評估依據,並建議買家在簽約前諮詢專業法律顧問以確認權益。 #### 資源 - [路線圖](https://docs.dgrid.ai/zh-Hant/roadmap.md): DGrid AI 完整開發藍圖,涵蓋主網上線、去中心化推論里程碑、$DGAI 代幣解鎖時程,以及 AI Gateway、Arena、DClaw、Dori 等生態系產品的分階段發布計畫,提供按季度檢視的進度視角、優先順序、依賴關係與重要里程碑摘要說明,並會隨開發進度持續更新以反映最新計畫進度與調整。 - [學術研究](https://docs.dgrid.ai/zh-Hant/academic-research.md): 彙整探討去中心化 AI 推論、Proof of Quality(PoQ)、SFT 資料採購與交易代理評估的學術論文。 - [服務條款](https://docs.dgrid.ai/zh-Hant/ai-gateway/terms-of-service.md): 完整規範 DGrid AI Gateway 與 Model API 端點存取、使用、計費、資料處理與責任歸屬的法律條款、可接受使用政策、服務水準承諾與爭議解決流程,為個別開發者與企業用戶提供清楚且正式的合約參考依據與權利義務說明,並建議用戶定期回顧條款異動以維持合規與權益。 ### API 參考 #### 新手入門 - [簡介](https://docs.dgrid.ai/zh-Hant/api-reference/introduction.md): DGrid 的模型 API、管理 API 與 x402 API 總覽,包含驗證方式、基礎網址及 Webhook 整合資源。 #### 模型 API ##### 對話 - [建立對話補全](https://docs.dgrid.ai/zh-Hant/api-reference/chat/create-chat-completion.md): OpenAI-compatible Chat Completions for standard multi-turn chat, structured output, and tool calling. Model names use the `provider/model-name` format, for example `openai/gpt-4o`. Image-capable models can also return generated images through this endpoint. - [建立回應](https://docs.dgrid.ai/zh-Hant/api-reference/chat/create-response.md): OpenAI Responses API for stateful flows, reasoning-specific options, and newer OpenAI tooling patterns. - [建立訊息](https://docs.dgrid.ai/zh-Hant/api-reference/chat/create-message.md): Claude Messages API for Anthropic-compatible payloads, tool use, and system prompts. - [生成內容](https://docs.dgrid.ai/zh-Hant/api-reference/chat/generate-content.md): Gemini-native generateContent interface for text chat, multimodal media recognition (images, audio, video), speech synthesis, and image generation with structured parts. Use `generationConfig` to request specific response modalities such as speech (`speechConfig`) or images (`imageConfig`). - [Gemini 媒體辨識](https://docs.dgrid.ai/zh-Hant/api-reference/chat/gemini-media-recognition.md): Gemini-native generateContent interface for text chat, multimodal media recognition (images, audio, video), speech synthesis, and image generation with structured parts. Use `generationConfig` to request specific response modalities such as speech (`speechConfig`) or images (`imageConfig`). ##### 補全 - [建立補全](https://docs.dgrid.ai/zh-Hant/api-reference/completions/create-completion.md): Classic OpenAI-compatible text completion for single-prompt generation workloads that do not require a multi-message chat schema. ##### 嵌入 - [建立嵌入](https://docs.dgrid.ai/zh-Hant/api-reference/embeddings/create-embedding.md): OpenAI-compatible embeddings for retrieval, clustering, and semantic similarity workloads. - [建立引擎嵌入](https://docs.dgrid.ai/zh-Hant/api-reference/embeddings/create-engine-embedding.md): Legacy engine-based embeddings path format for older SDK integrations. ##### 圖像 - [Gemini 原生格式](https://docs.dgrid.ai/zh-Hant/api-reference/images/gemini-native-format.md): Gemini-native generateContent interface for text chat, multimodal media recognition (images, audio, video), speech synthesis, and image generation with structured parts. Use `generationConfig` to request specific response modalities such as speech (`speechConfig`) or images (`imageConfig`). - [OpenAI 對話格式](https://docs.dgrid.ai/zh-Hant/api-reference/images/openai-chat-format.md): OpenAI-compatible Chat Completions for standard multi-turn chat, structured output, and tool calling. Model names use the `provider/model-name` format, for example `openai/gpt-4o`. Image-capable models can also return generated images through this endpoint. - [建立圖像](https://docs.dgrid.ai/zh-Hant/api-reference/images/create-image.md): OpenAI-compatible image generation. Also accepts Qwen-compatible payloads (`wanx-v1` style models) using an `input.messages` wrapper instead of `prompt`. - [Qwen 圖像生成](https://docs.dgrid.ai/zh-Hant/api-reference/images/qwen-image-generations.md): OpenAI-compatible image generation. Also accepts Qwen-compatible payloads (`wanx-v1` style models) using an `input.messages` wrapper instead of `prompt`. - [編輯圖像](https://docs.dgrid.ai/zh-Hant/api-reference/images/edit-image.md): Edit an uploaded image with an optional mask using the OpenAI-compatible image editing endpoint. Also accepts Qwen-compatible JSON payloads with an `input.messages` wrapper. - [Qwen 圖像編輯](https://docs.dgrid.ai/zh-Hant/api-reference/images/qwen-image-edits.md): Edit an uploaded image with an optional mask using the OpenAI-compatible image editing endpoint. Also accepts Qwen-compatible JSON payloads with an `input.messages` wrapper. ##### 音訊 - [Gemini 原生格式](https://docs.dgrid.ai/zh-Hant/api-reference/audio/native-gemini-format.md): Gemini-native generateContent interface for text chat, multimodal media recognition (images, audio, video), speech synthesis, and image generation with structured parts. Use `generationConfig` to request specific response modalities such as speech (`speechConfig`) or images (`imageConfig`). - [建立語音](https://docs.dgrid.ai/zh-Hant/api-reference/audio/create-speech.md): Convert text into natural speech with the OpenAI-compatible audio speech interface. Returns a binary audio stream — save the response body directly to a file. - [建立轉錄](https://docs.dgrid.ai/zh-Hant/api-reference/audio/create-transcription.md): Transcribe uploaded audio into text with the OpenAI-compatible Whisper-style interface. Supported formats: FLAC, MP3, MP4, MPEG, MPGA, M4A, OGG, WAV, and WebM. - [建立翻譯](https://docs.dgrid.ai/zh-Hant/api-reference/audio/create-translation.md): Translate uploaded audio into English with the OpenAI-compatible translation endpoint. ##### 內容審查 - [建立內容審查](https://docs.dgrid.ai/zh-Hant/api-reference/moderations/create-moderation.md): OpenAI-compatible content safety checks for user-generated or model-generated text. Evaluates input against categories such as hate, harassment, self-harm, sexual content, and violence. ##### 模型 - [列出模型](https://docs.dgrid.ai/zh-Hant/api-reference/models/list-models.md): Retrieve all models visible to the current API key. The result is permission-aware and scoped to the key's assigned access group. ##### 用量與計費 - [取得請求計費明細](https://docs.dgrid.ai/zh-Hant/api-reference/usage-and-billing/get-request-billing-details.md): 查詢已完成 Model API 請求的 token 用量、定價快照與美元成本明細。 ##### 即時 - [Realtime](https://docs.dgrid.ai/zh-Hant/ai-gateway/model-api/realtime.md): 在 DGrid 上建立相容 OpenAI 的 Realtime API 工作階段,透過 WebSocket 串流低延遲文字與語音對話,打造即時語音助理、客服 Bot、即時翻譯與互動式語音 AI Agent 的完整教學指南、最佳實踐建議、效能最佳化與常見問題解答。 #### 管理 API - [管理 API 金鑰](https://docs.dgrid.ai/zh-Hant/management-api-keys.md): 以程式化方式建立與管理模型 API 金鑰,並使用管理 API 金鑰查詢帳戶餘額。 - [查詢帳戶餘額](https://docs.dgrid.ai/zh-Hant/api-reference/management/get-account-balance.md): 使用管理 API 金鑰查詢所屬帳戶的總餘額、訂閱餘額與儲值餘額。 #### Webhook 整合 - [Webhook 指南](https://docs.dgrid.ai/zh-Hant/api-reference/webhooks/overview.md): 使用自訂 HTTPS 接收端接收 DGrid 事件、驗證簽章,並處理測試、重試與重複投遞。 #### X402 API - [x402 API](https://docs.dgrid.ai/zh-Hant/x402/overview.md): DGrid x402 API 讓開發者使用 x402 微支付協議按次推論付費,無需申請 API 金鑰或建立帳戶,即可即時呼叫各類 AI 模型並依用量結算費用,特別適合自動化代理、結算一體化的 AI 應用情境、短期實驗與按需運算需求。 - [API 參考](https://docs.dgrid.ai/zh-Hant/x402/api-reference.md): DGrid x402 API 端點完整參考文件,涵蓋請求格式、支付標頭、回應代碼、錯誤處理、認證流程,以及按次推論付費的計費細節與程式碼範例,方便開發者快速整合微支付推論服務、驗證請求流程、排查常見錯誤並完成生產環境上線,並附上各端點的請求與回應 JSON 範例供開發者參考使用。 ## OpenAPI Specs - [openapi](/api-reference/openapi.json)