工作流 /
音频 /
Pika Music:文本生成音乐

Pika Music:文本生成音乐
Pika Music: Text to Music
在 Pika Music 中写下风格描述和可选歌词,通过合作方 API 直接生成成品歌曲,无需下载模型权重。把编曲、氛围与配器写进提示词,需要人声时加上 [Verse]、[Chorus] 这类段落标签,纯音乐则留空,时长可从 10 秒到 360 秒任意选择;同一节点还能切到翻唱模式,按原曲长度重新演绎上传的歌曲。适合为预告片、广告配乐和背景音乐快速出稿,没有 GPU 的机器也能用。
音频
2 个节点 32 次使用 ComfyUI ≥ 0.44.3 ComfyUI 3 KB
节点构成
PikaMusicNode
× 1
SaveAudioAdvanced
× 1
官方标注的模型
Pika
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "7526e758-a42e-5ea1-8b82-a9519c0b868b",
3 "revision": 0,
4 "last_node_id": 2,
5 "last_link_id": 1,
6 "nodes": [
7 {
8 "id": 1,
9 "type": "PikaMusicNode",
10 "pos": [
11 -420,
12 120
13 ],
14 "size": [
15 460,
16 540
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [
23 {
24 "name": "AUDIO",
25 "type": "AUDIO",
26 "links": [
27 1
28 ]
29 }
30 ],
31 "properties": {
32 "Node name for S&R": "PikaMusicNode",
33 "cnr_id": "comfy-core",
34 "ver": "0.44.0"
35 },
36 "widgets_values": [
37 "text to music",
38 "Slow-burning indie soul ballad at 72 BPM: warm Rhodes electric piano, brushed drums, upright bass and a soft horn section that swells in the chorus. Intimate late-night lounge mood, analog tape saturation, wide stereo reverb.",
39 "[Verse]\nStreetlights hum on the empty avenue\nI keep your key and the coat you outgrew\n[Chorus]\nStay a little longer in the low light\nLet the record spin until the morning finds us",
40 30,
41 false,
42 42,
43 "fixed"
44 ],
45 "widgets_values_named": {
46 "mode": "text to music",
47 "mode.prompt": "Slow-burning indie soul ballad at 72 BPM: warm Rhodes electric piano, brushed drums, upright bass and a soft horn section that swells in the chorus. Intimate late-night lounge mood, analog tape saturation, wide stereo reverb.",
48 "mode.lyrics": "[Verse]\nStreetlights hum on the empty avenue\nI keep your key and the coat you outgrew\n[Chorus]\nStay a little longer in the low light\nLet the record spin until the morning finds us",
49 "mode.duration": 30,
50 "mode.rewrite_prompt": false,
51 "mode.seed": 42,
52 "control_after_generate": "fixed"
53 }
54 },
55 {
56 "id": 2,
57 "type": "SaveAudioAdvanced",
58 "pos": [
59 180,
60 120
61 ],
62 "size": [
63 470,
64 210
65 ],
66 "flags": [],
67 "order": 1,
68 "mode": 0,
69 "inputs": [
70 {
71 "name": "audio",
72 "type": "AUDIO",
73 "link": 1
74 }
75 ],
76 "outputs": [
77 {
78 "name": "audio",
79 "type": "AUDIO",
80 "links": []
81 }
82 ],
83 "properties": {
84 "Node name for S&R": "SaveAudioAdvanced",
85 "cnr_id": "comfy-core",
86 "ver": "0.44.0"
87 },
88 "widgets_values": [
89 "audio/Pika_Music",
90 "mp3",
91 "V0"
92 ],
93 "widgets_values_named": {
94 "filename_prefix": "audio/Pika_Music",
95 "format": "mp3",
96 "quality": "V0"
97 },
98 "title": "Save Music"
99 }
100 ],
101 "links": [
102 [
103 1,
104 1,
105 0,
106 2,
107 0,
108 "AUDIO"
109 ]
110 ],
111 "groups": [],
112 "config": [],
113 "extra": {
114 "ds": {
115 "scale": 1,
116 "offset": [
117 0,
118 0
119 ]
120 },
121 "frontendVersion": "1.58.5"
122 },
123 "version": 0.4
124}