3.2.0
BoxLang AI Module 3.2.0 — Image Generation, Web Search, Fluent Audio Builders, Agent Registry, MCP Observability & more.
✨ New Features
🖼️ Image Generation — aiImage()
aiImage()BIF
Description
Provider
Model
Env Var
// Generate an image and save to file
aiImage( "A futuristic cityscape at sunset" )
.saveToFile( "/images/cityscape.png" )
// Generate with custom parameters
response = aiImage(
"A watercolor painting of a mountain lake",
{ n: 2, size: "1024x1024", quality: "hd" },
{ provider: "openai" }
)
// Get image as data URI for embedding in HTML
dataURI = response.toDataURI()Method
Returns
Description
🔍 Web Search Tools — aiWebSearch() and aiWebSearchAsync()
aiWebSearch() and aiWebSearchAsync()BIF
Description
Provider
API Key
Notes
🎤 Fluent Builder API for Audio BIFs
aiSpeak() Fluent Builder
aiSpeak() Fluent BuilderMethod
Description
aiTranscribe() Fluent Builder
aiTranscribe() Fluent BuilderMethod
Description
aiTranslate() Fluent Builder
aiTranslate() Fluent Builder🤖 Agent Registry
Method
Description
⏸️ MCP Server Pause/Resume
📊 MCP Server Observability & Analytics
📈 MCP Client Stats & Observability
Method
Description
🐛 Fixed
📦 Module Configuration Updates
Image Settings
New Interception Points
#
Event
When Fired
🔄 Migration Guide
Audio BIFs — Fluent Builder
Agent Registry
MCP Server
Last updated