Vehicle Damage Assessment
$curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => “https://vehicle-damage-assessment.p.rapidapi.com/run”, CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_ENCODING => “”, CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => “POST”, CURLOPT_POSTFIELDS => “{rn “draw_result”: false,rn “remove_background”: false,rn “image”: “https://jixjiastorage.blob.core.windows.net/public/sensor-ai/vehicle_damage/sample.jpg”rn}”, CURLOPT_HTTPHEADER => [ “X-RapidAPI-Host: vehicle-damage-assessment.p.rapidapi.com”, “X-RapidAPI-Key: 40d8de7f46msh35fd86c4308aefbp17b0bajsn42b661feba93”, “content-type: application/json” ], ]); $response = curl_exec($curl); $err = curl_error($curl); …