Skip to product information

AI Vision Webhook Workflow: Stock Photo Metadata via JSON/CSV

AI Vision Webhook Workflow: Stock Photo Metadata via JSON/CSV

 (200+Reviews)
Regular price £12.99
Regular price £12.99 Sale price
SAVE Sold out
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
🔥
128+ Sold
Popular with n8n builders
âš¡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
AI Vision Webhook Workflow: Stock Photo Metadata via JSON/CSV

AI Vision Webhook Workflow: Stock Photo Metadata via JSON/CSV

Regular price £12.99
Regular price £12.99 Sale price
SAVE Sold out

Generate Stock Photo Metadata from Images—Automatically via Webhook

This n8n workflow turns an incoming image (URL or Base64) into ready-to-publish stock-photo metadata. Using the OpenAI Chat Completions API (vision), it returns a structured JSON result and a copy-ready CSV row—perfect for fast, consistent SEO tagging.

What this workflow does

  • Receives image input via webhook: Handles a POST request containing either imageUrl (a public URL) or imageBase64 (a data URL).
  • Validates and normalizes the image: Validates the request and normalizes it into a single image reference for downstream processing.
  • Creates metadata with OpenAI vision: Sends the image to the OpenAI Chat Completions API using the gpt-4o-mini model, along with a prompt to generate stock-photo metadata.
  • Parses required fields: Extracts a title, description, and 20–40 keywords. The workflow fails if required fields are missing.
  • Formats output for publishing: Produces a single CSV row (title, description, keywords) and returns both the JSON metadata and the CSV content in the webhook response.

Use cases

  • Bulk-produce SEO-friendly stock-photo listings from images uploaded by a SaaS or internal tool.
  • Automatically generate titles, descriptions, and keyword sets for an image library or catalog.
  • Streamline metadata creation for e-commerce product photography systems that require CSV ingestion.
  • Reduce manual tagging work by routing image URLs/Base64 to an n8n endpoint.

Technical details

  • Nodes / components: Webhook, Code, HTTP Request, Respond to Webhook.
  • External API: OpenAI Chat Completions API (vision) using gpt-4o-mini.
  • Authentication: Add your OpenAI API key by replacing YOUR_OPENAI_API_KEY in the HTTP request Authorization header.
  • Output: Webhook response includes structured JSON and a ready-to-copy CSV row (title, description, keywords).
View full details