MostlyRender

Quickstart

Generate your first image in under a minute. MostlyRender turns a template (a canvas with named layers) into a PNG, JPEG, WebP, or PDF — over a simple REST API.

# 1. Get an API key

Create a key in the app under Settings → API keys. Keys look like mr_live_… (production) or mr_test_… (testing). Send it as a Bearer token on every request. See Authentication.

# 2. Create a template

In the editor, design a template and give your layers names — a text layer named title, an image layer named photo, and so on. The layer name is the API parameter you fill at render time. See Templates as parameters.

# 3. Render it

bash
curl https://api.mostlyrender.com/v1/renders \
  -H "Authorization: Bearer mr_live_…" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "tpl_abc",
    "modifications": { "title": "Renders that never go dark" },
    "output": "png"
  }'
json
{
  "id": "rnd_abc123",
  "url": "https://img.mostlyrender.com/mostlyrender/renders/rnd_abc123.png",
  "output": "png"
}

The url is a public, CDN-cached asset — drop it straight into an <img>, an email, or an OG tag.

# 4. Or use the Node SDK

bash
npm install @mostlytiny/mostlyrender
js
const MostlyRender = require('@mostlytiny/mostlyrender');

const mr = new MostlyRender('mr_live_…');
const out = await mr.render({ templateId: 'tpl_abc', modifications: { title: 'Renders that never go dark' } });
console.log(out.url);

Prefer Python or Go? Same call, same key — see SDKs & integrations.

# Next steps