# Stockimg Automator

> Local AI stock-photo pipeline using Ollama vision, Flux Schnell img2img + LoRA, Real-ESRGAN 4x upscaling, and Adobe Stock metadata.csv export—no cloud APIs required.

Stockimg Automator is a free AI agent skill on Agensi by Hasanul Karim, in Image & Video. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Hasanul Karim](https://www.agensi.io/creators/hasanul-karim)
- Category: [Image & Video](https://www.agensi.io/skills/image-video)
- Version: 1.0
- Last updated: 2026-11-29
- Security: scan passed (2026-11-29); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/stockimg-automator
- Tags: stock-photography, adobe-stock, flux, ollama, image-generation, local-ai, real-esrgan, metadata-csv

## About this skill

Managing a stock photography portfolio manually is slow. Tagging, titling, and generating high-quality variants usually requires multiple cloud subscriptions and hours of manual data entry. This skill automates the entire local pipeline from reference image to Adobe Stock-ready CSV.

### What it does
- **Vision analysis** extracts SEO titles and keywords from reference images using local Ollama models.
- **Image generation** creates 1024x1024 photorealistic variants using Flux Schnell img2img and LoRA weights.
- **Batch processing** handles entire folders of reference photos in a single run.
- **Automated upscaling** applies 4x Real-ESRGAN ncnn-vulkan to generated assets.
- **Metadata export** generates and validates Adobe Stock-compliant CSV files with category IDs and keyword limits.

### How it works
1. **Environment check** verifies local CUDA, Ollama, and model path configurations via a setup script.
2. **Execution mode** selection determines if you are running the full generation pipeline, metadata extraction only, or CSV validation.
3. **Pipeline execution** processes images through vision analysis and diffusion to create the final assets.
4. **Validation** repairs the output CSV to ensure it meets Adobe Stock's strict character counts and keyword limits.

### Frameworks & tools
Built for Python 3.8+ environments using PyTorch, Diffusers, Transformers, and Pandas. It integrates locally with Ollama (Gemma/Llava), Flux Schnell, and Real-ESRGAN ncnn-vulkan.

### Why this beats prompting it yourself
Manual prompting for stock variants often lacks the specific SEO keyword density required for discovery. This skill coordinates vision and diffusion models to ensure the generated imagery matches the extracted metadata, saving you from copy-pasting between separate AI tools.

### Use cases
- Generate commercially viable stock variants from a personal photo library.
- Automate SEO metadata tagging for thousands of existing image assets.
- Upscale and prepare AI-generated batches for bulk Adobe Stock uploading.
- Clean and normalize malformed metadata CSVs to prevent upload rejection.

### Known limitations
Requires an NVIDIA GPU with at least 8GB VRAM. Real-ESRGAN requires the ncnn-vulkan executable to be present on the system path.

## Requires

- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Stockimg Automator skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What exactly does the Stockimg Automator do for my workflow?

The skill automates the heavy lifting of stock photography: it analyzes your reference images to generate SEO-rich metadata, creates high-quality AI variants using Flux img2img, upscales the results, and formats everything into an Adobe Stock-ready CSV.

### What are the hardware and software requirements to run this locally?

You will need an NVIDIA GPU with at least 8GB of VRAM and a local installation of Ollama. It is compatible with Python 3.8+ environments and utilizes the Real-ESRGAN ncnn-vulkan executable for high-quality upscaling.

### What is included in the skill purchase?

The purchase includes the complete Python-based skill pipeline, a specialized setup script for environment verification, and pre-configured integration modules for Ollama and Flux Schnell. It also includes the CSV validation utility for Adobe Stock compliance.

### How does the skill ensure the metadata is compliant with Adobe Stock requirements?

The skill includes a dedicated validation script that automatically checks your CSV for Adobe Stock's specific character limits and keyword counts, repairing any malformed data before you upload.

### Can I use this skill just for metadata tagging without generating new images?

Yes, you can choose to run the full generation pipeline or use 'metadata only' mode to tag and title thousands of existing photos without generating new AI imagery.

### Does this skill automatically upload the images to my Adobe Stock account?

While the skill handles the bulk of the processing and formatting, you still perform the final upload to the Adobe Stock contributor portal to ensure you maintain full control over your account submissions.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
