MuseSpark
MuseSpark
API referenceOpenAI-compatible API

OpenAI: Translate audio

/proxy/openai/v1/audio/translations · POST

Required access: llm_compat with llm:invoke. Authentication.

POST
/proxy/openai/v1/audio/translations

Authorization

headerAuthorizationBearer <token>

MuseSpark API key. Tasks accept a case-insensitive Bearer prefix; compatibility extraction requires Bearer with this casing.

Request Body

multipart/form-data
  1. body
model*string
file*unknown
language?string
prompt?string
response_format?string

Response Body

Success. Protocol-native response.

application/json
  1. response

Protocol-native JSON. Exact fields and optional features depend on the selected model and surface; not a {code,msg,data} envelope.

[key: string]?any
Example Request
curl -X POST 'https://api.musespark.ai/proxy/openai/v1/audio/translations' \  -F 'model=string' \  -F 'file=null'
Example Response
{}