Quick start
Follow SDK overview to install the SDK and configure your API key. Replace WorkspaceId in the example endpoint with your workspace ID from the same region.
Synthesize two text segments with the longanyang voice and write the audio chunks to output.wav in order. Play the file when the program finishes.