Skip to content
Developer Preview

Build with WokAPI

Programmatic access to WokGen's full AI asset generation surface. Generate images, remove backgrounds, chat with Eral 7c, and more — all via a clean REST API.

Get API KeyView Docs

Quick Start

# Install WokSDK
npm install @wokspec/sdk

# Or use the REST API directly
curl -X POST https://wokgen.wokspec.org/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "pixel art sword", "mode": "pixel"}'

API Endpoints

POST/api/v1/generateGenerate AI assets (images, vectors, UI components)
GET/api/v1/assetsList your generated assets
DELETE/api/v1/assets/:idDelete an asset
POST/api/v1/eral/chatChat with Eral 7c AI
POST/api/v1/tools/bg-removeRemove background from an image URL
GET/api/v1/meGet authenticated user info and usage stats

WokSDK

TypeScript-first client for WokAPI. Works in Node.js, browser, and edge runtimes.

import { WokGen } from '@wokspec/sdk';

const wok = new WokGen({ apiKey: 'YOUR_API_KEY' });

const asset = await wok.generate({
prompt: 'pixel art wizard character',
mode: 'pixel',
})

// → { id, url, width, height, prompt, createdAt }

Rate Limits

Free
100 req/day
No credit card required
Pro
5,000 req/day
Included with Pro plan
Enterprise
Custom
Contact us

WokAPI is in developer preview. Features and endpoints may change.

Manage your API keys at dashboard API keys · Full platform management at dashboard.wokspec.org