Skip to main content
POST
Seed Audio 1.5

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Webhook-URL
string<uri>

URL to receive a POST request when the job completes. The webhook will receive the job data including results. Deliveries are signed with Ed25519 (EdDSA); verify them with the keys at https://api.krea.ai/.well-known/jwks.json (see X-Krea-Webhook-* headers). Treat requests without these headers as unauthenticated.

Body

application/json
prompt
string
required

Lines to perform plus the speaker, language, emotion, pace, music, sound effects, and timing (e.g. "[0.5s:3.0s] door creaks"). With several reference audios, say which reference each speaker uses as @audio1 to @audio6, in input order.

Required string length: 1 - 2048
audio_urls
string<uri>[]

Up to 6 reference audio URLs (WAV or MP3, 2-30 seconds each) that set the voices or performance.

Maximum array length: 6

Can be an external URL, base64 data URI, or uploaded asset URL.

Maximum string length: 1024
image_url
string<uri>

A character image to derive the voice from. Cannot be combined with audio_urls.

Maximum string length: 1024
speed
number

Speech speed, 0.5 to 2. Defaults to 1.

Required range: 0.5 <= x <= 2
volume
number

Volume, 0.5 to 2. Defaults to 1.

Required range: 0.5 <= x <= 2
pitch
integer

Pitch shift in semitones, -12 to 12. Defaults to 0.

Required range: -12 <= x <= 12

Response

The resulting job data. This will be returned in a pending state until the job is completed. See /jobs/{id} for retrieving the results.

job_id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
status
enum<string>
required
Available options:
backlogged,
queued,
scheduled,
processing,
sampling,
intermediate-complete,
finalizing,
completed,
failed,
cancelled
created_at
string<date-time>
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
completed_at
null
required
result
null
required
error
object
progress
number | null
Required range: 0 <= x <= 1
export_progress
object

Motion exports only, while running: frames rendered of the total, then finishing while the sound is added, then saving while the MP4 is filed.