# Launch post template

> A launch card with a badge, a headline, and a one-line summary, sized for LinkedIn, X, and Open Graph. Render it on-brand from an AI agent or the REST API.

Canonical URL: https://vectorfast.ai/render/templates/launch-post
Markdown URL: https://vectorfast.ai/render/templates/launch-post.md
Last modified: 2026-10-30

VectorFast Render is in early access: billing is not connected yet, and API keys are issued to waitlist members as access opens.

## Summary
- Template id: `launch-post` (pin the major version as `launch-post@1`; current version 1.0.0)
- Sizes: 1200×630, 1080×1080, 1200×1200 (default 1200×630)
- Formats: PNG, JPEG, WebP
- Use it for: Product and feature announcements; Release posts an agent drafts from a changelog; Landing-page og:image for a launch

## Previews
- English: ![Launch post template rendered in English at 1200×630 with the built-in VectorFast brand kit.](https://vectorfast.ai/i/launch-post.png?badge=New&brand=default&h=630&subtitle=Ship%20on-brand%20images%20from%20your%20CI%2C%20every%20time%20a%20release%20goes%20out.&title=Introducing%20scheduled%20renders&w=1200&sig=cptL4aoCc9cgExkxXG0w6aNRcb3X-9urS8lhhvJ2O20)
- Chinese: ![Launch post template rendered in Chinese at 1200×630 with the built-in VectorFast brand kit.](https://vectorfast.ai/i/launch-post.png?badge=%E6%96%B0%E5%8A%9F%E8%83%BD&brand=default&h=630&subtitle=%E5%9C%A8%20CI%20%E9%87%8C%E6%8C%89%E5%93%81%E7%89%8C%E8%A7%84%E8%8C%83%E8%87%AA%E5%8A%A8%E7%94%9F%E6%88%90%E7%A4%BE%E4%BA%A4%E5%8D%A1%E7%89%87%EF%BC%8C%E4%B8%AD%E8%8B%B1%E6%96%87%E6%A0%87%E9%A2%98%E9%83%BD%E4%B8%8D%E7%BC%BA%E5%AD%97%E3%80%82&title=%E5%AE%9A%E6%97%B6%E6%B8%B2%E6%9F%93%E6%AD%A3%E5%BC%8F%E4%B8%8A%E7%BA%BF%EF%BC%9A%E5%8F%91%E7%89%88%E5%8D%B3%E5%87%BA%E5%9B%BE&w=1200&sig=AszLq7tsWqKFQDa43I3ICAeBusLRpdoGUjXr21x-Ddk)

## Parameters
All string params are trimmed. Limits come from the schema `POST /v1/renders` validates.

| Param | Type | Required | Limit | Notes |
| --- | --- | --- | --- | --- |
| `title` | string | yes | ≤ 120 chars | Headline. The font size steps down as it gets longer. |
| `subtitle` | string | no | ≤ 200 chars | One-line summary under the headline. |
| `badge` | string | no | ≤ 24 chars | Short pill above the headline, such as "New" or "Beta". |

## Ask an agent
Prompt:

> We just shipped scheduled renders. Make a launch image for LinkedIn and X: headline "Scheduled renders are live", one line saying images now render from CI on every release, and a "New" badge.

The MCP `render` tool call it should become:

```json
{
  "name": "render",
  "arguments": {
    "template": "launch-post",
    "params": {
      "title": "Scheduled renders are live",
      "subtitle": "On-brand images now render from CI on every release.",
      "badge": "New"
    },
    "width": 1200,
    "height": 630
  }
}
```

## REST
```bash
curl https://vectorfast.ai/v1/renders \
  -H "Authorization: Bearer $VECTORFAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "template": "launch-post@1",
  "format": "png",
  "width": 1200,
  "height": 630,
  "params": {
    "title": "Scheduled renders are live",
    "subtitle": "On-brand images now render from CI on every release.",
    "badge": "New"
  }
}'
```

## Signed URL (server-side Node.js)
Per-key signing secrets are not issued yet in early access; until then, reuse the signed `url` that `POST /v1/renders` returns. The algorithm below is what the server verifies. Keep the secret on your server.

```js
import { createHmac } from 'node:crypto'

// Server-side only. Never ship the signing secret to a browser, a mobile app or a repo.
const SIGNING_SECRET = process.env.VECTORFAST_SIGNING_SECRET

function encode(value) {
  return encodeURIComponent(value).replace(/[!'()*]/g, c => '%' + c.charCodeAt(0).toString(16).toUpperCase())
}

export function signRenderUrl({ template, format = 'png', params, brand, width, height, keyId }, secret = SIGNING_SECRET) {
  const query = {}
  for (const [key, value] of Object.entries(params)) {
    if (value === undefined || value === null)
      continue
    query[key] = typeof value === 'string' ? value : Array.isArray(value) ? JSON.stringify(value) : String(value)
  }
  if (brand) query.brand = brand
  if (keyId) query.k = keyId
  if (width) query.w = String(width)
  if (height) query.h = String(height)

  const canonical = Object.entries(query)
    .map(([key, value]) => [encode(key), encode(value)])
    .sort((a, b) => (a[0] < b[0] ? -1 : a[0] > b[0] ? 1 : a[1] < b[1] ? -1 : a[1] > b[1] ? 1 : 0))
    .map(([key, value]) => key + '=' + value)
    .join('&')
  const path = '/i/' + template + '.' + format
  const sig = createHmac('sha256', secret).update(path + '?' + canonical).digest('base64url')
  return 'https://vectorfast.ai' + path + '?' + (canonical ? canonical + '&' : '') + 'sig=' + sig
}

const url = signRenderUrl({
  template: 'launch-post',
  format: 'png',
  width: 1200,
  height: 630,
  params: {
    "title": "Introducing scheduled renders",
    "subtitle": "Ship on-brand images from your CI, every time a release goes out.",
    "badge": "New"
  },
})
```

## FAQ
### Which sizes does the launch-post template support?
1200×630, 1080×1080, 1200×1200. The default is 1200×630; pass width and height to pick another supported size.

### Which parameters are required?
title. Every other parameter is optional and has a rendering default.

### Does rendering the same parameters twice cost twice?
No. The same template version, parameters, brand kit version, format, and size produce the same cache key, so a repeat request is served from cache instead of rendering again. Billing is not connected yet in early access.

## Related
- All templates: https://vectorfast.ai/render/templates
- Template reference: https://vectorfast.ai/render/docs/templates
- Connect Claude: https://vectorfast.ai/render/agents/claude
