Suprsonic

Sound Generation

Generate sound effects and short music tracks from text prompts (NOT speech: use tts for spoken voice). Returns the audio as base64 with its format, sample rate and duration. Use for sound effects, ambience and short instrumental music. It produces no spoken words: for speech use tts. Cost: 4 credits, charged only when a call succeeds.

post/v1/sounds/generate

Request

  • Base URL
    https://suprsonic.ai
  • Auth
    HTTP bearer

Request body

promptstring required
duration_secondsnumber nullable
prompt_influencenumber
output_formatstring
durationnumber nullable

Response

The call's envelope: success, data (the capability's result), metadata, and credits_used (0 when the call did not succeed).

successboolean required
credits_usedinteger

Changes

No recorded changes to this operation across all 1 revision of this API.