API Documentation
REST API ReferenceAuthentication
All API endpoints require authentication using an API key. You can create and manage your API keys in theAPI Keyssection.
Authorization: Bearer YOUR_API_KEY
Endpoints
POST
https://api.mnmlai.dev/v1/render/enhancer
Required Parameters
image
The image file to enhance
File upload (multipart/form-data)
prompt
Description or instructions for enhancement
String
Optional Parameters
geometry
Geometric adjustment level
Number (0-1), Default: 1
creativity
Creative enhancement level
Number (0-1), Default: 0.3
dynamic
Dynamic range adjustment
Number (0-10), Default: 5
sharpen
Image sharpening level
Number (0-1), Default: 0.5
seed
Random seed for consistent results
Number (optional)
Example Request
Request
curl --location --request POST 'https://api.mnmlai.dev/v1/render/enhancer'
--header 'Accept: application/json'
--header 'Authorization: Bearer YOUR_API_KEY'
--header 'Content-Type: multipart/form-data'
--form 'image=@"/path/to/image.jpg"'
--form 'prompt="Enhance the colors and make it more vibrant"'
--form 'geometry="1"'
--form 'creativity="0.3"'
--form 'dynamic="5"'
--form 'sharpen="0.5"'
--form 'seed="453463"'
Example Response
Response
{
"status": "success",
"id": "a08rrvpzzhrj00cmzt1bykjzp0",
"seed": 453463,
"prompt": "Enhance the colors and make it more vibrant"
}
Rate Limits
Usage Limits
API requests are limited based on your subscription plan. Monitor your usage in the dashboard and upgrade your plan if you need higher limits.