VideoDB icon

VideoDB

Interact with the VideoDB API

Generate Sound Effect

AI-generated

Summary

Generates a sound effect from a text prompt within a specified collection.

Inputs

  • collection_id (required) — Choose from the list, or specify an ID using an expression
  • prompt (required) — Prompt for the sound effect
  • duration — Duration in seconds
  • callback_url — Callback URL for job completion

Output shape

API response containing the generated sound effect asset details

The audio_type field is always set to sound_effect in the request body; users do not specify it as a parameter.

Examples

Example 1: Create a sound effect prompt with a 5-second duration and callback

collection_id: selected collection; prompt: 'glass breaking'; duration: 5; callback_url: 'https://example.com/callback'

Discussion