<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Stefan Bogdanel</title>
    <description>The latest articles on DEV Community by Stefan Bogdanel (@thephpteacher).</description>
    <link>https://dev.to/thephpteacher</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2042822%2Fd50963fe-ab13-4820-921d-ec4c6b3d6fef.png</url>
      <title>DEV Community: Stefan Bogdanel</title>
      <link>https://dev.to/thephpteacher</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thephpteacher"/>
    <language>en</language>
    <item>
      <title>A Developer’s Guide to Conversational AI with 3D Characters</title>
      <dc:creator>Stefan Bogdanel</dc:creator>
      <pubDate>Tue, 08 Apr 2025 13:55:18 +0000</pubDate>
      <link>https://dev.to/thephpteacher/3d-interactive-agent-1kf1</link>
      <guid>https://dev.to/thephpteacher/3d-interactive-agent-1kf1</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fah8r75v3edx8atxje7ir.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fah8r75v3edx8atxje7ir.png" alt="Image description" width="800" height="429"&gt;&lt;/a&gt;&lt;br&gt;
Hello, developers! 🚀 Today, we’re excited to introduce &lt;strong&gt;3D GPT&lt;/strong&gt;—a project that blends AI, voice interaction, and 3D visualization to create immersive conversational experiences. Whether you’re a hobbyist or a seasoned developer, this demo showcases how to bring characters to life in a browser with ease. Let’s dive into the details!  &lt;/p&gt;




&lt;h3&gt;
  
  
  &lt;strong&gt;What is 3D GPT?&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;3D GPT is a &lt;strong&gt;technical demonstration&lt;/strong&gt; of how AI-driven 3D characters can interact with users through natural voice conversations. It lets you:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Import &lt;strong&gt;VRM-formatted 3D models&lt;/strong&gt; (a popular format for virtual characters).
&lt;/li&gt;
&lt;li&gt;Customize voice settings to match your character’s persona.
&lt;/li&gt;
&lt;li&gt;Generate dynamic responses with &lt;strong&gt;emotional expressions&lt;/strong&gt; for lifelike interactions.
&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  &lt;strong&gt;Core Features &amp;amp; Technologies&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;The magic of 3D GPT lies in its integration of cutting-edge tools:  &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Voice Recognition&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Powered by the &lt;strong&gt;Web Speech API&lt;/strong&gt;, the app converts your spoken words into text, enabling real-time interaction.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AI-Powered Text Generation&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Responses are generated using &lt;strong&gt;Ollama API&lt;/strong&gt; (running on CPU inference), which leverages the ChatGPT API under the hood. This ensures context-aware, emotionally rich dialogues.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Text-to-Speech (TTS)&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
The &lt;strong&gt;Conqua TTS API&lt;/strong&gt; (via Audio API) transforms AI-generated text into natural-sounding speech, complete with tone adjustments.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;3D Character Rendering&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Built with &lt;strong&gt;&lt;code&gt;@pixiv/three-vrm&lt;/code&gt;&lt;/strong&gt;, a library for rendering VRM models in Three.js, characters are displayed with smooth animations and expressions.  &lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




&lt;h3&gt;
  
  
  &lt;strong&gt;Getting Started: Run 3D GPT Locally&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Ready to experiment? Here’s how to set up the project:  &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Clone the Repository&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   git clone git@github.com:izdrail/agent.izdrail.com  
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Install Dependencies&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   npm &lt;span class="nb"&gt;install&lt;/span&gt;  
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Start the Development Server&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   npm run dev  
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Access the App&lt;/strong&gt;
Open your browser to &lt;strong&gt;&lt;code&gt;http://localhost:1603&lt;/code&gt;&lt;/strong&gt; and start chatting with your 3D character!
&lt;/li&gt;
&lt;/ol&gt;




&lt;h3&gt;
  
  
  &lt;strong&gt;Explore the Demo&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Not ready to code? Try the live demo on Glitch:&lt;br&gt;&lt;br&gt;
👉 &lt;strong&gt;&lt;a href="https://agent.izdrail.com" rel="noopener noreferrer"&gt;3D GPT Demo&lt;/a&gt;&lt;/strong&gt;  &lt;/p&gt;




&lt;h3&gt;
  
  
  &lt;strong&gt;APIs &amp;amp; Services to Explore&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Ollama API&lt;/strong&gt;: For AI text generation.
&lt;a href="https://ollama.com" rel="noopener noreferrer"&gt;Learn more&lt;/a&gt; about its capabilities and integration.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Conqua TTS&lt;/strong&gt;: For high-quality text-to-speech.
Check out the &lt;a href="https://audio.izdrail.com/docs" rel="noopener noreferrer"&gt;Audio API documentation&lt;/a&gt; for customization options.
&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  &lt;strong&gt;Why This Matters&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;3D GPT isn’t just a demo—it’s a playground for innovation. Imagine:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Virtual assistants with personality.
&lt;/li&gt;
&lt;li&gt;Educational avatars for immersive learning.
&lt;/li&gt;
&lt;li&gt;Gaming characters that adapt to your emotions.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By combining open-source libraries and APIs, this project lowers the barrier to creating &lt;strong&gt;next-gen interactive experiences&lt;/strong&gt;.  &lt;/p&gt;




&lt;h3&gt;
  
  
  &lt;strong&gt;Join the Journey&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;We’d love for you to:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fork the repo and tweak it to your needs.
&lt;/li&gt;
&lt;li&gt;Share your creations with the community.
&lt;/li&gt;
&lt;li&gt;Report issues or suggest features on GitHub.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Let’s push the boundaries of what’s possible with AI and 3D tech! 🌐✨  &lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Happy coding!&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
&lt;em&gt;The 3D GPT Team&lt;/em&gt;&lt;/p&gt;

</description>
      <category>chatgpt</category>
    </item>
  </channel>
</rss>
