本快速入門導覽課程說明如何在 Google Cloud 控制台使用 Vertex AI 的 Imagen 文字轉圖像功能,執行下列工作:
瞭解如何使用 Vertex AI 的 Imagen 文字轉圖像生成功能,並驗證生成圖像上的數位浮水印 (SynthID)。本快速入門導覽課程說明如何在Google Cloud 控制台使用 Imagen 圖像生成功能。 Vertex AI 的 Imagen 定價取決於您使用的功能。詳情請參閱「定價」。 In the Google Cloud console, on the project selector page,
select or create a Google Cloud project.
Verify that billing is enabled for your Google Cloud project.
Enable the Vertex AI API.
In the Google Cloud console, on the project selector page,
select or create a Google Cloud project.
Verify that billing is enabled for your Google Cloud project.
Enable the Vertex AI API.
使用 Google Cloud 控制台傳送文字轉圖像生成要求。
在 Google Cloud 控制台中,前往「Vertex AI」>「Media Studio」 頁面。 在「提示」(「在這裡撰寫提示」) 欄位中,輸入下列提示: 如果尚未選取,請在「參數」面板的「模型選項」方塊中選取 如果未選取,請在「參數」面板的「長寬比」部分選取 在「結果數量」部分,將「結果數量」變更為
按一下「生成」 生成的圖片會類似以下圖片: 如要儲存圖片的本機副本,請點選其中一張圖片。 在開啟的「圖片詳細資料」視窗中,按一下「匯出」。 在「匯出圖片」對話方塊中,按一下「匯出」。 生成含有浮水印的圖片後,您可以驗證新圖片的數位浮水印。 在「圖片詳細資料」視窗中,按一下「匯出」。 在下方面板中,按一下「驗證」 按一下「上傳圖片」。 選取本機儲存的生成圖像。 恭喜!您剛才使用 Imagen 文字轉圖片生成功能,建立新穎的圖片,並驗證其中一張圖片的數位浮水印。 如要避免系統向您的 Google Cloud 帳戶收取本頁所用資源的費用,請按照下列步驟操作。
事前準備
概念
事前準備
生成圖片並儲存本機副本
portrait of a french bulldog at the beach, 85mm f/2.8
Imagen 3
。1:1
。2
。驗證圖片的數位浮水印
清除所用資源
刪除專案
後續步驟
快速入門:使用 Imagen 文字轉圖像功能產生及驗證圖片浮水印 (主控台)
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-19 (世界標準時間)。