swiftimg

Image hosting integrations — ShareX, GitHub and MCP

Connect swiftimg to screenshot capture, GitHub READMEs and AI assistants. Start with working examples and clear setup instructions.

A first API upload

Create an API key from your account, then upload a file you have permission to share. This example creates a public image.

Terminal
curl https://swiftimg.com/v1/images \
  -H "Authorization: Bearer $SWIFTIMG_API_KEY" \
  -F "file=@screenshot.png" \
  -F "title=Settings screen" \
  -F "visibility=public"

Use the returned directUrl in embeds and pageUrl for the viewer. Never put an API key in a README or client-side script. Read the API documentation →

Free, Pro and Developer are for personal and non-commercial use. Commercial workflows require Business.

One image, from first edit to final link