imagekit-developer/skills

ai-tasks

Apply AI-powered analysis to images for business-specific tagging, metadata extraction, and quality checks using controlled vocabularies.

查看源码
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

AI Tasks Skill

When to use

  • User wants to tag images with business-specific categories
  • User needs controlled vocabularies (predefined value lists)
  • User wants yes/no quality checks on images
  • User needs to extract metadata using natural language analysis

AI Task Structure

Each AI Task contains 1-10 sub-tasks with:

  1. Instruction (required): Natural language question about the image
  2. Action Type (required): select_tags, select_metadata, or yes_no
  3. Vocabulary (optional): 1-30 predefined approved values

Action Types

select_tags

Adds tags from vocabulary. Supports multiple selections.

json
{
  "type": "select_tags",
  "instruction": "What body style is this vehicle?",
  "vocabulary": ["sedan", "suv", "hatchback"],
  "max_selections": 1
}

select_metadata

Sets custom metadata field (field must exist in DAM).

json
{
  "type": "select_metadata",
  "instruction": "What is the primary color?",
  "field": "primary_color",
  "vocabulary": ["red", "blue", "white", "black"],
  "max_selections": 1
}

yes_no

Binary quality check with conditional actions.

json
{
  "type": "yes_no",
  "instruction": "Is the product completely visible?",
  "on_yes": { "add_tags": ["framing_ok"] },
  "on_no": { "add_tags": ["needs_reshot"] }
}

Gotchas

  • Instruction clarity: Be specific ("What is the collar type?" not "Describe the image")
  • Vocabulary design: Use business terminology, non-overlapping, 1-30 items max
  • Field requirements: For select_metadata, field must exist in DAM first
  • Tag values: Cannot contain % character
  • yes_no tasks: Must have at least one of on_yes or on_no
  • Vocabulary length: Max 500 characters combined (select_tags only)
  • Scope: Works on visual content only (images/videos)

Applying AI Tasks

  • Via Saved Extensions: Create and apply via dashboard/API
  • Via API at Upload: Include in extensions array
  • Via Path Policies: Auto-apply to files in specific folders

Full examples

For complete, copy-ready ai-tasks configurations organized by industry (fashion e-commerce, travel, automotive) and detailed per-task-type parameter references, read resources/EXAMPLES.md.

来自同一仓库

更多 Skills

全部 Skills
imagekit-developer
社区

imagekit-integrations

Index of ImageKit SDKs, plugins, and integrations — front-end, back-end, mobile, CMS, external storage, video player, media library & upload widgets, AI/automation, and URL generation. Use to find the right integration for a technology and what it covers, then query searchdocs for implementation details.

安装量
1
GitHub Stars
2
最近更新
7月2日
imagekit-developer
社区

imagekit-sdk-reference

TypeScript SDK reference for @imagekit/nodejs — method signatures, parameter and return types (File, Folder, CustomMetadataField), error handling, and examples. Use when writing ImageKit SDK code or calling the imagekitapi execute tool.

安装量
1
GitHub Stars
2
最近更新
7月2日
imagekit-developer
社区

mcp-preflight

Routing guide for ImageKit's two MCP servers (imagekitapi and imagekitdevtools) — maps each capability to the correct server and tool, and covers the routing rules (e.g. never upload local files via execute). Use before calling any ImageKit MCP tool. Covers file management, folder ops, cache purge, metadata, docs search, transformation building, and upload routing.

安装量
1
GitHub Stars
2
最近更新
7月2日
imagekit-developer
社区

search-docs

Guidance for searching ImageKit documentation with the searchdocs tool — how to craft effective queries, select the right sources, and handle results. Use before calling searchdocs to look up ImageKit features, APIs, configuration, pricing, or SDK examples.

安装量
1
GitHub Stars
2
最近更新
7月2日