Skip to content
هذه الصفحة غير متاحة بلغتك بعد، لذا تُعرض باللغة الإنجليزية.
APISea · Seed Audio 1.5

Seed Audio 1.5 Generation API

Generate expressive speech and scene audio from a prompt, with optional reference voices and sound.

Audio generationالصوت والموسيقىمهمة غير متزامنة
معرّف النموذج
seed-audio-1-5-generation

تسعير API لنموذج Seed Audio 1.5 Generation

APISea retail price: $0.18 per minute of generated audio. Billing uses the returned final_duration in seconds, rounded up to a whole second. Final per-request charges include request-level rounding; the per-minute rate is not a fixed fee per task.

الخيارAPISea
افتراضيافتراضي$0.18

الأسعار لكل دقيقة.

ما هو Seed Audio 1.5 Generation؟

Seed Audio 1.5 Generation creates speech and scene audio from text. Describe the words to speak, voice style, atmosphere, and sound effects in one prompt. Add one to six audio references when you want to guide the result, and refer to them in order as @audio1, @audio2, and so on.

Use the public model ID seed-audio-1-5-generation with POST /v1/audio/seed/tasks. Put native parameters inside input; APISea selects the operation from the model ID, so do not send a mode discriminator. APISea handles completion internally. Poll GET /v1/audio/seed/tasks/{task_id}; no callback URL is needed or accepted.

أبرز مزايا Seed Audio 1.5 Generation

Speech and scene audio

Describe spoken words, delivery, ambience, and sound effects in input.prompt.

Reference-guided generation

Supply one to six public WAV or MP3 reference URLs, each 2–30 seconds, through input.audio_urls.

Voice controls

Adjust speech rate and loudness from -50 to 100 and pitch from -12 to 12.

Downloadable output

Choose WAV, MP3, or Ogg Opus and read completed audio links from data.result.urls.

كيفية استدعاء API الخاص بـ Seed Audio 1.5 Generation في 4 خطوات

  1. 01

    احصل على API key

    سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.

  2. 02

    اضبط عنوان URL الأساسي

    استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.

  3. 03

    أرسل الطلب

    استدعِ POST /v1/audio/seed/tasks مع "model": "seed-audio-1-5-generation" والمعلمات أدناه.

  4. 04

    تعامل مع الاستجابة

    تتضمن الاستجابة task_id. أرسل طلبات GET /v1/audio/seed/tasks/{task_id} دوريًا حتى تصبح الحالة completed، ثم نزّل روابط النتائج.

# Requires Bash, curl, and jq. Replace example.com media URLs before running.
set -euo pipefail
TASK=$(curl --fail-with-body --silent --show-error \
  "https://api.apisea.ai/v1/audio/seed/tasks" \
  -H "Authorization: Bearer $APISEA_API_KEY" \
  -H "Content-Type: application/json" \
  --data '
{
  "model": "seed-audio-1-5-generation",
  "input": {
    "prompt": "Narrator (@audio1), warmly: \"Welcome to the studio.\" Add a quiet room ambience and soft opening music.",
    "audio_urls": [
      "https://example.com/narrator.wav"
    ],
    "format": "wav",
    "sample_rate": 44100,
    "speech_rate": 0,
    "loudness_rate": 0,
    "pitch_rate": 0
  }
}
')
TASK_ID=$(printf '%s' "$TASK" | jq -er '.data.task_id')
for attempt in $(seq 1 120); do
  TASK=$(curl --fail-with-body --silent --show-error \
    "https://api.apisea.ai/v1/audio/seed/tasks/$TASK_ID" \
    -H "Authorization: Bearer $APISEA_API_KEY")
  STATUS=$(printf '%s' "$TASK" | jq -er '.data.status')
  case "$STATUS" in
    completed) printf '%s\n' "$TASK" | jq '.data | {result, cost_usd}'; exit 0 ;;
    failed) printf '%s\n' "$TASK" >&2; exit 1 ;;
    submitted|processing) sleep 5 ;;
    *) printf 'Unexpected task status: %s\n' "$STATUS" >&2; exit 1 ;;
  esac
done
printf 'Polling timed out; resume GET polling with task_id=%s (do not resubmit).\n' "$TASK_ID" >&2
exit 1

المعلمات

المعلمةالنوعمطلوبافتراضيالوصف
modelstringمطلوب—Must be `seed-audio-1-5-generation`.
inputobjectمطلوب—Task inputs described below. Keep these fields nested inside `input`. APISea selects the operation from `model`; do not supply `input.mode`.
input.promptstringمطلوب—Spoken lines and scene instructions. Quote dialogue, identify speakers, and describe delivery and any supporting ambience, effects, or music.
input.audio_urlsstring[]اختياري—Optional one to six public HTTP(S) WAV or MP3 reference files, each 2–30 seconds. Refer to them in order with `@audio1`, `@audio2`, etc. in the prompt. Omit the field when no references are needed.
input.formatstringاختياريwavAudio download format: `wav`, `mp3`, or `ogg_opus`.
input.sample_rateintegerاختياري—For WAV/MP3: `8000`, `16000`, `24000`, `32000`, `44100`, or `48000` Hz; default `44100`. For Ogg Opus: only `48000` Hz, which is also its default. Omit to use the format default.
input.speech_rateintegerاختياري0Speech rate adjustment from `-50` to `100`.
input.loudness_rateintegerاختياري0Loudness adjustment from `-50` to `100`.
input.pitch_rateintegerاختياري0Pitch adjustment from `-12` to `12`.

ما الذي يمكنك إنشاؤه باستخدام Seed Audio 1.5 Generation

Narration

Create spoken introductions, explainers, and story narration from a script.

Scene sound

Prototype soundscapes that combine speech, atmosphere, and effects.

نصائح للحصول على نتائج أفضل

  • 01

    Send {model, input} as the JSON request body. prompt, audio_urls, format, and voice controls belong inside input.

  • 02

    Omit sample_rate to use the format default: 44100 Hz for WAV/MP3 or 48000 Hz for Ogg Opus.

  • 03

    Save data.task_id. Poll until data.status is completed or failed, then download data.result.urls.

القيود ومعلومات مهمة

  • A non-empty prompt is required. Reference audio is optional and must use public HTTP(S) URLs.

  • Include spoken lines in the prompt. Music-only, ambience-only, and sound-effect-only generation are not supported.

  • Ogg Opus supports only 48000 Hz. WAV and MP3 support 8000, 16000, 24000, 32000, 44100, and 48000 Hz.

  • Do not send input.mode, callback_url, or request_type. The public model ID selects the operation and APISea manages completion.

الأسئلة الشائعة حول API الخاص بـ Seed Audio 1.5 Generation

How much does Seed Audio 1.5 Generation cost?

The APISea retail rate is $0.18 per minute of generated audio. Actual task charges are based on billable seconds with request-level rounding.

Can I use reference audio?

Yes. Supply one to six public WAV or MP3 URLs in input.audio_urls. Each reference must be 2–30 seconds. Refer to them in the prompt as @audio1, @audio2, and so on.

How do I retrieve the result?

Submit POST /v1/audio/seed/tasks with model and input, then poll GET /v1/audio/seed/tasks/{task_id}. Read data.result.urls once data.status is completed. No incoming callback endpoint is required.

نماذج ذات صلة

العمق: أكثر من 250 نموذجًا · الحد الأدنى لشحن الرصيد $50

ابدأ التطوير باستخدام Seed Audio 1.5 Generation

مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.