API Documentation
Welcome to the RentPrompts API. This documentation provides the necessary information to integrate our powerful AI models into your applications.
1. Authentication
To use the API, you need a secret key. Follow these steps to generate one:
- Log in to your RentPrompts Account.
- Go to your Profile (Click your avatar on the top right).
- Click "Generate API Key".
- Copy your key and keep it secure.
2. Available Models
Below are most popular models. You can use any model using their names.
3. Usage Examples
Select a language below to see how to make a api request.
4. Troubleshooting
Credits Required
Your account needs credits (Joules) to run these models. If you receive an Insufficient Balance error, please check your balance on your Profile Page.
Common Errors
- Unauthorized (401): Check your API Key. It must be valid and active.
- Not Found (404): Ensure you are using the correct endpoint URL and model name.