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.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
/* Create-from-template picker — monochrome, token-driven, self-contained.
Token fallbacks let it render correctly on pages that don't define the
site's :root vars. */
.twtpl-overlay {
position: fixed;
inset: 0;
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
background: rgba(0, 0, 0, 0.78);
-webkit-backdrop-filter: blur(18px);
backdrop-filter: blur(18px);
opacity: 0;
transition: opacity var(--duration-fast) var(--ease-standard);
}
.twtpl-overlay.twtpl-open {
opacity: 1;
}
.twtpl-shell {
width: min(960px, 100%);
max-height: min(88vh, 760px);
display: flex;
flex-direction: column;
position: relative;
background: var(--panel, #0a0a0a);
border: 1px solid var(--border, #1a1a1a);
border-radius: 18px;
box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
overflow: hidden;
transform: translateY(8px) scale(0.99);
transition: transform var(--duration-base) var(--ease-standard);
font:
15px/1.5 -apple-system, system-ui, 'Segoe UI', Roboto, sans-serif;
color: var(--text, #e8e8e8);
}
.twtpl-overlay.twtpl-open .twtpl-shell {
transform: translateY(0) scale(1);
}
.twtpl-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
padding: 22px 24px 16px;
border-bottom: 1px solid var(--border, #1a1a1a);
flex: 0 0 auto;
}
.twtpl-title {
margin: 0 0 4px;
font-size: 19px;
font-weight: 600;
letter-spacing: -0.02em;
color: var(--text, #fff);
}
.twtpl-sub {
margin: 0;
font-size: 13px;
color: var(--muted, #888);
line-height: 1.5;
max-width: 56ch;
}
.twtpl-close {
flex: 0 0 auto;
background: none;
border: none;
color: var(--muted, #888);
font-size: 30px;
line-height: 1;
cursor: pointer;
padding: 0 4px;
transition: color var(--duration-fast) var(--ease-standard);
}
.twtpl-close:hover,
.twtpl-close:focus-visible {
color: var(--text, #fff);
outline: none;
}
.twtpl-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 14px;
padding: 20px 24px;
overflow-y: auto;
flex: 1 1 auto;
}
.twtpl-card {
display: flex;
flex-direction: column;
text-align: left;
padding: 0;
border: 1.5px solid var(--border, #1a1a1a);
border-radius: 14px;
background: rgba(255, 255, 255, 0.015);
color: inherit;
font: inherit;
cursor: pointer;
overflow: hidden;
transition:
border-color var(--duration-fast) var(--ease-standard),
transform var(--duration-fast) var(--ease-standard),
box-shadow var(--duration-fast) var(--ease-standard);
}
.twtpl-card:hover,
.twtpl-card:focus-visible {
transform: translateY(-3px);
border-color: rgba(255, 255, 255, 0.32);
box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
outline: none;
}
.twtpl-card-stage {
display: block;
width: 100%;
height: 168px;
background:
radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.06) 0, transparent 62%),
rgba(255, 255, 255, 0.02);
border-bottom: 1px solid var(--border, #1a1a1a);
}
.twtpl-card-stage model-viewer {
width: 100%;
height: 100%;
--poster-color: transparent;
}
.twtpl-card-body {
display: block;
padding: 13px 14px 4px;
}
.twtpl-card-name {
display: block;
font-size: 14.5px;
font-weight: 600;
letter-spacing: -0.01em;
color: var(--text, #fff);
}
.twtpl-card-tagline {
display: block;
margin-top: 4px;
font-size: 12px;
line-height: 1.45;
color: var(--muted, #888);
}
.twtpl-card-chips {
display: flex;
flex-wrap: wrap;
gap: 5px;
margin-top: 10px;
}
.twtpl-chip {
font-size: 10px;
font-weight: 500;
letter-spacing: 0.02em;
padding: 2px 7px;
border-radius: 5px;
color: var(--muted, #888);
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--border, #1a1a1a);
}
.twtpl-card-cta {
display: block;
margin: 12px 14px 14px;
padding-top: 10px;
border-top: 1px solid var(--border, #1a1a1a);
font-size: 12.5px;
font-weight: 600;
color: var(--muted, #888);
transition: color var(--duration-fast) var(--ease-standard);
}
.twtpl-card:hover .twtpl-card-cta,
.twtpl-card:focus-visible .twtpl-card-cta {
color: var(--accent, #fff);
}
.twtpl-footer {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 14px 24px 18px;
border-top: 1px solid var(--border, #1a1a1a);
flex: 0 0 auto;
}
.twtpl-footer-hint {
font-size: 13px;
color: var(--muted, #888);
}
.twtpl-browse {
background: none;
border: none;
font: inherit;
font-size: 13px;
font-weight: 600;
color: var(--text, #fff);
cursor: pointer;
padding: 6px 8px;
border-radius: 8px;
transition: background var(--duration-fast) var(--ease-standard);
}
.twtpl-browse:hover,
.twtpl-browse:focus-visible {
background: rgba(255, 255, 255, 0.06);
outline: none;
}
/* Busy state inside the modal (reserved; staging uses the full overlay) */
/* Staging overlay shown after a pick while the GLB downloads */
.twtpl-stage-overlay {
position: fixed;
inset: 0;
z-index: 1100;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 16px;
background: rgba(0, 0, 0, 0.9);
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
color: var(--text, #e8e8e8);
font:
15px/1.5 -apple-system, system-ui, 'Segoe UI', Roboto, sans-serif;
opacity: 0;
transition: opacity var(--duration-fast) var(--ease-standard);
}
.twtpl-stage-overlay.twtpl-open {
opacity: 1;
}
.twtpl-stage-label {
font-size: 14px;
color: rgba(255, 255, 255, 0.82);
}
.twtpl-spinner {
width: 22px;
height: 22px;
border: 2.5px solid rgba(255, 255, 255, 0.14);
border-top-color: rgba(255, 255, 255, 0.7);
border-radius: 50%;
animation: twtpl-spin 0.75s linear infinite;
}
.twtpl-spinner--lg {
width: 34px;
height: 34px;
border-width: 3px;
}
@keyframes twtpl-spin {
to {
transform: rotate(360deg);
}
}
.twtpl-toast {
position: fixed;
bottom: 28px;
left: 50%;
transform: translate(-50%, 12px);
z-index: 1200;
padding: 11px 18px;
border-radius: 12px;
background: #140a0a;
border: 1px solid rgba(255, 92, 92, 0.4);
color: #ffb3b3;
font:
13px/1.4 -apple-system, system-ui, 'Segoe UI', Roboto, sans-serif;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
opacity: 0;
transition:
opacity var(--duration-base) var(--ease-standard),
transform var(--duration-base) var(--ease-standard);
max-width: min(440px, calc(100vw - 32px));
}
.twtpl-toast--show {
opacity: 1;
transform: translate(-50%, 0);
}
@media (max-width: 560px) {
.twtpl-overlay {
padding: 0;
}
.twtpl-shell {
width: 100%;
max-height: 100vh;
height: 100vh;
border-radius: 0;
border: none;
}
.twtpl-grid {
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.twtpl-card-stage {
height: 140px;
}
}
@media (prefers-reduced-motion: reduce) {
.twtpl-overlay,
.twtpl-shell,
.twtpl-stage-overlay,
.twtpl-toast,
.twtpl-card {
transition: none;
}
.twtpl-spinner {
animation: none;
}
}