Files
griptape-ai-ComfyUI-Griptape/examples/Griptape-Text-to-Speech.json
T
2024-07-30 06:58:28 -06:00

674 lines
14 KiB
JSON

{
"last_node_id": 28,
"last_link_id": 27,
"nodes": [
{
"id": 14,
"type": "Note",
"pos": [
563,
-194
],
"size": {
"0": 427.7603759765625,
"1": 174.40943908691406
},
"flags": {},
"order": 0,
"mode": 0,
"title": "Instructions",
"properties": {
"text": ""
},
"widgets_values": [
"To use these workflows, you will require two API keys saved in a .env file in your ComfyUI folder.\n\nOPENAI_API_KEY=\nELEVEN_LABS_API_KEY=\n\nThey are available here:\nhttps://platform.openai.com/api-keys\nhttps://elevenlabs.io/app/"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 17,
"type": "Griptape Text To Speech Driver: ElevenLabs",
"pos": [
204,
174
],
"size": {
"0": 352.79998779296875,
"1": 106
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "DRIVER",
"type": "TEXT_TO_SPEECH_DRIVER",
"links": [
15
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Griptape Text To Speech Driver: ElevenLabs"
},
"widgets_values": [
"eleven_multilingual_v2",
"Daniel",
"ELEVEN_LABS_API_KEY"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 18,
"type": "Griptape Run: Text to Speech",
"pos": [
594,
147
],
"size": {
"0": 414.70770263671875,
"1": 162.22833251953125
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "agent",
"type": "AGENT",
"link": null
},
{
"name": "driver",
"type": "TEXT_TO_SPEECH_DRIVER",
"link": 15
},
{
"name": "input_string",
"type": "STRING",
"link": null,
"widget": {
"name": "input_string"
}
}
],
"outputs": [
{
"name": "AUDIO",
"type": "AUDIO",
"links": [
16
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Griptape Run: Text to Speech"
},
"widgets_values": [
"Hi, this is Daniel from Eleven Labs talking about Griptape and ComfyUI Nodes.\n\nLearn more on our website:https://www.griptape.ai/griptape-comfyui-nodes",
""
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 19,
"type": "PreviewAudio",
"pos": [
1055,
157
],
"size": {
"0": 315,
"1": 76
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "audio",
"type": "AUDIO",
"link": 16
}
],
"properties": {
"Node name for S&R": "PreviewAudio"
},
"widgets_values": [
null
]
},
{
"id": 20,
"type": "Griptape Create: Agent",
"pos": [
326.9912944424799,
735.9697204437964
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "agent",
"type": "AGENT",
"link": null
},
{
"name": "config",
"type": "CONFIG",
"link": null
},
{
"name": "tools",
"type": "TOOL_LIST",
"link": 23
},
{
"name": "rulesets",
"type": "RULESET",
"link": 24
},
{
"name": "input_string",
"type": "STRING",
"link": null,
"widget": {
"name": "input_string"
}
}
],
"outputs": [
{
"name": "OUTPUT",
"type": "STRING",
"links": [
19
],
"slot_index": 0,
"shape": 3
},
{
"name": "AGENT",
"type": "AGENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Griptape Create: Agent"
},
"widgets_values": [
"",
"Describe your newly invented skateboard trick. Incorporate griptape.ai and comfyui nodes."
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 21,
"type": "Griptape Display: Text",
"pos": [
764,
755
],
"size": {
"0": 400,
"1": 400
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "INPUT",
"type": "STRING",
"link": 19,
"widget": {
"name": "INPUT"
}
}
],
"outputs": [
{
"name": "OUTPUT",
"type": "STRING",
"links": [
21
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Griptape Display: Text"
},
"widgets_values": [
"",
"Picture this, dude: you're cruising down the street, feeling the wind in your hair, and you decide to bust out the \"Griptape Comfy Flip.\" Here's how it goes:\n\n1. **Setup**: Start with a solid ollie, getting some sweet air under your board.\n2. **Griptape Glide**: As you reach the peak of your ollie, you initiate a smooth slide with your front foot, mimicking the precision of griptape.ai. This part is all about control and finesse, like a well-tuned guitar solo.\n3. **Comfy Spin**: While your front foot is gliding, your back foot kicks the tail of the board, initiating a 360-degree spin. This spin is as smooth and effortless as navigating through comfyui nodes, making it look like you're floating on air.\n4. **Catch and Land**: As the board completes its spin, you catch it with your feet, bringing it back under control. Land with style, knees bent, and ride away like a rockstar finishing a killer set.\n\nThe \"Griptape Comfy Flip\" is all about blending tech precision with smooth, effortless style. It's a trick that screams cool and laid-back, just like the grunge scene. So, next time you're out skating, give it a shot and show the world your inner rockstar!"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 22,
"type": "Griptape Run: Text to Speech",
"pos": [
1204.991294442479,
591.9697204437964
],
"size": {
"0": 302.4345703125,
"1": 128.694091796875
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "agent",
"type": "AGENT",
"link": null
},
{
"name": "driver",
"type": "TEXT_TO_SPEECH_DRIVER",
"link": 22
},
{
"name": "input_string",
"type": "STRING",
"link": 21,
"widget": {
"name": "input_string"
}
}
],
"outputs": [
{
"name": "AUDIO",
"type": "AUDIO",
"links": [
27
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Griptape Run: Text to Speech"
},
"widgets_values": [
"",
""
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 23,
"type": "Griptape Text To Speech Driver: ElevenLabs",
"pos": [
760,
593
],
"size": {
"0": 352.79998779296875,
"1": 106
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "DRIVER",
"type": "TEXT_TO_SPEECH_DRIVER",
"links": [
22
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Griptape Text To Speech Driver: ElevenLabs"
},
"widgets_values": [
"eleven_multilingual_v2",
"Eric",
"ELEVEN_LABS_API_KEY"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 24,
"type": "Griptape Tool: WebScraper",
"pos": [
-32,
688
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "TOOL",
"type": "TOOL_LIST",
"links": [
23
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Griptape Tool: WebScraper"
},
"widgets_values": [
false
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 25,
"type": "Griptape Combine: Rules List",
"pos": [
7,
948
],
"size": {
"0": 235.1999969482422,
"1": 66
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "rules_1",
"type": "RULESET",
"link": 25
},
{
"name": "rules_2",
"type": "RULESET",
"link": 26
},
{
"name": "rules_3",
"type": "RULESET",
"link": null
}
],
"outputs": [
{
"name": "RULESET",
"type": "RULESET",
"links": [
24
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Griptape Combine: Rules List"
}
},
{
"id": 26,
"type": "Griptape Create: Rules",
"pos": [
-293,
806
],
"size": {
"0": 275.2383728027344,
"1": 172.63270568847656
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "RULES",
"type": "RULESET",
"links": [
25
],
"slot_index": 0,
"shape": 3
},
{
"name": "NAME",
"type": "STRING",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Griptape Create: Rules"
},
"widgets_values": [
"Personality",
"Act as a grunge enthusiast.\nYou are incredibly cool and relaxed.\nYou use metaphors extensively.\nYou are funny and not cheesy.\n"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 27,
"type": "Griptape Create: Rules",
"pos": [
-302.0087055575204,
1026.9697204437957
],
"size": {
"0": 278.7374572753906,
"1": 121.91092681884766
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "RULES",
"type": "RULESET",
"links": [
26
],
"slot_index": 0,
"shape": 3
},
{
"name": "NAME",
"type": "STRING",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Griptape Create: Rules"
},
"widgets_values": [
"Research Rule",
"Use the WebScraper to research your topic."
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 28,
"type": "PreviewAudio",
"pos": [
1575,
584
],
"size": {
"0": 315,
"1": 76
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "audio",
"type": "AUDIO",
"link": 27
}
],
"properties": {
"Node name for S&R": "PreviewAudio"
},
"widgets_values": [
null
]
}
],
"links": [
[
15,
17,
0,
18,
1,
"TEXT_TO_SPEECH_DRIVER"
],
[
16,
18,
0,
19,
0,
"AUDIO"
],
[
19,
20,
0,
21,
0,
"STRING"
],
[
21,
21,
0,
22,
2,
"STRING"
],
[
22,
23,
0,
22,
1,
"TEXT_TO_SPEECH_DRIVER"
],
[
23,
24,
0,
20,
2,
"TOOL_LIST"
],
[
24,
25,
0,
20,
3,
"RULESET"
],
[
25,
26,
0,
25,
0,
"RULESET"
],
[
26,
27,
0,
25,
1,
"RULESET"
],
[
27,
22,
0,
28,
0,
"AUDIO"
]
],
"groups": [
{
"title": "Griptape Text to Speech",
"bounding": [
191,
71,
1205,
263
],
"color": "#3f789e",
"font_size": 24,
"locked": false
},
{
"title": "Beatnic Agent generating text",
"bounding": [
-312,
503,
2275,
675
],
"color": "#a1309b",
"font_size": 24,
"locked": false
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.5131581182307068,
"offset": [
441.83955789283533,
291.728419754577
]
},
"info": {
"name": "workflow",
"author": "",
"description": "",
"version": "1",
"created": "2024-07-30T12:53:59.261Z",
"modified": "2024-07-30T12:53:59.261Z",
"software": "ComfyUI"
}
},
"version": 0.4
}