跳至內容

Seed Audio 1.0

整合

模型 id bytedance/seed-audio-1.0
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/bytedance/seed-audio-1.0?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

每次執行最多 $0.154 依實際用量收費,其餘金額會退款 在此頁面執行

取得 API 金鑰
ByteDance 音訊

由文字驅動的語音與音訊生成器,支援最多 3 段參考音訊或一張影像,並可控制音高與速度

ByteDance · 音訊

您的第一個結果會顯示在這裡

在下方建立請求,並使用您的 API 金鑰執行。輸出會複製到我們的儲存空間,可永久保留或免費保留 7 天。

建立請求

控制項是根據模型結構描述生成的。變更設定時,程式碼和價格會同步更新。

•必填 88 / 2048

生成提示詞或文字,並以 @Audio1、@Audio2 和 @Audio3 依序表示第一、第二和第三個輸入的音訊參照。

預設 1

語速倍數:1.0 為正常速度,0.5 為半速,2.0 為兩倍速度。

進階 audios · image · output_format · sample_rate · voice · volume · pitch · multilingual · enable_safety_checker
audio_urls
拖放檔案,或 · 最多 3 個

透過最多 3 個 URL 提供參考音訊;每個檔案必須為 wav/mp3/pcm/ogg_opus 格式,且限制為 10 MB 和 30 秒。在提示詞中使用 @Audio1、@Audio2、@Audio3 識別片段。

image_url
拖放檔案,或

僅在未提供音訊參照時,透過 URL 提供一個圖像參照。圖像必須是 jpeg/png/webp,且不超過 10 MB。

output_format 預設 mp3

生成音訊的格式。

sample_rate 預設 24000

輸出音訊的取樣頻率(Hz)。

提供預設名稱,或在使用複製聲音時提供其 ID,以選取生成聲音。

預設 1

音量倍數:1.0 為正常音量,0.5 為一半音量,2.0 為兩倍音量。

預設 0

以半音調整聲音音高:0 保持原音高,-12 降低一個八度,12 提高一個八度。

POST /run/bytedance/seed-audio-1.0?wait=20 報價 → $0.154
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/bytedance/seed-audio-1.0?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

執行此請求

您的金鑰會保留在此瀏覽器中:只會傳送至 Doitong API,且只有在勾選「記住」時才會儲存至 localStorage。 取得 API 金鑰

關於 Seed Audio 1.0

從最多 2048 個字元的提示生成音訊。可選擇預設或複製的 `voice`,並在提示中以 @Audio1 至 @Audio3 引用最多 3 段參考片段;也可改用單張參考影像,但不可與音訊同時使用。輸出格式為 wav、mp3、pcm 或 ogg_opus,取樣率介於 8000 至 48000 Hz。速度與音量範圍為 0.5 至 2,音高可移調 -12 至 12 個半音;`multilingual` 可切換至支援混合語言文字的版本。

參數

請傳送標準名稱或原生名稱其中之一,不要同時傳送兩者。 標準名稱

名稱類型 預設值允許值 說明
prompt必填
類型string
≤ 2,048 個字元
生成提示詞或文字,並以 @Audio1、@Audio2 和 @Audio3 依序表示第一、第二和第三個輸入的音訊參照。
voice選填
類型string | null
提供預設名稱,或在使用複製聲音時提供其 ID,以選取生成聲音。
audio_urls選填 audios
類型url[] · audio
≤ 3 個項目
透過最多 3 個 URL 提供參考音訊;每個檔案必須為 wav/mp3/pcm/ogg_opus 格式,且限制為 10 MB 和 30 秒。在提示詞中使用 @Audio1、@Audio2、@Audio3 識別片段。
image_url選填 image
類型url · image
僅在未提供音訊參照時,透過 URL 提供一個圖像參照。圖像必須是 jpeg/png/webp,且不超過 10 MB。
output_format選填
類型enum
預設值mp3
wavmp3pcmogg_opus
生成音訊的格式。
sample_rate選填
類型enum
預設值24000
80001600024000320004410048000
輸出音訊的取樣頻率(Hz)。
speed選填
類型number
預設值1
0.5 – 2
語速倍數:1.0 為正常速度,0.5 為半速,2.0 為兩倍速度。
volume選填
類型number
預設值1
0.5 – 2
音量倍數:1.0 為正常音量,0.5 為一半音量,2.0 為兩倍音量。
pitch選填
類型integer
預設值0
-12 – 12
以半音調整聲音音高:0 保持原音高,-12 降低一個八度,12 提高一個八度。
multilingual選填
類型boolean
預設值false
模型變體選擇:啟用多語言變體可改善提示詞混用語言或使用英文以外語言時的處理效果。
enable_safety_checker選填
類型boolean
預設值true
在呼叫端獲得授權的情況下,將此值設為 false 可放寬審核。
必填 標準名稱,也可使用

檔案參數接受公開的 https:// URL、最大 10 MB 的 data: URI,或上傳檔案的 file_url。 檔案

輸出

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seed-audio-1.0",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 154,
    "usd": "0.154",
    "charged": 154,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "audio": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_name": "0-output.mp3",
      "file_size": 1843200,
      "duration": 5,
      "channels": 1,
      "sample_rate": 1,
      "bitrate": "string"
    }
  },
  "outputs": [
    {
      "type": "audio",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_size": 1843200,
      "duration": 12,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
您的檔案,由您選擇每個 outputs[].url 都是儲存空間中的副本:可永久保留(按 GB-月計費),或免費保留 7 天;可透過帳戶設定或 ?storage= 設定。
所有模型使用相同結構圖片、影片和音訊皆包含 type、url、content_type、width、height 和 duration。output 是模型自己的結果物件。
輸出欄位
audio
object {url, content_type, file_name, file_size, duration, channels, sample_rate, bitrate}生成產生的音訊檔案。

給 AI 代理程式:此頁面的 Markdown 位於 https://doitong.com/zh-TW/developers/models/bytedance/seed-audio-1.0.md. 所有模型與指南: https://doitong.com/developers/llms.txt