跳转到主要内容
POST
/
hub
/
v1
/
transcribe
Submit a transcription task
curl --request POST \
  --url https://api.mountsea.ai/hub/v1/transcribe \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "whisper-v3",
  "input": {
    "audio_url": "https://example.com/audio.mp3",
    "language": "en"
  }
}
'
{
  "task_id": "hub-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "status": "pending",
  "capability": "video",
  "model": "veo-3.1-fast",
  "vendor": "Google",
  "mode": "text-to-video",
  "created_at": "2026-05-18T09:00:00.000Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mountsea.ai/llms.txt

Use this file to discover all available pages before exploring further.

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
model
string
必填

Model ID for transcription / translation.

See GET /hub/v1/models?capability=transcribe for the full list.

示例:

"whisper-v3"

input
object
必填

Transcription input parameters.

  • audio_url (required) — URL of the audio or video file
  • language — BCP-47 language code (e.g. "en", "zh"). Omit for auto-detect.
  • task"transcribe" (default) or "translate" (translate to English)
  • timestamps"word" or "segment" for timestamped output
示例:
{
"audio_url": "https://example.com/audio.mp3",
"language": "en"
}

响应

200 - application/json
task_id
string
必填

Unique task ID — use this to poll GET /hub/v1/tasks/:task_id

示例:

"hub-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

status
string
必填

Task status at creation time (usually pending)

示例:

"pending"

capability
string
必填

Capability: image | video | audio | transcribe

示例:

"video"

model
string
必填

Model ID

示例:

"veo-3.1-fast"

vendor
string
必填

Model vendor

示例:

"Google"

mode
string
必填

Generation mode (e.g. text-to-video, image-to-image)

示例:

"text-to-video"

created_at
string
必填

ISO 8601 creation timestamp

示例:

"2026-05-18T09:00:00.000Z"