[FREE] AI Extension for MIT App Inventor! (no api key needed)

Introducing the AI Extension for MIT App Inventor! :robot:

Hello, App Inventor Community!

I’m excited to share a new extension I’ve created called the AI Extension. This extension allows your apps to communicate with an AI-powered API (like GPT) by sending text and receiving responses. It’s perfect for building chatbots, language tools, or any app that needs AI-generated text!

What Does It Do?

The AI Extension sends a request to a custom API endpoint (https://nimaartman.ir/science/L1.php?text=) It uses powerbrainai.com to fetch the data using gpt 4-o with the text you provide.(no limit) It then retrieves the AI-generated response and makes it available in your app. You can use this to create interactive, AI-driven features in your projects.

Key Features

  • SendRequest(text): Send text to the AI API.
  • OnResponse(response): Receive the AI-generated response as an event.
  • Simple Integration: Just drag and drop the extension into your app and start using it

How to Use

  1. Add the AI Extension to your project.
  2. Use the SendRequest block to send text to the API.
  3. Handle the response using the OnResponse event.
  4. Display or process the AI-generated text in your app.

Blocks Screenshot

component_event
component_event (2)
component_method (1)

Get Started

Download the extension and try it out in your next project!
NimaAI.aix (535.7 KB)

Note

Please be aware, that the extension stops working if the server goes down

Feedback Welcome!

I’d love to hear your thoughts, suggestions, or any cool projects you build with this extension.

Happy Nowruz!

3 Likes

Wow, great job!
Thank you so much for this extension! :blush:

Happy Nowruz!

1 Like

Great job.
Unfortunately this version of powerbrainai can't exceed 1000 characters in the answer.

Hello @macro_tanzi,

Actually, it can generate more than 2,000 characters. As mentioned in my post, there is no limit for this AI. However, please note that the server may occasionally experience downtime, which could result in the extension temporarily stopping its functionality.

Best regards,
Nima

1 Like