Griptape Agents to enhance image generation
created 8 months ago
28 nodes

327

18

Credits
Griptape.ai
Outputs
example image output 0 for workflow.
example image output 1 for workflow.
example image output 2 for workflow.
example image output optimized_comfy_workflows_user_uploads/ae56677f-6bcd-45a4-bfdd-c2a16009fa07/assets/ComfyUI_temp_ebaxv_00001_.webp for workflow.
Description

This workflow demonstrates using AI Agents as experts in their respective fields to create better image generation prompts. It uses Griptape's ComfyUI nodes (https://github.com/griptape-ai/ComfyUI-Griptape), OpenAi's gpt-4o, dall-e-3, and ollama with llama3.1.

In the example image provided, the prompt was "stuffed bunny". The agents provided additional context automatically, giving feedback on color, cinematography, detail, and used websearches to provide proper prompt information.

Based on their feedback, "stuffed bunny" became:

"Stuffed bunny, medium close-up, positioned on a plush cushion in a cozy children's bedroom at dusk. Captured with a Canon EOS 5D Mark IV, 50mm lens. The scene is bathed in soft golden light, creating a warm glow with muted earthy tones of beige, cream, and soft gray. The bunny has pastel pink fur, centered in the frame, slightly above eye level. It features a faded plush toy appearance, with a worn-out cotton ball tail, lopsided head, matted and frayed fur, glassy plastic eyes, and a hand-sewn patch on its left ear."

Built-in nodes
Custom nodes
Griptape Create: Agent
Griptape Create: Rules
Griptape Tool: WebSearch
Griptape Tool: WebScraper
Griptape Combine: Tool List
Griptape Convert: Agent to Tool
Griptape Create: Image from Text
Griptape Display: Image
Griptape Driver: OpenAI Image Generation
Griptape WebSearch Driver: DuckDuckGo
Griptape Agent Config: Ollama Drivers
Griptape Display: Text
Custom files
new

These are separate files that the creator has uploaded for this workflow.

custom file comfy_workflows_user_uploads/ae56677f-6bcd-45a4-bfdd-c2a16009fa07/custom_files/stuffed_bunny.png

stuffed_bunny.png

custom file comfy_workflows_user_uploads/ae56677f-6bcd-45a4-bfdd-c2a16009fa07/custom_files/Photographer-Workflow-Comparison-Example.png

Photographer-Workflow-Comparison-Example.png

0
0
0
0