Skip to content

Commit 149575f

Browse files
techpro-aimlapigitbook-bot
authored andcommitted
GITBOOK-688: docs: add hints to all wans (about new universal endpoint)
1 parent a52ed30 commit 149575f

5 files changed

Lines changed: 25 additions & 20 deletions

File tree

docs/api-references/video-models/alibaba-cloud/wan-2.1-plus-text-to-video.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,15 @@ Below, you can find two corresponding API schemas and examples for both endpoint
3737

3838
## API Schemas
3939

40+
{% hint style="success" %}
41+
Now, all of our API schemas for video models use our new universal short URL — `https://api.aimlapi.com/v2/video/generations`. \
42+
However, you can still call this model using the legacy URL that includes the vendor name.
43+
{% endhint %}
44+
4045
### Video Generation
4146

4247
This endpoint creates and sends a video generation task to the server — and returns a generation ID.
4348

44-
{% hint style="success" %}
45-
To quickly test video models from different developers without changing endpoints, use our new universal short one — **`https://api.aimlapi.com/v2/video/generations`.**
46-
{% endhint %}
47-
4849
{% openapi-operation spec="wan2-1-t2v-plus" path="/v2/video/generations" method="post" %}
4950
[OpenAPI wan2-1-t2v-plus](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/Alibaba-Cloud/wan2.1-t2v-plus.json)
5051
{% endopenapi-operation %}

docs/api-references/video-models/alibaba-cloud/wan-2.1-turbo-text-to-video.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,15 @@ Below, you can find two corresponding API schemas and examples for both endpoint
3737

3838
## API Schemas
3939

40+
{% hint style="success" %}
41+
Now, all of our API schemas for video models use our new universal short URL — `https://api.aimlapi.com/v2/video/generations`. \
42+
However, you can still call this model using the legacy URL that includes the vendor name.
43+
{% endhint %}
44+
4045
### Video Generation
4146

4247
This endpoint creates and sends a video generation task to the server — and returns a generation ID.
4348

44-
{% hint style="success" %}
45-
To quickly test video models from different developers without changing endpoints, use our new universal short one — **`https://api.aimlapi.com/v2/video/generations`.**
46-
{% endhint %}
47-
4849
{% openapi-operation spec="wan2-1-t2v-turbo" path="/v2/video/generations" method="post" %}
4950
[OpenAPI wan2-1-t2v-turbo](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/Alibaba-Cloud/wan2.1-t2v-turbo.json)
5051
{% endopenapi-operation %}

docs/api-references/video-models/alibaba-cloud/wan-2.2-plus-text-to-video.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,15 @@ Below, you can find two corresponding API schemas and examples for both endpoint
3737

3838
## API Schemas
3939

40+
{% hint style="success" %}
41+
Now, all of our API schemas for video models use our new universal short URL — `https://api.aimlapi.com/v2/video/generations`. \
42+
However, you can still call this model using the legacy URL that includes the vendor name.
43+
{% endhint %}
44+
4045
### Video Generation
4146

4247
This endpoint creates and sends a video generation task to the server — and returns a generation ID.
4348

44-
{% hint style="success" %}
45-
To quickly test video models from different developers without changing endpoints, use our new universal short one — **`https://api.aimlapi.com/v2/video/generations`.**
46-
{% endhint %}
47-
4849
{% openapi-operation spec="wan2-2-t2v-plus" path="/v2/video/generations" method="post" %}
4950
[OpenAPI wan2-2-t2v-plus](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/Alibaba-Cloud/wan2.2-t2v-plus.json)
5051
{% endopenapi-operation %}

docs/api-references/video-models/alibaba-cloud/wan-2.5-preview-image-to-video.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,15 @@ Below, you can find two corresponding API schemas and examples for both endpoint
3737

3838
## API Schemas
3939

40+
{% hint style="success" %}
41+
Now, all of our API schemas for video models use our new universal short URL — `https://api.aimlapi.com/v2/video/generations`. \
42+
However, you can still call this model using the legacy URL that includes the vendor name.
43+
{% endhint %}
44+
4045
### Video Generation
4146

4247
This endpoint creates and sends a video generation task to the server — and returns a generation ID.
4348

44-
{% hint style="success" %}
45-
To quickly test video models from different developers without changing endpoints, use our new universal short one — **`https://api.aimlapi.com/v2/video/generations`.**
46-
{% endhint %}
47-
4849
{% openapi-operation spec="wan2-5-i2v-preview-2" path="/v2/video/generations" method="post" %}
4950
[OpenAPI wan2-5-i2v-preview-2](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/Alibaba-Cloud/wan2.5-i2v-preview.json)
5051
{% endopenapi-operation %}

docs/api-references/video-models/alibaba-cloud/wan-2.5-preview-text-to-video.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,16 @@ Below, you can find two corresponding API schemas and examples for both endpoint
3737

3838
## API Schemas
3939

40+
{% hint style="success" %}
41+
Now, all of our API schemas for video models use our new universal short URL — `https://api.aimlapi.com/v2/video/generations`. \
42+
However, you can still call this model using the legacy URL that includes the vendor name.
43+
{% endhint %}
44+
4045
### Video Generation
4146

4247
You can generate a video using this API. In the basic setup, you only need a prompt.\
4348
This endpoint creates and sends a video generation task to the server — and returns a generation ID.
4449

45-
{% hint style="success" %}
46-
To quickly test video models from different developers without changing endpoints, use our new universal short one — **`https://api.aimlapi.com/v2/video/generations`.**
47-
{% endhint %}
48-
4950
{% openapi-operation spec="wan2-5-t2v-preview-2" path="/v2/video/generations" method="post" %}
5051
[OpenAPI wan2-5-t2v-preview-2](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/Alibaba-Cloud/wan2.5-t2v-preview.json)
5152
{% endopenapi-operation %}

0 commit comments

Comments
 (0)