Audio

Vtrix provides various audio generation models including Mureka, MiniMax, and more. Each model has its own dedicated API endpoint and parameters.

circle-exclamation

How to Use Audio Generation Models

1

Visit the Models page

Select the "Audio" type.

2

Browse and select a model

Choose an audio generation model that fits your needs.

3

View the API example

Open the "API" tab on the model details page to see the complete curl example and parameter description.

4

Copy and modify the example

Copy the example code and replace with your API Key and the parameters you need.

Example: Using Mureka Song Generator

Here is an example of generating a song using Mureka Song Generator:

curl example
curl --location 'https://cloud.vtrix.ai/model/v1/generation' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
  "model": "mureka_song_generator",
  "input": [
    {
      "params": {
        "lyrics": "example_lyrics",
        "model": "mureka-7.5",
        "n": 2,
        "prompt": "example_prompt",
        "reference_id": "example_reference_id",
        "vocal_id": "example_vocal_id"
      }
    }
  ]
}'
circle-info

Note: Different audio generation models have different parameters. For example, Mureka Song Generator above uses lyrics, model, and vocal_id, while other models may use different parameter names and values. Please check the specific model API documentation for supported parameters.


circle-check

Last updated