Account

Manage your ScriptForge Pro subscription, API keys, and usage.

Status

Loading…

Activate Pro →

API usage · this month

Pro tier: 50 hours of generated audio per calendar month.

0 h 0m used
0 seclimit: 50h / month
0 generations this month · 0 total bytes

API keys

Use with the X-API-Key header. Pro required to create. Keys can't be retrieved after creation — store them safely.

Loading…

Use the API

50h of audio per month included with Pro. Each call returns mp3 binary + usage headers.

# Generate a voiceover via API curl -X POST https://craftitool.com/api/scriptforge/generate \ -H "X-API-Key: sf_YOUR_KEY_HERE" \ -H "Content-Type: application/json" \ -d '{ "topic": "Quantum computing in 60 seconds", "audience": "general public", "length": "short", "voice": "en-US-EmmaMultilingualNeural", "rate": "-8%" }' \ --output narration.mp3 # Response headers tell you usage: # X-Audio-Seconds: 67 # X-Script-Words: 167 # X-Usage-Remaining-Sec: 17933 # X-Voice: en-US-EmmaMultilingualNeural
import requests r = requests.post( "https://craftitool.com/api/scriptforge/generate", headers={"X-API-Key": "sf_YOUR_KEY_HERE"}, json={ "topic": "Quantum computing in 60 seconds", "audience": "general public", "length": "short", # short, medium, long, xlong "voice": "en-US-EmmaMultilingualNeural", "rate": "-8%", }, timeout=180, ) r.raise_for_status() open("narration.mp3", "wb").write(r.content) print("seconds:", r.headers["X-Audio-Seconds"], "remaining:", r.headers["X-Usage-Remaining-Sec"])
import fs from "node:fs"; const r = await fetch("https://craftitool.com/api/scriptforge/generate", { method: "POST", headers: { "X-API-Key": "sf_YOUR_KEY_HERE", "Content-Type": "application/json", }, body: JSON.stringify({ topic: "Quantum computing in 60 seconds", audience: "general public", length: "short", voice: "en-US-EmmaMultilingualNeural", rate: "-8%", }), }); if (!r.ok) throw new Error(await r.text()); const buf = Buffer.from(await r.arrayBuffer()); fs.writeFileSync("narration.mp3", buf); console.log("sec:", r.headers.get("X-Audio-Seconds"));
POST /api/scriptforge/generate Auth: X-API-Key: sf_... (or Bearer JWT) Body JSON: topic string what to narrate required (or script) script string skip LLM, narrate as-is optional audience string target audience default "general" length enum short medium long xlong default "medium" tone enum warm formal excited ... default "warm" voice string any of 322 voices default Andrew rate string -30%..+30% default "-8%" Response: 200 audio/mpeg binary 402 Pro required (renewal needed) 429 Monthly limit reached (5h) 400 Validation error Response headers: X-Audio-Seconds est. mp3 duration X-Script-Words total words generated X-Usage-Remaining-Sec seconds left this month X-Voice voice used POST /api/scriptforge/tts ← direct text-to-speech (no AI script) Body JSON: text string exact words to speak required (max 8000) voice string any of 322 voices default Andrew rate string -30%..+30% default "+0%" pitch string -50Hz..+50Hz default "+0Hz" volume string -50%..+50% default "+0%" Returns: 200 audio/mpeg + X-Audio-Seconds, X-Usage-Remaining-Sec, X-Voice POST /api/scriptforge/studio ← multi-voice, stitched into one file Body JSON: segments array [{text, voice, rate?, pitch?, volume?}] required (max 40) gapMs number silence between lines, 0-3000 default 350 Returns: 200 audio/mpeg + X-Segments, X-Audio-Seconds Other endpoints: GET /api/scriptforge/status Pro status + free quota GET /api/scriptforge/usage Current month usage POST /api/scriptforge/api-key/create Create new key (Pro) GET /api/scriptforge/api-key List keys DELETE /api/scriptforge/api-key/:id Revoke a key POST /api/scriptforge/subscribe Start Razorpay checkout

Your new API key

Copy and store this key somewhere safe. You won't be able to see it again.

⚠️ Treat this like a password. Anyone with this key can use your Pro quota.