Notice: MAI Image 2.7 launch limited-time 20% off, covering the full text-to-image and image editing lineup, try it now
Notice: MAGI 2 launch limited-time 20% off, covering text-to-video, image-to-video, and reference-to-video across the board. Try it now
Notice: Seed Audio 1.5 launch limited-time 20% off, covering text-to-audio, video dubbing, audio track separation, and video translation across the board. Try it now
Notice: HeyGen Avatar 6 Turbo is 20% off for a limited time, and all three video pipelines are eligible.Try it now
Notice: Midjourney Niji 8 is now available, 20% off · Create now
Notice: Gemini 3.8 Flash TTS launch limited-time 20% off, with both conversational speech synthesis lines included · Try it now
Notice: Hunyuan Image 3.0 launch limited-time 20% off, for both text-to-image and instruction-based editing · Try it now
Notice: Seed Audio 1.0 launch limited-time 20% off, text-to-speech billed per minute · Try it now
Notice: Limited-time 20% off on the new Eleven v4 and v4 Turbo, text-to-speech included · Try it now
Announcement 1 of 9
Blog

Guide

Seed Audio 1.0 Integration Guide: From Text to Playable Speech

Submit text as an asynchronous task, query the result, then adjust voice and reference materials item by item

Dec 4, 2026
暖炭黑底色上横贯一道琥珀光带的抽象几何封面图,用于 seed-audio-1.0 上手指南文章。
On this page

First, validate with a short passage

Seed Audio 1.0 converts text into speech files. The current interface also supports optional voice, reference audio, or a single reference image; these reference inputs do not replace the required text. First verify pronunciation and playback with a short passage, then process the full content.

On a dark gray background, an amber band of light sweeps diagonally; on the left, an input square connects through a line into a central model box, and on the right, sound waves are output, with a dashed box marking the capability boundary.
Text flows in one direction and audio flows out; outside the dashed line is the model's capability boundary—the capability and scenario breakdown for this section.

Submit a task

Send a POST request to https://api.hiapi.ai/v1/tasks with the headers Authorization: Bearer YOUR_API_KEY and Content-Type: application/json. Keep the key on the server side.

{
  "model": "seed-audio-1.0",
  "input": {
    "prompt": "Welcome to the slow life in the city. Put down your busyness and leave yourself a little quiet time.",
    "voice": "mindy_en_es_id_pt_zh",
    "multilingual": true,
    "output_format": "mp3",
    "sample_rate": 24000
  }
}

Save the task ID from the submission response, and query progress at GET https://api.hiapi.ai/v1/tasks/{taskId}. After the task succeeds, read the audio URL from the result, download it, and play it; a successful submission does not mean the audio has already been generated. For task states and response fields, refer to the API documentation on the model page.

Add reference audio

Add an audio_urls array to input, and reference the first clip in the prompt with @Audio1, for example @Audio1 Today, let's discover the little beautiful things around us together.. You can use up to 3 reference audio clips, each no longer than 30 seconds and 10MB, in WAV, MP3, PCM, or Ogg Opus format. If you use only reference audio, you can leave voice empty.

For voice, you can choose a supported preset voice or an existing cloned voice ID; this interface does not create or manage cloned voices. If you use image_url, pass a single JPEG, PNG, or WebP image no larger than 10MB, and remove audio_urls.

Start parameters from defaults

prompt cannot be blank and can contain at most 2048 characters. speed and volume both range from 0.5 to 2, with a default of 1; pitch is an integer from -12 to 12 in semitones, with a default of 0. For Chinese or mixed-language text, we recommend enabling multilingual; it is not responsible for translating the original text.

The default output is MP3 at 24000 Hz. Supported formats are wav, mp3, pcm, and ogg_opus; supported sample rates are 8000, 16000, 24000, 32000, 44100, and 48000 Hz. There is currently no parameter for specifying a fixed output duration.

Check results and costs

Verify the spoken content, pronunciation, pauses, voice style, and whether the file opens in the target player. If generation times out, check the original task status first to avoid resubmitting while the task is still running. Split long texts by complete sentences or paragraphs, and save the task ID and parameters for each segment.

The configured unit price is $0.2679/minute. The final cost must be verified against the billable usage returned by the service; do not directly treat the playback duration of the downloaded file as billed usage, and do not treat the pre-authorized amount as the final cost. The pre-authorized amount frozen at order time is usually higher than the final cost, and the difference is automatically refunded after the task ends; you can use the task record to verify the actual charged amount.

For parameters and API examples, see the Seed Audio 1.0 model page.

Related articles

View all articles →

Start building with persistent AI artifacts

Get your API key and call image, video and audio models through one task-based API.

Read the API docs