Skip to content

Commit 2e6aa8f

Browse files
techpro-aimlapigitbook-bot
authored andcommitted
GITBOOK-411: docs: add bytedance/omnihuman
1 parent 259c229 commit 2e6aa8f

9 files changed

Lines changed: 1085 additions & 3 deletions

File tree

13.1 MB
Loading

docs/SUMMARY.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
* [qwen3-235b-a22b-thinking-2507](api-references/text-models-llm/alibaba-cloud/qwen3-235b-a22b-thinking-2507.md)
2626
* [qwen3-next-80b-a3b-instruct](api-references/text-models-llm/alibaba-cloud/qwen3-next-80b-a3b-instruct.md)
2727
* [qwen3-next-80b-a3b-thinking](api-references/text-models-llm/alibaba-cloud/qwen3-next-80b-a3b-thinking.md)
28+
* [qwen3-max-preview](api-references/text-models-llm/alibaba-cloud/qwen3-max-preview.md)
2829
* [Anthracite](api-references/text-models-llm/Anthracite/README.md)
2930
* [magnum-v4](api-references/text-models-llm/Anthracite/magnum-v4.md)
3031
* [Anthropic](api-references/text-models-llm/Anthropic/README.md)
@@ -162,11 +163,14 @@
162163
* [Wan 2.1 Turbo (Text-to-Video)](api-references/video-models/alibaba-cloud/wan-2.1-turbo-text-to-video.md)
163164
* [Wan 2.2 Plus (Text-to-Video)](api-references/video-models/alibaba-cloud/wan-2.2-plus-text-to-video.md)
164165
* [Wan 2.2 Plus (Image-to-Video)](api-references/video-models/alibaba-cloud/wan-2.2-plus-image-to-video.md)
166+
* [Wan 2.5 Preview (Text-to-Video)](api-references/video-models/alibaba-cloud/wan-2.5-preview-text-to-video.md)
167+
* [Wan 2.5 Preview (Image-to-Video)](api-references/video-models/alibaba-cloud/wan-2.5-preview-image-to-video.md)
165168
* [ByteDance](api-references/video-models/bytedance/README.md)
166169
* [Seedance 1.0 lite (Text-to-Video)](api-references/video-models/bytedance/seedance-1.0-lite-text-to-video.md)
167170
* [Seedance 1.0 lite (Image-to-Video)](api-references/video-models/bytedance/seedance-1.0-lite-image-to-video.md)
168171
* [Seedance 1.0 pro (Text-to-Video)](api-references/video-models/bytedance/seedance-1.0-pro-text-to-video.md)
169172
* [Seedance 1.0 pro (Image-to-Video)](api-references/video-models/bytedance/seedance-1.0-pro-image-to-video.md)
173+
* [OmniHuman](api-references/video-models/bytedance/omnihuman.md)
170174
* [Google](api-references/video-models/google/README.md)
171175
* [Veo 2 (Text-to-Video)](api-references/video-models/google/veo2-text-to-video.md)
172176
* [Veo 2 (Image-to-Video)](api-references/video-models/google/veo2-image-to-video.md)
@@ -181,6 +185,7 @@
181185
* [v1-pro/text-to-video](api-references/video-models/Kling-AI/v1-pro-text-to-video.md)
182186
* [v1.6-standard/image-to-video](api-references/video-models/Kling-AI/v1.6-standart-image-to-video.md)
183187
* [v1.6-standard/text-to-video](api-references/video-models/Kling-AI/v1.6-standard-text-to-video.md)
188+
* [v1.6-standard/multi-image-to-video](api-references/video-models/kling-ai/v1.6-standard-multi-image-to-video.md)
184189
* [v1.6-pro/image-to-video](api-references/video-models/Kling-AI/v1.6-pro-image-to-video.md)
185190
* [v1.6-pro/text-to-video](api-references/video-models/kling-ai/v1.6-pro-text-to-video.md)
186191
* [v1.6-standard/effects](api-references/video-models/kling-ai/v1.6-standard-effects.md)

docs/api-references/model-database.md

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
---
2+
hidden: true
3+
noIndex: true
4+
---
5+
6+
# qwen3-max-preview
7+
8+
<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>alibaba/qwen3-max-preview</code></p></div></td><td valign="top"><a href="https://aimlapi.com/app/?model=alibaba/qwen3-max-preview&#x26;mode=chat" class="button primary">Try in Playground</a></td></tr></tbody></table>
9+
10+
## Model Overview
11+
12+
13+
14+
## How to Make a Call
15+
16+
<details>
17+
18+
<summary>Step-by-Step Instructions</summary>
19+
20+
### :digit\_one: Setup You Can’t Skip
21+
22+
: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).\
23+
: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.
24+
25+
### &#x20;:digit\_two: Copy the code example
26+
27+
At the bottom of this page, you'll find [a code example](qwen3-max-preview.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.
28+
29+
### :digit\_three: Modify the code example
30+
31+
:black\_small\_square: Replace `<YOUR_AIMLAPI_KEY>` with your actual AI/ML API key from your account.\
32+
:black\_small\_square: Insert your question or request into the `content` field—this is what the model will respond to.
33+
34+
### :digit\_four: <sup><sub><mark style="background-color:yellow;">(Optional)<mark style="background-color:yellow;"><sub></sup> Adjust other optional parameters if needed
35+
36+
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](qwen3-max-preview.md#api-schema), which lists all available parameters along with notes on how to use them.
37+
38+
### :digit\_five: Run your modified code
39+
40+
Run your modified code in your development environment. Response time depends on various factors, but for simple prompts it rarely exceeds a few seconds.
41+
42+
{% hint style="success" %}
43+
If you need a more detailed walkthrough for setting up your development environment and making a request step by step — feel free to use our [Quickstart guide](../../../quickstart/setting-up.md).
44+
{% endhint %}
45+
46+
</details>
47+
48+
## API Schema
49+
50+
{% openapi-operation spec="qwen3-max-preview" path="/v1/chat/completions" method="post" %}
51+
[OpenAPI qwen3-max-preview](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/text-models-llm/Alibaba-Cloud/qwen3-max-preview.json)
52+
{% endopenapi-operation %}
53+
54+
## Code Example
55+
56+
{% tabs %}
57+
{% tab title="Python" %}
58+
{% code overflow="wrap" %}
59+
```python
60+
import requests
61+
import json # for getting a structured output with indentation
62+
63+
response = requests.post(
64+
"https://api.aimlapi.com/v1/chat/completions",
65+
headers={
66+
# Insert your AIML API Key instead of <YOUR_AIMLAPI_KEY>:
67+
"Authorization":"Bearer <YOUR_AIMLAPI_KEY>",
68+
"Content-Type":"application/json"
69+
},
70+
json={
71+
"model":"alibaba/qwen3-max-preview",
72+
"messages":[
73+
{
74+
"role":"user",
75+
"content":"Hello" # insert your prompt here, instead of Hello
76+
}
77+
],
78+
"enable_thinking": False
79+
}
80+
)
81+
82+
data = response.json()
83+
print(json.dumps(data, indent=2, ensure_ascii=False))
84+
```
85+
{% endcode %}
86+
{% endtab %}
87+
88+
{% tab title="JavaScript" %}
89+
{% code overflow="wrap" %}
90+
```javascript
91+
async function main() {
92+
const response = await fetch('https://api.aimlapi.com/v1/chat/completions', {
93+
method: 'POST',
94+
headers: {
95+
// insert your AIML API Key instead of <YOUR_AIMLAPI_KEY>
96+
'Authorization': 'Bearer <YOUR_AIMLAPI_KEY>',
97+
'Content-Type': 'application/json',
98+
},
99+
body: JSON.stringify({
100+
model: 'alibaba/qwen3-max-preview',
101+
messages:[
102+
{
103+
role:'user',
104+
content: 'Hello' // insert your prompt here, instead of Hello
105+
}
106+
],
107+
}),
108+
});
109+
110+
const data = await response.json();
111+
console.log(JSON.stringify(data, null, 2));
112+
}
113+
114+
main();
115+
```
116+
{% endcode %}
117+
{% endtab %}
118+
{% endtabs %}
119+
120+
<details>
121+
122+
<summary>Response</summary>
123+
124+
{% code overflow="wrap" %}
125+
```json5
126+
```
127+
{% endcode %}
128+
129+
</details>

docs/api-references/video-models/README.md

Lines changed: 1 addition & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)