generate_sound
Make an individual sound effect from a description when the library has nothing suitable (search_sounds has no full match and its closest sounds do not suit). Needs an SFXMint API key on an account with AI-made sounds left in a pack: each take uses one AI-made sound per started 5 seconds, charged when it starts, and failed takes are given back. Without a key or AI-made sounds it answers with buy_url; the user decides whether to buy, an agent never pays. Returns WAV files (16-bit stereo, 44.1 kHz or 48 kHz as sample_rate asks; signed links valid 15 minutes) with SHA-256, MP3 (128 kbps) through the same link with ?format=mp3, and ogg_url; if they are not ready within about 25 seconds, it returns the order id for get_generation. Not CC0: the user may use them in their own projects, commercially, but not redistribute them as standalone sound files or in a sound collection. AI-generated: the user should listen before use.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "generate_sound"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loop | No | Make it loop seamlessly (default false) | |
| follow | No | How closely the takes follow the words: variety (default, for a short description), balanced, or close (for a detailed one); same price | |
| prompt | Yes | What should be heard, in plain English (other languages are translated), at most 400 characters: the source, the action, the material, how it starts and ends. Mention only sounds to be heard. | |
| duration_s | No | Length of each take in seconds; leave it out and SFXMint chooses from the description. Each started 5 seconds uses one AI-made sound a take. | |
| variations | No | How many takes (default 2); each is charged | |
| sample_rate | No | The WAV's sample rate: 44100 (default) or 48000, the rate video and most game engines mix at; 16-bit stereo either way; same price |