http://api.microsofttranslator.com/V2
http://api.microsofttranslator.com/V2 / Speak Element
In This Topic
    Speak Element
    In This Topic
    Namespace http://api.microsofttranslator.com/V2
    Diagram
    options Element format Element language Element text Element appId Element Sequence Speak Element
    Overview
    Sequence
    appId optional xs:string
    A string containing "Bearer" + " " + access token.
    text optional xs:string
    A string representing the text to split into sentences. The size of the text must not exceed 10000 characters.
    language optional xs:string
    A string representing the supported language code to speak the text in. The code must be present in the list of codes returned from the method GetLanguagesForSpeak.
    format optional xs:string
    A string specifying the content-type ID. Currently, “audio/wav” and “audio/mp3” are available. The default value is "audio/wav".
    options optional xs:string
    A string specifying the quality of the audio signals. Currently, “MaxQuality” and “MinSize” are available. With “MaxQuality”, you can get the voice(s) with the highest quality, and with “MinSize”, you can get the voices with the smallest size. If no value is provided, we default to “MinSize”.
    Source
    <xs:element name="Speak" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:complexType>
        <xs:sequence>
          <xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="text" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="language" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="format" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="options" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:complexType>
    </xs:element>
    See Also