探索 / xAI / Grok Imagine 圖像 2.0 輸入 請填寫必填欄位以查看價格
Text To Image · 1K · medium
產生 模式 解決 類型 價格 low 1K 圖像到圖像 $0.04 文字轉圖像 $0.04 2K 圖像到圖像 $0.06 文字轉圖像 $0.06 medium 1K 圖像到圖像 $0.06 文字轉圖像 $0.06 2K 圖像到圖像 $0.08 文字轉圖像 $0.08
端點
POST https://pollo.ai/api/platform/v1/generation/xai/grok-imagine-image-2-0/image複製 模式
Text To Image Image To Image
查看完整 API 文件 在 Pollo API 上執行 Grok Imagine Image 2.0
將詳細的視覺指令用於 Grok Imagine Image 2.0。xAI 的圖像模型結合了逼真的渲染、清晰的排版和靈活的構圖,支援以 prompt 驅動的創作。
透過 Pollo API 整合 Grok Imagine Image 2.0,直接在你的創意應用程式或內容工作流程中生成行銷活動概念、編輯類圖像和文字導向設計。
Grok Imagine Image 2.0 API 的主要功能
精準遵循提示詞
詳細說明會引導主體、構圖和視覺處理。請描述哪些元素最重要,以產生一張反映你簡報優先順序的圖像。
銳利文字渲染
標題和簡短標籤可以成為生成的視覺內容的一部分。將精確的措辭與位置說明結合起來,讓文字在構圖中扮演清楚的角色。
寫實圖像
根據書面描述生成攝影場景,運用光線、表面紋理和環境細節,為主體及其周圍物體營造出可信的場景。
彈性版面配置
為寬幅橫幅、直式作品或方形圖形構圖。定義焦點及其周圍空間,讓視覺效果符合預定的擺放位置。
Grok Imagine Image 2.0 API 的使用案例
Text-Led Campaign Concepts: Combine a short campaign message with a defined subject and layout to explore how copy and imagery work together.
Editorial Feature Images: Generate photographic scenes with specific environmental details that support the theme of an article or publication.
Hospitality Mood Visuals: Describe materials, table settings, and lighting to explore the atmosphere of a restaurant, guesthouse, or café concept.
Event Poster Artwork: Build a composition around an event name and a distinctive visual subject, leaving clear space for supporting information.
Retail Display Concepts: Visualize a themed arrangement of objects, signage, and surfaces before developing the physical display.
Website Hero Imagery: Position the subject to one side and reserve space for live website copy, matching the image to the intended page layout.
如何使用 Grok Imagine Image 2.0 API
Get an API Key: Create a Pollo API account and generate your API key from the developer dashboard.
Choose the Model: Send requests to the Grok Imagine Image 2.0 endpoint at /generation/xai/grok-imagine-image-2-0/image.
Add Your Inputs: Pass a prompt for text-to-image, then set aspectRatio, resolution (1K or 2K), and quality (low or medium).
Generate and Retrieve: Submit the task, poll the returned task status, and download the finished image once it succeeds.
Grok Imagine Image 2.0 API 的提示詞最佳實踐 寫一份具體的視覺簡報,先說明主體和構圖,再寫裝飾細節。當文字很重要時,請明確指定其精確措辭、位置,以及與圖像的關係。
簡單的提示詞公式 Intended use + main subject + setting + composition + lighting and materials + exact text + visual constraints
你應該注意什麼
Subject Placement: State where the focal subject belongs and how much space it should occupy, especially for banners or layouts containing copy.
Exact Wording: Put required text in quotation marks and distinguish the headline from supporting labels. Review spelling in the generated result.
Lighting Logic: Describe a clear light source, such as a side window or overhead lamp, instead of combining conflicting lighting directions.
Material Cues: Name the relevant surfaces, such as brushed steel, textured linen, or glazed ceramic, to make a photographic brief more specific.
Clear Priorities: Keep essential requirements separate from optional decoration so an elaborate prompt does not obscure the main visual idea.
[`Example Prompts`]
夜市海報 “建立一張直式海報,標題為‘NIGHT MARKET’。呈現一盞發光的紙燈籠,懸在整齊擺放的橘子和編織籃上方。使用深靛藍、溫暖琥珀色,以及克制的奶油色文字。將主標題放在頂部,保留充足邊距,且不要加入任何其他文字。”
海岸民宿早餐 拍攝一張位於樸素海濱旅館內的早餐桌:粗麻布、一個裝著無花果的藍色陶瓷碗、酸種吐司和一杯水。晨光從左側照進來。以坐著的客人的視角構圖,帶有細微的不完美,不要有人物或文字。
自行車工作坊網站首頁主視覺 為社區自行車工作坊製作一張寬幅攝影風格的網站主視覺。將一輛修復好的銅色自行車放在右側,背景是一面淺色灰泥牆。加入整齊懸掛的工具和柔和的午後陰影。讓左半邊保持安靜、簡潔,留給網站文案。不要生成任何文字。
Grok Imagine Image 2.0 vs GPT Image 2.5 vs Qwen Image 3.0 生成焦點 Grok Imagine 圖像 2.0 GPT Image 2.5 Qwen Image 3.0 文字轉圖像生成 支援 支援 支援 已記錄的優勢 提示詞跟隨、排版和攝影影像 詳細指令遵循與文字渲染 排版與結構化構圖 建議的評估簡報 一張帶有簡短標題的攝影行銷活動圖片 具有多項放置限制的視覺簡報 帶有清楚定義區塊的標註圖形 Key details to inspect 光線、主體位置與標題清晰度 需要的元素和空間關係 閱讀順序、標籤和章節組織 建議的起始用法 以攝影和文字為主的創意概念 詳細的提示詞驅動視覺生成 資訊導向的圖像版面
建議用途反映的是各個模型文件中記載的重點,而不是經過衡量的品質排名。請比較相同的簡報,找出最適合你應用的選擇。
為什麼選擇 Grok Imagine Image 2.0 API? 當你的圖像簡報結合了攝影主體、刻意的構圖,以及需要出現在作品中的簡短訊息時,請選擇 Grok Imagine Image 2.0。
Pollo API 透過單一平台將這個工作流程與 300 多個圖像和影片模型連接起來,並在你的應用程式成長時提供開發者文件與人工支援。
在 Pollo API 上使用活動簡報試試 Grok Imagine Image 2.0,然後圍繞你想傳達的訊息調整燈光、版面配置和排版。
Grok Imagine Image 2.0 API 常見問題
什麼是 Grok Imagine Image 2.0? Grok Imagine Image 2.0 是 xAI 的圖像模型。它的文字轉圖像能力可將書面簡報轉化為視覺內容,在遵循指令、攝影級渲染、排版和靈活構圖方面表現出色。
如何使用 Grok Imagine Image 2.0 API 生成圖像? 建立你的 Pollo API 金鑰,選擇模型,並使用你偏好的輸出設定提交提示詞。檢查任務狀態,並在生成成功後下載圖像。
Grok Imagine Image 2.0 可以在圖像中生成文字嗎? 是的。它支援在生成的圖像中呈現文字。請提供精確的文案和預計放置位置,然後在發布完成的視覺內容前檢查拼字、可讀性和重複內容。
我可以選擇不同的圖像形狀和品質等級嗎? 是的。API 提供輸出形狀、解析度和品質選項。請選擇適合預期投放位置的設定,然後根據你的簡報評估產生結果的細節和構圖。
為什麼要透過 Pollo API 執行 Grok Imagine Image 2.0? Pollo API 為 Grok Imagine Image 2.0 以及 300 多個圖像和影片模型提供一個整合,並附有開發者文件、任務追蹤、webhooks 和按使用量計費的定價。