CreateTranscriptParameters: {
    audio_url: string;
    audio_end_at?: undefined | number;
    audio_start_from?: undefined | number;
    auto_chapters?: undefined | boolean;
    auto_highlights?: undefined | boolean;
    boost_param?: undefined | TranscriptBoostParam;
    content_safety?: undefined | boolean;
    content_safety_confidence?: undefined | number;
    custom_spelling?: undefined | TranscriptCustomSpelling[];
    custom_topics?: undefined | boolean;
    disfluencies?: undefined | boolean;
    dual_channel?: undefined | boolean;
    entity_detection?: undefined | boolean;
    filter_profanity?: undefined | boolean;
    format_text?: undefined | boolean;
    iab_categories?: undefined | boolean;
    language_code?: undefined | null | LiteralUnion<TranscriptLanguageCode, string>;
    language_detection?: undefined | boolean;
    punctuate?: undefined | boolean;
    redact_pii?: undefined | boolean;
    redact_pii_audio?: undefined | boolean;
    redact_pii_audio_quality?: undefined | RedactPiiAudioQuality;
    redact_pii_policies?: undefined | PiiPolicy[];
    redact_pii_sub?: undefined | null | SubstitutionPolicy;
    sentiment_analysis?: undefined | boolean;
    speaker_labels?: undefined | boolean;
    speakers_expected?: undefined | null | number;
    speech_model?: undefined | null | SpeechModel;
    speech_threshold?: undefined | null | number;
    summarization?: undefined | boolean;
    summary_model?: undefined | SummaryModel;
    summary_type?: undefined | SummaryType;
    topics?: undefined | string[];
    webhook_auth_header_name?: undefined | null | string;
    webhook_auth_header_value?: undefined | null | string;
    webhook_url?: undefined | string;
    word_boost?: undefined | string[];
}

Type declaration

  • audio_url: string

    The URL of the audio or video file to transcribe.

  • Optionalaudio_end_at?: undefined | number

    The point in time, in milliseconds, to stop transcribing in your media file

  • Optionalaudio_start_from?: undefined | number

    The point in time, in milliseconds, to begin transcribing in your media file

  • Optionalauto_chapters?: undefined | boolean

    Enable Auto Chapters, can be true or false

  • Optionalauto_highlights?: undefined | boolean

    Enable Key Phrases, either true or false

  • Optionalboost_param?: undefined | TranscriptBoostParam

    The word boost parameter value

  • Optionalcontent_safety?: undefined | boolean

    Enable Content Moderation, can be true or false

  • Optionalcontent_safety_confidence?: undefined | number

    The confidence threshold for the Content Moderation model. Values must be between 25 and 100.

  • Optionalcustom_spelling?: undefined | TranscriptCustomSpelling[]

    Customize how words are spelled and formatted using to and from values

  • Optionalcustom_topics?: undefined | boolean

    Enable custom topics, either true or false

  • Optionaldisfluencies?: undefined | boolean

    Transcribe Filler Words, like "umm", in your media file; can be true or false

  • Optionaldual_channel?: undefined | boolean

    Enable Dual Channel transcription, can be true or false.

  • Optionalentity_detection?: undefined | boolean

    Enable Detection, can be true or false

  • Optionalfilter_profanity?: undefined | boolean

    Filter profanity from the transcribed text, can be true or false

  • Optionalformat_text?: undefined | boolean

    Enable Text Formatting, can be true or false

  • Optionaliab_categories?: undefined | boolean

    Enable Topic Detection, can be true or false

  • Optionallanguage_code?: undefined | null | LiteralUnion<TranscriptLanguageCode, string>

    The language of your audio file. Possible values are found in Supported Languages. The default value is 'en_us'.

  • Optionallanguage_detection?: undefined | boolean

    Enable Automatic language detection, either true or false.

  • Optionalpunctuate?: undefined | boolean

    Enable Automatic Punctuation, can be true or false

  • Optionalredact_pii?: undefined | boolean

    Redact PII from the transcribed text using the Redact PII model, can be true or false

  • Optionalredact_pii_audio?: undefined | boolean

    Generate a copy of the original media file with spoken PII "beeped" out, can be true or false. See PII redaction for more details.

  • Optionalredact_pii_audio_quality?: undefined | RedactPiiAudioQuality

    Controls the filetype of the audio created by redact_pii_audio. Currently supports mp3 (default) and wav. See PII redaction for more details.

    "mp3"
    
  • Optionalredact_pii_policies?: undefined | PiiPolicy[]

    The list of PII Redaction policies to enable. See PII redaction for more details.

  • Optionalredact_pii_sub?: undefined | null | SubstitutionPolicy

    The replacement logic for detected PII, can be "entity_type" or "hash". See PII redaction for more details.

  • Optionalsentiment_analysis?: undefined | boolean

    Enable Analysis, can be true or false

  • Optionalspeaker_labels?: undefined | boolean

    Enable Speaker diarization, can be true or false

  • Optionalspeakers_expected?: undefined | null | number

    Tells the speaker label model how many speakers it should attempt to identify, up to 10. See Speaker diarization for more details.

    "null
    
  • Optionalspeech_model?: undefined | null | SpeechModel

    The speech model to use for the transcription. When null, the default model is used.

    null
    
  • Optionalspeech_threshold?: undefined | null | number

    Reject audio files that contain less than this fraction of speech. Valid values are in the range [0", 1] inclusive.

    "null
    
  • Optionalsummarization?: undefined | boolean

    Enable Summarization, can be true or false

  • Optionalsummary_model?: undefined | SummaryModel

    The model to summarize the transcript

    informative
    
  • Optionalsummary_type?: undefined | SummaryType

    The type of summary

    bullets
    
  • Optionaltopics?: undefined | string[]

    The list of custom topics

  • Optionalwebhook_auth_header_name?: undefined | null | string

    The header name to be sent with the transcript completed or failed webhook requests

    null
    
  • Optionalwebhook_auth_header_value?: undefined | null | string

    The header value to send back with the transcript completed or failed webhook requests for added security

    null
    
  • Optionalwebhook_url?: undefined | string

    The URL to which we send webhook requests. We sends two different types of webhook requests. One request when a transcript is completed or failed, and one request when the redacted audio is ready if redact_pii_audio is enabled.

  • Optionalword_boost?: undefined | string[]

    The list of custom vocabulary to boost transcription probability for

UseTranscriptParams instead.