|
...
|
...
|
@@ -43,6 +43,14 @@ class TestController extends BaseController |
|
|
|
* @time :2025/2/13 16:34
|
|
|
|
*/
|
|
|
|
public function ceshi(){
|
|
|
|
$this->param = [
|
|
|
|
'title'=>'apple',
|
|
|
|
'description'=>'apples',
|
|
|
|
'images'=>[
|
|
|
|
['url'=>'https://ecdn6.globalso.com/upload/public/template/64e332671b32e25328.png','title'=>'apple'],
|
|
|
|
['url'=>'https://ecdn6.globalso.com/upload/public/template/64e32a24b314a39425.png','title'=>'apples'],
|
|
|
|
],
|
|
|
|
];
|
|
|
|
$aiVideoService = new AiVideoService(467);
|
|
|
|
$result = $aiVideoService->createTask($this->param['title'],$this->param['description'],$this->param['images'],$this->param['anchor'] ?? []);
|
|
|
|
$this->response('success',Code::SUCCESS,$result);
|
...
|
...
|
|