Pomelo

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.

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 CodeDescription
200 - OKThe request was successful and the response contains the requested data.
400 - Bad RequestThe request was invalid or missing required parameters.
401 - UnauthorizedAuthentication failed or is missing.
429 - Too Many RequestsYou have exceeded your rate limit.
500 - Server ErrorAn 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.