API Documentation
Integrate Quizontal's AI background removal into your applications with our simple REST API.
Quick Start
Get started with our API in minutes. The Quizontal API provides programmatic access to our AI-powered background removal technology. All API endpoints are free to use and require no authentication for basic usage.
from gradio_client import Client, handle_file
# Initialize the client
client = Client("danuka21/quizontal-Background-Remover-C1")
# Remove background from an image
result = client.predict(
image=handle_file('https://example.com/image.png'),
api_name="/image"
)
print(result)API Endpoints
POST/image
Remove background from a single image. Supports PNG, JPG, and WEBP formats up to 25MB.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| image | File | Yes | Image file to process (PNG, JPG, WEBP) |
| api_name | String | Yes | Must be "/image" |
Response
{
"data": [
[
{
"url": "https://processed-image-url.com/result.png",
"size": [800, 600],
"original_name": "input.jpg"
}
]
],
"duration": 2.1
}Usage Examples
🐍
Python
import requests
from gradio_client import Client
client = Client("danuka21/quizontal-Background-Remover-C1")
result = client.predict(
image="path/to/image.jpg",
api_name="/image"
)🟨
JavaScript
// Using fetch API
const formData = new FormData();
formData.append('image', imageFile);
const response = await fetch(
'https://huggingface.co/spaces/danuka21/quizontal-Background-Remover-C1',
{
method: 'POST',
body: formData
}
);📱
Mobile Apps
// Swift example let client = Client( src: "danuka21/quizontal-Background-Remover-C1" ) let result = client.predict( inputs: ["image": imageData], endpoint: "/image" )
Rate Limits & Pricing
🎉 Completely Free!
The Quizontal API is completely free to use with no rate limits for individual users. We believe in making AI accessible to everyone. For high-volume commercial use, please contact us for enterprise solutions.
∞
Requests
0$
Cost
25MB
Max File Size
Support
Need help integrating our API? Check out our documentation or contact our support team.