cblink/tencent-ai

Tencent AI SDK

dev-develop 2018-09-30 06:23 UTC

This package is not auto-updated.

Last update: 2024-11-11 21:52:32 UTC


README

use Cblink\TencentAI\Application;

require 'vendor/autoload.php';

$app = new Application([
    'app_id' => 'xxxxxx',
    'app_key' => 'xxxxxx',
]);

## 智能鉴黄
$app->visionPorn(file_get_contents('path/to/image.jpeg'));