Skip to content

Commit 0f6a4ef

Browse files
techpro-aimlapigitbook-bot
authored andcommitted
GITBOOK-739: docs: fix try-in-playground buttons
1 parent 346a08c commit 0f6a4ef

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This endpoint generates a music piece based on the prompt (which includes style
3232

3333
### Retrieve the generated music sample from the server <a href="#retrieve-the-generated-video-from-the-server" id="retrieve-the-generated-video-from-the-server"></a>
3434

35-
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.
35+
After sending a request for music generation, this task is added to the queue.
3636

3737
{% openapi-operation spec="universal-audio-fetch" path="/v2/generate/audio" method="get" %}
3838
[OpenAPI universal-audio-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/music-models/universal-audio-fetch.json)
@@ -84,7 +84,7 @@ def retrieve_audio(gen_id):
8484
return response.json()
8585

8686

87-
# This is the main function of the program. From here, we sequentially call the audio generation and then repeatedly request the result from the server every 10 seconds:
87+
# This is the main function of the program. From here, we sequentially call the audio generation and then repeatedly request the result from the server every 15 seconds:
8888
def main():
8989
# Running video generation and getting a task id
9090
gen_response = generate_audio()
@@ -234,7 +234,7 @@ Status: generating. Checking again in 15 seconds.
234234
Status: generating. Checking again in 15 seconds.
235235
Status: generating. Checking again in 15 seconds.
236236
Processing complete:
237-
{'id': 'e84c6bd4-bb02-4702-a55d-9b73e170c110:minimax/music-2.0', 'status': 'completed', 'audio_file': {'url': 'https://minimax-algeng-chat-tts-us.oss-us-east-1.aliyuncs.com/music%2Fprod%2Ftts-20260108074124-WOYPTzIhedvMMVNw.mp3?Expires=1767915690&OSSAccessKeyId=LTAI5tCpJNKCf5EkQHSuL9xg&Signature=PjSPH21%2FpILSs35%2Fl019p66wv1Y%3D'}, 'extra_info': {'music_duration': 107102, 'music_sample_rate': 44100, 'music_channel': 2, 'bitrate': 25600, 'music_size': 0}, 'trace_id': '05ae21d02744d305c8493d77c5b96a26'}
237+
{'id': 'e84c6bd4-bb02-4702-a55d-9b73e170c110:minimax/music-2.0', 'status': 'completed', 'audio_file': {'url': 'https://cdn.aimlapi.com/moose/music%2Fprod%2Ftts-20260108200145-PyWuVGVLaIkSAOEp.mp3?Expires=1767960111&OSSAccessKeyId=LTAI5tCpJNKCf5EkQHSuL9xg&Signature=pTfbqVDKtdUdX1dr0iqEjSI4xnY%3D'}, 'extra_info': {'music_duration': 107102, 'music_sample_rate': 44100, 'music_channel': 2, 'bitrate': 25600, 'music_size': 0}, 'trace_id': '05ae21d02744d305c8493d77c5b96a26'}
238238
```
239239
{% endcode %}
240240

docs/api-references/text-models-llm/google/gemma-3.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# gemma-3 (4B and 12B)
22

3-
<table data-header-hidden data-full-width="true"><thead><tr><th width="546.4443969726562" valign="top"></th><th width="202.666748046875" valign="top"></th></tr></thead><tbody><tr><td valign="top"><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>This documentation is valid for the following list of our models:</p><ul><li><code>google/gemma-3-4b-it</code></li><li><code>google/gemma-3-12b-it</code></li></ul></div></td><td valign="top"><br><a href="https://aimlapi.com/app/google/gemma-3-4b-it" class="button primary">Try in Playground</a><br><a href="https://aimlapi.com/app/google/gemma-3-12b-it" class="button primary">Try in Playground</a></td></tr></tbody></table>
3+
{% hint style="info" %}
4+
This documentation is valid for the following list of our models:
5+
{% endhint %}
6+
7+
<table data-header-hidden data-full-width="true"><thead><tr><th width="237.13336181640625"></th><th></th></tr></thead><tbody><tr><td><code>google/gemma-3-4b-it</code></td><td><a href="https://aimlapi.com/app/google/gemma-3-4b-it" class="button primary">Try in Playground</a></td></tr><tr><td><code>google/gemma-3-12b-it</code></td><td><a href="https://aimlapi.com/app/google/gemma-3-12b-it" class="button primary">Try in Playground</a></td></tr></tbody></table>
48

59
## Model Overview
610

0 commit comments

Comments
 (0)