mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
21 lines
410 B
PHP
21 lines
410 B
PHP
<?php
|
||
require('../../../vendor/autoload.php');
|
||
use Volc\Service\Visual;
|
||
|
||
$client = Visual::getInstance();
|
||
// call below method if you dont set ak and sk in ~/.volc/config
|
||
|
||
$client->setAccessKey($ak);
|
||
$client->setSecretKey($sk);
|
||
|
||
echo "\nDemo StretchRecovery\n";
|
||
|
||
$body = [
|
||
'image_url' => '',
|
||
// 'image_base64' => ''
|
||
|
||
];
|
||
$response = $client->StretchRecovery(['form_params' => $body]);
|
||
echo $response;
|
||
|