Skip to content

Commit abb9198

Browse files
techpro-aimlapigitbook-bot
authored andcommitted
GITBOOK-733: docs: change GET schemas for music models
1 parent e5ab881 commit abb9198

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

docs/api-references/music-models/MiniMax/minimax-music-[legacy].md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ This endpoint creates and sends a music generation task to the server — and re
7979

8080
After sending a request for music generation, this task is added to the queue. Based on the service's load, the generation can be completed in 50-60 seconds or take a bit more.
8181

82-
{% openapi-operation spec="stable-audio-pair" path="/v2/generate/audio" method="get" %}
83-
[OpenAPI stable-audio-pair](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/music-models/Stability-AI/stable-audio-pair.json)
82+
{% openapi-operation spec="universal-audio-fetch" path="/v2/generate/audio" method="get" %}
83+
[OpenAPI universal-audio-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/music-models/universal-audio-fetch.json)
8484
{% endopenapi-operation %}
8585

8686
## Quick Code Example

docs/api-references/music-models/MiniMax/music-01.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ This endpoint uploads a reference music piece to the server, analyzes it, and re
3535
This endpoint generates a new music piece based on the voice and/or instrumental pattern identifiers obtained from the first endpoint above.\
3636
The generation can be completed in 50-60 seconds or take a bit more.
3737

38-
{% openapi-operation spec="stable-audio-pair" path="/v2/generate/audio" method="get" %}
39-
[OpenAPI stable-audio-pair](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/music-models/Stability-AI/stable-audio-pair.json)
38+
{% openapi-operation spec="music-01" path="/v2/generate/audio/minimax/generate" method="post" %}
39+
[OpenAPI music-01](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/music-models/MiniMax/music-01.json)
4040
{% endopenapi-operation %}
4141

4242
## Quick Code Example

docs/api-references/music-models/Stability-AI/stable-audio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ If you don’t have an API key for the AI/ML API yet, feel free to use our [Quic
3030

3131
After sending a request for music generation, this task is added to the queue. Based on the service's load, the generation can be completed in 30-40 seconds or take a bit more.
3232

33-
{% openapi-operation spec="stable-audio-pair" path="/v2/generate/audio" method="get" %}
34-
[OpenAPI stable-audio-pair](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/music-models/Stability-AI/stable-audio-pair.json)
33+
{% openapi-operation spec="universal-audio-fetch" path="/v2/generate/audio" method="get" %}
34+
[OpenAPI universal-audio-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/music-models/universal-audio-fetch.json)
3535
{% endopenapi-operation %}
3636

3737
## Full Example: Generating and Retrieving the Audio From the Server <a href="#full-example-generating-and-retrieving-the-video-from-the-server" id="full-example-generating-and-retrieving-the-video-from-the-server"></a>

docs/api-references/music-models/elevenlabs/eleven_music.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ This endpoint creates and sends a music generation task to the server — and re
7373

7474
After sending a request for music generation, this task is added to the queue. Based on the service's load, the generation can be completed in 30-40 seconds or take a bit more.
7575

76-
{% openapi-operation spec="stable-audio-pair" path="/v2/generate/audio" method="get" %}
77-
[OpenAPI stable-audio-pair](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/music-models/Stability-AI/stable-audio-pair.json)
76+
{% openapi-operation spec="universal-audio-fetch" path="/v2/generate/audio" method="get" %}
77+
[OpenAPI universal-audio-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/music-models/universal-audio-fetch.json)
7878
{% endopenapi-operation %}
7979

8080
## Full Example: Generating and Retrieving the Audio From the Server <a href="#full-example-generating-and-retrieving-the-video-from-the-server" id="full-example-generating-and-retrieving-the-video-from-the-server"></a>

docs/api-references/music-models/google/lyria-2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ This endpoint creates and sends a music generation task to the server — and re
7373

7474
After sending a request for music generation, this task is added to the queue. Based on the service's load, the generation can be completed in 30-40 seconds or take a bit more.
7575

76-
{% openapi-operation spec="stable-audio-pair" path="/v2/generate/audio" method="get" %}
77-
[OpenAPI stable-audio-pair](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/music-models/Stability-AI/stable-audio-pair.json)
76+
{% openapi-operation spec="universal-audio-fetch" path="/v2/generate/audio" method="get" %}
77+
[OpenAPI universal-audio-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/music-models/universal-audio-fetch.json)
7878
{% endopenapi-operation %}
7979

8080
## Quick Code Example

docs/api-references/music-models/minimax/music-1.5.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ The generation can be completed in 60-80 seconds or take a bit more.
3535

3636
After sending a request for music generation, this task is added to the queue. Based on the service's load, the generation can be completed in 50-60 seconds or take a bit more.
3737

38-
{% openapi-operation spec="stable-audio-pair" path="/v2/generate/audio" method="get" %}
39-
[OpenAPI stable-audio-pair](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/music-models/Stability-AI/stable-audio-pair.json)
38+
{% openapi-operation spec="universal-audio-fetch" path="/v2/generate/audio" method="get" %}
39+
[OpenAPI universal-audio-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/music-models/universal-audio-fetch.json)
4040
{% endopenapi-operation %}
4141

4242
## Quick Code Example

0 commit comments

Comments
 (0)