setAccessKey($ak); $client->setSecretKey($sk); echo "\nDemo AllAgeGeneration\n"; $body = [ 'req_key' => 'all_age_generation', 'binary_data_base64' => [''], 'target_age' => 5, ]; $response = $client->AllAgeGeneration(['json' => $body]); echo $response;