Skip to content

Commit 98db4c0

Browse files
Dmitry Tumanovgitbook-bot
authored andcommitted
GITBOOK-700: docs: fix seedance api schemas
1 parent 6941370 commit 98db4c0

7 files changed

Lines changed: 356 additions & 33 deletions

File tree

docs/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@
275275
* [video-v2.6-pro-image-to-video](api-references/video-models/kling-ai/video-v2.6-pro-image-to-video.md)
276276
* [video-o1-image-to-video](api-references/video-models/kling-ai/video-o1-image-to-video.md)
277277
* [video-o1-video-to-video-edit](api-references/video-models/kling-ai/video-o1-video-to-video-edit.md)
278+
* [video-o1-video-to-video-reference](api-references/video-models/kling-ai/video-o1-video-to-video-reference.md)
278279
* [Krea](api-references/video-models/krea/README.md)
279280
* [krea-wan-14b/text-to-video](api-references/video-models/krea/krea-wan-14b-text-to-video.md)
280281
* [krea-wan-14b/video-to-video](api-references/video-models/krea/krea-wan-14b-video-to-video.md)

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,16 @@ Below, you can find both corresponding API schemas.
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
### Create a video generation task and send it to the server
4146

4247
You can generate a video using this API. In the basic setup, you only need a reference image and a prompt. 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-
48-
{% openapi-operation spec="seedance-1-0-lite-i2v" path="/v2/generate/video/bytedance/generation" method="post" %}
49+
{% openapi-operation spec="seedance-1-0-lite-i2v" path="/v2/video/generations" method="post" %}
4950
[OpenAPI seedance-1-0-lite-i2v](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/ByteDance/seedance-1.0-lite-image-to-video.json)
5051
{% endopenapi-operation %}
5152

@@ -54,8 +55,8 @@ To quickly test video models from different developers without changing endpoint
5455
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.\
5556
If the video generation task status is `complete`, the response will include the final result — with the generated video URL and additional metadata.
5657

57-
{% openapi-operation spec="bytedance-video-fetch" path="/v2/generate/video/bytedance/generation" method="get" %}
58-
[OpenAPI bytedance-video-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/ByteDance/seedance-1.0-lite-text-to-video-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/ByteDance/omnihuman-pair.json)
5960
{% endopenapi-operation %}
6061

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

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

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,17 @@ Below, you can find both corresponding API schemas.
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
### Create a video generation task and send it to the server
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-
49-
{% openapi-operation spec="seedance-1-0-lite-t2v" path="/v2/generate/video/bytedance/generation" method="post" %}
50+
{% openapi-operation spec="seedance-1-0-lite-t2v" path="/v2/video/generations" method="post" %}
5051
[OpenAPI seedance-1-0-lite-t2v](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/ByteDance/seedance-1.0-lite-text-to-video.json)
5152
{% endopenapi-operation %}
5253

@@ -55,8 +56,8 @@ To quickly test video models from different developers without changing endpoint
5556
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.\
5657
If the video generation task status is `complete`, the response will include the final result — with the generated video URL and additional metadata.
5758

58-
{% openapi-operation spec="bytedance-video-fetch" path="/v2/generate/video/bytedance/generation" method="get" %}
59-
[OpenAPI bytedance-video-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/ByteDance/seedance-1.0-lite-text-to-video-pair.json)
59+
{% 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)
6061
{% endopenapi-operation %}
6162

6263
## Full Example: Generating and Retrieving the Video From the Server
@@ -310,4 +311,4 @@ Processing complete:/n {'id': 'cgt-20250704191750-n4qjp', 'status': 'completed',
310311
311312
**Low-res GIF preview**:
312313
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>
314+
<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/bytedance/seedance-1.0-pro-image-to-video.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,16 @@ Below, you can find both corresponding API schemas.
5555

5656
## API Schemas
5757

58+
{% hint style="success" %}
59+
Now, all of our API schemas for video models use our new universal short URL — `https://api.aimlapi.com/v2/video/generations`. \
60+
However, you can still call this model using the legacy URL that includes the vendor name.
61+
{% endhint %}
62+
5863
### Create a video generation task and send it to the server
5964

6065
You can generate a video using this API. In the basic setup, you only need a reference image and a prompt. This endpoint creates and sends a video generation task to the server — and returns a generation ID.
6166

62-
{% hint style="success" %}
63-
To quickly test video models from different developers without changing endpoints, use our new universal short one — **`https://api.aimlapi.com/v2/video/generations`.**
64-
{% endhint %}
65-
66-
{% openapi-operation spec="seedance-1-0-pro-image-to-video-v3" path="/v2/generate/video/bytedance/generation" method="post" %}
67+
{% openapi-operation spec="seedance-1-0-pro-image-to-video-v3" path="/v2/video/generations" method="post" %}
6768
[OpenAPI seedance-1-0-pro-image-to-video-v3](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/ByteDance/seedance-1.0-pro-image-to-video.json)
6869
{% endopenapi-operation %}
6970

@@ -72,8 +73,8 @@ To quickly test video models from different developers without changing endpoint
7273
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.\
7374
If the video generation task status is `complete`, the response will include the final result — with the generated video URL and additional metadata.
7475

75-
{% openapi-operation spec="bytedance-video-fetch" path="/v2/generate/video/bytedance/generation" method="get" %}
76-
[OpenAPI bytedance-video-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/ByteDance/seedance-1.0-lite-text-to-video-pair.json)
76+
{% openapi-operation spec="universal-video-endpoint-fetch" path="/v2/video/generations" method="get" %}
77+
[OpenAPI universal-video-endpoint-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/ByteDance/omnihuman-pair.json)
7778
{% endopenapi-operation %}
7879

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

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,17 @@ Below, you can find both corresponding API schemas.
5454

5555
## API Schemas
5656

57+
{% hint style="success" %}
58+
Now, all of our API schemas for video models use our new universal short URL — `https://api.aimlapi.com/v2/video/generations`. \
59+
However, you can still call this model using the legacy URL that includes the vendor name.
60+
{% endhint %}
61+
5762
### Create a video generation task and send it to the server
5863

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

62-
{% hint style="success" %}
63-
To quickly test video models from different developers without changing endpoints, use our new universal short one — **`https://api.aimlapi.com/v2/video/generations`.**
64-
{% endhint %}
65-
66-
{% openapi-operation spec="seedance-1-0-pro-text-to-video-after-repair" path="/v2/generate/video/bytedance/generation" method="post" %}
67+
{% openapi-operation spec="seedance-1-0-pro-text-to-video-after-repair" path="/v2/video/generations" method="post" %}
6768
[OpenAPI seedance-1-0-pro-text-to-video-after-repair](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/ByteDance/seedance-1.0-pro-text-to-video.json)
6869
{% endopenapi-operation %}
6970

@@ -72,8 +73,8 @@ To quickly test video models from different developers without changing endpoint
7273
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.\
7374
If the video generation task status is `complete`, the response will include the final result — with the generated video URL and additional metadata.
7475

75-
{% openapi-operation spec="bytedance-video-fetch" path="/v2/generate/video/bytedance/generation" method="get" %}
76-
[OpenAPI bytedance-video-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/ByteDance/seedance-1.0-lite-text-to-video-pair.json)
76+
{% openapi-operation spec="universal-video-endpoint-fetch" path="/v2/video/generations" method="get" %}
77+
[OpenAPI universal-video-endpoint-fetch](https://raw.githubusercontent.com/aimlapi/api-docs/refs/heads/main/docs/api-references/video-models/ByteDance/omnihuman-pair.json)
7778
{% endopenapi-operation %}
7879

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

0 commit comments

Comments
 (0)