JigsawStack icon

JigsawStack

Use JigsawStack API

Actions20

Process Image → Process Image

AI-generated

Overview

This node processes images using the JigsawStack API based on a descriptive prompt provided by the user. It supports processing images from either a URL or a file stored in JigsawStack's file storage. Users can specify a range of pages to process for multi-page documents, making it useful for extracting specific data or analyzing images in detail. Practical applications include image content analysis, data extraction from images, and processing multi-page image documents.

Use Case Examples

  1. Extract text or objects from an image by providing a detailed prompt and image URL.
  2. Process a multi-page scanned document by specifying the start and end pages to extract relevant information.
  3. Use a file stored in JigsawStack's file storage as the image source for processing.

Properties

Name Meaning
Prompt The prompt used to describe the image or specific data to extract, guiding the image processing.
Image Source The source of the image to process, either an Image URL or a File Store Key.
Image URL The URL of the image to process, required if Image Source is set to URL.
File Store Key The key used to store the image on JigsawStack File Storage, required if Image Source is set to File Store Key.
Page Range Specify a range of pages to process for multi-page documents, including start and end page numbers.
Request Options Additional request settings such as batching, SSL certificate validation, proxy configuration, and timeout settings.

Output

JSON

  • processedImageData - The processed image data or extracted information based on the prompt and image source.

Dependencies

  • JigsawStack API key credential for authentication

Troubleshooting

  • Ensure the API key credential is correctly configured and valid to avoid authentication errors.
  • Verify the image URL or file store key is correct and accessible to prevent resource not found errors.
  • Check the page range values to ensure they are within the valid range for multi-page documents.
  • If SSL issues occur, consider enabling the option to ignore SSL certificate validation, but be aware of security risks.
  • Adjust timeout and batching settings if requests are timing out or being throttled by the API.

Discussion