What This Extension Does

Hey there! Are you building apps with MIT App Inventor and wish they could be smarter? More interactive? More creative? This extension is exactly what you've been looking for! It brings professional-grade artificial intelligence capabilities right into your block-based coding environment.

Intelligent Conversations

Add a smart assistant to your app that can answer questions, help with homework, tell stories, or just chat about anything!

AI Image Generation

Turn text descriptions into beautiful, original artwork. Describe anything you can imagine, and watch it come to life!

Easy Integration

No complex setup or confusing APIs. Just drag the blocks, add your API key, and you're ready to go!

How It Works - Simple Blocks, Amazing Results

The beauty of this extension is how simple it makes advanced AI. Here's everything you need to know:

The Chat Block - Your AI Assistant

Want to add a helpful assistant to your app? This block lets users have natural conversations with AI. Perfect for educational apps, customer support, or creative writing tools!

// Example: Ask any question and get a helpful response
Chat
  prompt: "What are some tips for learning to code?"
  apiKey: "your-personal-api-key-here"
  maxTokens: "350"
  informative: true

The GenerateImage Block - Your AI Artist

Imagine being able to create custom illustrations for stories, generate artwork for games, or visualize ideas instantly. This block makes it possible!

// Example: Create an image from your imagination
GenerateImage
  prompt: "A friendly robot teaching kids about planets in a colorful classroom"
  apiKey: "your-personal-api-key-here"

Quick Start Guide

Step 1: Get Your Free API Key

1. Visit OpenAI's platform
2. Sign up for an account (new users often get free credits!)
3. Go to "API Keys" and create a new secret key
4. Copy your key - you'll need it for the extension

Step 2: Download & Install the Extension

1. Download the extension file using the button below
2. Open your MIT App Inventor project
3. Go to the "Extensions" panel
4. Click "Import extension" and select the downloaded file

Step 3: Start Building Amazing Apps!

1. Find the new OpenAI blocks in your palette
2. Drag them into your project
3. Connect the events to handle responses
4. Test your AI-powered app!

Frequently Asked Questions

Is this really free to use?
The extension itself is completely free! You'll need an OpenAI account, which often provides free trial credits to get started. After that, usage is based on OpenAI's pricing, which is very affordable for most projects.
Why are the AI responses sometimes cut off?
This happens when the "maxTokens" value is set too low. Think of tokens as word pieces - for a good paragraph response, try setting it to 300-500. Increase it for longer, more detailed answers!
Can I use this for my school project?
Absolutely! This is perfect for educational projects. You could build a homework helper, a language learning app, a creative writing assistant, or a science tutor. The possibilities are endless!
What kind of apps can I build with this?
  • Interactive story apps with generated illustrations
  • Study assistants that explain any topic
  • Creative writing tools with AI suggestions
  • Language practice chatbots
  • Art generators for game development
  • Custom greeting card creators

Ready to Transform Your App Inventor Projects?

Download the extension now and start building the next generation of intelligent apps. No complex coding required—just your creativity and this powerful tool!

Download the AI Extension

Version 2.0 | Released January 15, 2023

Your Ideas, Powered by AI

This extension isn't just about adding features to your apps—it's about unlocking possibilities. It's about creating experiences that were previously only possible for professional developers with years of coding experience.

Whether you're a student, teacher, hobbyist, or aspiring entrepreneur, you now have the power to build intelligent, interactive, and creative applications. What will you create today?