agentsclimarketplace

Convert image

Skill Necromunger/qkconvert-plugin/skills/convert-image

Convert, resize, optimize, crop, watermark, or batch-process images using the QkConvert API. Use when the user asks to "convert an image", "resize a photo", "compress an image", "convert PNG to WebP", "strip EXIF", "add watermark", "crop an image", "generate blurhash", "OCR an image", "create a GIF", "extract GIF frames", "reverse a GIF", "batch convert", "generate QR code", "create barcode", "make QR", or needs to transform image files. Supports JPEG, PNG, WebP, AVIF, GIF, BMP, TIFF, ICO, SVG.From its SKILL.md

Install
npx -y skills add Necromunger/qkconvert-plugin --skill convert-image

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

10.6 KB, as published. Nobody here has run it

/convert-image

Convert, resize, or process an image file via QkConvert. Costs 1 credit per request.

Before you start

Check that QKCONVERT_API_KEY is set by running test -n "$QKCONVERT_API_KEY" && echo "set" || echo "not set" in bash. If not set, tell the user:

Your QkConvert API key is not set. To fix this:

  1. Sign up free at https://qkconvert.dev/portal/signup
  2. Create an API key in the dashboard
  3. Set the env var permanently:
    • Mac/Linux: Add export QKCONVERT_API_KEY=sk_live_... to ~/.bashrc or ~/.zshrc
    • Windows: Run setx QKCONVERT_API_KEY sk_live_... in CMD or PowerShell
  4. Restart Claude Code

Do not proceed with the API call until the key is confirmed set.

How to call the API

Do not call the MCP tools directly — the OpenAPI-to-MCP bridge cannot send multipart/form-data, so all tool calls arrive with empty content. Always use curl via the Bash tool.

Every image endpoint uses the same pattern:

curl -s -X POST https://qkconvert.dev/api/v1/image/{endpoint} \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "image=@{input_file}" \
  -F "options={json_options}" \
  -o {output_file}

Rules:

  • Always use -s (silent) to suppress progress bars
  • Always use -o to save binary output to a file
  • Options JSON must use escaped double quotes: -F "options={\"output_format\":\"webp\"}"
  • Do NOT use single quotes around the options value — use escaped doubles
  • The output filename should match the target format extension

Curl commands by operation

Convert format

curl -s -X POST https://qkconvert.dev/api/v1/image/convert \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "[email protected]" \
  -F "options={\"output_format\":\"webp\",\"quality\":85}" \
  -o photo.webp

Resize / rotate / flip

curl -s -X POST https://qkconvert.dev/api/v1/image/transform \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "[email protected]" \
  -F "options={\"width\":800,\"output_format\":\"webp\"}" \
  -o photo_800.webp

Optimize (compress)

curl -s -X POST https://qkconvert.dev/api/v1/image/optimize \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "[email protected]" \
  -F "options={\"quality\":75}" \
  -o photo_optimized.jpg

Watermark

curl -s -X POST https://qkconvert.dev/api/v1/image/watermark \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "[email protected]" \
  -F "options={\"text\":\"Copyright 2026\",\"position\":\"bottom-right\",\"opacity\":180}" \
  -o photo_watermarked.jpg

Metadata (returns JSON, no -o needed)

curl -s -X POST https://qkconvert.dev/api/v1/image/metadata \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "[email protected]"

Strip EXIF

curl -s -X POST https://qkconvert.dev/api/v1/image/exif-strip \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "[email protected]" \
  -o photo_clean.jpg

Thumbnails (returns ZIP for multiple sizes)

curl -s -X POST https://qkconvert.dev/api/v1/image/thumbnails \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "[email protected]" \
  -F "options={\"sizes\":[64,128,256,512],\"output_format\":\"webp\"}" \
  -o thumbnails.zip

Crop (pixel or aspect ratio)

curl -s -X POST https://qkconvert.dev/api/v1/image/crop \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "image=@{input_file}" \
  -F "options={\"x\":100,\"y\":50,\"width\":800,\"height\":600}" \
  -o cropped.jpg

Or aspect-ratio mode:

curl -s -X POST https://qkconvert.dev/api/v1/image/crop \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "image=@{input_file}" \
  -F "options={\"aspect_ratio\":\"16:9\",\"gravity\":\"center\",\"output_format\":\"webp\"}" \
  -o cropped.webp

Blurhash encode (returns JSON, no -o needed)

curl -s -X POST https://qkconvert.dev/api/v1/image/blurhash \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "image=@{input_file}" \
  -F "options={\"components_x\":4,\"components_y\":3}"

Returns: {"blurhash":"LEHV6n...","width":800,"height":600,"components_x":4,"components_y":3}

Blurhash decode (JSON body, not multipart)

curl -s -X POST https://qkconvert.dev/api/v1/image/blurhash-decode \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"blurhash\":\"LEHV6nWB2yk8pyo0adR*.7kCMdnj\",\"width\":200,\"height\":150}" \
  -o placeholder.png

OCR (returns JSON, no -o needed)

curl -s -X POST https://qkconvert.dev/api/v1/image/ocr \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "image=@{input_file}" \
  -F "options={\"language\":\"eng\"}"

Returns: {"text":"extracted text...","char_count":42}

GIF create (multiple files)

curl -s -X POST https://qkconvert.dev/api/v1/image/gif-create \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "[email protected]" \
  -F "[email protected]" \
  -F "[email protected]" \
  -F "options={\"frame_delay_ms\":200,\"loop_count\":0}" \
  -o animation.gif

GIF extract

curl -s -X POST https://qkconvert.dev/api/v1/image/gif-extract \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "[email protected]" \
  -F "options={\"frame\":\"0\",\"output_format\":\"png\"}" \
  -o frame0.png

For all frames: options={"frame":"all"} returns a ZIP.

GIF reverse

curl -s -X POST https://qkconvert.dev/api/v1/image/gif-reverse \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "[email protected]" \
  -o reversed.gif

Convert batch (returns ZIP)

curl -s -X POST https://qkconvert.dev/api/v1/image/convert-batch \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "[email protected]" \
  -F "[email protected]" \
  -F "[email protected]" \
  -F "options={\"output_format\":\"webp\",\"quality\":85}" \
  -o converted.zip

QR code (no file upload - options only)

curl -s -X POST https://qkconvert.dev/api/v1/image/qr \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "options={\"content\":\"https://example.com\",\"size\":512,\"output_format\":\"png\"}" \
  -o qr.png

SVG output:

curl -s -X POST https://qkconvert.dev/api/v1/image/qr \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "options={\"content\":\"https://example.com\",\"output_format\":\"svg\"}"

SVG returns JSON: {"svg":"<svg ...>","width":256,"height":256}. Save the svg field to a file.

Barcode (no file upload - options only)

curl -s -X POST https://qkconvert.dev/api/v1/image/barcode \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "options={\"content\":\"1234567890128\",\"format\":\"ean13\",\"output_format\":\"png\",\"width\":300,\"height\":100}" \
  -o barcode.png

Supported formats: code128, code39, ean13, ean8, upca, itf, codabar.

Transform batch (returns ZIP)

curl -s -X POST https://qkconvert.dev/api/v1/image/transform-batch \
  -H "Authorization: Bearer $QKCONVERT_API_KEY" \
  -F "[email protected]" \
  -F "[email protected]" \
  -F "options={\"width\":800,\"output_format\":\"webp\"}" \
  -o resized.zip

Parameters

ParameterTypeEndpointsDefaultDescription
output_formatstringconvert, transform, watermark, thumbnails, crop, gif-extract, blurhash-decode, convert-batch, transform-batch-png, jpeg, webp, avif, gif, bmp, tiff, ico
quality1-100convert, transform, optimize, convert-batch, transform-batch85Lossy compression for JPEG/WebP/AVIF
compression1-9convert, transform, optimize, convert-batch, transform-batch6PNG compression level
widthintegertransform, blurhash-decode, transform-batch-Max 10,000. Aspect ratio preserved if height omitted
heightintegertransform, blurhash-decode, transform-batch-Max 10,000
rotateintegertransform, transform-batch-90, 180, or 270 only
flipstringtransform, transform-batch-"horizontal" or "vertical"
textstringwatermark-Max 1,000 chars
positionstringwatermark"center""center", "top-left", "top-right", "bottom-left", "bottom-right"
opacity0-255watermark128Text opacity
sizesint arraythumbnails-List of widths. Max 10
strip_metadatabooleanconvert, transform, optimizefalseRemove EXIF/ICC data
xintegercrop-Left edge of crop region (pixels)
yintegercrop-Top edge of crop region (pixels)
aspect_ratiostringcrop-e.g. "16:9", "4:3", "1:1". Alternative to pixel crop
gravitystringcrop"center""center", "top", "bottom", "left", "right", "top-left", "top-right", "bottom-left", "bottom-right"
components_x1-9blurhash4Horizontal blurhash components
components_y1-9blurhash3Vertical blurhash components
blurhashstringblurhash-decode-Required. The blurhash string to decode
punchfloatblurhash-decode1.0Contrast adjustment
languagestringocr"eng"Tesseract language code
frame_delay_msintegergif-create100Delay between frames in milliseconds
loop_countintegergif-create0Number of loops (0 = infinite)
framestringgif-extract-Frame index ("0", "1", ...) or "all" for ZIP
contentstringqr, barcode-Required. Data to encode
sizeintegerqr256QR image size in pixels (width = height)
fg_colorstringqr"#000000"Foreground hex color
bg_colorstringqr"#FFFFFF"Background hex color
formatstringbarcode-Required. code128, code39, ean13, ean8, upca, itf, codabar
widthintegerbarcode300Output width in pixels
heightintegerbarcode100Output height in pixels

Formats

Input: JPEG, PNG, WebP, AVIF, GIF, BMP, TIFF, ICO, SVG Output: JPEG, PNG, WebP, AVIF, GIF, BMP, TIFF, ICO (SVG input-only, ICO max 256x256)

After the call

Report to the user: input file, output file, and file sizes. Use wc -c < file to get sizes.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.