Getting Started

Quick Start: Your First Render

This guide walks you through rendering your first image with RenderStack.

Step 1: Create a Template#

  1. Go to Templates and click New Template
  2. Set your canvas dimensions (e.g., 1200x630 for social media)
  3. Add elements: text, images, shapes
  4. Mark elements as Dynamic to make them customizable via API
  5. Save your template

Step 2: Create an API Key#

  1. Go to API Keys and click Create Key
  2. Choose a key type (Master for full access)
  3. Copy and save your key securely

Step 3: Render via API#

curl -X POST https://your-app.replit.app/api/v1/renders/sync \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "your-template-slug",
    "layers": {
      "title": { "text": "Hello World!" }
    },
    "format": "png"
  }'

The API returns the rendered image directly. You can also use the JSON endpoint for metadata.