Skip to main content

Getting Started

Get up and running with Ssiat in just a few minutes.

Prerequisites

  • A Ssiat account (Sign up here)
  • An API key from your dashboard

Step 1: Get Your API Key

  1. Log in to your Ssiat Dashboard
  2. Navigate to API Keys
  3. Click Create New Key
  4. Copy your API key and store it securely
caution

Your API key will only be shown once. Make sure to save it in a secure location.

Step 2: Make Your First Request

Using cURL:

curl -X POST https://ssiat.dev/api/v1/og/generate \
-H "Authorization: Bearer sk_live_xxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"template": "blog",
"data": {
"title": "Hello, Ssiat!",
"description": "My first OG image"
}
}'

Step 3: Use the Generated Image

The API returns a JSON response with your image URL:

{
"success": true,
"data": {
"url": "https://ssiat.dev/og/abc123.png",
"width": 1200,
"height": 630
}
}

Add this URL to your HTML:

<meta property="og:image" content="https://ssiat.dev/og/abc123.png" />

Next Steps