ernie workflow
See plans and pricing
Installable from ModelTrends
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.
Compatible / Available in Graydient-powered Apps
Options
| Option | Maps to | Default |
|---|---|---|
(prompt) | Prompt text | — |
/run:ernie | Workflow shortcode | ernie |
Models used
/run:ernie from ModelTrends See it on ModelTrends For Developers (optional)
Example API snippet. You can build your own app with this workflow for personal use. Upgrade to a Business Plan when you're ready to deploy. See the full rendering API documentation.
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"
}'This is how it works behind the scenes. This is already configured for you. The parameters in the table above plug into these slots, allowing you to change how it works and which models get loaded. You don't have to understand or modify this - it just works, already set up.
This workflow page lists the shortcode, options and ModelTrends downloads. The full node graph is available with the workflow download on ModelTrends. The node graph for this workflow is not drawn on this page yet. Open it on ModelTrends to download the workflow file and the models it loads.
All the workflows: Powerful Workflows