Grok Imagine grok-imagine-edit-image API
透過 RunAPI 統一 AI API 提供的模型變體。
# Install the model skill for app development workflows
npx skills add runapi-ai/grok-imagine -g
Install the Grok Imagine skill for this app: 1. Add runapi-ai/grok-imagine with the skills installer. 2. Load SKILL.md in this workspace. 3. Use its docs, schemas, pricing notes, and setup steps when adding model features. 4. Confirm the install path when done.
grok-imagine-edit-image 針對 Grok Imagine 系列中品質與成本的最佳平衡點。
- 按次收費,美元計價
- 生成失敗不收費
- 如模型支援,提供串流輸出
- Model skill setup
收費
技術詳情
| 模型 ID | grok-imagine-edit-image |
| 供應商 | xAI |
| 模式 | image |
| 任務類型 | asynchronous |
| 計費單位 | call |
| API endpoint | /api/v1/grok_imagine/edit_image |
| 商業授權 | 是 — 已透過 API 包含 |
| 狀態 | 可正常運作 |
快速開始 — grok-imagine-edit-image
結構一致 · variant 已固定於 model 中
# Install the model skill for app development workflows
npx skills add runapi-ai/grok-imagine -g
Install the Grok Imagine skill for this app: 1. Add runapi-ai/grok-imagine with the skills installer. 2. Load SKILL.md in this workspace. 3. Use its docs, schemas, pricing notes, and setup steps when adding model features. 4. Confirm the install path when done.
四步使用 grok-imagine-edit-image
安裝
為此模型系列安裝 model skill。
設定
將 model 欄位設為本頁顯示的完整 model ID。
呼叫
連同 prompt、inputs 及 callback 設定,送出一個 typed request。
接收
從 RunAPI 讀取 task response、webhook callback 或 cached output URL。
grok-imagine-edit-image 有咩不同
Prompt-guided style transfer and composition editing from one source image
Input image becomes frame 1; animates with motion + camera
Prompt-guided style transfer and composition editing from one source image
Aurora model; 7 aspect ratios; realistic/artistic/anime styles
Prompt-guided style transfer and composition editing from one source image
6–10s video from text with synchronized native audio and lip-sync
最適合
產品攝影
自動生成適合電商 catalog、但冇 studio 攝影的 lifestyle 產品相。
遊戲及概念美術
在落實最終美術之前,快速構思場景同角色。
編輯插畫
大規模生成獨特封面圖同插畫,適合 blog post 同文章。
關於 grok-imagine-edit-image 的常見問題
模型 ID 會否在不同版本之間保持穩定?
RunAPI 會保持 model ID 穩定,並處理相容的版本更新,而不需要改動你的 request 格式。
這個 variant 的 rate limit 係多少?
每個 key 的 rate limit 會按使用層級而定。請查看定價頁了解最新限制。
之後可以切換 variant 嗎?
可以——variant 只係一個旗標。只要更改 model 參數就可以切換。
支援 streaming 嗎?
在可用 streaming 的情況下,RunAPI 會端到端串流。
我應該在邊度回報品質問題?
可以在公開 GitHub repo 開 issue,或者電郵支援團隊。