Generate Runway sound effects
Generate sound effects or audio scenes from a text prompt with the Runway API.
POST /runwayml/v1/sound_effect to create an audio task from a text prompt.
Send your CometAPI API key with Bearer authentication and a JSON request body.
Choose a model
eleven_text_to_sound_v2, omit duration to choose the length from the
prompt. Set loop: true to request a repeating sound effect.
For seed_audio, refer to referenceAudios in the prompt as @Audio1, @Audio2,
and @Audio3, in array order. Omit referenceAudios when you do not need a reference.
Replace each example audio URL with an accessible HTTPS URL of your audio file.
Do not include duration, loop, or voice with this model on this endpoint.
Configure audio controls
0 to keep its normal value.
Retrieve the result
Save the returnedid, then use Get a Runway task
to retrieve task status. When status is SUCCEEDED, read the audio URLs in
output. If the task fails, inspect failure and failureCode.Authorizations
Use your CometAPI API key.
Body
- eleven_text_to_sound_v2
- seed_audio
Request settings for eleven_text_to_sound_v2.
Model ID for this request.
eleven_text_to_sound_v2 "eleven_text_to_sound_v2"A text description of the sound effect to generate.
1 - 3000Sound effect duration in whole seconds, from 1 to 30. Omit this field to choose duration from the prompt.
1 <= x <= 30Set true to request a sound effect that loops seamlessly. Defaults to false.
Response
Task created. Save the returned id to retrieve task status.
Task ID for GET /runwayml/v1/tasks/{id}.
Task state, when returned.
Task submission timestamp, when returned.
Result URLs, when returned.
Failure explanation, when returned.
Machine-readable failure code, when returned.
Task estimate metadata, when returned.
Task cost metadata, when returned.