Generate sound effects from text
Changed onCreates an asynchronous sound-effects generation task (elevenlabs-sfx-v3 or auto, 0.5 to 30 seconds). Charged per requested audio second (rounded up) or 5 seconds when duration_seconds is omitted. When the task succeeds, output contains {type: "sound_effects", model, loop, audio: {url, artifact_id, duration_seconds, mime_type, size_bytes}}.
Request
- Base URLhttps://api.beatra.ai (the document declares no server; this is the origin it was published from)
- Authnone declared. Required headers: Idempotency-Key
Headers
Request body
POST /v1/audio/sound-effects request body.
Caller-supplied metadata; ≤16 keys, key ≤64 chars, value ≤512 chars
HTTPS URL beatra will POST the final Task envelope to when the Task reaches a terminal state
Optional standalone callback signing key. Omit for unsigned callback delivery; requires callback_url when provided.
Text description of the sound effect or ambient audio to generate (1-450 characters).
Sound-effects model identifier, or 'auto' for automatic selection.
Target duration in seconds (0.5-30.0). Omit to let the model choose duration automatically.
When true, generate a seamlessly looping sound effect or ambient bed.
How strictly generation follows the prompt (0.0-1.0, default 0.3).
Output audio container/encoding format.
Optional model-family-specific options (for example, {"elevenlabs": {...}}). Unrecognized keys emit an option_ignored warning.
Response
Task accepted
Standard Task envelope.
Returned by every async-creation endpoint, GET /v1/tasks/{id}, and the body of customer callback POSTs.
Caller-requested model verbatim (may be 'auto'). Null for social_operation tasks.
Actual model that ran (null until execution starts; equals model for explicit-model calls)
Changes
- breaking
the
promptrequest property's maxLength was decreased to450
- breaking
- info
endpoint added
- info