ML Kit GenAI API
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
ML Kit 的 GenAI API 運用 Gemini Nano 的強大功能,透過簡化的整體介面,為常見工作提供開箱即用的效能。這些 API 建構於 Android 系統服務 AICore,可讓您在裝置上執行 Gemini Nano 等 AI 基礎模型,並將資料處理作業保留在裝置端,藉此提升應用程式功能和使用者隱私權。瞭解詳情。
ML Kit 的 GenAI API 支援下列功能:
- 摘要:以項目符號清單的形式摘要文章或對話。
- 校對:校對簡短的即時通訊訊息。
- 改寫:以不同語氣或風格改寫簡短的即時通訊訊息。
- 圖片說明:生成指定圖片的簡短說明。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# ML Kit GenAI APIs\n\nML Kit's GenAI APIs harness the power of Gemini Nano to deliver out-of-the-box\nperformance for common tasks through a simplified, high-level interface. Built\non AICore, an Android system service, these APIs enable on-device execution of\nAI foundation models like Gemini Nano, enhancing app functionality and user\nprivacy by keeping data processing local. [Learn more](https://developers.google.com/ml-kit/genai).\n\nML Kit's GenAI APIs support the following features:\n\n- [**Summarization**](https://developers.google.com/ml-kit/genai/summarization/android): Summarize articles or conversations as a bulleted list.\n- [**Proofreading**](https://developers.google.com/ml-kit/genai/proofreading/android): Proofread short chat messages.\n- [**Rewrite**](https://developers.google.com/ml-kit/genai/rewriting/android): Rewrite short chat messages in different tones or styles.\n- [**Image description**](https://developers.google.com/ml-kit/genai/image-description/android): Generate a short description of a given image."]]