跳转到主要内容
POST
/
hub
/
v1
/
audio
Submit an audio generation task
curl --request POST \
  --url https://api.mountsea.ai/hub/v1/audio \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "elevenlabs-music",
  "input": {
    "prompt": "Mysterious original soundtrack, themes of jungle, rainforest, nature, woodwinds, busy rhythmic tribal percussion.",
    "output_format": "mp3_44100_128",
    "music_length_ms": 60000
  }
}
'
{
  "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
enum<string>
必填

Fixed value: "elevenlabs-music"

可用选项:
elevenlabs-music
input
ElevenLabs Music — input · object
必填

ElevenLabs Music: AI music generation from text description.

响应

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"