We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
报错信息: { "code": 400, "data": { "code": 50204, "data": null, "message": "Parse Request Parameters Error", "request_id": "202307101705470DEE307B7865AF28F183", "status": 50204, "time_elapsed": "6.005664ms" }, "msg": "Parse Request Parameters Error" }
检查多次,调整多种方式,依然这个报错。Volc\Base\V4Curl 请求的方法,我们也认真看了,实在没发现哪里参数错了,图像增强和人脸融合我们已经成功接入,就这个死活接不进去
请求参数:
定义了: 'ImageOutpaint' => [ 'url' => '/', 'method' => 'post', 'config' => [ 'query' => [ 'Action' => 'ImageOutpaint', 'Version' => '2020-08-26', ], ], ],
BODY: $body['image_base64'] = [base64_encode(file_get_contents($file))]; $body['x_pref']= 'both'; $body['y_pref']= 'both'; $body['ratio']= 1; //1.00 "1.00"都尝试过 $response = $client->ImageOutpaint(['form_params' =>$body]);
Header: Content-Type : application/x-www-form-urlencoded
The text was updated successfully, but these errors were encountered:
No branches or pull requests
报错信息:
{
"code": 400,
"data": {
"code": 50204,
"data": null,
"message": "Parse Request Parameters Error",
"request_id": "202307101705470DEE307B7865AF28F183",
"status": 50204,
"time_elapsed": "6.005664ms"
},
"msg": "Parse Request Parameters Error"
}
检查多次,调整多种方式,依然这个报错。Volc\Base\V4Curl 请求的方法,我们也认真看了,实在没发现哪里参数错了,图像增强和人脸融合我们已经成功接入,就这个死活接不进去
请求参数:
定义了:
'ImageOutpaint' => [
'url' => '/',
'method' => 'post',
'config' => [
'query' => [
'Action' => 'ImageOutpaint',
'Version' => '2020-08-26',
],
],
],
BODY:
$body['image_base64'] = [base64_encode(file_get_contents($file))];
$body['x_pref']= 'both';
$body['y_pref']= 'both';
$body['ratio']= 1; //1.00 "1.00"都尝试过
$response = $client->ImageOutpaint(['form_params' =>$body]);
Header:
Content-Type : application/x-www-form-urlencoded
The text was updated successfully, but these errors were encountered: