AI Nodes

Meadow provides visual scripting nodes for integrating AI capabilities directly into your experiences. You can send text and image prompts to large language models and use text-to-speech to generate audio โ€” all from within your visual scripting graphs.

Requirements

All AI nodes require an API key from the respective provider. You are responsible for your own API usage and costs. Keep your API keys secure and be mindful of rate limits.


Chat Nodes

The chat nodes send a text prompt (and optionally an image) to an AI model and return a text response. All three chat nodes share the same interface pattern.

ChatGPT

Sends a request to OpenAIโ€™s ChatGPT API.

Inputs:

Outputs:


Claude

Sends a request to Anthropicโ€™s Claude API.

Inputs:

Outputs:


Gemini

Sends a request to Googleโ€™s Gemini API.

Inputs:

Outputs:


Text-to-Speech Nodes

The TTS nodes convert text into spoken audio, returning an AudioClip that you can play with an AudioSource component.

ChatGPT TTS

Generates speech using OpenAIโ€™s TTS API.

Inputs:

Outputs:


Gemini TTS

Generates speech using Googleโ€™s Gemini TTS API.

Inputs:

Outputs:


Playing TTS Audio

To play the audio clip returned by a TTS node:

  1. Add an AudioSource component to a GameObject in your scene.
  2. After the TTS nodeโ€™s Success output, use a Set AudioSource Clip node to assign the audio clip.
  3. Use a Play AudioSource node to play it.


Tips