Skip to main content
Méthode: client.generateTranslation().

Exemple

Paramètres principaux

  • model obligatoire: Identifiant d’un modèle compatible avec la traduction.
  • file obligatoire: Données audio à traduire.
  • prompt: Contexte facultatif pour guider la traduction.
  • temperature (0–2): Aléa de l’échantillonnage.
  • response_format: json, text, srt, verbose_json, etc.

Renvoie

AudioTranscriptionResponse
Dernière modification le 2 octobre 2026