Convert between JPG, PNG, and WEBP. Transparency is flattened onto white when converting to JPG, since JPG has no transparency support.
curl -sS -X POST https://devops.majbase.com/image-converter/api \
-F "file=@photo.png" \
-F "format=webp" \
-o photo.webp
curl -sS -X POST https://devops.majbase.com/image-converter/api \
-F "file=@photo.jpg" \
-F "format=avif" \
-o photo.avif
The API always accepts format=avif if the server supports it, regardless of what any particular browser can display — the browser check on this page only controls whether the AVIF option is shown in the form above.
Want an AI agent (Claude Code, claude.ai, or anything else that supports the Agent Skills format) to use this tool for you on request? Download the skill below and add it:
~/.claude/skills/image-converter/SKILL.md