Build your first slot symbol — in 5 minutes

Five steps. Each one auto-checks against the API as you complete it.

1

Get an API key

Mint a workspace-scoped API key. We'll store it in this page's memory only — paste it below.

Open the API Keys page →
not checked
Tip: name your key onboarding-demo so you can revoke it later.
2

Install the SDK

Or just drop the single file in your project — zero dependencies.

curl -O https://forge.odd.games/products/slotforge/sdk/slotforge-sdk.js
node -e "console.log(require('./slotforge-sdk').VERSION)"

Or via npm (when the private registry is enabled):

npm install @slotforge/sdk
not checked
3

Generate your first symbol

We'll send a real generation request. Charges your monthly quota by 1 (free tier = 100/mo).

const { SlotForge } = require('@slotforge/sdk');
const sf = new SlotForge({ apiKey: process.env.SLOTFORGE_API_KEY });
const r = await sf.gen({
  prompt: 'a glowing mermaid coin, polished gold, ocean treasure',
  size: '1024x1024',
});
console.log(r.file, r.cost_cents);
not run
your symbol
4

Approve it

Approving signs the asset with the workspace Ed25519 key — that signature is what cert labs verify.

await sf.assets.approve(r.asset_id, 'looks great');
not approved
5

Export project ZIP

We'll create a tiny demo project, attach your asset, and export a ZIP with manifest + audit trail.

const p = await sf.projects.create({ slug:'onboarding-demo-'+Date.now(), name:'Onboarding demo', theme:'mermaid' });
await sf.projects.attachAsset(p.id, r.asset_id);
const zip = await sf.exports.projectZip({ project_id: p.id, include_audit: true });
console.log('Download:', zip.url);
not exported

🎉 You're live!

You just shipped a generation, an approval, and an exportable artifact — that's the whole loop. Next steps: