זרימת עבודה של music yue2
YuE2: Unifying Symbolic and Audio Music Generation at Frontier Quality Give it lyrics (slot1) and a style prompt (positive prompt): it writes a melody-and-chord plan, then realizes that plan as a complete song with vocals and accompaniment. prompts are written like this; /wf /run:music-yue2 (style of your music) /slot1:(lyrics of your music) length set in seconds with /length: caps the length of your song but does not strictly set the actual duration of the song, it will find a natural resolution to the composition by itself. you can place [chorus][intro][outro][bridge][prechorus] lyrical structure tags inside of slot1 NB Workflow will return a lossless image barcode, decode it here https://unlimitedediting.github.io/ComfyUI-YuE2Fast/ there you can adjust the notation of the music and rearrange the score, diffusion is purely for style reply to a png to use that score for a new generation, ensure your png file is NOT compressed or the score data will be corrupted set /slot6:1 for epic orchestral scores
תואם / זמין באפליקציות מבוססות Graydient
אפשרויות
| אפשרות | מתאים ל | ברירת מחדל |
|---|---|---|
(prompt) | Prompt text | — |
/run:music-yue2 | Workflow shortcode | music-yue2 |
דגמים בשימוש
/run:music-yue2 מ-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:music-yue2 ",
"callback_url": "https://example.com/webhook/render"
}'ככה זה עובד מאחורי הקלעים. זה כבר מוגדר בשבילך. הפרמטרים בטבלה למעלה מתחברים למקומות האלה, ומאפשרים לך לשנות איך זה עובד ואילו מודלים נטענים. אין צורך להבין או לשנות את זה - זה פשוט עובד, כבר מוכן.
דף זרימת העבודה הזה מציג את הקוד הקצר, אפשרויות והורדות מ-ModelTrends. גרף הצמתים המלא זמין עם הורדת זרימת העבודה ב-ModelTrends. גרף הצמתים של זרימת עבודה זו עדיין לא מצויר בדף זה. פתח אותו ב-ModelTrends כדי להוריד את קובץ זרימת העבודה ואת הדגמים שהוא טוען.
כל תהליכי העבודה: זרימות עבודה עוצמתיות