Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion paths/modelsid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
description: The model identifier, as returned by the list endpoint.
schema:
type: string
example: seedance-2.0
example: seedance-2.0-text-to-video
2 changes: 1 addition & 1 deletion schemas/generationmodel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
The identifier to set as the asset `model`. Carries no provider name, so
routing can change without a public rename.
type: string
example: seedance-2.0
example: seedance-2.0-text-to-video
type:
description: The asset type this model generates.
type: string
Expand Down
2 changes: 1 addition & 1 deletion schemas/imagetovideoasset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ImageToVideoAsset:
description: |
**Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)
with `prompt`, a `model` that accepts a starting image, and that image in
`options.inputSrc` — for example `shotstack-itv-mini`.** This type continues to
`options.inputSrc` — for example `seedance-2.0-image-to-video`.** This type continues to
function and is internally rewritten to VideoAsset; no behaviour change for
existing integrations.

Expand Down
8 changes: 4 additions & 4 deletions schemas/videoasset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
model:
description: >-
The generation model to use when `prompt` is set (e.g.
`shotstack-itv-mini`, `ray-flash-2`, `seedance-2.0`). Defaults to
`seedance-2.0` if omitted. Each model's available options are
defined by the model registry.
`seedance-2.0-text-to-video`). Defaults to
`seedance-2.0-text-to-video` if omitted. `GET /models` lists what is
available and the options each accepts.
type: string
example: seedance-2.0
example: seedance-2.0-text-to-video
options:
description: >-
Model-specific generation settings. Valid keys and values depend on
Expand Down
4 changes: 2 additions & 2 deletions tests/smoke.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,10 @@ async function run() {
const result = zodCjs.videoAssetSchema.parse({
type: "video",
prompt: "Camera pans right",
model: "seedance-2.0",
model: "seedance-2.0-text-to-video",
options: { resolution: "720p", aspectRatio: "16:9" },
});
assert.strictEqual(result.model, "seedance-2.0");
assert.strictEqual(result.model, "seedance-2.0-text-to-video");
});

check("REJECT videoAsset with removed `seed` field (generation inputs live in options)", () => {
Expand Down
Loading