generate_ambience
Make a continuous environmental sound bed such as rain, waves, a forest or a crowd, not a musical track or an isolated event. Makes 30-second CC0 WAV takes and attempts seamless loops. Needs an SFXMint API key and credits or a plan; sound-effect free tries do not apply. Missing access returns website_url for Studio Ambience; payment_required also returns buy_url. Returns order_id, files and loop_url when available; if pending after about 25 seconds, poll get_generation. Listen in context before use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | With enhance=false, describe the audible environment in plain English, at most 400 characters. Name the place and continuous sound bed, its intensity, texture and pace; include occasional events, their spacing and distance only when requested or established by context. Keep it steady and repeatable. Example: 'Gentle ocean waves wash onto a sandy beach and recede at a steady pace, with soft foamy hiss and a low rolling wash.' Preserve the user's sources and spatial details; omit excluded sounds entirely rather than listing 'no music' or 'without voices'. Avoid metaphors that introduce other sources. The server adds the SFX tag and continuous-ambience instruction. With enhance=true, a brief in any language is enough. | |
| enhance | No | Default false. Write final English using this tool's prompt guidance to skip server AI rewriting. True asks the corresponding ambience or music writer to adapt a brief in any language; enhanced_prompt reports the result. Non-Latin input may still require server translation with false. | |
| duration_s | No | Take length, fixed at 30 seconds; omit or pass 30. A returned loop may be shorter. A loop is not guaranteed: inspect loop_cut and loop_url. | |
| variations | No | How many takes to make (default 4; one generation either way) |