Hey all! I just published onyx-text-plugin — a drop-in-style alternative to ai-text-plugin that runs on the free FreeAIXYZ gateway. No API key, no account, no quota.
🔗 https://perchance.org/onyx-text-plugin
What it does
Same call style as ai-text-plugin: instruction, startWith, stopSequences, onChunk/onFinish, outputTo, String-like result with .text / .generatedText / .stop() 24 free models across 8 families (general, coding, reasoning, creative, 18+), with model: “auto” capability-based picking Tool calling: calculator, web search, and clock, with an automatic Up-to-10-round agent loop Real token-by-token SSE streaming, reasoning traces (Logos models), structured error codes Special calls: getMetaObject, listModels (live catalog), executeTool, preload Use it in your generator like this:
freeAI = {import:onyx-text-plugin}
let reply = await root.freeAI({
instruction: "You are Bob, a gruff blacksmith.\n" + chatLog,
startWith: "Bob:",
stopSequences: ["\nUser:"],
model: "onyx-codex",
tools: "builtin",
onChunk: (d) => { replyEl.textContent = d.fullTextSoFar; },
});
The generator page itself is full interactive docs + a live playground (model picker, tool toggles, reasoning fold, API reference, error table) — so you can try everything before importing.
Two honest caveats: stop sequences aren’t re-included like ai-text-plugin does, and there’s deliberately no vision support — I live-tested the gateway’s vision slots and they hallucinated instead of seeing images, so images throw a clear error instead of faking it.
Feedback and bug reports welcome! If you build something with it, drop a link — I’d love to see it.


