@echo off chcp 65001 >nul echo 测试 HTTPS API... echo. powershell -Command "try { $body = @{ prompt = '你好' } | ConvertTo-Json; $response = Invoke-WebRequest -Uri 'https://ai-anim.com/api/chat' -Method POST -ContentType 'application/json' -Body $body -UseBasicParsing; Write-Host '✓ 请求成功' -ForegroundColor Green; Write-Host '状态码:' $response.StatusCode; Write-Host ''; Write-Host $response.Content } catch { Write-Host '✗ 请求失败' -ForegroundColor Red; Write-Host '错误:' $_.Exception.Message; if ($_.Exception.Response) { Write-Host '状态码:' $_.Exception.Response.StatusCode.value__ } }" echo. pause