ernie 工作流程
This is the full non-turbo version of the new Ernie Image model by Baidu Labs. See the ernie-turbo workflow on details about what ernie excels at. Note that this will be slower to render than turbo, but may give better results depending on the type of image. Negative prompts will work with this version, a default one is included but you are free to provide your own! Uses a guidance default of 4 as recommended by Baidu Labs. Though, they also recommend a step count of 50, but due to the extra time this model takes to render at, I've set the default to 20.
支援 Graydient 技術的應用程式
選項
| 選項 | 映射至 | 預設 |
|---|---|---|
(prompt) | Prompt text | — |
/run:ernie | Workflow shortcode | ernie |
使用的模型
/run:ernie 匯入 在 ModelTrends 查看 給開發者(可選)
API 範例程式碼。你可以用此工作流程建立個人使用的應用程式。準備部署時請 升級為商業方案。詳見 完整渲染 API 文件。
curl https://cloud.graydient.ai/api/v3/render/ \
-X POST \
-H "Content-Type: application/vnd.api+json" \
-H "Accept: application/vnd.api+json" \
-H "Authorization: Bearer $GRAYDIENT_TOKEN" \
-d '{
"prompt": "/workflow /run:ernie ",
"callback_url": "https://example.com/webhook/render"
}'這是幕後運作方式。這已經為你設定好。上表中的參數會插入這些位置,讓你能改變運作方式及載入的模型。你不必理解或修改它——它已經能正常運作。
此工作流程頁列出短碼、選項及 ModelTrends 下載。完整節點圖可隨工作流程下載於 ModelTrends 取得。 此頁尚未繪製此工作流程的節點圖。請在 ModelTrends 開啟以下載工作流程檔案及其載入的模型。
所有工作流程:強大的工作流程