Executable Codemdxai
Getting Started
Set up mdxai for AI-powered MDX
Getting Started
Get started with AI-powered MDX generation and transformation.
Installation
Configuration
Set your API key:
Or configure programmatically:
Basic Generation
Simple Content
With Schema
Define the expected structure:
Content Transformation
Enhance Existing Content
Translate Content
Extract Structure
Streaming
For long content, stream the response:
Type Safety
Use MDXLD types for validation:
Error Handling
Next Steps
- Claude Integration - Advanced Claude features
- Vapi - Voice interfaces