Lark AI icon

Lark AI

Lark AI Management

Overview

The node provides integration with Lark AI services, specifically supporting image recognition tasks such as basic OCR (Optical Character Recognition). It allows users to send images to the Lark AI API and receive extracted text data from those images. This is useful for automating data extraction from scanned documents, photos of receipts, or any image containing textual information.

Typical use cases include:

  • Extracting text from invoices or receipts for accounting automation.
  • Digitizing printed forms or handwritten notes.
  • Processing images in workflows that require text analysis or storage.

Properties

Name Meaning
Authentication Method of authenticating API requests. Options: "Tenant Token" or "OAuth2".
Image The image data or URL to be processed for OCR.
Use Custom Body Boolean flag indicating whether to send a custom JSON body instead of the default structure.
Custom Body A JSON object allowing full customization of the request payload sent to the API.

Output

The node outputs JSON data containing the OCR results returned by the Lark AI service. This typically includes recognized text strings extracted from the input image, along with metadata about the recognition process.

If binary data output is supported (not explicitly shown here), it would represent raw image data or processed files, but this node primarily focuses on JSON text extraction results.

Dependencies

  • Requires an active Lark AI API account with appropriate credentials.
  • Supports two authentication methods: a tenant token or OAuth2 token.
  • Needs network access to https://open.larksuite.com/open-apis.
  • No additional external dependencies beyond standard HTTP requests.

Troubleshooting

  • Authentication errors: Ensure the correct authentication method is selected and valid credentials are provided.
  • Invalid image data: Verify that the image input is correctly formatted and accessible.
  • API rate limits or quota exceeded: Check your Lark AI account usage limits.
  • Malformed custom body: When using the custom body option, ensure the JSON is valid and matches the API specification.
  • Network issues: Confirm internet connectivity and that the base URL is reachable.

Links and References

Discussion