API Endpoints
Our API provides access to multiple AI models and capabilities through a unified interface. Select a category below to explore the available endpoints and learn how to use them.
OpenAI Compatible
API endpoints that are compatible with OpenAI standards for text generation, embeddings, and more.
Image Generation
Endpoints for generating images from text prompts using models like Flux.1 and Midjourney.
ElevenLabs
Text-to-speech API endpoints for converting text into realistic, natural-sounding speech.
API Base URL
All API requests should be sent to the following base URL:
https://api.pomeloapi.example.com/v1
Each endpoint is accessed by appending the specific path to this base URL. For example, to generate an image using the Flux.1 model, you would send a request to:
https://api.pomeloapi.example.com/v1/images/generations
Authentication
All API requests require authentication using an API key. Your API key should be included in the request headers as follows:
Authorization: Bearer YOUR_API_KEY
For more information about API keys, including how to create and manage them, see ourauthentication documentation.
Response Format
All API responses are returned in JSON format with HTTP status codes indicating the result of the operation.
Status Code | Description |
---|---|
200 - OK | The request was successful and the response contains the requested data. |
400 - Bad Request | The request was invalid or missing required parameters. |
401 - Unauthorized | Authentication failed or is missing. |
429 - Too Many Requests | You have exceeded your rate limit. |
500 - Server Error | An error occurred on our servers. |
Need Help?
If you have any questions about our API endpoints or need assistance with implementation, our support team is here to help.