שפה

זרימת עבודה של ernie

יובא מ-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.

תואם / זמין באפליקציות מבוססות Graydient

אפשרויות

אפשרותמתאים לברירת מחדל
(prompt)Prompt text—
/run:ernieWorkflow shortcodeernie

דגמים בשימוש

ernie המודל יובא על ידי קוד קצר /run:ernie מ-ModelTrends ראה את זה ב-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 כדי להוריד את קובץ זרימת העבודה ואת הדגמים שהוא טוען.

כל תהליכי העבודה: זרימות עבודה עוצמתיות

ראה תוכניות ותמחור