cblink / tencent-ai
Tencent AI SDK
dev-develop
2018-09-30 06:23 UTC
Requires
- php: >=7.0
- guzzlehttp/guzzle: ^6.0
This package is not auto-updated.
Last update: 2024-10-28 21:41:27 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'));