Back to Primitives
1 action · $0.002 / second
Sound effects
NaiveTool
Generate a sound effect or a seamless loop from a text prompt, up to 30 seconds.
Part of AI models
Actions
Every action: POST /v1/tools/runs { "tool": "<name>", "input": { … } }
- Sound effects
Generate sound
sound.generate
A sound effect from a prompt.
Parameters Parameter Description promptstring · requiredDescribe the sound. duration_secondsnumber0.5-30. loopbooleanMake it loop seamlessly. Example response
{ "object": "sound_generation", "file": { "id": "fil_01JDXE", "url": "https://files.usenaive.ai/fil_01JDXE.mp3" }, "duration_seconds": 1.5 }$0.002 / second
Pricing
$0.002 / second
Billed per call to one prepaid balance. No vendor accounts, no subscription.
Code
import { createNaive } from "@usenaive-sdk/naive"; const naive = createNaive(); // reads NAIVE_API_KEYconst run = await naive.tools.run("sound.generate", {"prompt":"soft notification chime"}, { wait: true });console.log(run.output);
Related tools
- Naive
Text to image and image editing, up to 4K.
2 actionsfrom $0.004per image - Naive
Text or image to video with sound, 5–15 s.
1 action$0.05per second - Naive
Text to speech, dialogue, voice changer and voice isolation.
5 actionsfrom $0.002per second