code: def register(subparser: _SubParsersAction[ArgumentParser]) -> None:
      # transcriptions
      sub = subparser.add_parser("audio.transcriptions.create")
  
      # Required
      sub.add_argument("-m", "--model", type=str, default="whisper-1")
      sub.add_argument("-f", "--file", type=str, required=True)
      # Optional
      sub.add_argument("--response-format", type=str)
      sub.add_argument("--language", type=str)
      sub.add_argument("-t", "--temperature", type=float)
      sub.add_argument("--prompt", type=str)
      sub.set_defaults(
          func=CLIAudio.transcribe, args_model=CLITranscribeArgs
      )
  
      # translations
      sub = subparser.add_parser("audio.translations.create")
  
      # Required
      sub.add_argument("-f", "--file", type=str, required=True)
      # Optional
      sub.add_argument("-m", "--model", type=str, default="whisper-1")
      sub.add_argument("--response-format", type=str)
      # TODO: doesn't seem to be supported by the API
      # sub.add_argument("--language", type=str)
      sub.add_argument("-t", "--temperature", type=float)
      sub.add_argument("--prompt", type=str)
      sub.set_defaults(
          func=CLIAudio.translate, args_model=CLITranslationArgs
      )
  
file_path: openai-python/src/openai/cli/_api/audio.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any, Optional, cast
  from argparse import ArgumentParser
  from .._utils import get_client, print_model
  from ..._types import NOT_GIVEN
  from .._models import BaseModel
  from .._progress import BufferReader
label_desc: Use image node_id 1 for calling a global function with example usage: register(subparser) without return types