Generative Texture API
What is the Generative Texture API?
The Generative Textures API makes it easy to integrate your generative AI service of choice into LookdevX by creating plugins that appear as compound nodes in the "Experimental" section of the node library. These nodes encapsulate the textures generated by your service.
LookdevX provides three different approaches for creating generative texture plugins. More detailed information for each approach is provided in their respective README files:
C++ API
The C++ API allows you create plugins using Qt that integrate directly with LookdevX. This gives you the most flexibility for connecting your generative texture service and building custom user interfaces.
Resources:
- API Headers:
lookdevx/includes/GenerativeTextures/include - README and Setup Guide:
lookdevx/includes/GenerativeTextures/README.md - Doxygen Documentation:
lookdevx/includes/GenerativeTextures(zip file) - Reference Plugin Example:
lookdevx/examples/cpp/reference_plugin
Python Plugin
The Python plugin system gives you ready-to-use templates for connecting your generative texture service to LookdevX. The templates handle the LookdevX integration, so you can focus on connecting to your service.
Resources:
- Module Setup Guide:
lookdevx/python/generative/README.md - Python Module:
lookdevx/python/generative - Python Examples:
lookdevx/examples/python/reference_plugins
Template Plugin System
The template plugin system uses OpenAPI specifications and JSON schemas to define how your generative texture service should interface with LookdevX.
Resources:
- Documentation:
lookdevx/examples/template_plugins/docs - Template Examples:
lookdevx/examples/template_plugins