# Electron Hub API ## Docs - [Text-to-Speech](https://docs.electronhub.ai/api-reference/audio/speech.md): Generate natural-sounding speech from text using AI voice models - [Chat Completions](https://docs.electronhub.ai/api-reference/chat/completions.md): Create chat completions using OpenAI-compatible format - [Embeddings](https://docs.electronhub.ai/api-reference/embeddings.md): Generate vector embeddings for text - [Image Edits](https://docs.electronhub.ai/api-reference/images/edits.md): Edit existing images using AI - [Image Generations](https://docs.electronhub.ai/api-reference/images/generations.md): Generate images using AI models - [Messages API](https://docs.electronhub.ai/api-reference/messages.md): Create messages using Anthropic-style format - [Get Model](https://docs.electronhub.ai/api-reference/model.md): Retrieve information about a specific model - [List Models](https://docs.electronhub.ai/api-reference/models.md): List all available models - [Moderations](https://docs.electronhub.ai/api-reference/moderations.md): Classify text content for safety violations - [Create Proxy Key](https://docs.electronhub.ai/api-reference/proxy-create.md): Create a new proxy key with specified permissions and limits - [Delete Proxy Key](https://docs.electronhub.ai/api-reference/proxy-delete.md): Delete a specific proxy key permanently - [Delete All Proxy Keys](https://docs.electronhub.ai/api-reference/proxy-delete-all.md): Delete all proxy keys for the authenticated user - [List Proxy Keys](https://docs.electronhub.ai/api-reference/proxy-keys.md): Retrieve all proxy keys for the authenticated user - [Toggle Proxy Key Status](https://docs.electronhub.ai/api-reference/proxy-toggle.md): Enable or disable a proxy key without deleting it - [Update Proxy Key](https://docs.electronhub.ai/api-reference/proxy-update.md): Update an existing proxy key's configuration - [Validate Proxy Key Access](https://docs.electronhub.ai/api-reference/proxy-validate.md): Validate if a proxy key can access a specific model from the current IP - [Regenerate API Key](https://docs.electronhub.ai/api-reference/regenerate-key.md): Generate a new API key for the authenticated user - [Responses API](https://docs.electronhub.ai/api-reference/responses.md): Create responses using OpenAI-style format - [Get Usage](https://docs.electronhub.ai/api-reference/usage.md): Get current user usage statistics and account information - [Get User Logs](https://docs.electronhub.ai/api-reference/user-logs.md): Get recent API request logs for the authenticated user - [Get Model Breakdown](https://docs.electronhub.ai/api-reference/user-models.md): Retrieve a per-model cost and usage breakdown for the authenticated user, including request counts, token usage, total cost, and provider information for every model used. - [Video Generations](https://docs.electronhub.ai/api-reference/videos/generations.md): Generate videos from text prompts via Server-Sent Events (SSE) - [Advanced Billing Topics](https://docs.electronhub.ai/billing/advanced.md): Rate limits, caching, token pricing, and cost optimizations - [Understanding Credits](https://docs.electronhub.ai/billing/credits.md): Learn about all credit types and how they work - [Model Types & Access](https://docs.electronhub.ai/billing/model-access.md): Understanding which models you can access and how they are billed - [Billing & Credits Overview](https://docs.electronhub.ai/billing/overview.md): Everything you need to know about billing, credits, subscriptions, and payments - [Pay-as-You-Go](https://docs.electronhub.ai/billing/pay-as-you-go.md): Purchase permanent credits that never expire - [Privacy & Security](https://docs.electronhub.ai/billing/privacy-security.md): Data protection, moderation, and privacy policies - [Subscriptions](https://docs.electronhub.ai/billing/subscriptions.md): Subscription tiers, benefits, and how to subscribe - [Billing Troubleshooting](https://docs.electronhub.ai/billing/troubleshooting.md): Common billing issues and how to resolve them - [Chat Examples](https://docs.electronhub.ai/examples/chat-examples.md): Real-world examples using chat completion models - [Embedding Examples](https://docs.electronhub.ai/examples/embedding-examples.md): Text embeddings for semantic search and recommendations - [Image Examples](https://docs.electronhub.ai/examples/image-examples.md): Image generation and editing examples - [Authentication](https://docs.electronhub.ai/getting-started/authentication.md): Learn how to authenticate with the Electron Hub API - [Error Handling](https://docs.electronhub.ai/getting-started/errors.md): Common errors and how to handle them gracefully - [Introduction](https://docs.electronhub.ai/getting-started/introduction.md): Welcome to Electron Hub API - Your unified gateway to 450+ AI models - [Quickstart](https://docs.electronhub.ai/getting-started/quickstart.md): Get started with Electron Hub API in minutes - [Rate Limits](https://docs.electronhub.ai/getting-started/rate-limits.md): Understanding rate limits and how to handle them effectively - [Anthropic SDKs](https://docs.electronhub.ai/guides/anthropic-sdks.md): Learn how to use Anthropic SDKs with Electron Hub as your base URL - [Best Practices](https://docs.electronhub.ai/guides/best-practices.md): Essential guidelines for using Electron Hub API effectively - [In-chat Image Generation](https://docs.electronhub.ai/guides/in-chat-image-generation.md): Generate images inline during chat using model suffix syntax - [OpenAI SDKs](https://docs.electronhub.ai/guides/openai-sdks.md): Learn how to use OpenAI SDKs with Electron Hub as your base URL - [Prompt Caching](https://docs.electronhub.ai/guides/prompt-caching.md): Use prompt caching with Anthropic Claude models to reduce costs and improve performance ## OpenAPI Specs - [openapi](https://docs.electronhub.ai/api-reference/openapi.json)