Actions20
- AI Scrape Actions
- Analyze Sentiment Actions
- Convert to SQL Actions
- Generate Embedding Actions
- HTML to Any Actions
- Image Generation Actions
- Make Prediction Actions
- NSFW Detection Actions
- Object Detection Actions
- Process Image Actions
- Profanity Detection Actions
- Search Web Actions
- Spam Detection Actions
- Speech to Text Actions
- Spell Check Actions
- Summary Actions
- Text to Speech Actions
- Translate Actions
- Translate Image Actions
- Web Suggestion Actions
Image Generation → Image Generation
AI-generatedOverview
This node uses the JigsawStack API to generate images based on a text prompt. It supports various customization options such as aspect ratio, image dimensions, number of denoising steps, and output format. Users can choose to receive the generated image as a URL, base64 string, or binary data. This node is useful for scenarios like creating AI-generated artwork, visual content for marketing, or any application requiring automated image creation from textual descriptions.
Use Case Examples
- Generating a 256x256 image with a 1:1 aspect ratio from a descriptive prompt and receiving the image URL.
- Creating a high-resolution image with custom width and height, returning the image as base64 for embedding in web pages.
- Generating an image and storing it in a file storage system using a specified file store key.
Properties
| Name | Meaning |
|---|---|
| Prompt | The text prompt to generate the image from, required for image generation. |
| Return Type | The format in which the generated image is returned: Base64 string, URL, or binary data. |
| Aspect Ratio | The aspect ratio of the generated image, e.g., 1:1, 16:9, 2:3, etc. |
| Width | Width of the generated image in pixels, ranging from 256 to 1920. |
| Height | Height of the generated image in pixels, ranging from 256 to 1920. |
| Steps | Number of denoising steps to apply during image generation, ranging from 1 to 90. |
| Output Format | The file format of the generated image, either PNG or SVG. |
| URL | A valid URL where the generated image will be sent, if applicable. |
| File Store Key | Key to store the generated image in a file storage system. |
| Advance Config | Advanced configuration options provided as a JSON object for fine-tuning image generation. |
| Request Options | Settings for request handling such as batching, SSL certificate validation, proxy, and timeout. |
Output
Binary
Binary output contains the generated image data when the return type is set to binary.
JSON
imageUrl- URL of the generated image if return type is URL.imageBase64- Base64 encoded string of the generated image if return type is Base64.fileStoreKey- Key where the generated image is stored if file storage is used.
Dependencies
- JigsawStack API key credential required for authentication.
Troubleshooting
- Ensure the API key credential is correctly configured and valid to avoid authentication errors.
- Verify that the prompt is not empty as it is required for image generation.
- Check that width and height values are within the allowed range (256-1920) to prevent validation errors.
- If using URL or file storage options, ensure the URL is valid and accessible, and the file store key is correctly set.
- Timeouts may occur if the server response is slow; adjust the timeout setting in request options accordingly.
Links
- JigsawStack API Documentation - Official documentation for the JigsawStack API used by this node.