sound-effects

Sound Effects - Generate from text

Create realistic sound effects from text descriptions using AI.

Generate high-quality audio sound effects based on your text prompts. Perfect for video production, game development, podcasts, and multimedia projects.

post/v1/ai/sound-effects

Request

  • Base URL: https://api.magnific.com
  • URL: https://api.magnific.com/v1/ai/sound-effects
  • Auth: API key in header x-magnific-api-key

Request body

textstring required

The text to convert to sound effects

loopboolean

Whether to create a sound effect that loops smoothly

duration_secondsnumber required

The duration of the generated audio in seconds

prompt_influencenumber

The influence of the prompt on the generated audio. A value between 0 and 1.

webhook_urlstring uri

Optional callback URL that will receive asynchronous notifications whenever the task changes status. The payload sent to this URL is the same as the corresponding GET endpoint response, but without the data field.

Example request

{
  "text": "A cat meowing",
  "duration_seconds": 5,
  "prompt_influence": 0.3,
  "webhook_url": "https://www.example.com/webhook"
}

Response

OK - The task exists and the status is returned

Example response

{
  "data": {
    "generated": [
      "https://openapi-generator.tech",
      "https://openapi-generator.tech"
    ],
    "task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
    "status": "CREATED"
  }
}

Changes

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