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 src/libs/Shotstack/Generated/Shotstack.Models.Asset.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ public bool TryPickTextToImage(
/// <summary>
/// **Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)<br/>
/// with `prompt`, a `model` that accepts a starting image, and that image in<br/>
/// `options.inputSrc` — for example `shotstack-itv-mini`.** This type continues to<br/>
/// `options.inputSrc` — for example `seedance-2.0-image-to-video`.** This type continues to<br/>
/// function and is internally rewritten to VideoAsset; no behaviour change for<br/>
/// existing integrations.<br/>
/// The ImageToVideoAsset lets you create a video from an image and a text prompt.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ public sealed partial class GenerationModel
{
/// <summary>
/// The identifier to set as the asset `model`. Carries no provider name, so routing can change without a public rename.<br/>
/// Example: seedance-2.0
/// Example: seedance-2.0-text-to-video
/// </summary>
/// <example>seedance-2.0</example>
/// <example>seedance-2.0-text-to-video</example>
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string Model { get; set; }
Expand Down Expand Up @@ -50,7 +50,7 @@ public sealed partial class GenerationModel
/// </summary>
/// <param name="model">
/// The identifier to set as the asset `model`. Carries no provider name, so routing can change without a public rename.<br/>
/// Example: seedance-2.0
/// Example: seedance-2.0-text-to-video
/// </param>
/// <param name="type">
/// The asset type this model generates.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Shotstack
/// <summary>
/// **Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)<br/>
/// with `prompt`, a `model` that accepts a starting image, and that image in<br/>
/// `options.inputSrc` — for example `shotstack-itv-mini`.** This type continues to<br/>
/// `options.inputSrc` — for example `seedance-2.0-image-to-video`.** This type continues to<br/>
/// function and is internally rewritten to VideoAsset; no behaviour change for<br/>
/// existing integrations.<br/>
/// The ImageToVideoAsset lets you create a video from an image and a text prompt.
Expand Down
10 changes: 5 additions & 5 deletions src/libs/Shotstack/Generated/Shotstack.Models.VideoAsset.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ public sealed partial class VideoAsset
public string? Prompt { get; set; }

/// <summary>
/// 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.<br/>
/// Example: seedance-2.0
/// The generation model to use when `prompt` is set (e.g. `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.<br/>
/// Example: seedance-2.0-text-to-video
/// </summary>
/// <example>seedance-2.0</example>
/// <example>seedance-2.0-text-to-video</example>
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
public string? Model { get; set; }

Expand Down Expand Up @@ -132,8 +132,8 @@ public sealed partial class VideoAsset
/// Example: Slowly zoom out and orbit left around the object.
/// </param>
/// <param name="model">
/// 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.<br/>
/// Example: seedance-2.0
/// The generation model to use when `prompt` is set (e.g. `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.<br/>
/// Example: seedance-2.0-text-to-video
/// </param>
/// <param name="options">
/// Model-specific generation settings. Valid keys and values depend on the chosen `model` and are defined by the model registry. Omitted options use the model's defaults. Unknown or invalid options are rejected.<br/>
Expand Down
10 changes: 5 additions & 5 deletions src/libs/Shotstack/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@
"schema": {
"type": "string"
},
"example": "seedance-2.0"
"example": "seedance-2.0-text-to-video"
}
]
},
Expand Down Expand Up @@ -1389,9 +1389,9 @@
"example": "Slowly zoom out and orbit left around the object."
},
"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.",
"description": "The generation model to use when `prompt` is set (e.g. `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 the chosen `model` and are defined by the model registry. Omitted options use the model's defaults. Unknown or invalid options are rejected.",
Expand Down Expand Up @@ -2191,7 +2191,7 @@
},
"ImageToVideoAsset": {
"deprecated": true,
"description": "**Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)\nwith `prompt`, a `model` that accepts a starting image, and that image in\n`options.inputSrc` \u2014 for example `shotstack-itv-mini`.** This type continues to\nfunction and is internally rewritten to VideoAsset; no behaviour change for\nexisting integrations.\n\nThe ImageToVideoAsset lets you create a video from an image and a text prompt.\n",
"description": "**Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)\nwith `prompt`, a `model` that accepts a starting image, and that image in\n`options.inputSrc` \u2014 for example `seedance-2.0-image-to-video`.** This type continues to\nfunction and is internally rewritten to VideoAsset; no behaviour change for\nexisting integrations.\n\nThe ImageToVideoAsset lets you create a video from an image and a text prompt.\n",
"properties": {
"type": {
"type": "string",
Expand Down Expand Up @@ -5843,7 +5843,7 @@
"model": {
"description": "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.",
Expand Down