Overview
This endpoint provides submit task functionality.
Authentication
This endpoint requires authentication using a Bearer token.
Authorization
string
default:"sk-***********"
required
Your API key in the format: Bearer YOUR_API_KEY
 
Request Body
image
string
default:"The URL of the image to generate an image from."
Image parameter
 
Enable Base64 Output parameter
 
Enable Sync Mode parameter
 
Request Example
curl -X POST "https://gptproto.com/api/v3/image-background-remover" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "image": "The URL of the image to generate an image from.",
  "enable_base64_output": false,
  "enable_sync_mode": false
}'
 
Response
Error Responses
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}