GriptapeCloudImage
What is it?
The GriptapeCloudImage node sets up a connection to Griptape Cloud's image generation service.
When would I use it?
Use this node when you want to:
- Generate images using the Griptape Cloud service (you won't have to go register with OpenAI and get an api key)
- Create images with DALL-E 3 through Griptape's platform
How to use it
Basic Setup
- Add a GriptapeCloudImage node to your workflow
- Connect its driver output to nodes that need to generate images (like GenerateImage)
Parameters
- model: The model to use (default is "dall-e-3")
- image_size: The size of images to generate (default is "1024x1024")
- style: natural or vivid. Natural creates photorealistic images with natural lighting and textures, while vivid creates images with enhanced colors, contrast, and more dramatic compositions
- quality: Select the quality for image generation. Standard or HD.
Outputs
- image_model_config: The configured Griptape Cloud image model configuration that other nodes can use
Example
Imagine you want to create images using Griptape Cloud:
- Add a GriptapeCloudImage node to your workflow
- Set "size" to "1024x1792" for vertical images
- Connect the "image_model_config" output to a GenerateImage's "image_model_config" input
- Now that node will generate images using Griptape Cloud with your settings
Important Notes
- You need a valid Griptape API key set up in your environment as
GT_CLOUD_API_KEY
(this should be automagic with your being in Griptape Nodes at all!) - The node will automatically adjust image sizes based on model choice
- It should be noted, this is the default image_model_config for the GenerateImage node, and in fact should have no effect if plugged into that node.