All Projects → justmd5 → tencent-ai

justmd5 / tencent-ai

Licence: MIT License
腾讯AI开放平台 【Tencent AI open platform】

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to tencent-ai

Tencent Cartoon Download
No description or website provided.
Stars: ✭ 26 (-61.76%)
Mutual labels:  tencent
tencent-apigateway
Easily provision Tencent API Gateway using Serverless Components
Stars: ✭ 33 (-51.47%)
Mutual labels:  tencent
xinge
腾讯信鸽push Golang lib
Stars: ✭ 25 (-63.24%)
Mutual labels:  tencent
NoWordsChat
No Words Chat,Just For Fun! Use MVVM,DataBinding,Fresco......
Stars: ✭ 46 (-32.35%)
Mutual labels:  tencent
APIJSON-Demo
腾讯 APIJSON 各种语言、各种框架 的 使用示例项目、上手文档、测试数据 SQL 文件 等。Demo projects with document and SQL files for Tencent APIJSON with different programming languages and different frameworks.
Stars: ✭ 230 (+238.24%)
Mutual labels:  tencent
tencent-scf
Deploy Tencent Cloud Serverless Cloud Function in seconds with Serverless Components.
Stars: ✭ 86 (+26.47%)
Mutual labels:  tencent
cb-spider
CB-Spider provides a unified view and single interface for multi-cloud management.
Stars: ✭ 26 (-61.76%)
Mutual labels:  tencent
serverless-tencent-scf
Add support for Tencent Cloud's serverless infrastructure to the Serverless Framework via this plugin
Stars: ✭ 53 (-22.06%)
Mutual labels:  tencent
JD tencent scf
自用脚本,随缘更新
Stars: ✭ 440 (+547.06%)
Mutual labels:  tencent
ELFChatBot
闲聊QQ机器人,也就是人工智障
Stars: ✭ 61 (-10.29%)
Mutual labels:  tencent
2018-Tencent-Lookalike
2018-腾讯广告算法大赛-相似人群拓展(初赛):10th/1563 (Top 0.64%)
Stars: ✭ 46 (-32.35%)
Mutual labels:  tencent
flutter superplayer
适用于 Flutter 的腾讯云超级播放器插件
Stars: ✭ 13 (-80.88%)
Mutual labels:  tencent
tencent-tensorflow-scf
A template project for serverless functions for Tensorflow inference on Tencent Cloud.
Stars: ✭ 38 (-44.12%)
Mutual labels:  tencent
cli
The universal GraphQL API and CSPM tool for AWS, Azure, GCP, K8s, and tencent.
Stars: ✭ 811 (+1092.65%)
Mutual labels:  tencent
cordova-plugin-tencent-liteav
A cordova plugin for video playing with Tencent's LiteAV SDK. Support RTMP/HLS/FLV/MP4.
Stars: ✭ 24 (-64.71%)
Mutual labels:  tencent
go-trustsql-sdk
基于 Golang 语言的腾讯区块链 TrustSQL SDK
Stars: ✭ 15 (-77.94%)
Mutual labels:  tencent
Ant-Live
【基于JAVA开发的在线直播平台】Ant Live;腾讯云直播服务;直播鉴黄;礼物;支付宝充值提现;弹幕聊天室;前端后分离;SpringBoot;直播平台开发;
Stars: ✭ 28 (-58.82%)
Mutual labels:  tencent
TUICalling
腾讯云TRTC针对直播、语聊、视频通话等推出的低代码解决方案~
Stars: ✭ 28 (-58.82%)
Mutual labels:  tencent
cmq-go
Tencent CMQ Golang SDK
Stars: ✭ 20 (-70.59%)
Mutual labels:  tencent
apijson-framework
腾讯 APIJSON 服务端框架,通过数据库表配置角色权限、参数校验等,简化使用。Tencent APIJSON Server Framework for configuring access of roles and validation of arguments in database tables, then using APIJSON easier.
Stars: ✭ 41 (-39.71%)
Mutual labels:  tencent

腾讯AI开放平台 SDK

Tencent AI open platform sdk

styleci PHP from Packagist GitHub stars Latest Stable Version Latest Unstable Version License

Special thanks to the generous sponsorship by:



Requirement

  1. PHP >= 7.0
  2. Composer
  3. ext-curl 拓展
  4. ext-json 拓展

安装

composer require justmd5/tencent-ai

使用

$config  = [
    'appKey'    => '1106944xxx',
    'appSecret' => 'dsgnbnWnX8Yxxxxxx',
    'debug'     => true,//true show debug info 
];
$AI      = new \Justmd5\TencentAi\Ai($config);

接口调用示例

智能闲聊 url: https://api.ai.qq.com/fcgi-bin/nlp/nlp_textchat 请求示例1:

$params = [
'question'=>'腾讯人工智能',
'session'=>123,
];
try {
    dd($AI->nlp->request('textchat', $params));
} catch (\Justmd5\TencentAi\Exception\NotFoundException $e) {
    dd($e);
}

看图说话 url: https://api.ai.qq.com/fcgi-bin/vision/vision_imgtotext 请求示例2:

$params = [
//image 支持两种传递参数方式
//  'image'      => base64_encode(file_get_contents(__DIR__ . '/1571126902_843200.jpg')),//old
    'image'      => __DIR__ . '/1571126902_843200.jpg',//new 
    'session_id' => time(),
];
try {
    var_dump($AI->vision->request('imgtotext', $params));
} catch (\Justmd5\TencentAi\Exception\NotFoundException $e) {
    print_r($e->getMessage());
} catch (\Justmd5\TencentAi\Exception\IllegalParameterException $e) {
    print_r($e->getMessage());
}

文档

Tencent AI · Official Documents

帮助

qq群

Todo

  • parameter verify

Stargazers over time

Stargazers over time

感谢

源码列表

SDK 联系人 QQ 语言 实现接口 源代码&SDK 地址
783021975 JAVA ALL https://gitee.com/xshuai/taip
1361653339 Golang ALL https://github.com/shiguanghuxian/txai
1280827369 NodeJS
非全部接口实现
https://github.com/w89612b/qqai-api-sdk
1109527533 Python
非全部接口实现(完善中)
https://gitee.com/french-home/TencentAISDK
1928881525 .NET(C#)
OCR接口实现人脸模块接口实现
https://gitee.com/ch_1928881525/Tentcent.Ai
910139966 PHP ALL https://github.com/justmd5/tencent-ai

License

MIT

FOSSA Status

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].