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
Copy file name to clipboardExpand all lines: substrate/core/models.py
+4-4
Original file line number
Diff line number
Diff line change
@@ -977,7 +977,7 @@ class Config:
977
977
"""
978
978
fps: Annotated[int, Field(ge=1)] =7
979
979
"""
980
-
Frames per second of the generated video.
980
+
Frames per second of the generated video. Ignored if output format is `frames`.
981
981
"""
982
982
motion_bucket_id: int=180
983
983
"""
@@ -1021,11 +1021,11 @@ class Config:
1021
1021
"""
1022
1022
fps: Annotated[int, Field(ge=1)] =7
1023
1023
"""
1024
-
Frames per second of the generated video.
1024
+
Frames per second of the generated video. Ignored if output format is `frames`.
1025
1025
"""
1026
-
num_rounds: Annotated[int, Field(ge=1)] =2
1026
+
num_steps: Annotated[int, Field(ge=1)] =2
1027
1027
"""
1028
-
Number of rounds of interpolation. Each round interpolates between all adjacent frames. This also includes the interpolated frames from the previous round.
1028
+
Number of interpolation steps. Each step adds an interpolated frame between adjacent frames. For example, 2 steps over 2 frames produces 5 frames.
Copy file name to clipboardExpand all lines: substrate/future_dataclass_models.py
+4-4
Original file line number
Diff line number
Diff line change
@@ -1239,7 +1239,7 @@ class FutureStableVideoDiffusionIn:
1239
1239
fps: int=7
1240
1240
"""
1241
1241
(Future reference)
1242
-
Frames per second of the generated video.
1242
+
Frames per second of the generated video. Ignored if output format is `frames`.
1243
1243
"""
1244
1244
motion_bucket_id: int=180
1245
1245
"""
@@ -1295,12 +1295,12 @@ class FutureInterpolateFramesIn:
1295
1295
fps: int=7
1296
1296
"""
1297
1297
(Future reference)
1298
-
Frames per second of the generated video.
1298
+
Frames per second of the generated video. Ignored if output format is `frames`.
1299
1299
"""
1300
-
num_rounds: int=2
1300
+
num_steps: int=2
1301
1301
"""
1302
1302
(Future reference)
1303
-
Number of rounds of interpolation. Each round interpolates between all adjacent frames. This also includes the interpolated frames from the previous round.
1303
+
Number of interpolation steps. Each step adds an interpolated frame between adjacent frames. For example, 2 steps over 2 frames produces 5 frames.
Copy file name to clipboardExpand all lines: substrate/nodes.py
+5-5
Original file line number
Diff line number
Diff line change
@@ -969,7 +969,7 @@ def __init__(
969
969
store: Use "hosted" to return a video URL hosted on Substrate. You can also provide a URL to a registered [file store](https://docs.substrate.run/reference/external-files). If unset, the video data will be returned as a base64-encoded string.
970
970
output_format: Output video format.
971
971
seed: Seed for deterministic generation. Default is a random seed.
972
-
fps: Frames per second of the generated video.
972
+
fps: Frames per second of the generated video. Ignored if output format is `frames`.
973
973
motion_bucket_id: The motion bucket id to use for the generated video. This can be used to control the motion of the generated video. Increasing the motion bucket id increases the motion of the generated video.
974
974
noise: The amount of noise added to the conditioning image. The higher the values the less the video resembles the conditioning image. Increasing this value also increases the motion of the generated video.
store: Use "hosted" to return a video URL hosted on Substrate. You can also provide a URL to a registered [file store](https://docs.substrate.run/reference/external-files). If unset, the video data will be returned as a base64-encoded string.
1019
1019
output_format: Output video format.
1020
-
fps: Frames per second of the generated video.
1021
-
num_rounds: Number of rounds of interpolation. Each round interpolates between all adjacent frames. This also includes the interpolated frames from the previous round.
1020
+
fps: Frames per second of the generated video. Ignored if output format is `frames`.
1021
+
num_steps: Number of interpolation steps. Each step adds an interpolated frame between adjacent frames. For example, 2 steps over 2 frames produces 5 frames.
Copy file name to clipboardExpand all lines: substrate/typeddict_models.py
+4-4
Original file line number
Diff line number
Diff line change
@@ -832,7 +832,7 @@ class StableVideoDiffusionIn(TypedDict):
832
832
"""
833
833
fps: NotRequired[int]
834
834
"""
835
-
Frames per second of the generated video.
835
+
Frames per second of the generated video. Ignored if output format is `frames`.
836
836
"""
837
837
motion_bucket_id: NotRequired[int]
838
838
"""
@@ -870,11 +870,11 @@ class InterpolateFramesIn(TypedDict):
870
870
"""
871
871
fps: NotRequired[int]
872
872
"""
873
-
Frames per second of the generated video.
873
+
Frames per second of the generated video. Ignored if output format is `frames`.
874
874
"""
875
-
num_rounds: NotRequired[int]
875
+
num_steps: NotRequired[int]
876
876
"""
877
-
Number of rounds of interpolation. Each round interpolates between all adjacent frames. This also includes the interpolated frames from the previous round.
877
+
Number of interpolation steps. Each step adds an interpolated frame between adjacent frames. For example, 2 steps over 2 frames produces 5 frames.
0 commit comments