Alur kerja 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.
Kompatibel / Tersedia di Aplikasi bertenaga Graydient
Opsi
| Opsi | Memetakan ke | Default |
|---|---|---|
(prompt) | Prompt text | — |
/run:ernie | Workflow shortcode | ernie |
Model yang digunakan
/run:ernie dari ModelTrends Lihat di ModelTrends Untuk Pengembang (opsional)
Contoh potongan API. Kamu bisa membuat aplikasi sendiri dengan alur kerja ini untuk penggunaan pribadi. Tingkatkan ke Paket Business saat kamu siap deploy. Lihat dokumentasi API rendering lengkap.
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"
}'Begini cara kerjanya di balik layar. Ini sudah dikonfigurasi untukmu. Parameter di tabel di atas terhubung ke slot ini, memungkinkan kamu mengubah cara kerjanya dan model mana yang dimuat. Kamu tidak perlu memahami atau mengubah ini - ini sudah berfungsi, sudah diatur.
Halaman alur kerja ini menampilkan shortcode, opsi, dan unduhan ModelTrends. Graf node lengkap tersedia dengan unduhan alur kerja di ModelTrends. Graf node untuk alur kerja ini belum digambar di halaman ini. Buka di ModelTrends untuk mengunduh file alur kerja dan model yang dimuat.
Semua workflow: Alur Kerja Kuat