Skip to content

Commit 0a9d199

Browse files
techpro-aimlapigitbook-bot
authored andcommitted
GITBOOK-561: docs: add test generated page for qwen3-vl-32b-instruct
1 parent f8170e2 commit 0a9d199

2 files changed

Lines changed: 141 additions & 0 deletions

File tree

docs/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
* [qwen3-max-preview](api-references/text-models-llm/alibaba-cloud/qwen3-max-preview.md)
3030
* [qwen3-max-instruct](api-references/text-models-llm/alibaba-cloud/qwen3-max-instruct.md)
3131
* [qwen3-omni-30b-a3b-captioner](api-references/text-models-llm/alibaba-cloud/qwen3-omni-30b-a3b-captioner.md)
32+
* [qwen3-vl-32b-instruct](api-references/text-models-llm/alibaba-cloud/qwen3-vl-32b-instruct.md)
3233
* [Anthracite](api-references/text-models-llm/Anthracite/README.md)
3334
* [magnum-v4](api-references/text-models-llm/Anthracite/magnum-v4.md)
3435
* [Anthropic](api-references/text-models-llm/Anthropic/README.md)
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
---
2+
hidden: true
3+
noIndex: true
4+
---
5+
6+
# qwen3-vl-32b-instruct
7+
8+
{% columns %}
9+
{% column width="66.66666666666666%" %}
10+
{% hint style="info" %}
11+
This documentation is valid for the following list of our models:
12+
13+
* `alibaba/qwen3-vl-32b-instruct`
14+
{% endhint %}
15+
{% endcolumn %}
16+
17+
{% column width="33.33333333333334%" %}
18+
<a href="https://aimlapi.com/app/?model=alibaba/qwen3-vl-32b-instruct&#x26;mode=chat" class="button primary">Try in Playground</a>
19+
{% endcolumn %}
20+
{% endcolumns %}
21+
22+
## Model Overview
23+
24+
25+
26+
## How to Make a Call
27+
28+
<details>
29+
30+
<summary>Step-by-Step Instructions</summary>
31+
32+
:digit\_one: **Setup You Can’t Skip**
33+
34+
: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).\
35+
: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.
36+
37+
:digit\_two: **Copy the code example**
38+
39+
At the bottom of this page, you'll find [a code example](/broken/pages/d9dd2032b8b1176c55925155d3382169d854b3f0#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.
40+
41+
:digit\_three: **Modify the code example**
42+
43+
:black\_small\_square: Replace `<YOUR_AIMLAPI_KEY>` with your actual AI/ML API key from your account.\
44+
:black\_small\_square: Insert your question or request into the `content` field—this is what the model will respond to.
45+
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**
47+
48+
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](/broken/pages/f91e367e1cc342d42dda05ccb6a17f0ed1570105#api-schema), which lists all available parameters along with notes on how to use them.
49+
50+
:digit\_five: **Run your modified code**
51+
52+
Run your modified code in your development environment. Response time depends on various factors, but for simple prompts it rarely exceeds a few seconds.
53+
54+
{% hint style="success" %}
55+
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](/broken/pages/a2d851306eb54b6e3288d89da138e6dbdac9c2af).
56+
{% endhint %}
57+
58+
</details>
59+
60+
## API Schema
61+
62+
{% openapi-operation spec="qwen3-vl-32b-instruct" path="/v1/chat/completions" method="post" %}
63+
[Broken link](/broken/openapi/qwen3-vl-32b-instruct)
64+
{% endopenapi-operation %}
65+
66+
## Code Example
67+
68+
{% tabs %}
69+
{% tab title="Python" %}
70+
{% code overflow="wrap" %}
71+
```python
72+
import requests
73+
import json # for getting a structured output with indentation
74+
75+
response = requests.post(
76+
"https://api.aimlapi.com/v1/chat/completions",
77+
headers={
78+
# Insert your AIML API Key instead of <YOUR_AIMLAPI_KEY>:
79+
"Authorization":"Bearer <YOUR_AIMLAPI_KEY>",
80+
"Content-Type":"application/json"
81+
},
82+
json={
83+
"model":"alibaba/qwen3-vl-32b-instruct",
84+
"messages":[
85+
{
86+
"role":"user",
87+
"content":"Hello" # insert your prompt here, instead of Hello
88+
}
89+
]
90+
}
91+
)
92+
93+
data = response.json()
94+
print(json.dumps(data, indent=2, ensure_ascii=False))
95+
```
96+
{% endcode %}
97+
{% endtab %}
98+
99+
{% tab title="JavaScript" %}
100+
{% code overflow="wrap" %}
101+
```javascript
102+
async function main() {
103+
const response = await fetch('https://api.aimlapi.com/v1/chat/completions', {
104+
method: 'POST',
105+
headers: {
106+
// insert your AIML API Key instead of <YOUR_AIMLAPI_KEY>
107+
'Authorization': 'Bearer <YOUR_AIMLAPI_KEY>',
108+
'Content-Type': 'application/json',
109+
},
110+
body: JSON.stringify({
111+
model: 'alibaba/qwen3-vl-32b-instruct',
112+
messages:[
113+
{
114+
role:'user',
115+
content: 'Hello' // insert your prompt here, instead of Hello
116+
}
117+
],
118+
}),
119+
});
120+
121+
const data = await response.json();
122+
console.log(JSON.stringify(data, null, 2));
123+
}
124+
125+
main();
126+
```
127+
{% endcode %}
128+
{% endtab %}
129+
{% endtabs %}
130+
131+
<details>
132+
133+
<summary>Response</summary>
134+
135+
{% code overflow="wrap" %}
136+
```json5
137+
```
138+
{% endcode %}
139+
140+
</details>

0 commit comments

Comments
 (0)