Skip to content

Commit 41d2172

Browse files
techpro-aimlapigitbook-bot
authored andcommitted
GITBOOK-736: docs: fix small issues with statuses and more
1 parent 1c6fe5c commit 41d2172

87 files changed

Lines changed: 260 additions & 261 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
87.6 KB
Loading

docs/.gitbook/assets/t rex (2).png

1.12 MB
Loading

docs/api-references/video-models/Kling-AI/v1-pro-image-to-video.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ The aspect ratio of the generated video is solely determined by the aspect ratio
5454

5555
### Retrieve the generated video from the server
5656

57-
After sending a request for video generation, this task is added to the queue. Based on the service's load, the generation can be completed in seconds or take a bit more.
57+
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.\
58+
If the video generation task status is `completed`, the response will include the final result — with the generated video URL and additional metadata.
5859

5960
{% openapi-operation spec="universal-video-endpoint-fetch" path="/v2/video/generations" method="get" %}
60-
[OpenAPI universal-video-endpoint-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/ByteDance/omnihuman-pair.json)
61+
[OpenAPI universal-video-endpoint-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/universal-video-fetch.json)
6162
{% endopenapi-operation %}

docs/api-references/video-models/Kling-AI/v1-pro-text-to-video.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ However, you can still call this model using the legacy URL that includes the ve
5050

5151
### Retrieve the generated video from the server
5252

53-
After sending a request for video generation, this task is added to the queue. Based on the service's load, the generation can be completed in seconds or take a bit more.
53+
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.\
54+
If the video generation task status is `completed`, the response will include the final result — with the generated video URL and additional metadata.
5455

5556
{% openapi-operation spec="universal-video-endpoint-fetch" path="/v2/video/generations" method="get" %}
56-
[OpenAPI universal-video-endpoint-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/ByteDance/omnihuman-pair.json)
57+
[OpenAPI universal-video-endpoint-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/universal-video-fetch.json)
5758
{% endopenapi-operation %}

docs/api-references/video-models/Kling-AI/v1-standard-image-to-video.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,11 @@ However, you can still call this model using the legacy URL that includes the ve
5050

5151
### Retrieve the generated video from the server
5252

53-
After sending a request for video generation, this task is added to the queue. Based on the service's load, the generation can be completed in seconds or take a bit more.
53+
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.\
54+
If the video generation task status is `completed`, the response will include the final result — with the generated video URL and additional metadata.
5455

5556
{% openapi-operation spec="universal-video-endpoint-fetch" path="/v2/video/generations" method="get" %}
56-
[OpenAPI universal-video-endpoint-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/ByteDance/omnihuman-pair.json)
57+
[OpenAPI universal-video-endpoint-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/universal-video-fetch.json)
5758
{% endopenapi-operation %}
5859

5960
## Full Example: Generating and Retrieving the Video From the Server

docs/api-references/video-models/Kling-AI/v1-standard-text-to-video.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,13 @@ However, you can still call this model using the legacy URL that includes the ve
5050

5151
### Retrieve the generated video from the server
5252

53-
After sending a request for video generation, this task is added to the queue. Based on the service's load, the generation can be completed in seconds or take a bit more.
53+
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.\
54+
If the video generation task status is `completed`, the response will include the final result — with the generated video URL and additional metadata.
5455

55-
{% openapi src="../../../.gitbook/assets/v1.6-pro-effects-pair.json" path="/v2/generate/video/kling/generation" method="get" %}
56-
[v1.6-pro-effects-pair.json](../../../.gitbook/assets/v1.6-pro-effects-pair.json)
57-
{% endopenapi %}
56+
{% openapi-operation spec="universal-video-endpoint-fetch" path="/v2/video/generations" method="get" %}
57+
[OpenAPI universal-video-endpoint-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/universal-video-fetch.json)
58+
{% endopenapi-operation %}
59+
60+
{% openapi-operation spec="universal-video-endpoint-fetch" path="/v2/video/generations" method="get" %}
61+
[OpenAPI universal-video-endpoint-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/universal-video-fetch.json)
62+
{% endopenapi-operation %}

docs/api-references/video-models/Kling-AI/v1.6-pro-image-to-video.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ The aspect ratio of the generated video is solely determined by the aspect ratio
5454

5555
### Retrieve the generated video from the server
5656

57-
After sending a request for video generation, this task is added to the queue. Based on the service's load, the generation can be completed in seconds or take a bit more.
57+
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.\
58+
If the video generation task status is `completed`, the response will include the final result — with the generated video URL and additional metadata.
5859

5960
{% openapi-operation spec="universal-video-endpoint-fetch" path="/v2/video/generations" method="get" %}
60-
[OpenAPI universal-video-endpoint-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/ByteDance/omnihuman-pair.json)
61+
[OpenAPI universal-video-endpoint-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/universal-video-fetch.json)
6162
{% endopenapi-operation %}

docs/api-references/video-models/Kling-AI/v1.6-standard-text-to-video.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ However, you can still call this model using the legacy URL that includes the ve
5050

5151
### Retrieve the generated video from the server
5252

53-
After sending a request for video generation, this task is added to the queue. Based on the service's load, the generation can be completed in seconds or take a bit more.
53+
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.\
54+
If the video generation task status is `completed`, the response will include the final result — with the generated video URL and additional metadata.
5455

5556
{% openapi-operation spec="universal-video-endpoint-fetch" path="/v2/video/generations" method="get" %}
56-
[OpenAPI universal-video-endpoint-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/ByteDance/omnihuman-pair.json)
57+
[OpenAPI universal-video-endpoint-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/universal-video-fetch.json)
5758
{% endopenapi-operation %}

docs/api-references/video-models/Kling-AI/v1.6-standart-image-to-video.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ The aspect ratio of the generated video is solely determined by the aspect ratio
5454

5555
### Retrieve the generated video from the server
5656

57-
After sending a request for video generation, this task is added to the queue. Based on the service's load, the generation can be completed in seconds or take a bit more.
57+
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.\
58+
If the video generation task status is `completed`, the response will include the final result — with the generated video URL and additional metadata.
5859

5960
{% openapi-operation spec="universal-video-endpoint-fetch" path="/v2/video/generations" method="get" %}
60-
[OpenAPI universal-video-endpoint-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/ByteDance/omnihuman-pair.json)
61+
[OpenAPI universal-video-endpoint-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/universal-video-fetch.json)
6162
{% endopenapi-operation %}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ This endpoint creates and sends a video generation task to the server — and re
5353
### Fetch the video
5454

5555
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.\
56-
If the video generation task status is `complete`, the response will include the final result — with the generated video URL and additional metadata.
56+
If the video generation task status is `completed`, the response will include the final result — with the generated video URL and additional metadata.
5757

58-
{% openapi-operation spec="alibaba-fetch" path="/v2/generate/video/alibaba/generation" method="get" %}
59-
[OpenAPI alibaba-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/Alibaba-Cloud/wan2.1-t2v-turbo-pair.json)
58+
{% openapi-operation spec="universal-video-endpoint-fetch" path="/v2/video/generations" method="get" %}
59+
[OpenAPI universal-video-endpoint-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/universal-video-fetch.json)
6060
{% endopenapi-operation %}
6161

6262
## Full Example: Generating and Retrieving the Video From the Server

0 commit comments

Comments
 (0)