Skip to content

Quick Start

Get your first screenshot generated in under 5 minutes.

  • A Spectra.fm account (sign up here)
  • Node.js 18+ (for CLI usage)

Install the Spectra CLI globally:

Terminal window
npm install -g @spectra.fm/cli

Login to your Spectra account:

Terminal window
spectra login

Create a simple App Store screenshot:

Terminal window
spectra render \
--template app-store-hero \
--device iphone-15-pro \
--output ./screenshots

For programmatic usage, install the SDK:

Terminal window
npm install @spectra.fm/sdk

Then in your code:

import { Spectra } from '@spectra.fm/sdk';
const spectra = new Spectra({ apiKey: process.env.SPECTRA_API_KEY });
const result = await spectra.render({
template: 'app-store-hero',
feature: 'dark-mode',
locales: ['en', 'de', 'ja'],
devices: ['iphone-15-pro', 'ipad-pro'],
});
console.log(result.urls);
// → cdn.spectra.fm/myapp/v2.1/en/iphone-15-pro.png