eroq

API 参考 · Platform

Prompt dictation

Speak a prompt, get the text back — free.

POST/v1/prompts/dictateFree

The mic in every studio prompt box, as an API: send ONE spoken prompt as multipart/form-data — a file part, wav or mp3, up to 60 seconds (2.5MB) — and get its text back. Any language; language is an optional hint.

Free (unlike prompt enhance's draft rewrite, which needs a plan), and fenced the same way: one spoken prompt per request and its own rate limit (12 a minute). Longer audio belongs on the paid [transcription](/docs/transcriptions) endpoint.

请求体

filefile必填

The spoken prompt — wav or mp3, 60 seconds at most.

languagestring

ISO language hint, e.g. en, fr. Omit it to auto-detect.

curl https://eroq.ai/v1/prompts/dictate \
  -H "Authorization: Bearer $EROQ_API_KEY" \
  -F file=@prompt.wav
/v1/prompts/dictate
→ POST /v1/prompts/dictate
点击运行,即可回放一次基于文档自带数据的真实交互。无需密钥,不发请求,不扣费用。

响应

200 · application/json
{
  "text": "A woman walking along the beach at sunset, slow tracking shot, warm backlight."
}