POST https://www.aistockkeywords.com/api/public/v1/generate-metadata
Generates AI-powered metadata for an uploaded image file or a remotely hosted image referenced by URL.
file
or fileUrl
is required. If both are supplied the uploaded file
takes precedence.POST https://www.aistockkeywords.com/api/public/v1/generate-metadata?apiKey=YOUR_API_KEY&numberOfKeywords=6&shortTitle=true Content-Type: multipart/form-data file: [your image file]
POST https://www.aistockkeywords.com/api/public/v1/generate-metadata?apiKey=YOUR_API_KEY Content-Type: multipart/form-data fileUrl: https://example.com/path/to/image.jpg
{ "title": "Sunset over the mountains", "description": "A beautiful sunset casting warm colors over a mountain landscape.", "keywords": [ "sunset", "mountains", "landscape", "nature", "sky", "scenery", ] }