Legnext icon

Legnext

Interact with the Legnext API

Image → Describe

AI-generated

Summary

Describe an image via Legnext API

Inputs

  • imgUrl (required) — URL link to the image to describe
  • callback — Optional webhook URL to receive the result when the describe task is completed
  • requestOptions — HTTP request configuration options such as batching, timeout, proxy, and SSL verification

Output shape

a single JSON object containing the image description

The response includes the description fields returned by Legnext; errors are propagated as n8n errors.

Examples

Example 1: Describe an image and receive the result via a webhook

Set imgUrl to https://example.com/image.jpg, callback to https://mywebhook.com/legnext/callback, and optionally adjust batchSize or timeout in requestOptions

Discussion