Content is loading…
Convert image format (PNG / JPEG / WebP / AVIF / GIF) without resizing.
image_convert#image convert#webp#avif#png#jpegDownloads an image from a provided url and converts it to the specified format (png, jpeg, webp, avif, or gif) while preserving dimensions. Accepts an optional quality integer (1-100) for lossy formats and returns a temporary URL to the converted file valid for 24 hours.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | required | Source image URL to convert (http or https). Max 10 MB. |
format | enum ("png" | "jpeg" | "webp" | "avif" | "gif") | required | Target image format |
quality | number | optional | Quality 1-100 for lossy formats (jpeg/webp/avif). Default 90. Ignored for png/gif. |
{
"url": "https://example.com/img.png",
"format": "webp",
"quality": 85
}curl -X POST https://toolsy.my/api/mcp \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "image_convert",
"arguments": {
"url": "https://example.com/img.png",
"format": "webp",
"quality": 85
}
}
}'Generate a free API key or set up an OAuth connector for Claude.ai.