Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Behavior AI
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/13
Integrate OpenAI seamlessly into Unity with our Asset. Go codeless or customize quickly with a few lines of code and access powerful OpenAI features without leaving Unity. Try it today!
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2020.3.45f1
Compatible
Compatible
Compatible
Description

Transform your Unity project into an intelligent, language-aware application with OpenAI Unity Integration. With just a few lines of code, you can integrate OpenAI's powerful ChatGPT text completion and DALL·E image generation directly into your Unity project!


🤖 Features

  • GPT 4 Support
  • DALL-E Image Generation
  • OpenAI Api Scripting Interface
  • Experimental Component Generation

🎮 Use Out-of-the-Box Components

  • OpenAiApiExample - simple API request wrapper
  • OpenAiReplaceImage - Replace sprites, meshes, and UI Images with AI-generated images
  • OpenAiReplaceText - replacing text objects with AI-generated text
  • OpenAiComponent - Generate and edit components using just text prompts

💬 Discord - Join the Conversation! @Helper Bot for Open AI powered help!

https://discord.gg/REkMwNb


✏️ Get Scripting


Strong scripting interface for easily implementating your own components and integrating into any project.


using OpenAi;

var openai = new OpenAiApi();

var completion = await openai.CreateCompletion("Hello world"); // Text Completion

var image = await openai.CreateImage("Hello cat"); // Image Generation


🚀 Endorsements


A reputable reviewer had this to say about asset:


"Overall, the code seems to be well-organized and follows good coding practices such as encapsulation and modularization."

- ChatGPT


Third Party Notices:


Asset uses these assets under the mentioned License.

  • Readme under MIT
  • Readme Settings under MIT
  • MyBox under MIT
  • TP under MIT
  • uCodeEditor under MIT
  • UnityCodeEditor under MIT
  • PdfSharp under MIT
  • HTMLRenderer under BSD 3-Clause New or Revised License
  • HTMLAgilityPack under MIT
  • Anton-Regular.ttf under SIL Open Font License (OFL)
  • ComicNeue-Regular.ttf under SIL Open Font License (OFL)
  • Corben-Regular.ttf under SIL Open Font License (OFL)
  • DidactGothic-Regular.ttf under SIL Open Font License (OFL)
  • Gruppo-Regular.ttf under SIL Open Font License (OFL)
  • NixieOne-Regular.ttf under SIL Open Font License (OFL)
  • RobotoMono-Regular.ttf under Apache 2.0
Technical details

The OpenAI Unity Asset includes three components for integrating OpenAI APIs into Unity games:

  • OpenAiApiExample for both text completion and image generation
  • OpenAiImageReplace for replacing sprites with AI-generated images
  • OpenAiTextReplace for replacing text objects with AI-generated text.

The Asset leverages the OpenAiApi library and requires only a few lines of code to get started. With this intuitive API, you can access powerful OpenAI features without ever leaving Unity, making it faster and easier than ever to incorporate OpenAI APIs into your Unity game.

Created with AI

AI was used through this package to generate examples of images and text that can be generated using this asset.

Plugin for ChatGPT / DALL-E (OpenAI)

(5)
46 users have favourite this asset
(46)
$10
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
13.4 MB
Latest version
1.0.18
Latest release date
Apr 21, 2023
Original Unity version
2020.3.45
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR
$10