Marketing Architects icon

Marketing Architects

Consume Marketing Architects API

Image → Analyze Image

AI-generated

Summary

Analyze an image using the Marketing Architects AI service.

Inputs

  • url — The URL of the image to analyze. Alternative to uploading a file.
  • prompt — The prompt describing what you want to analyze in the image
  • model — The AI model to use for image analysis
  • retrySettings — Configure retry behavior on failure
  • requestOptions — Additional request options such as batching, proxy, SSL, timeout
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
  • proxy — HTTP proxy to use
  • timeout — Time in ms to wait for the server to send response headers before aborting the request

Output shape

object

Returns the analysis result from the Marketing Architects API; on error throws a NodeApiError.

Examples

Example 1: Identify product in an image

Set Image URL to a publicly accessible image URL, set Prompt to 'What product is shown in this image?', leave Model empty to use default.

Links

Discussion