Grok STT(语音转文字)
xAI 的语音识别模型,经 Cloudflare 平台直接计费、免额外 Key,落在每日免费额度内即可免费转写。模型 id:xai/grok-stt。
Grok speech-to-text free on Cloudflare — accurate transcription within the daily allowance, no extra key.
xAI 的语音识别模型,经 Cloudflare 平台直接计费、免额外 Key,落在每日免费额度内即可免费转写。模型 id:xai/grok-stt。
语音转文字由 Cloudflare 账户直接计费、免任何额外 Key,落在每日免费额度内即可免费转写。模型 id:xai/grok-stt。
curl https://api.cloudflare.com/client/v4/accounts/$CF_ACCOUNT_ID/ai/run/xai/grok-stt \
-H "Authorization: Bearer $CF_API_TOKEN" \
-H "Content-Type: application/octet-stream" \
--data-binary @audio.mp3const audio = await (await fetch('https://example.com/audio.mp3')).arrayBuffer();
const res = await env.AI.run('xai/grok-stt', { audio: [...new Uint8Array(audio)] });