📚 Documentation

🚀 Getting Started

  1. Create a free account
  2. Get your API key from Dashboard → API Keys
  3. Make your first API call (see examples below)

🔐 Authentication

Include your API key in the Authorization header:

Authorization: Bearer meb_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

🔌 Endpoints

EndpointPurposeCredits
POST /api/v1/describeGenerate product descriptions2
POST /api/v1/transcribeVoice to text5
POST /api/v1/classifyImage classification1
POST /api/v1/removebgBackground removal3
POST /api/v1/translateText translation1

💻 Examples

cURL

curl -X POST https://ai.igulfmart.com/api/v1/describe \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_name": "Apple Juice 1L"}'

PHP

$ch = curl_init('https://ai.igulfmart.com/api/v1/describe');
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_POSTFIELDS => json_encode(['product_name' => 'Apple Juice 1L']),
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer YOUR_API_KEY',
        'Content-Type: application/json'
    ],
    CURLOPT_RETURNTRANSFER => true
]);
$response = json_decode(curl_exec($ch), true);
echo $response['data']['description'];