Skip to content

Commit a62230c

Browse files
techpro-aimlapigitbook-bot
authored andcommitted
GITBOOK-521: docs: deprecate old models and o1-mini
1 parent 9b5b2b8 commit a62230c

8 files changed

Lines changed: 53 additions & 180 deletions

File tree

docs/SUMMARY.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@
101101
* [gpt-4o-search-preview](api-references/text-models-llm/openai/gpt-4o-search-preview.md)
102102
* [gpt-4o-mini-search-preview](api-references/text-models-llm/openai/gpt-4o-mini-search-preview.md)
103103
* [o1](api-references/text-models-llm/OpenAI/o1.md)
104-
* [o1-mini](api-references/text-models-llm/OpenAI/o1-mini.md)
105104
* [o3](api-references/text-models-llm/openai/o3.md)
106105
* [o3-mini](api-references/text-models-llm/OpenAI/o3-mini.md)
107106
* [o3-pro](api-references/text-models-llm/openai/o3-pro.md)

docs/api-references/model-database.md

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

docs/api-references/text-models-llm/OpenAI/o1-mini.md

Lines changed: 0 additions & 125 deletions
This file was deleted.

docs/api-references/text-models-llm/README.md

Lines changed: 3 additions & 1 deletion
Large diffs are not rendered by default.

docs/api-references/video-models/bytedance/seedance-1.0-lite-image-to-video.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ def get_video(gen_id):
116116
return response.json()
117117

118118

119-
120119
def main():
121120
# Running video generation and getting a task id
122121
gen_response = generate_video()

docs/api-references/video-models/bytedance/seedance-1.0-lite-text-to-video.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,4 +310,4 @@ Processing complete:/n {'id': 'cgt-20250704191750-n4qjp', 'status': 'completed',
310310
311311
**Low-res GIF preview**:
312312
313-
<div align="left"><figure><img src="../../../.gitbook/assets/seedance_t2v_preview.gif" alt=""><figcaption><p><code>"A menacing evil dragon appears in a distance above the tallest mountain, then rushes toward the camera with its jaws open, revealing massive fangs. We see it's coming."</code></p></figcaption></figure></div>
313+
<div align="left"><figure><img src="../../../.gitbook/assets/seedance_t2v_preview.gif" alt=""><figcaption><p><code>"A menacing evil dragon appears in a distance above the tallest mountain, then</code> <br><code>rushes toward the camera with its jaws open, revealing massive fangs. We see it's coming."</code></p></figcaption></figure></div>

docs/api-references/video-models/krea/krea-wan-14b-text-to-video.md

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,37 @@ If you don’t have an API key for the AI/ML API yet, feel free to use our [Quic
2626

2727
<summary>Step-by-Step Instructions</summary>
2828

29-
Generating a video using this model involves sequentially calling two endpoints:&#x20;
29+
Generating a video using this model involves sequentially calling two endpoints:
3030

3131
* 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.&#x20;
32+
* The second one is for requesting the generated video from the server using the generation ID received from the first endpoint.
3333

3434
Below, you can find both corresponding API schemas.
3535

3636
</details>
3737

38+
## API Schemas
39+
40+
### Create a video generation task and send it to the server
41+
42+
You can generate a video using this API. In the basic setup, you only need a prompt.\
43+
This endpoint creates and sends a video generation task to the server — and returns a generation ID.
44+
45+
Note that in this model, the video duration is defined by the number of frames, not seconds. You can calculate the duration in seconds based on the frame rate of 16 frames per second.
46+
47+
{% openapi-operation spec="krea-wan-14b-text-to-video" path="/v2/video/generations" method="post" %}
48+
[OpenAPI krea-wan-14b-text-to-video](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/Krea/krea-wan-14b-text-to-video.json)
49+
{% endopenapi-operation %}
50+
51+
### Retrieve the generated video from the server
52+
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 `generation_id`, obtained from the endpoint described above.\
54+
If the video generation task status is `complete`, the response will include the final result — with the generated video URL and additional metadata.
55+
56+
{% openapi-operation spec="fetch-video-universal-endpoint" path="/v2/video/generations" method="get" %}
57+
[OpenAPI fetch-video-universal-endpoint](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/Sber-AI/kandinsky5-t2v-pair.json)
58+
{% endopenapi-operation %}
59+
3860
## Full Example: Generating and Retrieving the Video From the Server
3961

4062
The code below creates a video generation task, then automatically polls the server every **10** seconds until it finally receives the video URL.
@@ -273,32 +295,8 @@ Processing complete:/n {'id': '67b69e0c-922f-4eae-9b90-8c4605131d3b:krea/krea-wa
273295

274296
</details>
275297

276-
**Processing time**: 11.6 sec.
298+
**Processing time**: 11.6 sec.
277299

278300
**Generated Video** (832x480, without sound):
279301

280302
{% embed url="https://drive.google.com/file/d/1lgAtCN0R_QTHStjbU4jFmggeFRd0PK-A/view" %}
281-
282-
## API Schemas
283-
284-
### Create a video generation task and send it to the server
285-
286-
You can generate a video using this API. In the basic setup, you only need a prompt. \
287-
This endpoint creates and sends a video generation task to the server — and returns a generation ID.
288-
289-
Note that in this model, the video duration is defined by the number of frames, not seconds. You can calculate the duration in seconds based on the frame rate of 16 frames per second.
290-
291-
292-
293-
{% openapi-operation spec="krea-wan-14b-text-to-video" path="/v2/video/generations" method="post" %}
294-
[OpenAPI krea-wan-14b-text-to-video](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/Krea/krea-wan-14b-text-to-video.json)
295-
{% endopenapi-operation %}
296-
297-
### Retrieve the generated video from the server
298-
299-
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 `generation_id`, obtained from the endpoint described above.\
300-
If the video generation task status is `complete`, the response will include the final result — with the generated video URL and additional metadata.
301-
302-
{% openapi-operation spec="fetch-video-universal-endpoint" path="/v2/video/generations" method="get" %}
303-
[OpenAPI fetch-video-universal-endpoint](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/Sber-AI/kandinsky5-t2v-pair.json)
304-
{% endopenapi-operation %}

docs/api-references/video-models/krea/krea-wan-14b-video-to-video.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,35 @@ If you don’t have an API key for the AI/ML API yet, feel free to use our [Quic
2626

2727
<summary>Step-by-Step Instructions</summary>
2828

29-
Generating a video using this model involves sequentially calling two endpoints:&#x20;
29+
Generating a video using this model involves sequentially calling two endpoints:
3030

3131
* 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.&#x20;
32+
* The second one is for requesting the generated video from the server using the generation ID received from the first endpoint.
3333

3434
Below, you can find both corresponding API schemas.
3535

3636
</details>
3737

38+
## API Schemas
39+
40+
### Create a video generation task and send it to the server
41+
42+
You can generate a video using this API. In the basic setup, you only need a prompt.\
43+
This endpoint creates and sends a video generation task to the server — and returns a generation ID.
44+
45+
{% openapi-operation spec="krea-wan-14b-video-to-video" path="/v2/video/generations" method="post" %}
46+
[OpenAPI krea-wan-14b-video-to-video](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/Krea/krea-wan-14b-video-to-video.json)
47+
{% endopenapi-operation %}
48+
49+
### Retrieve the generated video from the server
50+
51+
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 `generation_id`, obtained from the endpoint described above.\
52+
If the video generation task status is `complete`, the response will include the final result — with the generated video URL and additional metadata.
53+
54+
{% openapi-operation spec="fetch-video-universal-endpoint" path="/v2/video/generations" method="get" %}
55+
[OpenAPI fetch-video-universal-endpoint](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/Sber-AI/kandinsky5-t2v-pair.json)
56+
{% endopenapi-operation %}
57+
3858
## Full Example: Generating and Retrieving the Video From the Server
3959

4060
The code below creates a video generation task, then automatically polls the server every **10** seconds until it finally receives the video URL.
@@ -282,23 +302,3 @@ Processing complete:/n {'id': '3637be63-2db8-4ecc-bc0f-00afbdf10a55:krea/krea-wa
282302
**Generated Video** (832x480, without sound):
283303

284304
{% embed url="https://drive.google.com/file/d/1Npu3ROPtLTf2CY07jRwZMCNGunxaBEAU/view?usp=sharing" %}
285-
286-
## API Schemas
287-
288-
### Create a video generation task and send it to the server
289-
290-
You can generate a video using this API. In the basic setup, you only need a prompt. \
291-
This endpoint creates and sends a video generation task to the server — and returns a generation ID.
292-
293-
{% openapi-operation spec="krea-wan-14b-video-to-video" path="/v2/video/generations" method="post" %}
294-
[OpenAPI krea-wan-14b-video-to-video](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/Krea/krea-wan-14b-video-to-video.json)
295-
{% endopenapi-operation %}
296-
297-
### Retrieve the generated video from the server
298-
299-
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 `generation_id`, obtained from the endpoint described above.\
300-
If the video generation task status is `complete`, the response will include the final result — with the generated video URL and additional metadata.
301-
302-
{% openapi-operation spec="fetch-video-universal-endpoint" path="/v2/video/generations" method="get" %}
303-
[OpenAPI fetch-video-universal-endpoint](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/Sber-AI/kandinsky5-t2v-pair.json)
304-
{% endopenapi-operation %}

0 commit comments

Comments
 (0)