'pulp', 'params' => array( 'labels' => array( array( 'label' => "1", 'select' => 1, 'score' => 2, ), ) ) ), ); $params = array(); $params = array( 'async' => false, 'vframe' => array( 'mode' => 1, 'interval' => 8, ) ); $req = array(); $req['data'] = $reqBody; $req['ops'] = $ops; $req['params'] = $params; $body = json_encode($req); $vid = "xxxx"; list($ret, $err) = $argusManager->pulpVideo($body, $vid); if ($err !== null) { var_dump($err); } else { var_dump($ret); }