Skip to content

A Cryptosynth Aeon (created by God Bennett/Cryptosynth Labs) is an artificial intelligence powered, artistically realistic 3d being, that anyone can actually hold a conversation with.

g0dEngineer/Cryptosynth

Repository files navigation

Cryptosynth

A Cryptosynth Aeon (created by God Bennett/Cryptosynth Labs) is an artificial intelligence powered, artistically realistic 3d being, that anyone can actually hold a conversation with. (1st in blockchain history)

A Cryptosynth Aeon is an Ai powered NFT (Non-fungible-token) or Crypto-art that users can actually download and talk to, powered by blender3d and gpt-2 conversational ai module.

image

Demo

https://youtu.be/5eCcOtLV0uE

Opensea marketplace Cryptosynth link

https://opensea.io/collection/cryptosynth/

Why open source cryptosynth?

To help collaboratively improve cyptosynths, and further engage the NFT community and beyond, I've decided to open source it here.

Open-source versus synths that have already been Purchased

While the open source version has a sample ai generated cryptosynth aeon being, the open source does not have directions and code regarding how to create new synths, going from ai generated pictures to 3d model, which is available in purchased/purchasable version.

Sample Cryptosynth Aeon being provided in this repository:

image

Contact

cryptosynthlabs@gmail.com

godquestbennett@gmail.com

facebook.com/God.Engineer

facebook.com/Cryptosynth

instagram.com/god_bennett

See my prior github page, that has my old name (albeit recent projects) prior to my legal name change to God.

Recommended Computer Specifications

Windows, GTX 1060+, i7 6700 CPU, 16 GB RAM. (8GB SHOULD BE OKAY)

Copyright

Copyright CryptosynthLabs 2021. Please don't redistribute without an arrangement with Cryptosynth Labs.

A fun note

Each synth has a variety of genderless Ai-talking characters.

Technical Summary

Essentially, each Cryptosynth Aeon being is an Ai generated 3d model, from Ai generated images of fake, but real looking people, inside a blender3d scene, integrated with pytorch based huggingface gpt2 conversational Ai agent. The solution is essentially a blender3d file I wrote from scratch, combined with blender3d compatible conversational hugging face gpt2 ai. In fact, the plugin zip file I organized, includes my cryptosynth __ init __.py file, as well as the gpt2 hugging face ai library, where all hugging face ai files have been modified in order to be imported into my cryptosynth __ init __ controller file, which is about 225 lines of python code for interacting with Blender3d.

image

Quick Overview for general/partly technical understanding

Each Cryptosynth Aeon is an artificial intelligence powered, artistically realistic 3d being, that anyone can actually hold a conversation with, built in essentially 4 parts:

A: From scratch by God Bennett, a blender3d controller is made to enable the actions that the Cryotosynth Aeon 3d being performs. See: __ init __.py in repository, which is the controller mentioned above.

B: Conversational artificial intelligence, which powers the cryptosynth aeon's ability to respond to user messages. (Built on top of huggingfaceai tech, converted into blender3d by God Bennett/Cryptosynth founder. Modification also includes crucial time complexity reduction, by removing personality randomization/dataset loading, which froze Blender3d Ui. This is replaced with single personalities per load; reducing load time from ~4 min to 5 seconds.) See: interact_cryptosynth.py in repository.

C: Blender3d model/scene enabling user to converse with 3d being. (Written from scratch by God Bennett/Cryptosynth founder) See: cryptosynth_sample_scene.blend file (In the cryptosynth_ sample_scene.zip file).

D: (A) and (B) are combined into a Blender3d plugin by God Bennett, for the purpose of easy loading into Blender3d by other users without the need for programming skills.

image

Quick snapshot of the 1st cryptosynth aeon entity, already sold on Opensea.

How to use:

A-Auto setup textures: Auto-apply all aeon textures to 3d model, by :

  1. Going to File > External Data > Find Missing Files
  2. Repeatedly press "Find Missing Files" until folder model.fbm is found. (sample_scene_cryptosynth_blender\models\sample_scene\model.fbm)
  3. When in final folder with textures (like "Std_Eye_L_Diffuse.png"), press "Find Missing Files" once more, and witness textures being automatically applied.
  4. Now that your model has textures, if the source, logo textures and code snippet picture to the right of your model are missing, do steps (1) to (3), stopping at the "sample_scene_cryptosynth_blender" directory before pressing "Find Missing Files".

B-Talk to Aeon!!!

  1. "I" key : Initialize Cryptosynth Aeon being. (Expand resulting dialog/popup (bottom left) with words "Aeon Initialization done")
  2. Right click anywhere in 3d scene (like beside the synth) to enable Cryptosynth Aeon Dialog (bottom left screen).
  3. "T" key : Start Aeon thinking/reading cycle.
  4. "R" key : Get response from Aeon being.

Installation

Part A - 3d Program and Cryptosynth assets setup

  1. Extract this repository's files to a folder somehwhere.

  2. Download and install blender 2.91 (a popular 3d modeling program): https://www.blender.org/download/releases/2-91/

  3. Download and extract the sample Cryptosynth Blender 3d scene file, which contains the 3d Aeon being and scene.

  4. Open Blender3d 2.91, and then from File menu (top left) select open option then navigate to item from plugin creation section.

You should see a scene with an untextured aeon being. Completing Part (B) and (C) below, and then following Instructions automatically gets your Aeon being ready for interaction and use.

Part B - Python Setup

  1. Download and install python 3.7: https://www.python.org/downloads/release/python-370/

  2. Download and extract Cryptosynth Conversational Ai Windows Module.

Fun note: Cryptosynth needs both the zip above as well as the plugin to work. However, the zip above is needed to generate the Ai brain which is explained below. This is closer to the original hugging face gpt2 code base, and lacks all modifications seen in the plugin format of the code, as the cryptosynth plugin is actually a further modified version of this code base, the biggest exception being my __ init __.py file explained in the quick overview section.

  1. Specifically from Python37 scope, install all requirements in (2) immediately above.

  2. a. Open cmd. (Windows+r "cmd")

    b. In cmd (a), set path to python 37 path. (Eg type "path=C:\Users\18765\AppData\Local\Programs\Python\Python37" without quotes and hit enter.)

    c. In cmd (a), navigate to "Cryptosynth Conversational Ai Windows Module" folder from your downloaded of (2).

    d. In cmd (a), type command "python -m pip install -r requirements.txt" without quotes and hit enter, and wait till message at end indicating successful installation of modules from requirements.txt.

  3. Test if (3) installed properly, by running the .bat file already provided in "LAUNCH_INTERACTION_py37.bat". You should see an Ai response talking about "My name is.." or "I am ..." or something similar. This is a quick test of the Conversational Ai module, where the ai is asked what its name is in the interact_cryptosynth.py file which the bat file calls.

     4.b. Note the "tempdir" value, and save this directory in a text file somewhere. This is Aeon's brain!
    
  4. On a windows folder, navigate to path from 3.b. (eg C:\Users\18765\AppData\Local\Programs\Python\Python37)

    5.b. Go to Lib\site-packages folder, and copy everything in that folder. (CTRL + A) then (CTRL + C).

  5. Go to blender 2.91 python directory. (Eg: C:\Program Files\Blender Foundation\Blender 2.91)

    6.b. Go further into directory: 2.91\python\lib\site-packages. Hit (CTRL + P) to paste all content copied from path (5).

  6. This concludes integration of python 37 Ai conversational module, into Blender3d.

Fun-note: If you look closely, the plugin (from Part A/2) contains similar code to the Ai module (from Part C/1), which some differences:

a. The Plugin (Part A/2) contains an extra file, called __init__.py; a file that controls 3d model's behaviour, and integrates ai response capbility into blender3d.

b. The Plugin (Part A/2) imports things differently from the Windows module (Part C/1) 

Part C - Cryptosynth Aeon plugin creation & pointing plugin to Aeon's brain file

  1. Open utils.py (with python idle to avoid corrupting spacing) , and edit file by changing tempdir value (under "download_pretrained_model") to directory of the result from 4.b. Ensure slashes in path face this "/" way: https://bit.ly/3cBXrAE

  2. Check utils.py file to see if value in tempdir has changed to your value from Part B/4b.

  3. Using Winrar, create plugin by simply zipping all of the repository files, such that a folder exists inside the zip, with the repository files. This zip file is what comprises the plugin. This can easily be acheived properly, by zimply zipping the folder you got from step (1) in Part A of the Installation section.

image

All syntax in the files has already been adjusted to properly be importable into blender in zip format.

After you add Cryptosynth plugin, you'll see new Blender3d components, such as:

i. New panels, new Blender3d panel indicating cryptosynth initialization is done, meaning essentially that Ai and Texture loading is done: image image

ii. New Option in Blender3d Object Context Menu to enable Dialog and responses from to/from cryptosynth entity/being: image image

  1. Open Blender 3d 2.91. Go to Edit > Preferences > Install Then navigate to zip from (3) above. Select check to enable Cryptosynth Aeon plugin.

  2. Click anywhere in 3d scene (like beside Aeon) and hit "Ctrl + alt + space" to maximize screen.

  3. Blender3d now has the Cryptosynth addon (you can right click anywhere and see Cryptosynth.... in the Object Context Menu in blender3d), so Blender itself is now configured for execution of the addon, given that all prior Parts are done.

This adds the crucial user interface and ai integration into Blender3d, wrt Cryptosynth being.

How is each Cryptosynth Aeon being is built?

https://www.facebook.com/Cryptosynth/posts/108859584636527

image

  1. An image of a completely fake, but realistic looking human is made using stylegan based GAN neural network
  2. That photorealistic fake person is then converted to a 3d model in some program B.
  3. An artificial intelligence brain, namely based on GPT-2, is personalized to the synth's theme.
  4. A plugin was made for user interface into some program C; blender 2.91, which is carefully organized to render the 3d model (2) together with integration of the personalized ai brain (3), which any human user can interact with.

Future work (dynamic Ai Cryptosynth Aeon emotion and Ai User emotion reading):

Apart from the active artificial intelligence-Gpt2 conversational response capability that had already been available since the 1st cryptosynth aeon release, the goal is to also add ai driven 3d behaviours, based on voice user input, and user web cam expressions. This would resonably involve the use of more vision systems (including user perception ai systems for reading user emotion as well as ai based aeon face/muscle systems dynamically activated during interaction), together with their integration in blender3d.

About

A Cryptosynth Aeon (created by God Bennett/Cryptosynth Labs) is an artificial intelligence powered, artistically realistic 3d being, that anyone can actually hold a conversation with.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages