{
 "spec_version": 1,
 "model": "fish-audio/transcribe-1-pro",
 "type": "transcription",
 "input_modalities": [
  "audio"
 ],
 "output_modalities": [
  "text"
 ],
 "context_window": null,
 "max_output_tokens": null,
 "endpoint": {
  "method": "POST",
  "path": "/v1/audio/transcriptions",
  "content_type": "multipart/form-data"
 },
 "parameters": [
  {
   "name": "file",
   "type": "binary",
   "required": true,
   "description": "The audio: mp3, m4a, wav, webm and other common formats."
  },
  {
   "name": "model",
   "type": "string",
   "required": true,
   "description": "This model's ID."
  },
  {
   "name": "language",
   "type": "string",
   "description": "ISO-639-1 code such as `en`; improves accuracy."
  },
  {
   "name": "prompt",
   "type": "string",
   "description": "Names and spellings to expect."
  },
  {
   "name": "response_format",
   "type": "string",
   "enum": [
    "json",
    "text",
    "verbose_json",
    "srt",
    "vtt"
   ],
   "default": "json",
   "description": "Models differ in which they offer."
  }
 ],
 "response": {
  "fields": [
   {
    "name": "text",
    "type": "string",
    "description": "The transcript."
   }
  ],
  "example": {
   "text": "Hello and welcome."
  }
 },
 "examples": [],
 "input_schema": {
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "required": [
   "file",
   "model"
  ],
  "properties": {
   "file": {
    "type": "binary",
    "description": "The audio: mp3, m4a, wav, webm and other common formats."
   },
   "model": {
    "type": "string",
    "description": "This model's ID."
   },
   "language": {
    "type": "string",
    "description": "ISO-639-1 code such as `en`; improves accuracy."
   },
   "prompt": {
    "type": "string",
    "description": "Names and spellings to expect."
   },
   "response_format": {
    "type": "string",
    "description": "Models differ in which they offer.",
    "enum": [
     "json",
     "text",
     "verbose_json",
     "srt",
     "vtt"
    ],
    "default": "json"
   }
  }
 }
}
