Skip to content

Commit 044f65b

Browse files
techpro-aimlapigitbook-bot
authored andcommitted
GITBOOK-727: docs: change lyria2 and minimax get schemas
1 parent 2778d22 commit 044f65b

4 files changed

Lines changed: 10 additions & 10 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="minimax-music-fetch" path="/v2/generate/audio" method="get" %}
83-
[OpenAPI minimax-music-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/music-models/MiniMax/minimax-music-pair.json)
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)
8484
{% endopenapi-operation %}
8585

8686
## Quick Code Example

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ 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 src="../../../.gitbook/assets/music-01.json" path="/v2/generate/audio/minimax/generate" method="post" %}
39-
[music-01.json](../../../.gitbook/assets/music-01.json)
40-
{% endopenapi %}
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)
40+
{% endopenapi-operation %}
4141

4242
## Quick Code Example
4343

@@ -134,7 +134,7 @@ def main():
134134

135135
if __name__ == "__main__":
136136
main()
137-
137+
138138
```
139139
{% endcode %}
140140
{% endtab %}

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="lyria2-fetch" path="/v2/generate/audio" method="get" %}
77-
[OpenAPI lyria2-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/music-models/Google/Lyria-2-pair.json)
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)
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="minimax-music-fetch" path="/v2/generate/audio" method="get" %}
39-
[OpenAPI minimax-music-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/music-models/MiniMax/minimax-music-pair.json)
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)
4040
{% endopenapi-operation %}
4141

4242
## Quick Code Example

0 commit comments

Comments
 (0)