AI Magicx API v1.0.0 - Initial Public Release
We're excited to announce the official public release of the AI Magicx API! This powerful API gives developers programmatic access to our suite of AI models and tools through a simple, OpenAI-compatible interface.
🚀 New Features
API Key Management
- Secure API Keys: Generate keys with
mgx-sk-
prefix for easy identification - Granular Permissions: Control access to specific endpoints
- Custom Rate Limits: Set limits per API key based on your needs
- Expiration Support: Set automatic expiration dates for temporary access
- Usage Analytics: Track requests, models used, and credits consumed
Core Endpoints
Chat Completions (POST /api/v1/chat
)
- 15+ AI Models: Access GPT-4o, Claude 3.5 Sonnet, Gemini 2.5, and more
- Streaming Support: Real-time responses via Server-Sent Events
- Tool Calling: Leverage 20+ built-in tools for enhanced functionality
- GitHub Integration: Seamless code-related operations
Image Generation (POST /api/v1/ai-image/generate
)
- Multiple Models: DALL-E 2/3, Stable Diffusion, and Flux
- Flexible Options: Various sizes and quality settings
- Style Control: Presets and negative prompts for precise results
Logo Generation (POST /api/v1/ai-image/logo
)
- Professional Logos: Specialized endpoint for brand creation
- Industry Optimization: Tailored for different business sectors
- Design Control: Typography and color scheme customization
💳 Billing & Usage
Simple Credit System
- Request-Based: 1 request = 1 credit for easy tracking
- Hybrid Billing: Monthly included requests + pay-as-you-go
- Real-Time Tracking: Credit balance in response headers
- Transparent Pricing: View plans at AI Magicx.com/pricing
🛠️ Developer Experience
OpenAI-Compatible API
- Familiar Format: Compatible with OpenAI API structure
- Easy Integration: Simple REST API with standard HTTP methods
- SDK Coming Soon: Official SDKs for popular languages in development
Comprehensive Features
- Error Handling: Detailed error codes and messages
- Rate Limiting: Standard headers for easy integration
- Interactive Docs: Test endpoints directly in documentation
🛡️ Security & Monitoring
Enterprise-Grade Security
- SHA-256 hashed API key storage
- Row-level security with Supabase
- CORS support for browser applications
- Request validation with Zod schemas
Analytics & Monitoring
- Detailed usage analytics endpoint
- Request logging with model tracking
- Monthly aggregation for billing
- Rate limit status in headers
📚 Getting Started
- Generate API Key: Visit your dashboard to create a key
- Set Base URL: Point your HTTP client to
https://beta.aimagicx.com/api/v1
- Make First Request: Start with chat completions
- Monitor Usage: Track credits in real-time
📖 Documentation
For detailed API documentation, integration guides, and code examples, visit our API Documentation.
🎯 What's Next
We're continuously improving the API based on developer feedback. Upcoming features include:
- Official SDKs for JavaScript, Python, and more
- Additional AI models
- Webhook support
- Batch processing endpoints
- Enhanced analytics dashboard
Start building with the AI Magicx API today and bring the power of AI to your applications!