Quickstart
Get started with Electron Hub API in minutes
Get Your API Key
Create your free account at playground.electronhub.ai
Generate API Key
Visit the API Keys section to generate your first API key.
Keep your API key secure! Never share it or include it in client-side code.
Make Your First Request
Try Image Generation
Generate images from text descriptions:
Text Embeddings
Convert text to vectors for semantic search:
Next Steps
Authentication Guide
Learn about API keys and security best practices
Rate Limits
Understand rate limits and optimization strategies
API Reference
Explore all available endpoints and parameters
Examples
See practical examples and use cases
Best Practices
Learn optimization and production tips
Contact Support
Get help from our support team
Troubleshooting
Common Issues
401 Unauthorized
- Check that your API key is correct
- Ensure you’re using the
Bearer
prefix - Verify your key hasn’t expired
429 Rate Limited
- Slow down your request rate
- Check your usage limits in the dashboard
- Consider upgrading your plan
400 Bad Request
- Verify all required parameters are included
- Check parameter types and formats
- Review the API reference for correct syntax
Need more help? Join our Discord community or check the troubleshooting guide.