Can make CAI+ "Nyan" model the default ai model for chats
// ==UserScript==
// @name Unlock Nyan model
// @namespace https://github.com/irsat000/cai-unlock-nyan
// @version 2026-03-27
// @description Can make CAI+ "Nyan" model the default ai model for chats
// @author İrşat Akdeniz
// @match https://character.ai/chat/*
// @icon https://character.ai/favicon.ico
// @grant GM_registerMenuCommand
// ==/UserScript==
(function() {
'use strict';
GM_registerMenuCommand('Make Nyan default', makeNyanDefault);
function makeNyanDefault () {
fetch("https://plus.character.ai/chat/user/update_settings/", {
"headers": {
"accept": "application/json, text/plain, */*",
"content-type": "application/json",
},
"body": JSON.stringify({
"modelPreferenceSettings": {
"defaultModelType": "MODEL_TYPE_SMART"
}
}),
"method": "POST",
"credentials": "include",
}).then(res => {
if (res.ok) {
alert("SUCCESS! Nyan model is set to default. Refresh the page!");
} else {
throw new Error("Request rejected with code: " + res.statusCode)
}
}).catch((error) => {
alert("Couldn't set to Nyan: " + error.message);
})
};
})();