Skip to content

Commit 277dbcc

Browse files
techpro-aimlapigitbook-bot
authored andcommitted
GITBOOK-571: docs: fix some alignment issues
1 parent ad1d6f1 commit 277dbcc

14 files changed

Lines changed: 271 additions & 64 deletions

File tree

docs/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@
262262
* [v2.5-turbo/pro/image-to-video](api-references/video-models/kling-ai/v2.5-turbo-pro-image-to-video.md)
263263
* [avatar-standard](api-references/video-models/kling-ai/avatar-standard.md)
264264
* [avatar-pro](api-references/video-models/kling-ai/avatar-pro.md)
265+
* [v2.6-pro/text-to-video](api-references/video-models/kling-ai/video-v2-6-pro-text-to-video.md)
265266
* [Krea](api-references/video-models/krea/README.md)
266267
* [krea-wan-14b/text-to-video](api-references/video-models/krea/krea-wan-14b-text-to-video.md)
267268
* [krea-wan-14b/video-to-video](api-references/video-models/krea/krea-wan-14b-video-to-video.md)

docs/api-references/text-models-llm/cohere/command-a.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# command-a
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:<br><code>cohere/command-a</code></p></div></td><td valign="top"><a href="https://aimlapi.com/app/cohere/command-a" class="button primary">Try in Playground</a></td></tr></tbody></table>
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>cohere/command-a</code></li></ul></div></td><td valign="top"><a href="https://aimlapi.com/app/cohere/command-a" class="button primary">Try in Playground</a></td></tr></tbody></table>
44

55
## Model Overview
66

@@ -12,25 +12,25 @@ A powerful LLM with advanced capabilities for enterprise applications.
1212

1313
<summary>Step-by-Step Instructions</summary>
1414

15-
#### :digit\_one: Setup You Can’t Skip
15+
:digit\_one: **Setup You Can’t Skip**
1616

1717
:black\_small\_square: [**Create an Account**](https://aimlapi.com/app/sign-up): Visit the AI/ML API website and create an account (if you don’t have one yet).\
1818
:black\_small\_square: [**Generate an API Key**](https://aimlapi.com/app/keys): After logging in, navigate to your account dashboard and generate your API key. Ensure that key is enabled on UI.
1919

20-
#### :digit\_two: Copy the code example
20+
:digit\_two: **Copy the code example**
2121

2222
At the bottom of this page, you'll find [a code example](command-a.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
2323

24-
#### :digit\_three: Modify the code example
24+
:digit\_three: **Modify the code example**
2525

2626
:black\_small\_square: Replace `<YOUR_AIMLAPI_KEY>` with your actual AI/ML API key from your account.\
2727
:black\_small\_square: Insert your question or request into the `content` field—this is what the model will respond to.
2828

29-
#### :digit\_four: <sup><sub><mark style="background-color:yellow;">(Optional)<mark style="background-color:yellow;"><sub></sup> Adjust other optional parameters if needed
29+
:digit\_four: <sup><sub><mark style="background-color:yellow;">**(Optional)**<mark style="background-color:yellow;"><sub></sup>**&#x20;Adjust other optional parameters if needed**
3030

3131
Only `model` and `messages` are required parameters for this model (and we’ve already filled them in for you in the example), but you can include optional parameters if needed to adjust the model’s behavior. Below, you can find the corresponding [API schema](command-a.md#api-schema), which lists all available parameters along with notes on how to use them.
3232

33-
#### :digit\_five: Run your modified code
33+
:digit\_five: **Run your modified code**
3434

3535
Run your modified code in your development environment. Response time depends on various factors, but for simple prompts it rarely exceeds a few seconds.
3636

docs/api-references/text-models-llm/nousresearch/hermes-4-405b.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# hermes-4-405b
22

33
{% columns %}
4-
{% column width="75%" %}
4+
{% column width="66.66666666666666%" %}
55
{% hint style="info" %}
66
This documentation is valid for the following model:
77

88
`nousresearch/hermes-4-405b`
99
{% endhint %}
1010
{% endcolumn %}
1111

12-
{% column width="25%" %}
12+
{% column width="33.33333333333334%" %}
1313
<a href="https://aimlapi.com/app/nousresearch/hermes-4-405b" class="button primary">Try in Playground</a>
1414
{% endcolumn %}
1515
{% endcolumns %}
@@ -24,25 +24,25 @@ A hybrid reasoning model designed to be creative, engaging, and neutrally aligne
2424

2525
<summary>Step-by-Step Instructions</summary>
2626

27-
#### :digit\_one: Setup You Can’t Skip
27+
:digit\_one: **Setup You Can’t Skip**
2828

2929
:black\_small\_square: [**Create an Account**](https://aimlapi.com/app/sign-up): Visit the AI/ML API website and create an account (if you don’t have one yet).\
3030
:black\_small\_square: [**Generate an API Key**](https://aimlapi.com/app/keys): After logging in, navigate to your account dashboard and generate your API key. Ensure that key is enabled on UI.
3131

32-
#### :digit\_two: Copy the code example
32+
:digit\_two: **Copy the code example**
3333

3434
At the bottom of this page, you'll find [a code example](hermes-4-405b.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
3535

36-
#### :digit\_three: Modify the code example
36+
:digit\_three: **Modify the code example**
3737

3838
:black\_small\_square: Replace `<YOUR_AIMLAPI_KEY>` with your actual AI/ML API key from your account.\
3939
:black\_small\_square: Insert your question or request into the `content` field—this is what the model will respond to.
4040

41-
#### :digit\_four: <sup><sub><mark style="background-color:yellow;">(Optional)<mark style="background-color:yellow;"><sub></sup> Adjust other optional parameters if needed
41+
:digit\_four: <sup><sub><mark style="background-color:yellow;">**(Optional)**<mark style="background-color:yellow;"><sub></sup>**&#x20;Adjust other optional parameters if needed**
4242

4343
Only `model` and `messages` are required parameters for this model (and we’ve already filled them in for you in the example), but you can include optional parameters if needed to adjust the model’s behavior. Below, you can find the corresponding [API schema](hermes-4-405b.md#api-schema), which lists all available parameters along with notes on how to use them.
4444

45-
#### :digit\_five: Run your modified code
45+
:digit\_five: **Run your modified code**
4646

4747
Run your modified code in your development environment. Response time depends on various factors, but for simple prompts it rarely exceeds a few seconds.
4848

docs/api-references/text-models-llm/perplexity/sonar-pro.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# sonar-pro
22

33
{% hint style="info" %}
4-
This documentation is valid for the following list of our models: `perplexity/sonar-pro`
4+
This documentation is valid for the following list of our models:&#x20;
5+
6+
* `perplexity/sonar-pro`
57
{% endhint %}
68

79
## Model Overview
@@ -14,25 +16,25 @@ Pro version is built for real-time, web-connected research and complex queries.
1416

1517
<summary>Step-by-Step Instructions</summary>
1618

17-
#### :digit\_one: Setup You Can’t Skip
19+
:digit\_one: **Setup You Can’t Skip**
1820

1921
:black\_small\_square: [**Create an Account**](https://aimlapi.com/app/sign-up): Visit the AI/ML API website and create an account (if you don’t have one yet).\
2022
:black\_small\_square: [**Generate an API Key**](https://aimlapi.com/app/keys): After logging in, navigate to your account dashboard and generate your API key. Ensure that key is enabled on UI.
2123

22-
#### :digit\_two: Copy the code example
24+
:digit\_two: **Copy the code example**
2325

2426
At the bottom of this page, you'll find [a code example](sonar-pro.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
2527

26-
#### :digit\_three: Modify the code example
28+
:digit\_three: **Modify the code example**
2729

2830
:black\_small\_square: Replace `<YOUR_AIMLAPI_KEY>` with your actual AI/ML API key from your account.\
2931
:black\_small\_square: Insert your question or request into the `content` field—this is what the model will respond to.
3032

31-
#### :digit\_four: <sup><sub><mark style="background-color:yellow;">(Optional)<mark style="background-color:yellow;"><sub></sup> Adjust other optional parameters if needed
33+
:digit\_four: <sup><sub><mark style="background-color:yellow;">**(Optional)**<mark style="background-color:yellow;"><sub></sup>**&#x20;Adjust other optional parameters if needed**
3234

3335
Only `model` and `messages` are required parameters for this model (and we’ve already filled them in for you in the example), but you can include optional parameters if needed to adjust the model’s behavior. Below, you can find the corresponding [API schema](sonar-pro.md#api-schema), which lists all available parameters along with notes on how to use them.
3436

35-
#### :digit\_five: Run your modified code
37+
:digit\_five: **Run your modified code**
3638

3739
Run your modified code in your development environment. Response time depends on various factors, but for simple prompts it rarely exceeds a few seconds.
3840

docs/api-references/text-models-llm/perplexity/sonar.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# sonar
22

33
{% hint style="info" %}
4-
This documentation is valid for the following list of our models: `perplexity/sonar`
4+
This documentation is valid for the following list of our models:
5+
6+
* &#x20;`perplexity/sonar`
57
{% endhint %}
68

79
## Model Overview
@@ -14,25 +16,25 @@ A model built on top of Llama 3.3 70B and optimized for Perplexity search. Fast,
1416

1517
<summary>Step-by-Step Instructions</summary>
1618

17-
#### :digit\_one: Setup You Can’t Skip
19+
:digit\_one: **Setup You Can’t Skip**
1820

1921
:black\_small\_square: [**Create an Account**](https://aimlapi.com/app/sign-up): Visit the AI/ML API website and create an account (if you don’t have one yet).\
2022
:black\_small\_square: [**Generate an API Key**](https://aimlapi.com/app/keys): After logging in, navigate to your account dashboard and generate your API key. Ensure that key is enabled on UI.
2123

22-
#### :digit\_two: Copy the code example
24+
:digit\_two: **Copy the code example**
2325

2426
At the bottom of this page, you'll find [a code example](sonar.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
2527

26-
#### :digit\_three: Modify the code example
28+
:digit\_three: **Modify the code example**
2729

2830
:black\_small\_square: Replace `<YOUR_AIMLAPI_KEY>` with your actual AI/ML API key from your account.\
2931
:black\_small\_square: Insert your question or request into the `content` field—this is what the model will respond to.
3032

31-
#### :digit\_four: <sup><sub><mark style="background-color:yellow;">(Optional)<mark style="background-color:yellow;"><sub></sup> Adjust other optional parameters if needed
33+
:digit\_four: <sup><sub><mark style="background-color:yellow;">**(Optional)**<mark style="background-color:yellow;"><sub></sup>**&#x20;Adjust other optional parameters if needed**
3234

3335
Only `model` and `messages` are required parameters for this model (and we’ve already filled them in for you in the example), but you can include optional parameters if needed to adjust the model’s behavior. Below, you can find the corresponding [API schema](sonar.md#api-schema), which lists all available parameters along with notes on how to use them.
3436

35-
#### :digit\_five: Run your modified code
37+
:digit\_five: **Run your modified code**
3638

3739
Run your modified code in your development environment. Response time depends on various factors, but for simple prompts it rarely exceeds a few seconds.
3840

docs/api-references/text-models-llm/xai/grok-3-beta.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# grok-3-beta
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 model:<br><code>x-ai/grok-3-beta</code></p></div></td><td valign="top"><a href="https://aimlapi.com/app/x-ai/grok-3-beta" class="button primary">Try in Playground</a></td></tr></tbody></table>
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 model:</p><ul><li><code>x-ai/grok-3-beta</code></li></ul></div></td><td valign="top"><a href="https://aimlapi.com/app/x-ai/grok-3-beta" class="button primary">Try in Playground</a></td></tr></tbody></table>
44

55
## Model Overview
66

@@ -12,25 +12,25 @@ xAI's most advanced model as of Spring 2025, showcasing superior reasoning capab
1212

1313
<summary>Step-by-Step Instructions</summary>
1414

15-
#### :digit\_one: Setup You Can’t Skip
15+
:digit\_one: **Setup You Can’t Skip**
1616

1717
:black\_small\_square: [**Create an Account**](https://aimlapi.com/app/sign-up): Visit the AI/ML API website and create an account (if you don’t have one yet).\
1818
:black\_small\_square: [**Generate an API Key**](https://aimlapi.com/app/keys): After logging in, navigate to your account dashboard and generate your API key. Ensure that key is enabled on UI.
1919

20-
#### :digit\_two: Copy the code example
20+
:digit\_two: **Copy the code example**
2121

2222
At the bottom of this page, you'll find [a code example](grok-3-beta.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
2323

24-
#### :digit\_three: Modify the code example
24+
:digit\_three: **Modify the code example**
2525

2626
:black\_small\_square: Replace `<YOUR_AIMLAPI_KEY>` with your actual AI/ML API key from your account.\
2727
:black\_small\_square: Insert your question or request into the `content` field—this is what the model will respond to.
2828

29-
#### :digit\_four: <sup><sub><mark style="background-color:yellow;">(Optional)<mark style="background-color:yellow;"><sub></sup> Adjust other optional parameters if needed
29+
:digit\_four: <sup><sub><mark style="background-color:yellow;">**(Optional)**<mark style="background-color:yellow;"><sub></sup>**&#x20;Adjust other optional parameters if needed**
3030

3131
Only `model` and `messages` are required parameters for this model (and we’ve already filled them in for you in the example), but you can include optional parameters if needed to adjust the model’s behavior. Below, you can find the corresponding [API schema](grok-3-beta.md#api-schema), which lists all available parameters along with notes on how to use them.
3232

33-
#### :digit\_five: Run your modified code
33+
:digit\_five: **Run your modified code**
3434

3535
Run your modified code in your development environment. Response time depends on various factors, but for simple prompts it rarely exceeds a few seconds.
3636

docs/api-references/text-models-llm/xai/grok-4-1-fast-non-reasoning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% hint style="info" %}
66
This documentation is valid for the following model:
77

8-
`x-ai/grok-4-1-fast-non-reasoning`
8+
* `x-ai/grok-4-1-fast-non-reasoning`
99
{% endhint %}
1010
{% endcolumn %}
1111

docs/api-references/text-models-llm/xai/grok-4-fast-non-reasoning.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# grok-4-fast-non-reasoning
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 model:</p><p><code>x-ai/grok-4-fast-non-reasoning</code></p></div></td><td valign="top"><a href="https://aimlapi.com/app/x-ai/grok-4-fast-non-reasoning" class="button primary">Try in Playground</a></td></tr></tbody></table>
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 model:</p><ul><li><code>x-ai/grok-4-fast-non-reasoning</code></li></ul></div></td><td valign="top"><a href="https://aimlapi.com/app/x-ai/grok-4-fast-non-reasoning" class="button primary">Try in Playground</a></td></tr></tbody></table>
44

55
## Model Overview
66

7-
xAI’s multimodal model, offering state-of-the-art cost efficiency and a 2M-token context window. \
7+
xAI’s multimodal model, offering state-of-the-art cost efficiency and a 2M-token context window.\
88
Non-reasoning variant.
99

1010
## How to Make a Call

docs/api-references/text-models-llm/xai/grok-4.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ layout:
1717

1818
# grok-4
1919

20-
<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 model:<br><code>x-ai/grok-4-07-09</code></p></div></td><td valign="top"><a href="https://aimlapi.com/app/x-ai/grok-4-07-09" class="button primary">Try in Playground</a></td></tr></tbody></table>
20+
<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 model:</p><ul><li><code>x-ai/grok-4-07-09</code></li></ul></div></td><td valign="top"><a href="https://aimlapi.com/app/x-ai/grok-4-07-09" class="button primary">Try in Playground</a></td></tr></tbody></table>
2121

2222
## Model Overview
2323

@@ -29,25 +29,25 @@ Grok 4 is boldly described by its developers as the most intelligent model in th
2929

3030
<summary>Step-by-Step Instructions</summary>
3131

32-
#### :digit\_one: Setup You Can’t Skip
32+
:digit\_one: **Setup You Can’t Skip**
3333

3434
:black\_small\_square: [**Create an Account**](https://aimlapi.com/app/sign-up): Visit the AI/ML API website and create an account (if you don’t have one yet).\
3535
:black\_small\_square: [**Generate an API Key**](https://aimlapi.com/app/keys): After logging in, navigate to your account dashboard and generate your API key. Ensure that key is enabled on UI.
3636

37-
#### :digit\_two: Copy the code example
37+
:digit\_two: **Copy the code example**
3838

3939
At the bottom of this page, you'll find [a code example](grok-4.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
4040

41-
#### :digit\_three: Modify the code example
41+
:digit\_three: **Modify the code example**
4242

4343
:black\_small\_square: Replace `<YOUR_AIMLAPI_KEY>` with your actual AI/ML API key from your account.\
4444
:black\_small\_square: Insert your question or request into the `content` field—this is what the model will respond to.
4545

46-
#### :digit\_four: <sup><sub><mark style="background-color:yellow;">(Optional)<mark style="background-color:yellow;"><sub></sup> Adjust other optional parameters if needed
46+
:digit\_four: <sup><sub><mark style="background-color:yellow;">**(Optional)**<mark style="background-color:yellow;"><sub></sup>**&#x20;Adjust other optional parameters if needed**
4747

4848
Only `model` and `messages` are required parameters for this model (and we’ve already filled them in for you in the example), but you can include optional parameters if needed to adjust the model’s behavior. Below, you can find the corresponding [API schema](grok-4.md#api-schema), which lists all available parameters along with notes on how to use them.
4949

50-
#### :digit\_five: Run your modified code
50+
:digit\_five: **Run your modified code**
5151

5252
Run your modified code in your development environment. Response time depends on various factors, but for simple prompts it rarely exceeds a few seconds.
5353

0 commit comments

Comments
 (0)