BUILD WITH
MIGHTYSHARE.

Connect WordPress or generate images with the Node.js SDK.

Getting started

Create a free account, grab your API key, and choose your template. Connect the WordPress plugin or use the Node SDK.

Get your API key

WordPress

  1. Install MightyShare from WordPress.org.
  2. Open Settings → MightyShare and paste your full API key.
  3. Choose a template, add your colors and logo, then save.

The plugin uses your post title and featured image to generate Open Graph images. It also integrates with supported SEO plugins.

Node.js SDK

Install the SDK
npm install mightyshare
generate-image.js
import MightyShare from 'mightyshare';

// Server-side only. Never expose the full key in browser code.
const mightyshare = MightyShare(process.env.MIGHTYSHARE_API_KEY);

const imageUrl = mightyshare.generateUrl({
  height: 630,
  width: 1200,
  template: 'mighty-1',
  template_values: [
    { name: 'title', text: 'Your next big idea.' },
    { name: 'primary_color', color: '#2859C5' }
  ]
});

Signed image URLs

Your full key has 32 characters. The first 16 are public; the remaining 16 sign the exact encoded query using HMAC-SHA256. Keep the full key server-side. Use the SDK to handle encoding and signing consistently.

Image URL format
https://api.mightyshare.io/v1/{public_key}/{signature}/png?{query}

Existing plugin and SDK URLs stay compatible. Avoid changing the query after signing it.

Templates

Each template defines its own fields and defaults. Open a template in the playground and switch to “Details & code” for its ID and supported values.

Find your template

Usage & caching

Only fresh renders count toward your allowance. Usage is measured over a rolling 30 days. Cached images can be served repeatedly without spending another render.

Changing a signed URL or clearing the image cache may trigger a fresh render. Social platforms also maintain their own caches.