You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 232b9af
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/api-references/video-models/alibaba-cloud/wan-2.1-plus-text-to-video.md
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,15 +26,38 @@ If you don’t have an API key for the AI/ML API yet, feel free to use our [Quic
26
26
27
27
<summary>Step-by-Step Instructions</summary>
28
28
29
-
Generating a video using this model involves sequentially calling two endpoints: 
29
+
Generating a video using this model involves sequentially calling two endpoints:
30
30
31
31
* The first one is for creating and sending a video generation task to the server (returns a generation ID).
32
-
* The second one is for requesting the generated video from the server using the generation ID received from the first endpoint. 
32
+
* The second one is for requesting the generated video from the server using the generation ID received from the first endpoint.
33
33
34
34
Below, you can find two corresponding API schemas and examples for both endpoint calls.
35
35
36
36
</details>
37
37
38
+
## API Schemas
39
+
40
+
### Video Generation
41
+
42
+
This endpoint creates and sends a video generation task to the server — and returns a generation ID.
43
+
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`.**
After sending a request for video generation, this task is added to the queue. This endpoint lets you check the status of a video generation task using its `id`, obtained from the endpoint described above.\
55
+
If the video generation task status is `complete`, the response will include the final result — with the generated video URL and additional metadata.
<div align="left"><figure><img src="../../../.gitbook/assets/wan-v2.1-t2v-plus-dragon-preview.gif" alt=""><figcaption><p><code>"A menacing evil dragon appears in a distance above the tallest mountain,</code> <br><code>then rushes toward the camera with its jaws open, revealing massive fangs. We see it's coming."</code></p></figcaption></figure></div>
369
-
370
-
## API Schemas
371
-
372
-
### Video Generation
373
-
374
-
This endpoint creates and sends a video generation task to the server — and returns a generation ID.
375
-
376
-
{% hint style="success" %}
377
-
To quickly test video models from different developers without changing endpoints, use our new universal short one — **`https://api.aimlapi.com/v2/video/generations`.**
After sending a request for video generation, this task is added to the queue. This endpoint lets you check the status of a video generation task using its `id`, obtained from the endpoint described above.\
387
-
If the video generation task status is `complete`, the response will include the final result — with the generated video URL and additional metadata.
<div align="left"><figure><img src="../../../.gitbook/assets/wan-v2.1-t2v-plus-dragon-preview.gif" alt=""><figcaption><p><code>"A menacing evil dragon appears in a distance above the tallest mountain,</code><br><code>then rushes toward the camera with its jaws open, revealing massive fangs. We see it's coming."</code></p></figcaption></figure></div>
Copy file name to clipboardExpand all lines: docs/api-references/video-models/alibaba-cloud/wan-2.1-turbo-text-to-video.md
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,15 +26,38 @@ If you don’t have an API key for the AI/ML API yet, feel free to use our [Quic
26
26
27
27
<summary>Step-by-Step Instructions</summary>
28
28
29
-
Generating a video using this model involves sequentially calling two endpoints: 
29
+
Generating a video using this model involves sequentially calling two endpoints:
30
30
31
31
* The first one is for creating and sending a video generation task to the server (returns a generation ID).
32
-
* The second one is for requesting the generated video from the server using the generation ID received from the first endpoint. 
32
+
* The second one is for requesting the generated video from the server using the generation ID received from the first endpoint.
33
33
34
34
Below, you can find two corresponding API schemas and examples for both endpoint calls.
35
35
36
36
</details>
37
37
38
+
## API Schemas
39
+
40
+
### Video Generation
41
+
42
+
This endpoint creates and sends a video generation task to the server — and returns a generation ID.
43
+
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`.**
After sending a request for video generation, this task is added to the queue. This endpoint lets you check the status of a video generation task using its `id`, obtained from the endpoint described above.\
55
+
If the video generation task status is `complete`, the response will include the final result — with the generated video URL and additional metadata.
<div align="left"><figure><img src="../../../.gitbook/assets/wan-v2.1-t2v-turbo-dragon-preview.gif" alt=""><figcaption><p><code>"A menacing evil dragon appears in a distance above the tallest mountain,</code> <br><code>then rushes toward the camera with its jaws open, revealing massive fangs. We see it's coming."</code></p></figcaption></figure></div>
294
-
295
-
## API Schemas
296
-
297
-
### Video Generation
298
-
299
-
This endpoint creates and sends a video generation task to the server — and returns a generation ID.
300
-
301
-
{% hint style="success" %}
302
-
To quickly test video models from different developers without changing endpoints, use our new universal short one — **`https://api.aimlapi.com/v2/video/generations`.**
After sending a request for video generation, this task is added to the queue. This endpoint lets you check the status of a video generation task using its `id`, obtained from the endpoint described above.\
312
-
If the video generation task status is `complete`, the response will include the final result — with the generated video URL and additional metadata.
<div align="left"><figure><img src="../../../.gitbook/assets/wan-v2.1-t2v-turbo-dragon-preview.gif" alt=""><figcaption><p><code>"A menacing evil dragon appears in a distance above the tallest mountain,</code><br><code>then rushes toward the camera with its jaws open, revealing massive fangs. We see it's coming."</code></p></figcaption></figure></div>
After sending a request for video generation, this task is added to the queue. This endpoint lets you check the status of a video generation task using its `id`, obtained from the endpoint described above.\
51
+
If the video generation task status is `complete`, the response will include the final result — with the generated video URL and additional metadata.
This endpoint creates and sends a video generation task to the server — and returns a generation ID.
283
-
284
-
### Fetch the video
285
-
286
-
After sending a request for video generation, this task is added to the queue. This endpoint lets you check the status of a video generation task using its `id`, obtained from the endpoint described above.\
287
-
If the video generation task status is `complete`, the response will include the final result — with the generated video URL and additional metadata.
After sending a request for video generation, this task is added to the queue. This endpoint lets you check the status of a video generation task using its `id`, obtained from the endpoint described above.\
51
+
If the video generation task status is `complete`, the response will include the final result — with the generated video URL and additional metadata.
After sending a request for video generation, this task is added to the queue. This endpoint lets you check the status of a video generation task using its `id`, obtained from the endpoint described above.\
293
-
If the video generation task status is `complete`, the response will include the final result — with the generated video URL and additional metadata.
Copy file name to clipboardExpand all lines: docs/api-references/video-models/alibaba-cloud/wan-2.2-plus-text-to-video.md
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,15 +26,38 @@ If you don’t have an API key for the AI/ML API yet, feel free to use our [Quic
26
26
27
27
<summary>Step-by-Step Instructions</summary>
28
28
29
-
Generating a video using this model involves sequentially calling two endpoints: 
29
+
Generating a video using this model involves sequentially calling two endpoints:
30
30
31
31
* The first one is for creating and sending a video generation task to the server (returns a generation ID).
32
-
* The second one is for requesting the generated video from the server using the generation ID received from the first endpoint. 
32
+
* The second one is for requesting the generated video from the server using the generation ID received from the first endpoint.
33
33
34
34
Below, you can find two corresponding API schemas and examples for both endpoint calls.
35
35
36
36
</details>
37
37
38
+
## API Schemas
39
+
40
+
### Video Generation
41
+
42
+
This endpoint creates and sends a video generation task to the server — and returns a generation ID.
43
+
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`.**
After sending a request for video generation, this task is added to the queue. This endpoint lets you check the status of a video generation task using its `id`, obtained from the endpoint described above.\
55
+
If the video generation task status is `complete`, the response will include the final result — with the generated video URL and additional metadata.
<div align="left"><figure><img src="../../../.gitbook/assets/wan-v2.2-t2v-plus-dragon-preview.gif" alt=""><figcaption><p><code>"A menacing evil dragon appears in a distance above the tallest mountain,</code> <br><code>then rushes toward the camera with its jaws open, revealing massive fangs. We see it's coming."</code></p></figcaption></figure></div>
355
-
356
-
## API Schemas
357
-
358
-
### Video Generation
359
-
360
-
This endpoint creates and sends a video generation task to the server — and returns a generation ID.
361
-
362
-
{% hint style="success" %}
363
-
To quickly test video models from different developers without changing endpoints, use our new universal short one — **`https://api.aimlapi.com/v2/video/generations`.**
After sending a request for video generation, this task is added to the queue. This endpoint lets you check the status of a video generation task using its `id`, obtained from the endpoint described above.\
373
-
If the video generation task status is `complete`, the response will include the final result — with the generated video URL and additional metadata.
<div align="left"><figure><img src="../../../.gitbook/assets/wan-v2.2-t2v-plus-dragon-preview.gif" alt=""><figcaption><p><code>"A menacing evil dragon appears in a distance above the tallest mountain,</code><br><code>then rushes toward the camera with its jaws open, revealing massive fangs. We see it's coming."</code></p></figcaption></figure></div>
0 commit comments