code: def test_method_create_with_all_params(
      self, client: OpenAI, respx_mock: MockRouter
  ) -> None:
      respx_mock.post("/audio/speech").mock(
          return_value=httpx.Response(200, json={"foo": "bar"})
      )
      speech = client.audio.speech.create(
          input="string",
          model="string",
          voice="alloy",
          response_format="mp3",
          speed=0.25,
      )
      assert isinstance(
          speech, _legacy_response.HttpxBinaryResponseContent
      )
      assert speech.json() == {"foo": "bar"}
  
file_path: openai-python/tests/api_resources/audio/test_speech.py
imports: from __future__ import annotations
  import os
  from typing import Any, cast
  import httpx
  import pytest
  from respx import MockRouter
  import openai._legacy_response
  from openai import OpenAI, AsyncOpenAI
  from tests.utils import assert_matches_type
  from openai._client import OpenAI, AsyncOpenAI
label_desc: Use image node_id 2 for calling the TestSpeech obj's underlying member method code with example usage: obj.test_method_create_with_all_params(client, respx_mock) without return types