|
@@ -1321,8 +1321,9 @@ Q版卡通风格,头大身小,造型圆润可爱,线条简单,色彩明
|
|
|
}
|
|
}
|
|
|
$post_data['max_completion_tokens'] = 100000;
|
|
$post_data['max_completion_tokens'] = 100000;
|
|
|
|
|
|
|
|
- // 备用中转站地址: https://token.ithinkai.cn/v1/chat/completions
|
|
|
|
|
- $response = $client->post('https://api.nonelinear.com/v1/chat/completions', [
|
|
|
|
|
|
|
+ // 备用中转站地址1: https://token.ithinkai.cn/v1/chat/completions
|
|
|
|
|
+ // 备用中转站地址2: https://api.nonelinear.com/v1/chat/completions
|
|
|
|
|
+ $response = $client->post('https://ai-api.kkidc.com/v1/chat/completions', [
|
|
|
'json' => $post_data,
|
|
'json' => $post_data,
|
|
|
'headers' => $headers
|
|
'headers' => $headers
|
|
|
]);
|
|
]);
|
|
@@ -10948,7 +10949,8 @@ Q版卡通风格,头大身小,造型圆润可爱,线条简单,色彩明
|
|
|
$post_data['stream'] = false;
|
|
$post_data['stream'] = false;
|
|
|
|
|
|
|
|
// 备用中转站地址: https://token.ithinkai.cn/v1/chat/completions
|
|
// 备用中转站地址: https://token.ithinkai.cn/v1/chat/completions
|
|
|
- $result = $client->post('https://api.nonelinear.com/v1/chat/completions', [
|
|
|
|
|
|
|
+ // 备用中转站地址2: https://api.nonelinear.com/v1/chat/completions
|
|
|
|
|
+ $result = $client->post('https://ai-api.kkidc.com/v1/chat/completions', [
|
|
|
'json' => $post_data,
|
|
'json' => $post_data,
|
|
|
'headers' => $headers
|
|
'headers' => $headers
|
|
|
]);
|
|
]);
|