Hugging Face · Example Payload

Hugging Face Createspeech Example

Hugging Face Createspeech Example is an example object payload from Hugging Face, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "createSpeech",
  "method": "POST",
  "path": "/v1/audio/speech",
  "summary": "Generate Speech",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "CreatespeechRequestExample",
      "example": {
        "model": "example_value",
        "input": "example_value",
        "voice": "example_value",
        "response_format": "mp3",
        "speed": 42.5
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "audio/mpeg",
      "name": "Createspeech200Example",
      "example": "example_value"
    }
  ]
}