Files
griptape-ai-ComfyUI-Griptape/examples/Griptape-Text-to-Speech.json
T

663 lines
14 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"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": 315,
"1": 106
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "DRIVER",
"type": "TEXT_TO_SPEECH_DRIVER",
"links": [
15
],
"shape": 3,
"slot_index": 0
}
],
"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": [
414.70770380537056,
162.22833524948408
],
"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
],
"shape": 3,
"slot_index": 0
}
],
"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": [
400,
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
],
"shape": 3,
"slot_index": 0
},
{
"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": [
397.45082366688166,
398.4287317002752
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "INPUT",
"type": "STRING",
"link": 19,
"widget": {
"name": "INPUT"
}
}
],
"outputs": [
{
"name": "OUTPUT",
"type": "STRING",
"links": [
21
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Griptape Display: Text"
},
"widgets_values": [
"",
"Alright, imagine this: you're cruising down the street, feeling the wind in your hair and the pavement beneath your wheels. You decide it's time to bust out a trick that's gonna blow minds and leave a mark on the skateboarding world. I call it the \"Griptape Comfy Flip.\"\n\nHere's how it goes down:\n\n1. **The Setup**: You start by rolling at a moderate speed, feet positioned just right on the griptape, feeling that perfect grip and control. Your front foot is near the middle of the board, and your back foot is on the tail, ready to pop.\n\n2. **The Pop**: You give a solid pop with your back foot, launching the board into the air. But here's where it gets wild – as the board starts to rise, you use your front foot to initiate a flip, just like a kickflip.\n\n3. **The Comfy Node**: Now, this is where the magic happens. As the board flips, you use your back foot to guide it into a smooth, almost lazy spin, like a comfyui node in a neural network, effortlessly connecting and flowing. The board does a 360-degree horizontal spin while simultaneously flipping vertically.\n\n4. **The Catch**: As the board completes its spin and flip, you catch it with your front foot, bringing it back under control. The griptape gives you that perfect grip, ensuring you stick the landing.\n\n5. **The Roll Away**: You land smoothly, knees bent to absorb the impact, and roll away like nothing happened, leaving onlookers in awe of your new trick.\n\nThe \"Griptape Comfy Flip\" is all about combining the precision and grip of your board with the smooth, effortless flow of a comfyui node. It's a trick that looks complex but feels natural, like it was meant to be. So, next time you're out there shredding, give it a shot and watch the crowd go wild!"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 22,
"type": "Griptape Run: Text to Speech",
"pos": [
1204.991294442479,
591.9697204437964
],
"size": [
302.43456241532135,
128.69409563453064
],
"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
],
"shape": 3,
"slot_index": 0
}
],
"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": 315,
"1": 106
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "DRIVER",
"type": "TEXT_TO_SPEECH_DRIVER",
"links": [
22
],
"shape": 3,
"slot_index": 0
}
],
"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
],
"shape": 3,
"slot_index": 0
}
],
"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": 0,
"link": null
}
],
"outputs": [
{
"name": "RULESET",
"type": "RULESET",
"links": [
24
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Griptape Combine: Rules List"
}
},
{
"id": 26,
"type": "Griptape Create: Rules",
"pos": [
-293,
806
],
"size": [
275.23837075464866,
172.63271251856304
],
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "RULES",
"type": "RULESET",
"links": [
25
],
"shape": 3,
"slot_index": 0
},
{
"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": [
278.7374428459371,
121.9109259590648
],
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "RULES",
"type": "RULESET",
"links": [
26
],
"shape": 3,
"slot_index": 0
},
{
"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
},
{
"title": "Beatnic Agent generating text",
"bounding": [
-312,
503,
2275,
675
],
"color": "#a1309b",
"font_size": 24
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.5131581182307068,
"offset": [
441.83955789283533,
291.728419754577
]
}
},
"version": 0.4
}