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.
Bearer YOUR_API_KEY (required). Generate an API key on the account page.file or fileUrl is required. If both are supplied the uploaded file takes precedence.apiKey remains accepted as a query parameter only when the Authorization header is absent. New integrations should use the Authorization header.category and concise visual evidence; an empty array means no clear signal was found. Risks are not legal advice or a submission decision.POST https://www.aistockkeywords.com/api/public/v1/generate-metadata?numberOfKeywords=6&shortTitle=true Content-Type: multipart/form-data Authorization: Bearer YOUR_API_KEY file: [your image file]
POST https://www.aistockkeywords.com/api/public/v1/generate-metadata Content-Type: multipart/form-data Authorization: Bearer YOUR_API_KEY 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"
],
"risks": [
{
"category": "visible_text",
"evidence": "Readable trail sign near the foreground"
}
]
}