API Token
Create a token first
Ultra Enhance API
Ultra Enhance combines next-generation AI models with precision enhancement algorithms. It offers advanced control through custom prompts and fine-tuning models for specialized image types.Example Request:
curl -s -X POST \ "https://api.sequelai.com/v1/enhance" -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY_HERE" \ -d '{ "image": "https://website.com/image.png", "mode": "ultra", "creativity": 0, "prompt": "", "tuning_model": "https://example.com/custom_model.safetensors", "callback_url": "https://your-app.com/webhook" }'
Parameters:
- image: URL to the input image
- mode: "ultra"
- creativity: value between -10 and 10 (optional, default: 0)
- prompt: string (optional)
- tuning_model: URL to custom model (optional)
- callback_url: URL for receiving the result (optional)
Precision Enhance API
Precision mode delivers maximum control over the enhancement process with an extensive set of parameters that let you fine-tune every aspect of the output image.Example Request:
curl -s -X POST \ "https://api.sequelai.com/v1/enhance" -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY_HERE" \ -d '{ "image": "https://website.com/image.png", "mode": "precision", "creativity": 0, "detail_level": 0, "contrast": 0, "saturation": 0, "noise_reduction": 0, "scale": 2, "preset": "natural", "prompt": "", "callback_url": "https://your-app.com/webhook" }'
Parameters:
- image: URL to the input image
- mode: "precision" (or omit for default)
- creativity: value between -10 and 10
- detail_level: value between -10 and 10
- contrast: value between -10 and 10
- saturation: value between -10 and 10
- noise_reduction: value between -10 and 10
- scale: value between 1 and 16
- preset: "natural", "portrait", "illustration", or "art"
- prompt: string (optional)
- callback_url: URL for receiving the result (optional)
HQ Upscaler API
HQ mode provides high-fidelity upscaling with perfect detail preservation, ideal for technical images, documents, and any content where maintaining the exact look and feel is essential.Example Request:
curl -s -X POST \ "https://api.sequelai.com/v1/enhance" -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY_HERE" \ -d '{ "image": "https://website.com/image.png", "mode": "hq", "scale": 4, "callback_url": "https://your-app.com/webhook" }'
Parameters:
- image: URL to the input image
- mode: "hq"
- scale: value between 2 and 8
- callback_url: URL for receiving the result (optional)
Response:
All enhancement modes return a JSON response containing the enhanced image URL, processing metadata, and quality metrics.Callback URL (optional)
When processing is complete, Sequel AI will send a POST request to your callback URL with the results. For larger images or batch processing, using a callback URL is recommended over waiting for the direct response.