Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

milady

nirholas74d3f51a4f0a
diff --git a/src/avatar-creator.js b/src/avatar-creator.js
index 4178a18fc..978ca05fd 100644
--- a/src/avatar-creator.js
+++ b/src/avatar-creator.js
@@ -11,23 +11,6 @@ function getStudioUrl() {
return 'http://localhost:5173';
}
-function getAvaturnEditorUrl() {
- let base = 'https://editor.avaturn.me/';
- let devId = '';
- try {
- if (typeof import.meta !== 'undefined' && import.meta.env) {
- if (import.meta.env.VITE_AVATURN_EDITOR_URL) {
- base = String(import.meta.env.VITE_AVATURN_EDITOR_URL).trim();
- }
- if (import.meta.env.VITE_AVATURN_DEVELOPER_ID) {
- devId = String(import.meta.env.VITE_AVATURN_DEVELOPER_ID).trim();
- }
- }
- } catch (_) {}
- if (!devId) return base;
- const sep = base.includes('?') ? '&' : '?';
- return base + sep + 'developer=' + encodeURIComponent(devId);
-}
export class AvatarCreator {
/**
@@ -67,10 +50,11 @@ export class AvatarCreator {
/**
* Opens the Avaturn default hosted editor via the Avaturn SDK.
+ * No URL passed → SDK uses its own default public editor (no developer ID needed).
*/
async openDefaultEditor() {
if (this.modal) return;
- await this._openAvaturn(getAvaturnEditorUrl());
+ await this._openAvaturn();
}
async _openAvaturn(url) {