ComfyUI > Nodes > ComfyUI Griptape Nodes

ComfyUI Extension: ComfyUI Griptape Nodes

Repo Name

ComfyUI-Griptape

Author
griptape-ai (Account age: 560 days)
Nodes
View all nodes(45)
Latest Updated
2024-08-15
Github Stars
0.09K

How to Install ComfyUI Griptape Nodes

Install this extension via the ComfyUI Manager by searching for ComfyUI Griptape Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI Griptape Nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

ComfyUI Griptape Nodes Description

ComfyUI Griptape Nodes integrates the Griptape Python Framework with ComfyUI, creating a series of nodes that enhance your workflow by incorporating AI capabilities.

ComfyUI Griptape Nodes Introduction

ComfyUI-Griptape is an extension that integrates the Griptape Python Framework with ComfyUI, enabling you to incorporate Large Language Models (LLMs) and AI into your creative workflow. This extension provides a series of nodes that allow you to create and manage AI agents, control their behavior, and utilize various tools to enhance your projects. Whether you're generating images, transcribing audio, or performing complex tasks, ComfyUI-Griptape simplifies the process, making advanced AI capabilities accessible to AI artists.

How ComfyUI Griptape Nodes Works

ComfyUI-Griptape works by creating nodes that interface with the Griptape framework. These nodes allow you to set up AI agents, define their tasks, and control their behavior using rules and tools. Think of it as a toolkit where each tool (node) has a specific function, and you can combine these tools to create complex workflows. For example, you can use nodes to generate image descriptions, merge them into a single string, and then create a new image based on that description. The extension leverages both local models and paid API services to provide flexibility and power in your AI-driven projects.

ComfyUI Griptape Nodes Features

Agents

  • Local Models: Utilize models like Llama 3 and Mistral via Ollama and LM Studio.
  • API Models: Access models from OpenAI, Amazon Bedrock, Google Gemini, and Anthropic Claude using API keys.

Control Agent Behavior

  • Rules and Rulesets: Define rules to control how agents behave and interact with tasks.

Tools

  • Calculator: Perform mathematical calculations.
  • DateTime: Manage date and time-related tasks.
  • WebScraper: Extract information from web pages.
  • FileManager: Handle file operations.
  • AudioTranscriptionClient: Transcribe audio files.
  • GriptapeCloudKnowledgeBaseClient: Access a cloud-based knowledge base.

Tasks

  • PromptTask: Generate text based on a prompt.
  • TextSummaryTask: Summarize text content.
  • ToolTask: Execute specific tools.
  • ToolkitTask: Manage a set of tools.
  • PromptImageGenerationTask: Generate images from text prompts.
  • ImageQueryTask: Query images based on text.
  • VariationImageGenerationTask: Generate image variations (Beta).

Image Generation

  • Models: Generate images using models from OpenAI, Amazon Bedrock Stable Diffusion, Amazon Bedrock Titan, and Leonardo.AI.

Audio Transcription

  • Transcribe Audio: Convert audio files into text.

ComfyUI Griptape Nodes Models

Local Models

  • Llama 3: A versatile model for various tasks.
  • Mistral: Another powerful model for local use.

API Models

  • OpenAI: Access advanced language models.
  • Amazon Bedrock: Utilize Stable Diffusion and Titan models.
  • Google Gemini: Leverage Google's AI capabilities.
  • Anthropic Claude: Use Claude for specific AI tasks.

Troubleshooting ComfyUI Griptape Nodes

Common Issues and Solutions

Griptape Not Updating

If you encounter an error like:

ImportError: cannot import name 'OllamaPromptDriver' from 'griptape.drivers'

Try the following steps:

  1. Update via the ComfyUI Manager.
  2. Uninstall and reinstall the Griptape nodes via the ComfyUI Manager.
  3. Run python -m pip install griptape -U in your ComfyUI directory.
  4. Reach out on the Griptape Discord for help.

API Keys

Ensure your environment variables are set correctly. If not, manually update the griptape_config.json file with the appropriate keys.

Learn More about ComfyUI Griptape Nodes

Tutorials and Documentation

  • YouTube Playlist: Watch instructional videos on how to use ComfyUI-Griptape here.

Additional Resources

  • Griptape Documentation: Explore the Griptape Docs (https://docs.griptape.ai/) for detailed information on the framework.
  • Community Support: Join the Griptape Discord to ask questions and get support from other users. By following this guide, you can effectively integrate ComfyUI-Griptape into your AI art projects, leveraging the power of advanced AI models and tools to enhance your creative workflow.

ComfyUI Griptape Nodes Related Nodes

RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.