USD Code API#
USD Code is a Mixture of Agent API that leverages multiple agents built on top of Llama 3.1 LLM foundation model. It includes three experts:
Python-USD knowledge expert: Capable of answering OpenUSD knowledge questions
Core Python-USD code generation expert: Capable of generating Python-USD code in response to text prompts
High-level code generation expert: Capable of performing complex Python-USD stage modification leveraging Helper Functions. Learn more about USD Code Helper Functions here.

USD Code API boosts your productivity when working with OpenUSD. Whether you are a highly skilled workflow developer or domain specific developer, USD Code API will enable you to learn and develop with OpenUSD more efficiently. With USD Code API you can accelerate common 3D development needs, such as synthetic data generation for robotics and computer vision applications. Learn more about OpenUSD here.
To preview and experience USD Code API, click here to the NVIDIA API Catalog.
To deploy and self-host USD Code API in your own infrastructure, please visit USD Code API Collection on NGC and refer to the Deployment section.
The self-hosted or preview API can be integrated into Visual Studio Code and as a sample Omniverse Kit extension in Omniverse Kit 106.1. See the Usage page for details.
Tip
To learn how to use USD Code API in your digital twins workflows, check out Synthetic Data Generation with Generative AI Reference Workflow. In this guide we share examples of using USD Code API and USD Search API to build digital twins and synthetic data generation pipelines for training physical AI.