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
<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, thenrushes 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>
Copy file name to clipboardExpand all lines: docs/api-references/video-models/krea/krea-wan-14b-text-to-video.md
+25-27Lines changed: 25 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff 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
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 both corresponding API schemas.
35
35
36
36
</details>
37
37
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.
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.
### 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.
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.
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.
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.
0 commit comments