From 5e1d729db21ded991259b3e56dcbe2c0753c5c0c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 15 Oct 2026 03:53:01 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...ient.AiTalkingPhotoCreateTalkingPhoto.g.cs | 8 +- ...ideoProjectsClient.AiUgcAdCreateVideo.g.cs | 72 + ...rojectsClient.ImageToVideoCreateVideo.g.cs | 4 + ...ProjectsClient.TextToVideoCreateVideo.g.cs | 16 +- ...toCreateTalkingPhotoRequestResolution.g.cs | 53 + ...TalkingPhotoRequestResolutionNullable.g.cs | 60 + ...erters.AiUgcAdCreateVideoRequestModel.g.cs | 53 + ...iUgcAdCreateVideoRequestModelNullable.g.cs | 60 + ...s.AiUgcAdCreateVideoRequestResolution.g.cs | 53 + ...dCreateVideoRequestResolutionNullable.g.cs | 60 + ...erters.AiUgcAdCreateVideoResponseCode.g.cs | 53 + ...rters.AiUgcAdCreateVideoResponseCode2.g.cs | 53 + ...UgcAdCreateVideoResponseCode2Nullable.g.cs | 60 + ...rters.AiUgcAdCreateVideoResponseCode3.g.cs | 53 + ...UgcAdCreateVideoResponseCode3Nullable.g.cs | 60 + ...rters.AiUgcAdCreateVideoResponseCode4.g.cs | 53 + ...UgcAdCreateVideoResponseCode4Nullable.g.cs | 60 + ...rters.AiUgcAdCreateVideoResponseCode5.g.cs | 53 + ...UgcAdCreateVideoResponseCode5Nullable.g.cs | 60 + ...rters.AiUgcAdCreateVideoResponseCode6.g.cs | 53 + ...UgcAdCreateVideoResponseCode6Nullable.g.cs | 60 + ...iUgcAdCreateVideoResponseCodeNullable.g.cs | 60 + .../MagicHour.JsonSerializerContext.g.cs | 177 ++- .../MagicHour.JsonSerializerContextTypes.g.cs | 1342 +++++++++-------- ...TalkingPhotoCreateTalkingPhotoRequest.g.cs | 21 +- ...toCreateTalkingPhotoRequestResolution.g.cs | 52 + ...Models.AiUgcAdCreateVideoRequest.Json.g.cs | 141 ++ ...Hour.Models.AiUgcAdCreateVideoRequest.g.cs | 115 ++ ....AiUgcAdCreateVideoRequestAssets.Json.g.cs | 141 ++ ...odels.AiUgcAdCreateVideoRequestAssets.g.cs | 56 + ...Models.AiUgcAdCreateVideoRequestModel.g.cs | 57 + ...s.AiUgcAdCreateVideoRequestResolution.g.cs | 57 + ...odels.AiUgcAdCreateVideoResponse.Json.g.cs | 141 ++ ...our.Models.AiUgcAdCreateVideoResponse.g.cs | 67 + ...dels.AiUgcAdCreateVideoResponse2.Json.g.cs | 141 ++ ...ur.Models.AiUgcAdCreateVideoResponse2.g.cs | 61 + ...dels.AiUgcAdCreateVideoResponse3.Json.g.cs | 141 ++ ...ur.Models.AiUgcAdCreateVideoResponse3.g.cs | 61 + ...dels.AiUgcAdCreateVideoResponse4.Json.g.cs | 141 ++ ...ur.Models.AiUgcAdCreateVideoResponse4.g.cs | 66 + ...dels.AiUgcAdCreateVideoResponse5.Json.g.cs | 141 ++ ...ur.Models.AiUgcAdCreateVideoResponse5.g.cs | 61 + ...dels.AiUgcAdCreateVideoResponse6.Json.g.cs | 141 ++ ...ur.Models.AiUgcAdCreateVideoResponse6.g.cs | 61 + ...dels.AiUgcAdCreateVideoResponse7.Json.g.cs | 141 ++ ...ur.Models.AiUgcAdCreateVideoResponse7.g.cs | 61 + ...Models.AiUgcAdCreateVideoResponseCode.g.cs | 46 + ...odels.AiUgcAdCreateVideoResponseCode2.g.cs | 46 + ...odels.AiUgcAdCreateVideoResponseCode3.g.cs | 60 + ...odels.AiUgcAdCreateVideoResponseCode4.g.cs | 46 + ...odels.AiUgcAdCreateVideoResponseCode5.g.cs | 46 + ...odels.AiUgcAdCreateVideoResponseCode6.g.cs | 46 + ...Models.ImageToVideoCreateVideoRequest.g.cs | 8 + ....ImageToVideoCreateVideoRequestAssets.g.cs | 2 + ...s.ImageToVideoCreateVideoRequestModel.g.cs | 7 + ...geToVideoCreateVideoRequestResolution.g.cs | 1 + ....Models.TextToVideoCreateVideoRequest.g.cs | 18 +- ...tToVideoCreateVideoRequestAspectRatio.g.cs | 3 +- ...ls.TextToVideoCreateVideoRequestModel.g.cs | 7 + ...xtToVideoCreateVideoRequestResolution.g.cs | 1 + ...ient.AiTalkingPhotoCreateTalkingPhoto.g.cs | 10 +- ...ideoProjectsClient.AiUgcAdCreateVideo.g.cs | 712 +++++++++ ...rojectsClient.ImageToVideoCreateVideo.g.cs | 4 + ...ProjectsClient.TextToVideoCreateVideo.g.cs | 16 +- .../Generated/autosdk.generated-examples.json | 2 +- src/libs/MagicHour/openapi.yaml | 247 ++- 66 files changed, 5318 insertions(+), 711 deletions(-) create mode 100644 src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.AiUgcAdCreateVideo.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiTalkingPhotoCreateTalkingPhotoRequestResolution.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiTalkingPhotoCreateTalkingPhotoRequestResolutionNullable.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoRequestModel.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoRequestModelNullable.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoRequestResolution.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoRequestResolutionNullable.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode2.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode2Nullable.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode3.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode3Nullable.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode4.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode4Nullable.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode5.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode5Nullable.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode6.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode6Nullable.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCodeNullable.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiTalkingPhotoCreateTalkingPhotoRequestResolution.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequest.Json.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequest.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequestAssets.Json.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequestAssets.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequestModel.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequestResolution.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse.Json.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse2.Json.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse2.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse3.Json.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse3.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse4.Json.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse4.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse5.Json.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse5.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse6.Json.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse6.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse7.Json.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse7.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode2.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode3.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode4.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode5.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode6.g.cs create mode 100644 src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiUgcAdCreateVideo.g.cs diff --git a/src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.AiTalkingPhotoCreateTalkingPhoto.g.cs b/src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.AiTalkingPhotoCreateTalkingPhoto.g.cs index ff7af48..ce45118 100644 --- a/src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.AiTalkingPhotoCreateTalkingPhoto.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.AiTalkingPhotoCreateTalkingPhoto.g.cs @@ -99,9 +99,9 @@ public partial interface IVideoProjectsClient /// /// Attributes used to dictate the style of the output /// - /// - /// Constrains the larger dimension (height or width) of the output video. Allows you to set a lower resolution than your plan's maximum if desired. The value is capped by your plan's max resolution.
- /// Example: 512 + /// + /// Output preset. Overrides `max_resolution`. Defaults to 480p in prompted mode; realistic mode uses the mapped plan maximum.
+ /// Example: 480p /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -112,7 +112,7 @@ public partial interface IVideoProjectsClient global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestAssets assets, string? name = default, global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestStyle? style = default, - int? maxResolution = default, + global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolution? resolution = default, global::MagicHour.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.AiUgcAdCreateVideo.g.cs b/src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.AiUgcAdCreateVideo.g.cs new file mode 100644 index 0000000..9ccfebf --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.AiUgcAdCreateVideo.g.cs @@ -0,0 +1,72 @@ +#nullable enable + +namespace MagicHour +{ + public partial interface IVideoProjectsClient + { + /// + /// AI UGC Ad Generator
+ /// Create a spoken UGC video from a prepared image and script. Returns a project ID; poll GET /v1/video-projects/{id} for status and downloads. To compose an image, generate the image separately with the Image Editor API and supply its download URL. + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AiUgcAdCreateVideoAsync( + + global::MagicHour.AiUgcAdCreateVideoRequest request, + global::MagicHour.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// AI UGC Ad Generator
+ /// Create a spoken UGC video from a prepared image and script. Returns a project ID; poll GET /v1/video-projects/{id} for status and downloads. To compose an image, generate the image separately with the Image Editor API and supply its download URL. + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> AiUgcAdCreateVideoAsResponseAsync( + + global::MagicHour.AiUgcAdCreateVideoRequest request, + global::MagicHour.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// AI UGC Ad Generator
+ /// Create a spoken UGC video from a prepared image and script. Returns a project ID; poll GET /v1/video-projects/{id} for status and downloads. To compose an image, generate the image separately with the Image Editor API and supply its download URL. + ///
+ /// + /// + /// The words the actor should speak. Character limits apply after trimming:
+ /// * kling-3.0: 2500 characters.
+ /// * ltx-2.5: 1981 characters.
+ /// * veo3.1: 2500 characters.
+ /// LTX's dialogue wrapper counts toward its model prompt limit.
+ /// Example: Meet your new everyday essential. + /// + /// + /// Video duration in seconds. Supported values by model:
+ /// * kling-3.0: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 seconds.
+ /// * ltx-2.5: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60 seconds.
+ /// * veo3.1: 4, 6, 8, 15, 22, 29, 36, 43, 50, 57, 64, 71, 78, 85, 92, 99, 106, 113, 120, 127, 134, 141 seconds.
+ /// Free plans are limited to 5 seconds unless a credit pack has been purchased.
+ /// Example: 4 + /// + /// + /// Defaults to kling-3.0 on paid plans and ltx-2.5 on free plans. + /// + /// + /// Defaults to 720p on paid plans and 480p on free plans. Unsupported model/resolution combinations and resolutions unavailable for your plan are rejected. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task AiUgcAdCreateVideoAsync( + global::MagicHour.AiUgcAdCreateVideoRequestAssets assets, + string script, + double endSeconds, + global::MagicHour.AiUgcAdCreateVideoRequestModel? model = default, + global::MagicHour.AiUgcAdCreateVideoRequestResolution? resolution = default, + global::MagicHour.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.ImageToVideoCreateVideo.g.cs b/src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.ImageToVideoCreateVideo.g.cs index 9b90338..0abdd42 100644 --- a/src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.ImageToVideoCreateVideo.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.ImageToVideoCreateVideo.g.cs @@ -142,6 +142,7 @@ public partial interface IVideoProjectsClient /// * **`minimax-h3`**: any integer from 1 to 30
/// * **`seedance-1.5`**: any integer from 4 to 12
/// * **`seedance-2.0`**: any integer from 4 to 15
+ /// * **`seedance-2.0-fast`**: any integer from 4 to 15
/// * **`seedance-2.0-mini`**: any integer from 4 to 15
/// * **`seedance-2.5`**: any integer from 4 to 30
/// * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
@@ -160,6 +161,7 @@ public partial interface IVideoProjectsClient /// * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
/// * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
/// * `seedance-2.0`: Best for reference-led clips with precise subject control.
+ /// * `seedance-2.0-fast`: Fast reference-led clips with consistent motion and audio.
/// * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
/// * `seedance-2.5`: Best for premium realism, detail, and natural motion.
/// * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
@@ -179,6 +181,7 @@ public partial interface IVideoProjectsClient /// * **`minimax-h3`**: Supports 480p, 720p, 1080p.
/// * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
/// * **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.
+ /// * **`seedance-2.0-fast`**: Supports 480p, 720p.
/// * **`seedance-2.0-mini`**: Supports 480p, 720p.
/// * **`seedance-2.5`**: Supports 480p, 720p, 1080p.
/// * **`veo3.1`**: Supports 720p, 1080p.
@@ -197,6 +200,7 @@ public partial interface IVideoProjectsClient /// * **`minimax-h3`**: Toggle-able: no additional credits for audio
/// * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled
/// * **`seedance-2.0`**: Toggle-able: no additional credits for audio
+ /// * **`seedance-2.0-fast`**: Toggle-able: no additional credits for audio
/// * **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio
/// * **`seedance-2.5`**: Toggle-able: no additional credits for audio
/// * **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
diff --git a/src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.TextToVideoCreateVideo.g.cs b/src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.TextToVideoCreateVideo.g.cs index 5cc8213..e3cff68 100644 --- a/src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.TextToVideoCreateVideo.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.TextToVideoCreateVideo.g.cs @@ -36,12 +36,8 @@ public partial interface IVideoProjectsClient /// --header 'content-type: application/json' \
/// --data '
/// {
- /// "name": "My Text To Video video",
/// "end_seconds": 5,
/// "aspect_ratio": "16:9",
- /// "resolution": "480p",
- /// "model": "ltx-2.5",
- /// "audio": true,
/// "style": {
/// "prompt": "a dog running"
/// }
@@ -85,12 +81,8 @@ public partial interface IVideoProjectsClient /// --header 'content-type: application/json' \
/// --data '
/// {
- /// "name": "My Text To Video video",
/// "end_seconds": 5,
/// "aspect_ratio": "16:9",
- /// "resolution": "480p",
- /// "model": "ltx-2.5",
- /// "audio": true,
/// "style": {
/// "prompt": "a dog running"
/// }
@@ -136,6 +128,7 @@ public partial interface IVideoProjectsClient /// * **`minimax-h3`**: any integer from 1 to 30
/// * **`seedance-1.5`**: any integer from 4 to 12
/// * **`seedance-2.0`**: any integer from 4 to 15
+ /// * **`seedance-2.0-fast`**: any integer from 4 to 15
/// * **`seedance-2.0-mini`**: any integer from 4 to 15
/// * **`seedance-2.5`**: any integer from 4 to 30
/// * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
@@ -145,7 +138,7 @@ public partial interface IVideoProjectsClient /// Example: 5 /// /// - /// Determines the aspect ratio of the output video.
+ /// Provide `aspect_ratio` to set the video’s aspect ratio. Determines the aspect ratio of the output video.
/// * **`gemini-omni-1.1`**: Supports 16:9, 9:16.
/// * **`kling-2.6`**: Supports 9:16, 16:9, 1:1.
/// * **`kling-3.0`**: Supports 9:16, 16:9, 1:1.
@@ -153,6 +146,7 @@ public partial interface IVideoProjectsClient /// * **`minimax-h3`**: Supports 16:9, 9:16, 1:1.
/// * **`seedance-1.5`**: Supports 9:16, 16:9, 1:1.
/// * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
+ /// * **`seedance-2.0-fast`**: Supports 9:16, 16:9, 1:1.
/// * **`seedance-2.0-mini`**: Supports 9:16, 16:9, 1:1.
/// * **`seedance-2.5`**: Supports 9:16, 16:9, 1:1.
/// * **`veo3.1`**: Supports 9:16, 16:9.
@@ -170,6 +164,7 @@ public partial interface IVideoProjectsClient /// * **`minimax-h3`**: Supports 480p, 720p, 1080p.
/// * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
/// * **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.
+ /// * **`seedance-2.0-fast`**: Supports 480p, 720p.
/// * **`seedance-2.0-mini`**: Supports 480p, 720p.
/// * **`seedance-2.5`**: Supports 480p, 720p, 1080p.
/// * **`veo3.1`**: Supports 720p, 1080p.
@@ -188,6 +183,7 @@ public partial interface IVideoProjectsClient /// * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
/// * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
/// * `seedance-2.0`: Best for reference-led clips with precise subject control.
+ /// * `seedance-2.0-fast`: Fast reference-led clips with consistent motion and audio.
/// * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
/// * `seedance-2.5`: Best for premium realism, detail, and natural motion.
/// * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
@@ -208,6 +204,7 @@ public partial interface IVideoProjectsClient /// * **`minimax-h3`**: Toggle-able: no additional credits for audio
/// * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled
/// * **`seedance-2.0`**: Toggle-able: no additional credits for audio
+ /// * **`seedance-2.0-fast`**: Toggle-able: no additional credits for audio
/// * **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio
/// * **`seedance-2.5`**: Toggle-able: no additional credits for audio
/// * **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
@@ -223,6 +220,7 @@ public partial interface IVideoProjectsClient /// * **`kling-3.0`**: Supports images, videos.
/// * **`minimax-h3`**: Supports images, videos, audio.
/// * **`seedance-2.0`**: Supports images, videos, audio.
+ /// * **`seedance-2.0-fast`**: Supports images, videos, audio.
/// * **`seedance-2.0-mini`**: Supports images, videos, audio.
/// * **`seedance-2.5`**: Supports images, videos, audio.
/// * **`wan-3.0`**: Supports images, videos, audio. diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiTalkingPhotoCreateTalkingPhotoRequestResolution.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiTalkingPhotoCreateTalkingPhotoRequestResolution.g.cs new file mode 100644 index 0000000..858ab01 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiTalkingPhotoCreateTalkingPhotoRequestResolution.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace MagicHour.JsonConverters +{ + /// + public sealed class AiTalkingPhotoCreateTalkingPhotoRequestResolutionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolution Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolutionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolution)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolution); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolution value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolutionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiTalkingPhotoCreateTalkingPhotoRequestResolutionNullable.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiTalkingPhotoCreateTalkingPhotoRequestResolutionNullable.g.cs new file mode 100644 index 0000000..88b242d --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiTalkingPhotoCreateTalkingPhotoRequestResolutionNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace MagicHour.JsonConverters +{ + /// + public sealed class AiTalkingPhotoCreateTalkingPhotoRequestResolutionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolution? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolutionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolution)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolution?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolution? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolutionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoRequestModel.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoRequestModel.g.cs new file mode 100644 index 0000000..1208fc1 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoRequestModel.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace MagicHour.JsonConverters +{ + /// + public sealed class AiUgcAdCreateVideoRequestModelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::MagicHour.AiUgcAdCreateVideoRequestModel Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::MagicHour.AiUgcAdCreateVideoRequestModelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::MagicHour.AiUgcAdCreateVideoRequestModel)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::MagicHour.AiUgcAdCreateVideoRequestModel); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::MagicHour.AiUgcAdCreateVideoRequestModel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::MagicHour.AiUgcAdCreateVideoRequestModelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoRequestModelNullable.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoRequestModelNullable.g.cs new file mode 100644 index 0000000..5b8dfc5 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoRequestModelNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace MagicHour.JsonConverters +{ + /// + public sealed class AiUgcAdCreateVideoRequestModelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::MagicHour.AiUgcAdCreateVideoRequestModel? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::MagicHour.AiUgcAdCreateVideoRequestModelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::MagicHour.AiUgcAdCreateVideoRequestModel)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::MagicHour.AiUgcAdCreateVideoRequestModel?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::MagicHour.AiUgcAdCreateVideoRequestModel? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::MagicHour.AiUgcAdCreateVideoRequestModelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoRequestResolution.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoRequestResolution.g.cs new file mode 100644 index 0000000..bf905ac --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoRequestResolution.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace MagicHour.JsonConverters +{ + /// + public sealed class AiUgcAdCreateVideoRequestResolutionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::MagicHour.AiUgcAdCreateVideoRequestResolution Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::MagicHour.AiUgcAdCreateVideoRequestResolutionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::MagicHour.AiUgcAdCreateVideoRequestResolution)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::MagicHour.AiUgcAdCreateVideoRequestResolution); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::MagicHour.AiUgcAdCreateVideoRequestResolution value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::MagicHour.AiUgcAdCreateVideoRequestResolutionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoRequestResolutionNullable.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoRequestResolutionNullable.g.cs new file mode 100644 index 0000000..5de102d --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoRequestResolutionNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace MagicHour.JsonConverters +{ + /// + public sealed class AiUgcAdCreateVideoRequestResolutionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::MagicHour.AiUgcAdCreateVideoRequestResolution? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::MagicHour.AiUgcAdCreateVideoRequestResolutionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::MagicHour.AiUgcAdCreateVideoRequestResolution)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::MagicHour.AiUgcAdCreateVideoRequestResolution?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::MagicHour.AiUgcAdCreateVideoRequestResolution? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::MagicHour.AiUgcAdCreateVideoRequestResolutionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode.g.cs new file mode 100644 index 0000000..b0b3285 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace MagicHour.JsonConverters +{ + /// + public sealed class AiUgcAdCreateVideoResponseCodeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::MagicHour.AiUgcAdCreateVideoResponseCode Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::MagicHour.AiUgcAdCreateVideoResponseCodeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::MagicHour.AiUgcAdCreateVideoResponseCode)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::MagicHour.AiUgcAdCreateVideoResponseCode); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::MagicHour.AiUgcAdCreateVideoResponseCode value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::MagicHour.AiUgcAdCreateVideoResponseCodeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode2.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode2.g.cs new file mode 100644 index 0000000..8e18e86 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode2.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace MagicHour.JsonConverters +{ + /// + public sealed class AiUgcAdCreateVideoResponseCode2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::MagicHour.AiUgcAdCreateVideoResponseCode2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::MagicHour.AiUgcAdCreateVideoResponseCode2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::MagicHour.AiUgcAdCreateVideoResponseCode2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::MagicHour.AiUgcAdCreateVideoResponseCode2); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::MagicHour.AiUgcAdCreateVideoResponseCode2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::MagicHour.AiUgcAdCreateVideoResponseCode2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode2Nullable.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode2Nullable.g.cs new file mode 100644 index 0000000..7b19e02 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode2Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace MagicHour.JsonConverters +{ + /// + public sealed class AiUgcAdCreateVideoResponseCode2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::MagicHour.AiUgcAdCreateVideoResponseCode2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::MagicHour.AiUgcAdCreateVideoResponseCode2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::MagicHour.AiUgcAdCreateVideoResponseCode2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::MagicHour.AiUgcAdCreateVideoResponseCode2?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::MagicHour.AiUgcAdCreateVideoResponseCode2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::MagicHour.AiUgcAdCreateVideoResponseCode2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode3.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode3.g.cs new file mode 100644 index 0000000..d63d3bc --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode3.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace MagicHour.JsonConverters +{ + /// + public sealed class AiUgcAdCreateVideoResponseCode3JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::MagicHour.AiUgcAdCreateVideoResponseCode3 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::MagicHour.AiUgcAdCreateVideoResponseCode3Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::MagicHour.AiUgcAdCreateVideoResponseCode3)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::MagicHour.AiUgcAdCreateVideoResponseCode3); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::MagicHour.AiUgcAdCreateVideoResponseCode3 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::MagicHour.AiUgcAdCreateVideoResponseCode3Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode3Nullable.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode3Nullable.g.cs new file mode 100644 index 0000000..a63cb48 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode3Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace MagicHour.JsonConverters +{ + /// + public sealed class AiUgcAdCreateVideoResponseCode3NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::MagicHour.AiUgcAdCreateVideoResponseCode3? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::MagicHour.AiUgcAdCreateVideoResponseCode3Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::MagicHour.AiUgcAdCreateVideoResponseCode3)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::MagicHour.AiUgcAdCreateVideoResponseCode3?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::MagicHour.AiUgcAdCreateVideoResponseCode3? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::MagicHour.AiUgcAdCreateVideoResponseCode3Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode4.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode4.g.cs new file mode 100644 index 0000000..c387413 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode4.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace MagicHour.JsonConverters +{ + /// + public sealed class AiUgcAdCreateVideoResponseCode4JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::MagicHour.AiUgcAdCreateVideoResponseCode4 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::MagicHour.AiUgcAdCreateVideoResponseCode4Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::MagicHour.AiUgcAdCreateVideoResponseCode4)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::MagicHour.AiUgcAdCreateVideoResponseCode4); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::MagicHour.AiUgcAdCreateVideoResponseCode4 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::MagicHour.AiUgcAdCreateVideoResponseCode4Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode4Nullable.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode4Nullable.g.cs new file mode 100644 index 0000000..d9ff628 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode4Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace MagicHour.JsonConverters +{ + /// + public sealed class AiUgcAdCreateVideoResponseCode4NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::MagicHour.AiUgcAdCreateVideoResponseCode4? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::MagicHour.AiUgcAdCreateVideoResponseCode4Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::MagicHour.AiUgcAdCreateVideoResponseCode4)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::MagicHour.AiUgcAdCreateVideoResponseCode4?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::MagicHour.AiUgcAdCreateVideoResponseCode4? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::MagicHour.AiUgcAdCreateVideoResponseCode4Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode5.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode5.g.cs new file mode 100644 index 0000000..5ba21a2 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode5.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace MagicHour.JsonConverters +{ + /// + public sealed class AiUgcAdCreateVideoResponseCode5JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::MagicHour.AiUgcAdCreateVideoResponseCode5 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::MagicHour.AiUgcAdCreateVideoResponseCode5Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::MagicHour.AiUgcAdCreateVideoResponseCode5)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::MagicHour.AiUgcAdCreateVideoResponseCode5); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::MagicHour.AiUgcAdCreateVideoResponseCode5 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::MagicHour.AiUgcAdCreateVideoResponseCode5Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode5Nullable.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode5Nullable.g.cs new file mode 100644 index 0000000..8986eca --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode5Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace MagicHour.JsonConverters +{ + /// + public sealed class AiUgcAdCreateVideoResponseCode5NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::MagicHour.AiUgcAdCreateVideoResponseCode5? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::MagicHour.AiUgcAdCreateVideoResponseCode5Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::MagicHour.AiUgcAdCreateVideoResponseCode5)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::MagicHour.AiUgcAdCreateVideoResponseCode5?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::MagicHour.AiUgcAdCreateVideoResponseCode5? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::MagicHour.AiUgcAdCreateVideoResponseCode5Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode6.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode6.g.cs new file mode 100644 index 0000000..e0accf0 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode6.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace MagicHour.JsonConverters +{ + /// + public sealed class AiUgcAdCreateVideoResponseCode6JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::MagicHour.AiUgcAdCreateVideoResponseCode6 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::MagicHour.AiUgcAdCreateVideoResponseCode6Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::MagicHour.AiUgcAdCreateVideoResponseCode6)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::MagicHour.AiUgcAdCreateVideoResponseCode6); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::MagicHour.AiUgcAdCreateVideoResponseCode6 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::MagicHour.AiUgcAdCreateVideoResponseCode6Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode6Nullable.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode6Nullable.g.cs new file mode 100644 index 0000000..aaa67a6 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode6Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace MagicHour.JsonConverters +{ + /// + public sealed class AiUgcAdCreateVideoResponseCode6NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::MagicHour.AiUgcAdCreateVideoResponseCode6? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::MagicHour.AiUgcAdCreateVideoResponseCode6Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::MagicHour.AiUgcAdCreateVideoResponseCode6)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::MagicHour.AiUgcAdCreateVideoResponseCode6?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::MagicHour.AiUgcAdCreateVideoResponseCode6? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::MagicHour.AiUgcAdCreateVideoResponseCode6Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCodeNullable.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCodeNullable.g.cs new file mode 100644 index 0000000..2769c9a --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCodeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace MagicHour.JsonConverters +{ + /// + public sealed class AiUgcAdCreateVideoResponseCodeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::MagicHour.AiUgcAdCreateVideoResponseCode? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::MagicHour.AiUgcAdCreateVideoResponseCodeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::MagicHour.AiUgcAdCreateVideoResponseCode)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::MagicHour.AiUgcAdCreateVideoResponseCode?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::MagicHour.AiUgcAdCreateVideoResponseCode? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::MagicHour.AiUgcAdCreateVideoResponseCodeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonSerializerContext.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonSerializerContext.g.cs index be4dcc1..2e41352 100644 --- a/src/libs/MagicHour/Generated/MagicHour.JsonSerializerContext.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.JsonSerializerContext.g.cs @@ -26,7 +26,11 @@ namespace MagicHour [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestAssets))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestStyle))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestStyleGenerationMode), TypeInfoPropertyName = "AiTalkingPhotoCreateTalkingPhotoRequestStyleGenerationMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(int))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolution), TypeInfoPropertyName = "AiTalkingPhotoCreateTalkingPhotoRequestResolution2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoRequestAssets))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoRequestModel), TypeInfoPropertyName = "AiUgcAdCreateVideoRequestModel2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoRequestResolution), TypeInfoPropertyName = "AiUgcAdCreateVideoRequestResolution2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiVideoEditorCreateVideoRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiVideoEditorCreateVideoRequestModel), TypeInfoPropertyName = "AiVideoEditorCreateVideoRequestModel2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiVideoEditorCreateVideoRequestResolution), TypeInfoPropertyName = "AiVideoEditorCreateVideoRequestResolution2")] @@ -37,6 +41,7 @@ namespace MagicHour [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiVideoTranslatorCreateVideoRequestResolution), TypeInfoPropertyName = "AiVideoTranslatorCreateVideoRequestResolution2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiVideoTranslatorCreateVideoRequestAssets))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AnimationCreateVideoRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(int))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AnimationCreateVideoRequestStyle))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AnimationCreateVideoRequestStyleArtStyle), TypeInfoPropertyName = "AnimationCreateVideoRequestStyleArtStyle2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AnimationCreateVideoRequestStyleCameraEffect), TypeInfoPropertyName = "AnimationCreateVideoRequestStyleCameraEffect2")] @@ -260,6 +265,19 @@ namespace MagicHour [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponseCode5), TypeInfoPropertyName = "AiTalkingPhotoCreateTalkingPhotoResponseCode52")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponse7))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponseCode6), TypeInfoPropertyName = "AiTalkingPhotoCreateTalkingPhotoResponseCode62")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoResponse2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode), TypeInfoPropertyName = "AiUgcAdCreateVideoResponseCode2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoResponse3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode2), TypeInfoPropertyName = "AiUgcAdCreateVideoResponseCode22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoResponse4))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode3), TypeInfoPropertyName = "AiUgcAdCreateVideoResponseCode32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoResponse5))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode4), TypeInfoPropertyName = "AiUgcAdCreateVideoResponseCode42")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoResponse6))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode5), TypeInfoPropertyName = "AiUgcAdCreateVideoResponseCode52")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoResponse7))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode6), TypeInfoPropertyName = "AiUgcAdCreateVideoResponseCode62")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiVideoEditorCreateVideoResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiVideoEditorCreateVideoResponse2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiVideoEditorCreateVideoResponseCode), TypeInfoPropertyName = "AiVideoEditorCreateVideoResponseCode2_3")] @@ -491,6 +509,16 @@ namespace MagicHour [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiHeadshotGeneratorCreateImageResponseCode4), TypeInfoPropertyName = "AiHeadshotGeneratorCreateImageResponseCode42")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiHeadshotGeneratorCreateImageResponse6))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiHeadshotGeneratorCreateImageResponseCode5), TypeInfoPropertyName = "AiHeadshotGeneratorCreateImageResponseCode52")] + internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiHeadshotGeneratorCreateImageResponse7))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiHeadshotGeneratorCreateImageResponseCode6), TypeInfoPropertyName = "AiHeadshotGeneratorCreateImageResponseCode62")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiImageGeneratorCreateImageResponse))] @@ -509,16 +537,6 @@ namespace MagicHour [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiImageUpscalerCreateImageResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiImageUpscalerCreateImageResponse2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiImageUpscalerCreateImageResponseCode), TypeInfoPropertyName = "AiImageUpscalerCreateImageResponseCode2_3")] - internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiImageUpscalerCreateImageResponse3))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiImageUpscalerCreateImageResponseCode2), TypeInfoPropertyName = "AiImageUpscalerCreateImageResponseCode22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiImageUpscalerCreateImageResponse4))] @@ -675,11 +693,14 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(double?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(float?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestStyleGenerationMode?), TypeInfoPropertyName = "NullableAiTalkingPhotoCreateTalkingPhotoRequestStyleGenerationMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolution?), TypeInfoPropertyName = "NullableAiTalkingPhotoCreateTalkingPhotoRequestResolution2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoRequestModel?), TypeInfoPropertyName = "NullableAiUgcAdCreateVideoRequestModel2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoRequestResolution?), TypeInfoPropertyName = "NullableAiUgcAdCreateVideoRequestResolution2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiVideoEditorCreateVideoRequestModel?), TypeInfoPropertyName = "NullableAiVideoEditorCreateVideoRequestModel2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiVideoEditorCreateVideoRequestResolution?), TypeInfoPropertyName = "NullableAiVideoEditorCreateVideoRequestResolution2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiVideoTranslatorCreateVideoRequestTargetLanguage?), TypeInfoPropertyName = "NullableAiVideoTranslatorCreateVideoRequestTargetLanguage2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiVideoTranslatorCreateVideoRequestResolution?), TypeInfoPropertyName = "NullableAiVideoTranslatorCreateVideoRequestResolution2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AnimationCreateVideoRequestStyleArtStyle?), TypeInfoPropertyName = "NullableAnimationCreateVideoRequestStyleArtStyle2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AnimationCreateVideoRequestStyleCameraEffect?), TypeInfoPropertyName = "NullableAnimationCreateVideoRequestStyleCameraEffect2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AnimationCreateVideoRequestStylePromptType?), TypeInfoPropertyName = "NullableAnimationCreateVideoRequestStylePromptType2")] @@ -770,6 +791,12 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponseCode4?), TypeInfoPropertyName = "NullableAiTalkingPhotoCreateTalkingPhotoResponseCode42")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponseCode5?), TypeInfoPropertyName = "NullableAiTalkingPhotoCreateTalkingPhotoResponseCode52")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponseCode6?), TypeInfoPropertyName = "NullableAiTalkingPhotoCreateTalkingPhotoResponseCode62")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode?), TypeInfoPropertyName = "NullableAiUgcAdCreateVideoResponseCode2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode2?), TypeInfoPropertyName = "NullableAiUgcAdCreateVideoResponseCode22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode3?), TypeInfoPropertyName = "NullableAiUgcAdCreateVideoResponseCode32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode4?), TypeInfoPropertyName = "NullableAiUgcAdCreateVideoResponseCode42")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode5?), TypeInfoPropertyName = "NullableAiUgcAdCreateVideoResponseCode52")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode6?), TypeInfoPropertyName = "NullableAiUgcAdCreateVideoResponseCode62")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiVideoEditorCreateVideoResponseCode?), TypeInfoPropertyName = "NullableAiVideoEditorCreateVideoResponseCode2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiVideoEditorCreateVideoResponseCode2?), TypeInfoPropertyName = "NullableAiVideoEditorCreateVideoResponseCode22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::MagicHour.AiVideoEditorCreateVideoResponseCode3?), TypeInfoPropertyName = "NullableAiVideoEditorCreateVideoResponseCode32")] @@ -1034,6 +1061,18 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestStyleGenerationMode?) + || typeToConvert == typeof(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolution) + + || typeToConvert == typeof(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolution?) + + || typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoRequestModel) + + || typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoRequestModel?) + + || typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoRequestResolution) + + || typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoRequestResolution?) + || typeToConvert == typeof(global::MagicHour.AiVideoEditorCreateVideoRequestModel) || typeToConvert == typeof(global::MagicHour.AiVideoEditorCreateVideoRequestModel?) @@ -1402,6 +1441,30 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponseCode6?) + || typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode) + + || typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode?) + + || typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode2) + + || typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode2?) + + || typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode3) + + || typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode3?) + + || typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode4) + + || typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode4?) + + || typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode5) + + || typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode5?) + + || typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode6) + + || typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode6?) + || typeToConvert == typeof(global::MagicHour.AiVideoEditorCreateVideoResponseCode) || typeToConvert == typeof(global::MagicHour.AiVideoEditorCreateVideoResponseCode?) @@ -2163,6 +2226,36 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::MagicHour.JsonConverters.AiTalkingPhotoCreateTalkingPhotoRequestStyleGenerationModeNullableJsonConverter(); } + if (typeToConvert == typeof(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolution)) + { + return new global::MagicHour.JsonConverters.AiTalkingPhotoCreateTalkingPhotoRequestResolutionJsonConverter(); + } + + if (typeToConvert == typeof(global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolution?)) + { + return new global::MagicHour.JsonConverters.AiTalkingPhotoCreateTalkingPhotoRequestResolutionNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoRequestModel)) + { + return new global::MagicHour.JsonConverters.AiUgcAdCreateVideoRequestModelJsonConverter(); + } + + if (typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoRequestModel?)) + { + return new global::MagicHour.JsonConverters.AiUgcAdCreateVideoRequestModelNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoRequestResolution)) + { + return new global::MagicHour.JsonConverters.AiUgcAdCreateVideoRequestResolutionJsonConverter(); + } + + if (typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoRequestResolution?)) + { + return new global::MagicHour.JsonConverters.AiUgcAdCreateVideoRequestResolutionNullableJsonConverter(); + } + if (typeToConvert == typeof(global::MagicHour.AiVideoEditorCreateVideoRequestModel)) { return new global::MagicHour.JsonConverters.AiVideoEditorCreateVideoRequestModelJsonConverter(); @@ -3083,6 +3176,66 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::MagicHour.JsonConverters.AiTalkingPhotoCreateTalkingPhotoResponseCode6NullableJsonConverter(); } + if (typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode)) + { + return new global::MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCodeJsonConverter(); + } + + if (typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode?)) + { + return new global::MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCodeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode2)) + { + return new global::MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode2JsonConverter(); + } + + if (typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode2?)) + { + return new global::MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode2NullableJsonConverter(); + } + + if (typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode3)) + { + return new global::MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode3JsonConverter(); + } + + if (typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode3?)) + { + return new global::MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode3NullableJsonConverter(); + } + + if (typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode4)) + { + return new global::MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode4JsonConverter(); + } + + if (typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode4?)) + { + return new global::MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode4NullableJsonConverter(); + } + + if (typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode5)) + { + return new global::MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode5JsonConverter(); + } + + if (typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode5?)) + { + return new global::MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode5NullableJsonConverter(); + } + + if (typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode6)) + { + return new global::MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode6JsonConverter(); + } + + if (typeToConvert == typeof(global::MagicHour.AiUgcAdCreateVideoResponseCode6?)) + { + return new global::MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode6NullableJsonConverter(); + } + if (typeToConvert == typeof(global::MagicHour.AiVideoEditorCreateVideoResponseCode)) { return new global::MagicHour.JsonConverters.AiVideoEditorCreateVideoResponseCodeJsonConverter(); diff --git a/src/libs/MagicHour/Generated/MagicHour.JsonSerializerContextTypes.g.cs b/src/libs/MagicHour/Generated/MagicHour.JsonSerializerContextTypes.g.cs index a11f95a..30d1ae5 100644 --- a/src/libs/MagicHour/Generated/MagicHour.JsonSerializerContextTypes.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.JsonSerializerContextTypes.g.cs @@ -85,2543 +85,2615 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public int? Type13 { get; set; } + public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolution? Type13 { get; set; } /// /// /// - public global::MagicHour.AiVideoEditorCreateVideoRequest? Type14 { get; set; } + public global::MagicHour.AiUgcAdCreateVideoRequest? Type14 { get; set; } /// /// /// - public global::MagicHour.AiVideoEditorCreateVideoRequestModel? Type15 { get; set; } + public global::MagicHour.AiUgcAdCreateVideoRequestAssets? Type15 { get; set; } /// /// /// - public global::MagicHour.AiVideoEditorCreateVideoRequestResolution? Type16 { get; set; } + public global::MagicHour.AiUgcAdCreateVideoRequestModel? Type16 { get; set; } /// /// /// - public global::MagicHour.AiVideoEditorCreateVideoRequestStyle? Type17 { get; set; } + public global::MagicHour.AiUgcAdCreateVideoRequestResolution? Type17 { get; set; } /// /// /// - public global::MagicHour.AiVideoEditorCreateVideoRequestAssets? Type18 { get; set; } + public global::MagicHour.AiVideoEditorCreateVideoRequest? Type18 { get; set; } /// /// /// - public global::MagicHour.AiVideoTranslatorCreateVideoRequest? Type19 { get; set; } + public global::MagicHour.AiVideoEditorCreateVideoRequestModel? Type19 { get; set; } /// /// /// - public global::MagicHour.AiVideoTranslatorCreateVideoRequestTargetLanguage? Type20 { get; set; } + public global::MagicHour.AiVideoEditorCreateVideoRequestResolution? Type20 { get; set; } /// /// /// - public global::MagicHour.AiVideoTranslatorCreateVideoRequestResolution? Type21 { get; set; } + public global::MagicHour.AiVideoEditorCreateVideoRequestStyle? Type21 { get; set; } /// /// /// - public global::MagicHour.AiVideoTranslatorCreateVideoRequestAssets? Type22 { get; set; } + public global::MagicHour.AiVideoEditorCreateVideoRequestAssets? Type22 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoRequest? Type23 { get; set; } + public global::MagicHour.AiVideoTranslatorCreateVideoRequest? Type23 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoRequestStyle? Type24 { get; set; } + public global::MagicHour.AiVideoTranslatorCreateVideoRequestTargetLanguage? Type24 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoRequestStyleArtStyle? Type25 { get; set; } + public global::MagicHour.AiVideoTranslatorCreateVideoRequestResolution? Type25 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoRequestStyleCameraEffect? Type26 { get; set; } + public global::MagicHour.AiVideoTranslatorCreateVideoRequestAssets? Type26 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoRequestStylePromptType? Type27 { get; set; } + public global::MagicHour.AnimationCreateVideoRequest? Type27 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoRequestAssets? Type28 { get; set; } + public int? Type28 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoRequestAssetsAudioSource? Type29 { get; set; } + public global::MagicHour.AnimationCreateVideoRequestStyle? Type29 { get; set; } /// /// /// - public global::MagicHour.AudioToVideoCreateVideoRequest? Type30 { get; set; } + public global::MagicHour.AnimationCreateVideoRequestStyleArtStyle? Type30 { get; set; } /// /// /// - public global::MagicHour.AudioToVideoCreateVideoRequestResolution? Type31 { get; set; } + public global::MagicHour.AnimationCreateVideoRequestStyleCameraEffect? Type31 { get; set; } /// /// /// - public global::MagicHour.AudioToVideoCreateVideoRequestAssets? Type32 { get; set; } + public global::MagicHour.AnimationCreateVideoRequestStylePromptType? Type32 { get; set; } /// /// /// - public global::MagicHour.AudioToVideoCreateVideoRequestStyle? Type33 { get; set; } + public global::MagicHour.AnimationCreateVideoRequestAssets? Type33 { get; set; } /// /// /// - public global::MagicHour.AutoSubtitleGeneratorCreateVideoRequest? Type34 { get; set; } + public global::MagicHour.AnimationCreateVideoRequestAssetsAudioSource? Type34 { get; set; } /// /// /// - public global::MagicHour.AutoSubtitleGeneratorCreateVideoRequestAssets? Type35 { get; set; } + public global::MagicHour.AudioToVideoCreateVideoRequest? Type35 { get; set; } /// /// /// - public global::MagicHour.AutoSubtitleGeneratorCreateVideoRequestStyle? Type36 { get; set; } + public global::MagicHour.AudioToVideoCreateVideoRequestResolution? Type36 { get; set; } /// /// /// - public global::MagicHour.AutoSubtitleGeneratorCreateVideoRequestStyleTemplate? Type37 { get; set; } + public global::MagicHour.AudioToVideoCreateVideoRequestAssets? Type37 { get; set; } /// /// /// - public global::MagicHour.AutoSubtitleGeneratorCreateVideoRequestStyleCustomConfig? Type38 { get; set; } + public global::MagicHour.AudioToVideoCreateVideoRequestStyle? Type38 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoRequest? Type39 { get; set; } + public global::MagicHour.AutoSubtitleGeneratorCreateVideoRequest? Type39 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoRequestModel? Type40 { get; set; } + public global::MagicHour.AutoSubtitleGeneratorCreateVideoRequestAssets? Type40 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoRequestResolution? Type41 { get; set; } + public global::MagicHour.AutoSubtitleGeneratorCreateVideoRequestStyle? Type41 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoRequestAssets? Type42 { get; set; } + public global::MagicHour.AutoSubtitleGeneratorCreateVideoRequestStyleTemplate? Type42 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoRequestStyle? Type43 { get; set; } + public global::MagicHour.AutoSubtitleGeneratorCreateVideoRequestStyleCustomConfig? Type43 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoRequestStyleMode? Type44 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoRequest? Type44 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoRequestStyleSelectionMode? Type45 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoRequestModel? Type45 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type46 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoRequestResolution? Type46 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoRequestStylePoint? Type47 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoRequestAssets? Type47 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoRequest? Type48 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoRequestStyle? Type48 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoRequestStyle? Type49 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoRequestStyleMode? Type49 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoRequestStyleVersion? Type50 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoRequestStyleSelectionMode? Type50 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoRequestAssets? Type51 { get; set; } + public global::System.Collections.Generic.IList? Type51 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoRequestAssetsFaceSwapMode? Type52 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoRequestStylePoint? Type52 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type53 { get; set; } + public global::MagicHour.FaceSwapCreateVideoRequest? Type53 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoRequestAssetsFaceMapping? Type54 { get; set; } + public global::MagicHour.FaceSwapCreateVideoRequestStyle? Type54 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoRequestAssetsVideoSource? Type55 { get; set; } + public global::MagicHour.FaceSwapCreateVideoRequestStyleVersion? Type55 { get; set; } /// /// /// - public global::MagicHour.ImageToVideoCreateVideoRequest? Type56 { get; set; } + public global::MagicHour.FaceSwapCreateVideoRequestAssets? Type56 { get; set; } /// /// /// - public global::MagicHour.ImageToVideoCreateVideoRequestModel? Type57 { get; set; } + public global::MagicHour.FaceSwapCreateVideoRequestAssetsFaceSwapMode? Type57 { get; set; } /// /// /// - public global::MagicHour.ImageToVideoCreateVideoRequestResolution? Type58 { get; set; } + public global::System.Collections.Generic.IList? Type58 { get; set; } /// /// /// - public bool? Type59 { get; set; } + public global::MagicHour.FaceSwapCreateVideoRequestAssetsFaceMapping? Type59 { get; set; } /// /// /// - public global::MagicHour.ImageToVideoCreateVideoRequestStyle? Type60 { get; set; } + public global::MagicHour.FaceSwapCreateVideoRequestAssetsVideoSource? Type60 { get; set; } /// /// /// - public global::MagicHour.ImageToVideoCreateVideoRequestAssets? Type61 { get; set; } + public global::MagicHour.ImageToVideoCreateVideoRequest? Type61 { get; set; } /// /// /// - public global::MagicHour.LipSyncCreateVideoRequest? Type62 { get; set; } + public global::MagicHour.ImageToVideoCreateVideoRequestModel? Type62 { get; set; } /// /// /// - public global::MagicHour.LipSyncCreateVideoRequestAssets? Type63 { get; set; } + public global::MagicHour.ImageToVideoCreateVideoRequestResolution? Type63 { get; set; } /// /// /// - public global::MagicHour.LipSyncCreateVideoRequestAssetsVideoSource? Type64 { get; set; } + public bool? Type64 { get; set; } /// /// /// - public global::MagicHour.LipSyncCreateVideoRequestStyle? Type65 { get; set; } + public global::MagicHour.ImageToVideoCreateVideoRequestStyle? Type65 { get; set; } /// /// /// - public global::MagicHour.LipSyncCreateVideoRequestStyleGenerationMode? Type66 { get; set; } + public global::MagicHour.ImageToVideoCreateVideoRequestAssets? Type66 { get; set; } /// /// /// - public global::MagicHour.TextToVideoCreateVideoRequest? Type67 { get; set; } + public global::MagicHour.LipSyncCreateVideoRequest? Type67 { get; set; } /// /// /// - public global::MagicHour.TextToVideoCreateVideoRequestAspectRatio? Type68 { get; set; } + public global::MagicHour.LipSyncCreateVideoRequestAssets? Type68 { get; set; } /// /// /// - public global::MagicHour.TextToVideoCreateVideoRequestResolution? Type69 { get; set; } + public global::MagicHour.LipSyncCreateVideoRequestAssetsVideoSource? Type69 { get; set; } /// /// /// - public global::MagicHour.TextToVideoCreateVideoRequestModel? Type70 { get; set; } + public global::MagicHour.LipSyncCreateVideoRequestStyle? Type70 { get; set; } /// /// /// - public global::MagicHour.TextToVideoCreateVideoRequestStyle? Type71 { get; set; } + public global::MagicHour.LipSyncCreateVideoRequestStyleGenerationMode? Type71 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type72 { get; set; } + public global::MagicHour.TextToVideoCreateVideoRequest? Type72 { get; set; } /// /// /// - public global::MagicHour.TextToVideoCreateVideoRequestReference? Type73 { get; set; } + public global::MagicHour.TextToVideoCreateVideoRequestAspectRatio? Type73 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoRequest? Type74 { get; set; } + public global::MagicHour.TextToVideoCreateVideoRequestResolution? Type74 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoRequestFpsResolution? Type75 { get; set; } + public global::MagicHour.TextToVideoCreateVideoRequestModel? Type75 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoRequestStyle? Type76 { get; set; } + public global::MagicHour.TextToVideoCreateVideoRequestStyle? Type76 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoRequestStyleArtStyle? Type77 { get; set; } + public global::System.Collections.Generic.IList? Type77 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoRequestStyleVersion? Type78 { get; set; } + public global::MagicHour.TextToVideoCreateVideoRequestReference? Type78 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoRequestStylePromptType? Type79 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoRequest? Type79 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoRequestStyleModel? Type80 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoRequestFpsResolution? Type80 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoRequestAssets? Type81 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoRequestStyle? Type81 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoRequestAssetsVideoSource? Type82 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoRequestStyleArtStyle? Type82 { get; set; } /// /// /// - public global::MagicHour.AiClothesChangerCreateImageRequest? Type83 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoRequestStyleVersion? Type83 { get; set; } /// /// /// - public global::MagicHour.AiClothesChangerCreateImageRequestAssets? Type84 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoRequestStylePromptType? Type84 { get; set; } /// /// /// - public global::MagicHour.AiClothesChangerCreateImageRequestAssetsGarmentType? Type85 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoRequestStyleModel? Type85 { get; set; } /// /// /// - public global::MagicHour.AiFaceEditorEditImageRequest? Type86 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoRequestAssets? Type86 { get; set; } /// /// /// - public global::MagicHour.AiFaceEditorEditImageRequestAssets? Type87 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoRequestAssetsVideoSource? Type87 { get; set; } /// /// /// - public global::MagicHour.AiFaceEditorEditImageRequestStyle? Type88 { get; set; } + public global::MagicHour.AiClothesChangerCreateImageRequest? Type88 { get; set; } /// /// /// - public global::MagicHour.AiGifGeneratorCreateImageRequest? Type89 { get; set; } + public global::MagicHour.AiClothesChangerCreateImageRequestAssets? Type89 { get; set; } /// /// /// - public global::MagicHour.AiGifGeneratorCreateImageRequestStyle? Type90 { get; set; } + public global::MagicHour.AiClothesChangerCreateImageRequestAssetsGarmentType? Type90 { get; set; } /// /// /// - public global::MagicHour.AiGifGeneratorCreateImageRequestOutputFormat? Type91 { get; set; } + public global::MagicHour.AiFaceEditorEditImageRequest? Type91 { get; set; } /// /// /// - public global::MagicHour.AiImageEditorCreateImageRequest? Type92 { get; set; } + public global::MagicHour.AiFaceEditorEditImageRequestAssets? Type92 { get; set; } /// /// /// - public global::MagicHour.AiImageEditorCreateImageRequestModel? Type93 { get; set; } + public global::MagicHour.AiFaceEditorEditImageRequestStyle? Type93 { get; set; } /// /// /// - public global::MagicHour.AiImageEditorCreateImageRequestAspectRatio? Type94 { get; set; } + public global::MagicHour.AiGifGeneratorCreateImageRequest? Type94 { get; set; } /// /// /// - public global::MagicHour.AiImageEditorCreateImageRequestResolution? Type95 { get; set; } + public global::MagicHour.AiGifGeneratorCreateImageRequestStyle? Type95 { get; set; } /// /// /// - public global::MagicHour.AiImageEditorCreateImageRequestStyle? Type96 { get; set; } + public global::MagicHour.AiGifGeneratorCreateImageRequestOutputFormat? Type96 { get; set; } /// /// /// - public global::MagicHour.AiImageEditorCreateImageRequestAssets? Type97 { get; set; } + public global::MagicHour.AiImageEditorCreateImageRequest? Type97 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type98 { get; set; } + public global::MagicHour.AiImageEditorCreateImageRequestModel? Type98 { get; set; } /// /// /// - public global::MagicHour.AiHeadshotGeneratorCreateImageRequest? Type99 { get; set; } + public global::MagicHour.AiImageEditorCreateImageRequestAspectRatio? Type99 { get; set; } /// /// /// - public global::MagicHour.AiHeadshotGeneratorCreateImageRequestStyle? Type100 { get; set; } + public global::MagicHour.AiImageEditorCreateImageRequestResolution? Type100 { get; set; } /// /// /// - public global::MagicHour.AiHeadshotGeneratorCreateImageRequestAssets? Type101 { get; set; } + public global::MagicHour.AiImageEditorCreateImageRequestStyle? Type101 { get; set; } /// /// /// - public global::MagicHour.AiImageGeneratorCreateImageRequest? Type102 { get; set; } + public global::MagicHour.AiImageEditorCreateImageRequestAssets? Type102 { get; set; } /// /// /// - public global::MagicHour.AiImageGeneratorCreateImageRequestModel? Type103 { get; set; } + public global::System.Collections.Generic.IList? Type103 { get; set; } /// /// /// - public global::MagicHour.AiImageGeneratorCreateImageRequestAspectRatio? Type104 { get; set; } + public global::MagicHour.AiHeadshotGeneratorCreateImageRequest? Type104 { get; set; } /// /// /// - public global::MagicHour.AiImageGeneratorCreateImageRequestResolution? Type105 { get; set; } + public global::MagicHour.AiHeadshotGeneratorCreateImageRequestStyle? Type105 { get; set; } /// /// /// - public global::MagicHour.AiImageGeneratorCreateImageRequestStyle? Type106 { get; set; } + public global::MagicHour.AiHeadshotGeneratorCreateImageRequestAssets? Type106 { get; set; } /// /// /// - public global::MagicHour.AiImageGeneratorCreateImageRequestStyleTool? Type107 { get; set; } + public global::MagicHour.AiImageGeneratorCreateImageRequest? Type107 { get; set; } /// /// /// - public global::MagicHour.AiImageUpscalerCreateImageRequest? Type108 { get; set; } + public global::MagicHour.AiImageGeneratorCreateImageRequestModel? Type108 { get; set; } /// /// /// - public global::MagicHour.AiImageUpscalerCreateImageRequestStyle? Type109 { get; set; } + public global::MagicHour.AiImageGeneratorCreateImageRequestAspectRatio? Type109 { get; set; } /// /// /// - public global::MagicHour.AiImageUpscalerCreateImageRequestStyleMode? Type110 { get; set; } + public global::MagicHour.AiImageGeneratorCreateImageRequestResolution? Type110 { get; set; } /// /// /// - public global::MagicHour.AiImageUpscalerCreateImageRequestAssets? Type111 { get; set; } + public global::MagicHour.AiImageGeneratorCreateImageRequestStyle? Type111 { get; set; } /// /// /// - public global::MagicHour.AiMemeGeneratorCreateImageRequest? Type112 { get; set; } + public global::MagicHour.AiImageGeneratorCreateImageRequestStyleTool? Type112 { get; set; } /// /// /// - public global::MagicHour.AiMemeGeneratorCreateImageRequestStyle? Type113 { get; set; } + public global::MagicHour.AiImageUpscalerCreateImageRequest? Type113 { get; set; } /// /// /// - public global::MagicHour.AiMemeGeneratorCreateImageRequestStyleTemplate? Type114 { get; set; } + public global::MagicHour.AiImageUpscalerCreateImageRequestStyle? Type114 { get; set; } /// /// /// - public global::MagicHour.AiQrCodeGeneratorCreateImageRequest? Type115 { get; set; } + public global::MagicHour.AiImageUpscalerCreateImageRequestStyleMode? Type115 { get; set; } /// /// /// - public global::MagicHour.AiQrCodeGeneratorCreateImageRequestStyle? Type116 { get; set; } + public global::MagicHour.AiImageUpscalerCreateImageRequestAssets? Type116 { get; set; } /// /// /// - public global::MagicHour.BodySwapCreateImageRequest? Type117 { get; set; } + public global::MagicHour.AiMemeGeneratorCreateImageRequest? Type117 { get; set; } /// /// /// - public global::MagicHour.BodySwapCreateImageRequestResolution? Type118 { get; set; } + public global::MagicHour.AiMemeGeneratorCreateImageRequestStyle? Type118 { get; set; } /// /// /// - public global::MagicHour.BodySwapCreateImageRequestAssets? Type119 { get; set; } + public global::MagicHour.AiMemeGeneratorCreateImageRequestStyleTemplate? Type119 { get; set; } /// /// /// - public global::MagicHour.FaceSwapPhotoCreateImageRequest? Type120 { get; set; } + public global::MagicHour.AiQrCodeGeneratorCreateImageRequest? Type120 { get; set; } /// /// /// - public global::MagicHour.FaceSwapPhotoCreateImageRequestAssets? Type121 { get; set; } + public global::MagicHour.AiQrCodeGeneratorCreateImageRequestStyle? Type121 { get; set; } /// /// /// - public global::MagicHour.FaceSwapPhotoCreateImageRequestAssetsFaceSwapMode? Type122 { get; set; } + public global::MagicHour.BodySwapCreateImageRequest? Type122 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type123 { get; set; } + public global::MagicHour.BodySwapCreateImageRequestResolution? Type123 { get; set; } /// /// /// - public global::MagicHour.FaceSwapPhotoCreateImageRequestAssetsFaceMapping? Type124 { get; set; } + public global::MagicHour.BodySwapCreateImageRequestAssets? Type124 { get; set; } /// /// /// - public global::MagicHour.HeadSwapCreateImageRequest? Type125 { get; set; } + public global::MagicHour.FaceSwapPhotoCreateImageRequest? Type125 { get; set; } /// /// /// - public global::MagicHour.HeadSwapCreateImageRequestAssets? Type126 { get; set; } + public global::MagicHour.FaceSwapPhotoCreateImageRequestAssets? Type126 { get; set; } /// /// /// - public global::MagicHour.ImageBackgroundRemoverCreateImageRequest? Type127 { get; set; } + public global::MagicHour.FaceSwapPhotoCreateImageRequestAssetsFaceSwapMode? Type127 { get; set; } /// /// /// - public global::MagicHour.ImageBackgroundRemoverCreateImageRequestAssets? Type128 { get; set; } + public global::System.Collections.Generic.IList? Type128 { get; set; } /// /// /// - public global::MagicHour.PhotoColorizerCreateImageRequest? Type129 { get; set; } + public global::MagicHour.FaceSwapPhotoCreateImageRequestAssetsFaceMapping? Type129 { get; set; } /// /// /// - public global::MagicHour.PhotoColorizerCreateImageRequestAssets? Type130 { get; set; } + public global::MagicHour.HeadSwapCreateImageRequest? Type130 { get; set; } /// /// /// - public global::MagicHour.AiVoiceGeneratorCreateAudioRequest? Type131 { get; set; } + public global::MagicHour.HeadSwapCreateImageRequestAssets? Type131 { get; set; } /// /// /// - public global::MagicHour.AiVoiceGeneratorCreateAudioRequestStyle? Type132 { get; set; } + public global::MagicHour.ImageBackgroundRemoverCreateImageRequest? Type132 { get; set; } /// /// /// - public global::MagicHour.AiVoiceGeneratorCreateAudioRequestStyleVoiceName? Type133 { get; set; } + public global::MagicHour.ImageBackgroundRemoverCreateImageRequestAssets? Type133 { get; set; } /// /// /// - public global::MagicHour.AiVoiceClonerCreateAudioRequest? Type134 { get; set; } + public global::MagicHour.PhotoColorizerCreateImageRequest? Type134 { get; set; } /// /// /// - public global::MagicHour.AiVoiceClonerCreateAudioRequestAssets? Type135 { get; set; } + public global::MagicHour.PhotoColorizerCreateImageRequestAssets? Type135 { get; set; } /// /// /// - public global::MagicHour.AiVoiceClonerCreateAudioRequestStyle? Type136 { get; set; } + public global::MagicHour.AiVoiceGeneratorCreateAudioRequest? Type136 { get; set; } /// /// /// - public global::MagicHour.SavedItemsListType? Type137 { get; set; } + public global::MagicHour.AiVoiceGeneratorCreateAudioRequestStyle? Type137 { get; set; } /// /// /// - public global::MagicHour.AccountGetResponse? Type138 { get; set; } + public global::MagicHour.AiVoiceGeneratorCreateAudioRequestStyleVoiceName? Type138 { get; set; } /// /// /// - public global::MagicHour.AccountGetResponseTier? Type139 { get; set; } + public global::MagicHour.AiVoiceClonerCreateAudioRequest? Type139 { get; set; } /// /// /// - public global::MagicHour.AccountGetResponseSubscription? Type140 { get; set; } + public global::MagicHour.AiVoiceClonerCreateAudioRequestAssets? Type140 { get; set; } /// /// /// - public global::MagicHour.AccountGetResponseSubscriptionStatus? Type141 { get; set; } + public global::MagicHour.AiVoiceClonerCreateAudioRequestStyle? Type141 { get; set; } /// /// /// - public global::MagicHour.AccountGetResponseSubscriptionPrice? Type142 { get; set; } + public global::MagicHour.SavedItemsListType? Type142 { get; set; } /// /// /// - public global::MagicHour.AccountGetResponseSubscriptionDiscount? Type143 { get; set; } + public global::MagicHour.AccountGetResponse? Type143 { get; set; } /// /// /// - public global::MagicHour.AccountGetResponseSubscriptionBillingInterval? Type144 { get; set; } + public global::MagicHour.AccountGetResponseTier? Type144 { get; set; } /// /// /// - public global::System.DateTime? Type145 { get; set; } + public global::MagicHour.AccountGetResponseSubscription? Type145 { get; set; } /// /// /// - public global::MagicHour.AccountGetResponse2? Type146 { get; set; } + public global::MagicHour.AccountGetResponseSubscriptionStatus? Type146 { get; set; } /// /// /// - public global::MagicHour.AccountGetResponseCode? Type147 { get; set; } + public global::MagicHour.AccountGetResponseSubscriptionPrice? Type147 { get; set; } /// /// /// - public global::MagicHour.AccountGetResponse3? Type148 { get; set; } + public global::MagicHour.AccountGetResponseSubscriptionDiscount? Type148 { get; set; } /// /// /// - public global::MagicHour.AccountGetResponseCode2? Type149 { get; set; } + public global::MagicHour.AccountGetResponseSubscriptionBillingInterval? Type149 { get; set; } /// /// /// - public global::MagicHour.SavedItemsListResponse? Type150 { get; set; } + public global::System.DateTime? Type150 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type151 { get; set; } + public global::MagicHour.AccountGetResponse2? Type151 { get; set; } /// /// /// - public global::MagicHour.SavedItemsListResponseItem? Type152 { get; set; } + public global::MagicHour.AccountGetResponseCode? Type152 { get; set; } /// /// /// - public global::MagicHour.SavedItemsListResponseItemType? Type153 { get; set; } + public global::MagicHour.AccountGetResponse3? Type153 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type154 { get; set; } + public global::MagicHour.AccountGetResponseCode2? Type154 { get; set; } /// /// /// - public global::MagicHour.SavedItemsListResponseItemAsset? Type155 { get; set; } + public global::MagicHour.SavedItemsListResponse? Type155 { get; set; } /// /// /// - public global::MagicHour.SavedItemsListResponseItemAssetMediaKind? Type156 { get; set; } + public global::System.Collections.Generic.IList? Type156 { get; set; } /// /// /// - public global::MagicHour.SavedItemsListResponse2? Type157 { get; set; } + public global::MagicHour.SavedItemsListResponseItem? Type157 { get; set; } /// /// /// - public global::MagicHour.SavedItemsListResponseCode? Type158 { get; set; } + public global::MagicHour.SavedItemsListResponseItemType? Type158 { get; set; } /// /// /// - public global::MagicHour.SavedItemsListResponse3? Type159 { get; set; } + public global::System.Collections.Generic.IList? Type159 { get; set; } /// /// /// - public global::MagicHour.SavedItemsListResponseCode2? Type160 { get; set; } + public global::MagicHour.SavedItemsListResponseItemAsset? Type160 { get; set; } /// /// /// - public global::MagicHour.SavedItemsListResponse4? Type161 { get; set; } + public global::MagicHour.SavedItemsListResponseItemAssetMediaKind? Type161 { get; set; } /// /// /// - public global::MagicHour.SavedItemsListResponseCode3? Type162 { get; set; } + public global::MagicHour.SavedItemsListResponse2? Type162 { get; set; } /// /// /// - public global::MagicHour.VideoAssetsGeneratePresignedUrlResponse? Type163 { get; set; } + public global::MagicHour.SavedItemsListResponseCode? Type163 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type164 { get; set; } + public global::MagicHour.SavedItemsListResponse3? Type164 { get; set; } /// /// /// - public global::MagicHour.VideoAssetsGeneratePresignedUrlResponseItem? Type165 { get; set; } + public global::MagicHour.SavedItemsListResponseCode2? Type165 { get; set; } /// /// /// - public global::MagicHour.VideoAssetsGeneratePresignedUrlResponse2? Type166 { get; set; } + public global::MagicHour.SavedItemsListResponse4? Type166 { get; set; } /// /// /// - public global::MagicHour.VideoAssetsGeneratePresignedUrlResponseCode? Type167 { get; set; } + public global::MagicHour.SavedItemsListResponseCode3? Type167 { get; set; } /// /// /// - public global::MagicHour.VideoAssetsGeneratePresignedUrlResponse3? Type168 { get; set; } + public global::MagicHour.VideoAssetsGeneratePresignedUrlResponse? Type168 { get; set; } /// /// /// - public global::MagicHour.VideoAssetsGeneratePresignedUrlResponseCode2? Type169 { get; set; } + public global::System.Collections.Generic.IList? Type169 { get; set; } /// /// /// - public global::MagicHour.VideoAssetsGeneratePresignedUrlResponse4? Type170 { get; set; } + public global::MagicHour.VideoAssetsGeneratePresignedUrlResponseItem? Type170 { get; set; } /// /// /// - public global::MagicHour.VideoAssetsGeneratePresignedUrlResponseCode3? Type171 { get; set; } + public global::MagicHour.VideoAssetsGeneratePresignedUrlResponse2? Type171 { get; set; } /// /// /// - public global::MagicHour.VideoAssetsGeneratePresignedUrlResponse5? Type172 { get; set; } + public global::MagicHour.VideoAssetsGeneratePresignedUrlResponseCode? Type172 { get; set; } /// /// /// - public global::MagicHour.VideoAssetsGeneratePresignedUrlResponseCode4? Type173 { get; set; } + public global::MagicHour.VideoAssetsGeneratePresignedUrlResponse3? Type173 { get; set; } /// /// /// - public global::MagicHour.VideoAssetsGeneratePresignedUrlResponse6? Type174 { get; set; } + public global::MagicHour.VideoAssetsGeneratePresignedUrlResponseCode2? Type174 { get; set; } /// /// /// - public global::MagicHour.VideoAssetsGeneratePresignedUrlResponseCode5? Type175 { get; set; } + public global::MagicHour.VideoAssetsGeneratePresignedUrlResponse4? Type175 { get; set; } /// /// /// - public global::MagicHour.VideoAssetsGeneratePresignedUrlResponse7? Type176 { get; set; } + public global::MagicHour.VideoAssetsGeneratePresignedUrlResponseCode3? Type176 { get; set; } /// /// /// - public global::MagicHour.VideoAssetsGeneratePresignedUrlResponseCode6? Type177 { get; set; } + public global::MagicHour.VideoAssetsGeneratePresignedUrlResponse5? Type177 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionGetDetailsResponse? Type178 { get; set; } + public global::MagicHour.VideoAssetsGeneratePresignedUrlResponseCode4? Type178 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionGetDetailsResponseStatus? Type179 { get; set; } + public global::MagicHour.VideoAssetsGeneratePresignedUrlResponse6? Type179 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type180 { get; set; } + public global::MagicHour.VideoAssetsGeneratePresignedUrlResponseCode5? Type180 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionGetDetailsResponseFace? Type181 { get; set; } + public global::MagicHour.VideoAssetsGeneratePresignedUrlResponse7? Type181 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionGetDetailsResponse2? Type182 { get; set; } + public global::MagicHour.VideoAssetsGeneratePresignedUrlResponseCode6? Type182 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionGetDetailsResponseCode? Type183 { get; set; } + public global::MagicHour.FaceDetectionGetDetailsResponse? Type183 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionGetDetailsResponse3? Type184 { get; set; } + public global::MagicHour.FaceDetectionGetDetailsResponseStatus? Type184 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionGetDetailsResponseCode2? Type185 { get; set; } + public global::System.Collections.Generic.IList? Type185 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionGetDetailsResponse4? Type186 { get; set; } + public global::MagicHour.FaceDetectionGetDetailsResponseFace? Type186 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionGetDetailsResponseCode3? Type187 { get; set; } + public global::MagicHour.FaceDetectionGetDetailsResponse2? Type187 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionGetDetailsResponse5? Type188 { get; set; } + public global::MagicHour.FaceDetectionGetDetailsResponseCode? Type188 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionGetDetailsResponseCode4? Type189 { get; set; } + public global::MagicHour.FaceDetectionGetDetailsResponse3? Type189 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionGetDetailsResponse6? Type190 { get; set; } + public global::MagicHour.FaceDetectionGetDetailsResponseCode2? Type190 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionGetDetailsResponseCode5? Type191 { get; set; } + public global::MagicHour.FaceDetectionGetDetailsResponse4? Type191 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionGetDetailsResponse7? Type192 { get; set; } + public global::MagicHour.FaceDetectionGetDetailsResponseCode3? Type192 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionGetDetailsResponseCode6? Type193 { get; set; } + public global::MagicHour.FaceDetectionGetDetailsResponse5? Type193 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionDetectFacesResponse? Type194 { get; set; } + public global::MagicHour.FaceDetectionGetDetailsResponseCode4? Type194 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionDetectFacesResponse2? Type195 { get; set; } + public global::MagicHour.FaceDetectionGetDetailsResponse6? Type195 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionDetectFacesResponseCode? Type196 { get; set; } + public global::MagicHour.FaceDetectionGetDetailsResponseCode5? Type196 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionDetectFacesResponse3? Type197 { get; set; } + public global::MagicHour.FaceDetectionGetDetailsResponse7? Type197 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionDetectFacesResponseCode2? Type198 { get; set; } + public global::MagicHour.FaceDetectionGetDetailsResponseCode6? Type198 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionDetectFacesResponse4? Type199 { get; set; } + public global::MagicHour.FaceDetectionDetectFacesResponse? Type199 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionDetectFacesResponseCode3? Type200 { get; set; } + public global::MagicHour.FaceDetectionDetectFacesResponse2? Type200 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionDetectFacesResponse5? Type201 { get; set; } + public global::MagicHour.FaceDetectionDetectFacesResponseCode? Type201 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionDetectFacesResponseCode4? Type202 { get; set; } + public global::MagicHour.FaceDetectionDetectFacesResponse3? Type202 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionDetectFacesResponse6? Type203 { get; set; } + public global::MagicHour.FaceDetectionDetectFacesResponseCode2? Type203 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionDetectFacesResponseCode5? Type204 { get; set; } + public global::MagicHour.FaceDetectionDetectFacesResponse4? Type204 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionDetectFacesResponse7? Type205 { get; set; } + public global::MagicHour.FaceDetectionDetectFacesResponseCode3? Type205 { get; set; } /// /// /// - public global::MagicHour.FaceDetectionDetectFacesResponseCode6? Type206 { get; set; } + public global::MagicHour.FaceDetectionDetectFacesResponse5? Type206 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsGetDetailsResponse? Type207 { get; set; } + public global::MagicHour.FaceDetectionDetectFacesResponseCode4? Type207 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsGetDetailsResponseStatus? Type208 { get; set; } + public global::MagicHour.FaceDetectionDetectFacesResponse6? Type208 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsGetDetailsResponseError? Type209 { get; set; } + public global::MagicHour.FaceDetectionDetectFacesResponseCode5? Type209 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type210 { get; set; } + public global::MagicHour.FaceDetectionDetectFacesResponse7? Type210 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsGetDetailsResponseDownload? Type211 { get; set; } + public global::MagicHour.FaceDetectionDetectFacesResponseCode6? Type211 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsGetDetailsResponse2? Type212 { get; set; } + public global::MagicHour.VideoProjectsGetDetailsResponse? Type212 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsGetDetailsResponseCode? Type213 { get; set; } + public global::MagicHour.VideoProjectsGetDetailsResponseStatus? Type213 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsGetDetailsResponse3? Type214 { get; set; } + public global::MagicHour.VideoProjectsGetDetailsResponseError? Type214 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsGetDetailsResponseCode2? Type215 { get; set; } + public global::System.Collections.Generic.IList? Type215 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsGetDetailsResponse4? Type216 { get; set; } + public global::MagicHour.VideoProjectsGetDetailsResponseDownload? Type216 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsGetDetailsResponseCode3? Type217 { get; set; } + public global::MagicHour.VideoProjectsGetDetailsResponse2? Type217 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsGetDetailsResponse5? Type218 { get; set; } + public global::MagicHour.VideoProjectsGetDetailsResponseCode? Type218 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsGetDetailsResponseCode4? Type219 { get; set; } + public global::MagicHour.VideoProjectsGetDetailsResponse3? Type219 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsGetDetailsResponse6? Type220 { get; set; } + public global::MagicHour.VideoProjectsGetDetailsResponseCode2? Type220 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsGetDetailsResponseCode5? Type221 { get; set; } + public global::MagicHour.VideoProjectsGetDetailsResponse4? Type221 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsDeleteResponse? Type222 { get; set; } + public global::MagicHour.VideoProjectsGetDetailsResponseCode3? Type222 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsDeleteResponseCode? Type223 { get; set; } + public global::MagicHour.VideoProjectsGetDetailsResponse5? Type223 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsDeleteResponse2? Type224 { get; set; } + public global::MagicHour.VideoProjectsGetDetailsResponseCode4? Type224 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsDeleteResponseCode2? Type225 { get; set; } + public global::MagicHour.VideoProjectsGetDetailsResponse6? Type225 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsDeleteResponse3? Type226 { get; set; } + public global::MagicHour.VideoProjectsGetDetailsResponseCode5? Type226 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsDeleteResponseCode3? Type227 { get; set; } + public global::MagicHour.VideoProjectsDeleteResponse? Type227 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsDeleteResponse4? Type228 { get; set; } + public global::MagicHour.VideoProjectsDeleteResponseCode? Type228 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsDeleteResponseCode4? Type229 { get; set; } + public global::MagicHour.VideoProjectsDeleteResponse2? Type229 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsDeleteResponse5? Type230 { get; set; } + public global::MagicHour.VideoProjectsDeleteResponseCode2? Type230 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsDeleteResponseCode5? Type231 { get; set; } + public global::MagicHour.VideoProjectsDeleteResponse3? Type231 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsDeleteResponse6? Type232 { get; set; } + public global::MagicHour.VideoProjectsDeleteResponseCode3? Type232 { get; set; } /// /// /// - public global::MagicHour.VideoProjectsDeleteResponseCode6? Type233 { get; set; } + public global::MagicHour.VideoProjectsDeleteResponse4? Type233 { get; set; } /// /// /// - public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponse? Type234 { get; set; } + public global::MagicHour.VideoProjectsDeleteResponseCode4? Type234 { get; set; } /// /// /// - public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponse2? Type235 { get; set; } + public global::MagicHour.VideoProjectsDeleteResponse5? Type235 { get; set; } /// /// /// - public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponseCode? Type236 { get; set; } + public global::MagicHour.VideoProjectsDeleteResponseCode5? Type236 { get; set; } /// /// /// - public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponse3? Type237 { get; set; } + public global::MagicHour.VideoProjectsDeleteResponse6? Type237 { get; set; } /// /// /// - public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponseCode2? Type238 { get; set; } + public global::MagicHour.VideoProjectsDeleteResponseCode6? Type238 { get; set; } /// /// /// - public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponse4? Type239 { get; set; } + public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponse? Type239 { get; set; } /// /// /// - public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponseCode3? Type240 { get; set; } + public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponse2? Type240 { get; set; } /// /// /// - public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponse5? Type241 { get; set; } + public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponseCode? Type241 { get; set; } /// /// /// - public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponseCode4? Type242 { get; set; } + public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponse3? Type242 { get; set; } /// /// /// - public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponse6? Type243 { get; set; } + public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponseCode2? Type243 { get; set; } /// /// /// - public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponseCode5? Type244 { get; set; } + public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponse4? Type244 { get; set; } /// /// /// - public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponse7? Type245 { get; set; } + public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponseCode3? Type245 { get; set; } /// /// /// - public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponseCode6? Type246 { get; set; } + public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponse5? Type246 { get; set; } /// /// /// - public global::MagicHour.AiVideoEditorCreateVideoResponse? Type247 { get; set; } + public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponseCode4? Type247 { get; set; } /// /// /// - public global::MagicHour.AiVideoEditorCreateVideoResponse2? Type248 { get; set; } + public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponse6? Type248 { get; set; } /// /// /// - public global::MagicHour.AiVideoEditorCreateVideoResponseCode? Type249 { get; set; } + public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponseCode5? Type249 { get; set; } /// /// /// - public global::MagicHour.AiVideoEditorCreateVideoResponse3? Type250 { get; set; } + public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponse7? Type250 { get; set; } /// /// /// - public global::MagicHour.AiVideoEditorCreateVideoResponseCode2? Type251 { get; set; } + public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoResponseCode6? Type251 { get; set; } /// /// /// - public global::MagicHour.AiVideoEditorCreateVideoResponse4? Type252 { get; set; } + public global::MagicHour.AiUgcAdCreateVideoResponse? Type252 { get; set; } /// /// /// - public global::MagicHour.AiVideoEditorCreateVideoResponseCode3? Type253 { get; set; } + public global::MagicHour.AiUgcAdCreateVideoResponse2? Type253 { get; set; } /// /// /// - public global::MagicHour.AiVideoEditorCreateVideoResponse5? Type254 { get; set; } + public global::MagicHour.AiUgcAdCreateVideoResponseCode? Type254 { get; set; } /// /// /// - public global::MagicHour.AiVideoEditorCreateVideoResponseCode4? Type255 { get; set; } + public global::MagicHour.AiUgcAdCreateVideoResponse3? Type255 { get; set; } /// /// /// - public global::MagicHour.AiVideoEditorCreateVideoResponse6? Type256 { get; set; } + public global::MagicHour.AiUgcAdCreateVideoResponseCode2? Type256 { get; set; } /// /// /// - public global::MagicHour.AiVideoEditorCreateVideoResponseCode5? Type257 { get; set; } + public global::MagicHour.AiUgcAdCreateVideoResponse4? Type257 { get; set; } /// /// /// - public global::MagicHour.AiVideoEditorCreateVideoResponse7? Type258 { get; set; } + public global::MagicHour.AiUgcAdCreateVideoResponseCode3? Type258 { get; set; } /// /// /// - public global::MagicHour.AiVideoEditorCreateVideoResponseCode6? Type259 { get; set; } + public global::MagicHour.AiUgcAdCreateVideoResponse5? Type259 { get; set; } /// /// /// - public global::MagicHour.AiVideoTranslatorCreateVideoResponse? Type260 { get; set; } + public global::MagicHour.AiUgcAdCreateVideoResponseCode4? Type260 { get; set; } /// /// /// - public global::MagicHour.AiVideoTranslatorCreateVideoResponse2? Type261 { get; set; } + public global::MagicHour.AiUgcAdCreateVideoResponse6? Type261 { get; set; } /// /// /// - public global::MagicHour.AiVideoTranslatorCreateVideoResponseCode? Type262 { get; set; } + public global::MagicHour.AiUgcAdCreateVideoResponseCode5? Type262 { get; set; } /// /// /// - public global::MagicHour.AiVideoTranslatorCreateVideoResponse3? Type263 { get; set; } + public global::MagicHour.AiUgcAdCreateVideoResponse7? Type263 { get; set; } /// /// /// - public global::MagicHour.AiVideoTranslatorCreateVideoResponseCode2? Type264 { get; set; } + public global::MagicHour.AiUgcAdCreateVideoResponseCode6? Type264 { get; set; } /// /// /// - public global::MagicHour.AiVideoTranslatorCreateVideoResponse4? Type265 { get; set; } + public global::MagicHour.AiVideoEditorCreateVideoResponse? Type265 { get; set; } /// /// /// - public global::MagicHour.AiVideoTranslatorCreateVideoResponseCode3? Type266 { get; set; } + public global::MagicHour.AiVideoEditorCreateVideoResponse2? Type266 { get; set; } /// /// /// - public global::MagicHour.AiVideoTranslatorCreateVideoResponse5? Type267 { get; set; } + public global::MagicHour.AiVideoEditorCreateVideoResponseCode? Type267 { get; set; } /// /// /// - public global::MagicHour.AiVideoTranslatorCreateVideoResponseCode4? Type268 { get; set; } + public global::MagicHour.AiVideoEditorCreateVideoResponse3? Type268 { get; set; } /// /// /// - public global::MagicHour.AiVideoTranslatorCreateVideoResponse6? Type269 { get; set; } + public global::MagicHour.AiVideoEditorCreateVideoResponseCode2? Type269 { get; set; } /// /// /// - public global::MagicHour.AiVideoTranslatorCreateVideoResponseCode5? Type270 { get; set; } + public global::MagicHour.AiVideoEditorCreateVideoResponse4? Type270 { get; set; } /// /// /// - public global::MagicHour.AiVideoTranslatorCreateVideoResponse7? Type271 { get; set; } + public global::MagicHour.AiVideoEditorCreateVideoResponseCode3? Type271 { get; set; } /// /// /// - public global::MagicHour.AiVideoTranslatorCreateVideoResponseCode6? Type272 { get; set; } + public global::MagicHour.AiVideoEditorCreateVideoResponse5? Type272 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoResponse? Type273 { get; set; } + public global::MagicHour.AiVideoEditorCreateVideoResponseCode4? Type273 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoResponse2? Type274 { get; set; } + public global::MagicHour.AiVideoEditorCreateVideoResponse6? Type274 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoResponseCode? Type275 { get; set; } + public global::MagicHour.AiVideoEditorCreateVideoResponseCode5? Type275 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoResponse3? Type276 { get; set; } + public global::MagicHour.AiVideoEditorCreateVideoResponse7? Type276 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoResponseCode2? Type277 { get; set; } + public global::MagicHour.AiVideoEditorCreateVideoResponseCode6? Type277 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoResponse4? Type278 { get; set; } + public global::MagicHour.AiVideoTranslatorCreateVideoResponse? Type278 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoResponseCode3? Type279 { get; set; } + public global::MagicHour.AiVideoTranslatorCreateVideoResponse2? Type279 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoResponse5? Type280 { get; set; } + public global::MagicHour.AiVideoTranslatorCreateVideoResponseCode? Type280 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoResponseCode4? Type281 { get; set; } + public global::MagicHour.AiVideoTranslatorCreateVideoResponse3? Type281 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoResponse6? Type282 { get; set; } + public global::MagicHour.AiVideoTranslatorCreateVideoResponseCode2? Type282 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoResponseCode5? Type283 { get; set; } + public global::MagicHour.AiVideoTranslatorCreateVideoResponse4? Type283 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoResponse7? Type284 { get; set; } + public global::MagicHour.AiVideoTranslatorCreateVideoResponseCode3? Type284 { get; set; } /// /// /// - public global::MagicHour.AnimationCreateVideoResponseCode6? Type285 { get; set; } + public global::MagicHour.AiVideoTranslatorCreateVideoResponse5? Type285 { get; set; } /// /// /// - public global::MagicHour.AudioToVideoCreateVideoResponse? Type286 { get; set; } + public global::MagicHour.AiVideoTranslatorCreateVideoResponseCode4? Type286 { get; set; } /// /// /// - public global::MagicHour.AudioToVideoCreateVideoResponse2? Type287 { get; set; } + public global::MagicHour.AiVideoTranslatorCreateVideoResponse6? Type287 { get; set; } /// /// /// - public global::MagicHour.AudioToVideoCreateVideoResponseCode? Type288 { get; set; } + public global::MagicHour.AiVideoTranslatorCreateVideoResponseCode5? Type288 { get; set; } /// /// /// - public global::MagicHour.AudioToVideoCreateVideoResponse3? Type289 { get; set; } + public global::MagicHour.AiVideoTranslatorCreateVideoResponse7? Type289 { get; set; } /// /// /// - public global::MagicHour.AudioToVideoCreateVideoResponseCode2? Type290 { get; set; } + public global::MagicHour.AiVideoTranslatorCreateVideoResponseCode6? Type290 { get; set; } /// /// /// - public global::MagicHour.AudioToVideoCreateVideoResponse4? Type291 { get; set; } + public global::MagicHour.AnimationCreateVideoResponse? Type291 { get; set; } /// /// /// - public global::MagicHour.AudioToVideoCreateVideoResponseCode3? Type292 { get; set; } + public global::MagicHour.AnimationCreateVideoResponse2? Type292 { get; set; } /// /// /// - public global::MagicHour.AudioToVideoCreateVideoResponse5? Type293 { get; set; } + public global::MagicHour.AnimationCreateVideoResponseCode? Type293 { get; set; } /// /// /// - public global::MagicHour.AudioToVideoCreateVideoResponseCode4? Type294 { get; set; } + public global::MagicHour.AnimationCreateVideoResponse3? Type294 { get; set; } /// /// /// - public global::MagicHour.AudioToVideoCreateVideoResponse6? Type295 { get; set; } + public global::MagicHour.AnimationCreateVideoResponseCode2? Type295 { get; set; } /// /// /// - public global::MagicHour.AudioToVideoCreateVideoResponseCode5? Type296 { get; set; } + public global::MagicHour.AnimationCreateVideoResponse4? Type296 { get; set; } /// /// /// - public global::MagicHour.AudioToVideoCreateVideoResponse7? Type297 { get; set; } + public global::MagicHour.AnimationCreateVideoResponseCode3? Type297 { get; set; } /// /// /// - public global::MagicHour.AudioToVideoCreateVideoResponseCode6? Type298 { get; set; } + public global::MagicHour.AnimationCreateVideoResponse5? Type298 { get; set; } /// /// /// - public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponse? Type299 { get; set; } + public global::MagicHour.AnimationCreateVideoResponseCode4? Type299 { get; set; } /// /// /// - public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponse2? Type300 { get; set; } + public global::MagicHour.AnimationCreateVideoResponse6? Type300 { get; set; } /// /// /// - public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponseCode? Type301 { get; set; } + public global::MagicHour.AnimationCreateVideoResponseCode5? Type301 { get; set; } /// /// /// - public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponse3? Type302 { get; set; } + public global::MagicHour.AnimationCreateVideoResponse7? Type302 { get; set; } /// /// /// - public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponseCode2? Type303 { get; set; } + public global::MagicHour.AnimationCreateVideoResponseCode6? Type303 { get; set; } /// /// /// - public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponse4? Type304 { get; set; } + public global::MagicHour.AudioToVideoCreateVideoResponse? Type304 { get; set; } /// /// /// - public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponseCode3? Type305 { get; set; } + public global::MagicHour.AudioToVideoCreateVideoResponse2? Type305 { get; set; } /// /// /// - public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponse5? Type306 { get; set; } + public global::MagicHour.AudioToVideoCreateVideoResponseCode? Type306 { get; set; } /// /// /// - public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponseCode4? Type307 { get; set; } + public global::MagicHour.AudioToVideoCreateVideoResponse3? Type307 { get; set; } /// /// /// - public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponse6? Type308 { get; set; } + public global::MagicHour.AudioToVideoCreateVideoResponseCode2? Type308 { get; set; } /// /// /// - public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponseCode5? Type309 { get; set; } + public global::MagicHour.AudioToVideoCreateVideoResponse4? Type309 { get; set; } /// /// /// - public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponse7? Type310 { get; set; } + public global::MagicHour.AudioToVideoCreateVideoResponseCode3? Type310 { get; set; } /// /// /// - public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponseCode6? Type311 { get; set; } + public global::MagicHour.AudioToVideoCreateVideoResponse5? Type311 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoResponse? Type312 { get; set; } + public global::MagicHour.AudioToVideoCreateVideoResponseCode4? Type312 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoResponse2? Type313 { get; set; } + public global::MagicHour.AudioToVideoCreateVideoResponse6? Type313 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoResponseCode? Type314 { get; set; } + public global::MagicHour.AudioToVideoCreateVideoResponseCode5? Type314 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoResponse3? Type315 { get; set; } + public global::MagicHour.AudioToVideoCreateVideoResponse7? Type315 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoResponseCode2? Type316 { get; set; } + public global::MagicHour.AudioToVideoCreateVideoResponseCode6? Type316 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoResponse4? Type317 { get; set; } + public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponse? Type317 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoResponseCode3? Type318 { get; set; } + public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponse2? Type318 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoResponse5? Type319 { get; set; } + public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponseCode? Type319 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoResponseCode4? Type320 { get; set; } + public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponse3? Type320 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoResponse6? Type321 { get; set; } + public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponseCode2? Type321 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoResponseCode5? Type322 { get; set; } + public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponse4? Type322 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoResponse7? Type323 { get; set; } + public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponseCode3? Type323 { get; set; } /// /// /// - public global::MagicHour.CharacterReplaceCreateVideoResponseCode6? Type324 { get; set; } + public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponse5? Type324 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoResponse? Type325 { get; set; } + public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponseCode4? Type325 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoResponse2? Type326 { get; set; } + public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponse6? Type326 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoResponseCode? Type327 { get; set; } + public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponseCode5? Type327 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoResponse3? Type328 { get; set; } + public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponse7? Type328 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoResponseCode2? Type329 { get; set; } + public global::MagicHour.AutoSubtitleGeneratorCreateVideoResponseCode6? Type329 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoResponse4? Type330 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoResponse? Type330 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoResponseCode3? Type331 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoResponse2? Type331 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoResponse5? Type332 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoResponseCode? Type332 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoResponseCode4? Type333 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoResponse3? Type333 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoResponse6? Type334 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoResponseCode2? Type334 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoResponseCode5? Type335 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoResponse4? Type335 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoResponse7? Type336 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoResponseCode3? Type336 { get; set; } /// /// /// - public global::MagicHour.FaceSwapCreateVideoResponseCode6? Type337 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoResponse5? Type337 { get; set; } /// /// /// - public global::MagicHour.ImageToVideoCreateVideoResponse? Type338 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoResponseCode4? Type338 { get; set; } /// /// /// - public global::MagicHour.ImageToVideoCreateVideoResponse2? Type339 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoResponse6? Type339 { get; set; } /// /// /// - public global::MagicHour.ImageToVideoCreateVideoResponseCode? Type340 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoResponseCode5? Type340 { get; set; } /// /// /// - public global::MagicHour.ImageToVideoCreateVideoResponse3? Type341 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoResponse7? Type341 { get; set; } /// /// /// - public global::MagicHour.ImageToVideoCreateVideoResponseCode2? Type342 { get; set; } + public global::MagicHour.CharacterReplaceCreateVideoResponseCode6? Type342 { get; set; } /// /// /// - public global::MagicHour.ImageToVideoCreateVideoResponse4? Type343 { get; set; } + public global::MagicHour.FaceSwapCreateVideoResponse? Type343 { get; set; } /// /// /// - public global::MagicHour.ImageToVideoCreateVideoResponseCode3? Type344 { get; set; } + public global::MagicHour.FaceSwapCreateVideoResponse2? Type344 { get; set; } /// /// /// - public global::MagicHour.ImageToVideoCreateVideoResponse5? Type345 { get; set; } + public global::MagicHour.FaceSwapCreateVideoResponseCode? Type345 { get; set; } /// /// /// - public global::MagicHour.ImageToVideoCreateVideoResponseCode4? Type346 { get; set; } + public global::MagicHour.FaceSwapCreateVideoResponse3? Type346 { get; set; } /// /// /// - public global::MagicHour.ImageToVideoCreateVideoResponse6? Type347 { get; set; } + public global::MagicHour.FaceSwapCreateVideoResponseCode2? Type347 { get; set; } /// /// /// - public global::MagicHour.ImageToVideoCreateVideoResponseCode5? Type348 { get; set; } + public global::MagicHour.FaceSwapCreateVideoResponse4? Type348 { get; set; } /// /// /// - public global::MagicHour.ImageToVideoCreateVideoResponse7? Type349 { get; set; } + public global::MagicHour.FaceSwapCreateVideoResponseCode3? Type349 { get; set; } /// /// /// - public global::MagicHour.ImageToVideoCreateVideoResponseCode6? Type350 { get; set; } + public global::MagicHour.FaceSwapCreateVideoResponse5? Type350 { get; set; } /// /// /// - public global::MagicHour.LipSyncCreateVideoResponse? Type351 { get; set; } + public global::MagicHour.FaceSwapCreateVideoResponseCode4? Type351 { get; set; } /// /// /// - public global::MagicHour.LipSyncCreateVideoResponse2? Type352 { get; set; } + public global::MagicHour.FaceSwapCreateVideoResponse6? Type352 { get; set; } /// /// /// - public global::MagicHour.LipSyncCreateVideoResponseCode? Type353 { get; set; } + public global::MagicHour.FaceSwapCreateVideoResponseCode5? Type353 { get; set; } /// /// /// - public global::MagicHour.LipSyncCreateVideoResponse3? Type354 { get; set; } + public global::MagicHour.FaceSwapCreateVideoResponse7? Type354 { get; set; } /// /// /// - public global::MagicHour.LipSyncCreateVideoResponseCode2? Type355 { get; set; } + public global::MagicHour.FaceSwapCreateVideoResponseCode6? Type355 { get; set; } /// /// /// - public global::MagicHour.LipSyncCreateVideoResponse4? Type356 { get; set; } + public global::MagicHour.ImageToVideoCreateVideoResponse? Type356 { get; set; } /// /// /// - public global::MagicHour.LipSyncCreateVideoResponseCode3? Type357 { get; set; } + public global::MagicHour.ImageToVideoCreateVideoResponse2? Type357 { get; set; } /// /// /// - public global::MagicHour.LipSyncCreateVideoResponse5? Type358 { get; set; } + public global::MagicHour.ImageToVideoCreateVideoResponseCode? Type358 { get; set; } /// /// /// - public global::MagicHour.LipSyncCreateVideoResponseCode4? Type359 { get; set; } + public global::MagicHour.ImageToVideoCreateVideoResponse3? Type359 { get; set; } /// /// /// - public global::MagicHour.LipSyncCreateVideoResponse6? Type360 { get; set; } + public global::MagicHour.ImageToVideoCreateVideoResponseCode2? Type360 { get; set; } /// /// /// - public global::MagicHour.LipSyncCreateVideoResponseCode5? Type361 { get; set; } + public global::MagicHour.ImageToVideoCreateVideoResponse4? Type361 { get; set; } /// /// /// - public global::MagicHour.LipSyncCreateVideoResponse7? Type362 { get; set; } + public global::MagicHour.ImageToVideoCreateVideoResponseCode3? Type362 { get; set; } /// /// /// - public global::MagicHour.LipSyncCreateVideoResponseCode6? Type363 { get; set; } + public global::MagicHour.ImageToVideoCreateVideoResponse5? Type363 { get; set; } /// /// /// - public global::MagicHour.TextToVideoCreateVideoResponse? Type364 { get; set; } + public global::MagicHour.ImageToVideoCreateVideoResponseCode4? Type364 { get; set; } /// /// /// - public global::MagicHour.TextToVideoCreateVideoResponse2? Type365 { get; set; } + public global::MagicHour.ImageToVideoCreateVideoResponse6? Type365 { get; set; } /// /// /// - public global::MagicHour.TextToVideoCreateVideoResponseCode? Type366 { get; set; } + public global::MagicHour.ImageToVideoCreateVideoResponseCode5? Type366 { get; set; } /// /// /// - public global::MagicHour.TextToVideoCreateVideoResponse3? Type367 { get; set; } + public global::MagicHour.ImageToVideoCreateVideoResponse7? Type367 { get; set; } /// /// /// - public global::MagicHour.TextToVideoCreateVideoResponseCode2? Type368 { get; set; } + public global::MagicHour.ImageToVideoCreateVideoResponseCode6? Type368 { get; set; } /// /// /// - public global::MagicHour.TextToVideoCreateVideoResponse4? Type369 { get; set; } + public global::MagicHour.LipSyncCreateVideoResponse? Type369 { get; set; } /// /// /// - public global::MagicHour.TextToVideoCreateVideoResponseCode3? Type370 { get; set; } + public global::MagicHour.LipSyncCreateVideoResponse2? Type370 { get; set; } /// /// /// - public global::MagicHour.TextToVideoCreateVideoResponse5? Type371 { get; set; } + public global::MagicHour.LipSyncCreateVideoResponseCode? Type371 { get; set; } /// /// /// - public global::MagicHour.TextToVideoCreateVideoResponseCode4? Type372 { get; set; } + public global::MagicHour.LipSyncCreateVideoResponse3? Type372 { get; set; } /// /// /// - public global::MagicHour.TextToVideoCreateVideoResponse6? Type373 { get; set; } + public global::MagicHour.LipSyncCreateVideoResponseCode2? Type373 { get; set; } /// /// /// - public global::MagicHour.TextToVideoCreateVideoResponseCode5? Type374 { get; set; } + public global::MagicHour.LipSyncCreateVideoResponse4? Type374 { get; set; } /// /// /// - public global::MagicHour.TextToVideoCreateVideoResponse7? Type375 { get; set; } + public global::MagicHour.LipSyncCreateVideoResponseCode3? Type375 { get; set; } /// /// /// - public global::MagicHour.TextToVideoCreateVideoResponseCode6? Type376 { get; set; } + public global::MagicHour.LipSyncCreateVideoResponse5? Type376 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoResponse? Type377 { get; set; } + public global::MagicHour.LipSyncCreateVideoResponseCode4? Type377 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoResponse2? Type378 { get; set; } + public global::MagicHour.LipSyncCreateVideoResponse6? Type378 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoResponseCode? Type379 { get; set; } + public global::MagicHour.LipSyncCreateVideoResponseCode5? Type379 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoResponse3? Type380 { get; set; } + public global::MagicHour.LipSyncCreateVideoResponse7? Type380 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoResponseCode2? Type381 { get; set; } + public global::MagicHour.LipSyncCreateVideoResponseCode6? Type381 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoResponse4? Type382 { get; set; } + public global::MagicHour.TextToVideoCreateVideoResponse? Type382 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoResponseCode3? Type383 { get; set; } + public global::MagicHour.TextToVideoCreateVideoResponse2? Type383 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoResponse5? Type384 { get; set; } + public global::MagicHour.TextToVideoCreateVideoResponseCode? Type384 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoResponseCode4? Type385 { get; set; } + public global::MagicHour.TextToVideoCreateVideoResponse3? Type385 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoResponse6? Type386 { get; set; } + public global::MagicHour.TextToVideoCreateVideoResponseCode2? Type386 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoResponseCode5? Type387 { get; set; } + public global::MagicHour.TextToVideoCreateVideoResponse4? Type387 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoResponse7? Type388 { get; set; } + public global::MagicHour.TextToVideoCreateVideoResponseCode3? Type388 { get; set; } /// /// /// - public global::MagicHour.VideoToVideoCreateVideoResponseCode6? Type389 { get; set; } + public global::MagicHour.TextToVideoCreateVideoResponse5? Type389 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsGetDetailsResponse? Type390 { get; set; } + public global::MagicHour.TextToVideoCreateVideoResponseCode4? Type390 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsGetDetailsResponseStatus? Type391 { get; set; } + public global::MagicHour.TextToVideoCreateVideoResponse6? Type391 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type392 { get; set; } + public global::MagicHour.TextToVideoCreateVideoResponseCode5? Type392 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsGetDetailsResponseDownload? Type393 { get; set; } + public global::MagicHour.TextToVideoCreateVideoResponse7? Type393 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsGetDetailsResponseError? Type394 { get; set; } + public global::MagicHour.TextToVideoCreateVideoResponseCode6? Type394 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsGetDetailsResponse2? Type395 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoResponse? Type395 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsGetDetailsResponseCode? Type396 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoResponse2? Type396 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsGetDetailsResponse3? Type397 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoResponseCode? Type397 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsGetDetailsResponseCode2? Type398 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoResponse3? Type398 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsGetDetailsResponse4? Type399 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoResponseCode2? Type399 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsGetDetailsResponseCode3? Type400 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoResponse4? Type400 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsGetDetailsResponse5? Type401 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoResponseCode3? Type401 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsGetDetailsResponseCode4? Type402 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoResponse5? Type402 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsGetDetailsResponse6? Type403 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoResponseCode4? Type403 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsGetDetailsResponseCode5? Type404 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoResponse6? Type404 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsDeleteResponse? Type405 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoResponseCode5? Type405 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsDeleteResponseCode? Type406 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoResponse7? Type406 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsDeleteResponse2? Type407 { get; set; } + public global::MagicHour.VideoToVideoCreateVideoResponseCode6? Type407 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsDeleteResponseCode2? Type408 { get; set; } + public global::MagicHour.ImageProjectsGetDetailsResponse? Type408 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsDeleteResponse3? Type409 { get; set; } + public global::MagicHour.ImageProjectsGetDetailsResponseStatus? Type409 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsDeleteResponseCode3? Type410 { get; set; } + public global::System.Collections.Generic.IList? Type410 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsDeleteResponse4? Type411 { get; set; } + public global::MagicHour.ImageProjectsGetDetailsResponseDownload? Type411 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsDeleteResponseCode4? Type412 { get; set; } + public global::MagicHour.ImageProjectsGetDetailsResponseError? Type412 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsDeleteResponse5? Type413 { get; set; } + public global::MagicHour.ImageProjectsGetDetailsResponse2? Type413 { get; set; } /// /// /// - public global::MagicHour.ImageProjectsDeleteResponseCode5? Type414 { get; set; } + public global::MagicHour.ImageProjectsGetDetailsResponseCode? Type414 { get; set; } /// /// /// - public global::MagicHour.AiClothesChangerCreateImageResponse? Type415 { get; set; } + public global::MagicHour.ImageProjectsGetDetailsResponse3? Type415 { get; set; } /// /// /// - public global::MagicHour.AiClothesChangerCreateImageResponse2? Type416 { get; set; } + public global::MagicHour.ImageProjectsGetDetailsResponseCode2? Type416 { get; set; } /// /// /// - public global::MagicHour.AiClothesChangerCreateImageResponseCode? Type417 { get; set; } + public global::MagicHour.ImageProjectsGetDetailsResponse4? Type417 { get; set; } /// /// /// - public global::MagicHour.AiClothesChangerCreateImageResponse3? Type418 { get; set; } + public global::MagicHour.ImageProjectsGetDetailsResponseCode3? Type418 { get; set; } /// /// /// - public global::MagicHour.AiClothesChangerCreateImageResponseCode2? Type419 { get; set; } + public global::MagicHour.ImageProjectsGetDetailsResponse5? Type419 { get; set; } /// /// /// - public global::MagicHour.AiClothesChangerCreateImageResponse4? Type420 { get; set; } + public global::MagicHour.ImageProjectsGetDetailsResponseCode4? Type420 { get; set; } /// /// /// - public global::MagicHour.AiClothesChangerCreateImageResponseCode3? Type421 { get; set; } + public global::MagicHour.ImageProjectsGetDetailsResponse6? Type421 { get; set; } /// /// /// - public global::MagicHour.AiClothesChangerCreateImageResponse5? Type422 { get; set; } + public global::MagicHour.ImageProjectsGetDetailsResponseCode5? Type422 { get; set; } /// /// /// - public global::MagicHour.AiClothesChangerCreateImageResponseCode4? Type423 { get; set; } + public global::MagicHour.ImageProjectsDeleteResponse? Type423 { get; set; } /// /// /// - public global::MagicHour.AiClothesChangerCreateImageResponse6? Type424 { get; set; } + public global::MagicHour.ImageProjectsDeleteResponseCode? Type424 { get; set; } /// /// /// - public global::MagicHour.AiClothesChangerCreateImageResponseCode5? Type425 { get; set; } + public global::MagicHour.ImageProjectsDeleteResponse2? Type425 { get; set; } /// /// /// - public global::MagicHour.AiClothesChangerCreateImageResponse7? Type426 { get; set; } + public global::MagicHour.ImageProjectsDeleteResponseCode2? Type426 { get; set; } /// /// /// - public global::MagicHour.AiClothesChangerCreateImageResponseCode6? Type427 { get; set; } + public global::MagicHour.ImageProjectsDeleteResponse3? Type427 { get; set; } /// /// /// - public global::MagicHour.AiFaceEditorEditImageResponse? Type428 { get; set; } + public global::MagicHour.ImageProjectsDeleteResponseCode3? Type428 { get; set; } /// /// /// - public global::MagicHour.AiFaceEditorEditImageResponse2? Type429 { get; set; } + public global::MagicHour.ImageProjectsDeleteResponse4? Type429 { get; set; } /// /// /// - public global::MagicHour.AiFaceEditorEditImageResponseCode? Type430 { get; set; } + public global::MagicHour.ImageProjectsDeleteResponseCode4? Type430 { get; set; } /// /// /// - public global::MagicHour.AiFaceEditorEditImageResponse3? Type431 { get; set; } + public global::MagicHour.ImageProjectsDeleteResponse5? Type431 { get; set; } /// /// /// - public global::MagicHour.AiFaceEditorEditImageResponseCode2? Type432 { get; set; } + public global::MagicHour.ImageProjectsDeleteResponseCode5? Type432 { get; set; } /// /// /// - public global::MagicHour.AiFaceEditorEditImageResponse4? Type433 { get; set; } + public global::MagicHour.AiClothesChangerCreateImageResponse? Type433 { get; set; } /// /// /// - public global::MagicHour.AiFaceEditorEditImageResponseCode3? Type434 { get; set; } + public global::MagicHour.AiClothesChangerCreateImageResponse2? Type434 { get; set; } /// /// /// - public global::MagicHour.AiFaceEditorEditImageResponse5? Type435 { get; set; } + public global::MagicHour.AiClothesChangerCreateImageResponseCode? Type435 { get; set; } /// /// /// - public global::MagicHour.AiFaceEditorEditImageResponseCode4? Type436 { get; set; } + public global::MagicHour.AiClothesChangerCreateImageResponse3? Type436 { get; set; } /// /// /// - public global::MagicHour.AiFaceEditorEditImageResponse6? Type437 { get; set; } + public global::MagicHour.AiClothesChangerCreateImageResponseCode2? Type437 { get; set; } /// /// /// - public global::MagicHour.AiFaceEditorEditImageResponseCode5? Type438 { get; set; } + public global::MagicHour.AiClothesChangerCreateImageResponse4? Type438 { get; set; } /// /// /// - public global::MagicHour.AiFaceEditorEditImageResponse7? Type439 { get; set; } + public global::MagicHour.AiClothesChangerCreateImageResponseCode3? Type439 { get; set; } /// /// /// - public global::MagicHour.AiFaceEditorEditImageResponseCode6? Type440 { get; set; } + public global::MagicHour.AiClothesChangerCreateImageResponse5? Type440 { get; set; } /// /// /// - public global::MagicHour.AiGifGeneratorCreateImageResponse? Type441 { get; set; } + public global::MagicHour.AiClothesChangerCreateImageResponseCode4? Type441 { get; set; } /// /// /// - public global::MagicHour.AiGifGeneratorCreateImageResponse2? Type442 { get; set; } + public global::MagicHour.AiClothesChangerCreateImageResponse6? Type442 { get; set; } /// /// /// - public global::MagicHour.AiGifGeneratorCreateImageResponseCode? Type443 { get; set; } + public global::MagicHour.AiClothesChangerCreateImageResponseCode5? Type443 { get; set; } /// /// /// - public global::MagicHour.AiGifGeneratorCreateImageResponse3? Type444 { get; set; } + public global::MagicHour.AiClothesChangerCreateImageResponse7? Type444 { get; set; } /// /// /// - public global::MagicHour.AiGifGeneratorCreateImageResponseCode2? Type445 { get; set; } + public global::MagicHour.AiClothesChangerCreateImageResponseCode6? Type445 { get; set; } /// /// /// - public global::MagicHour.AiGifGeneratorCreateImageResponse4? Type446 { get; set; } + public global::MagicHour.AiFaceEditorEditImageResponse? Type446 { get; set; } /// /// /// - public global::MagicHour.AiGifGeneratorCreateImageResponseCode3? Type447 { get; set; } + public global::MagicHour.AiFaceEditorEditImageResponse2? Type447 { get; set; } /// /// /// - public global::MagicHour.AiGifGeneratorCreateImageResponse5? Type448 { get; set; } + public global::MagicHour.AiFaceEditorEditImageResponseCode? Type448 { get; set; } /// /// /// - public global::MagicHour.AiGifGeneratorCreateImageResponseCode4? Type449 { get; set; } + public global::MagicHour.AiFaceEditorEditImageResponse3? Type449 { get; set; } /// /// /// - public global::MagicHour.AiGifGeneratorCreateImageResponse6? Type450 { get; set; } + public global::MagicHour.AiFaceEditorEditImageResponseCode2? Type450 { get; set; } /// /// /// - public global::MagicHour.AiGifGeneratorCreateImageResponseCode5? Type451 { get; set; } + public global::MagicHour.AiFaceEditorEditImageResponse4? Type451 { get; set; } /// /// /// - public global::MagicHour.AiGifGeneratorCreateImageResponse7? Type452 { get; set; } + public global::MagicHour.AiFaceEditorEditImageResponseCode3? Type452 { get; set; } /// /// /// - public global::MagicHour.AiGifGeneratorCreateImageResponseCode6? Type453 { get; set; } + public global::MagicHour.AiFaceEditorEditImageResponse5? Type453 { get; set; } /// /// /// - public global::MagicHour.AiImageEditorCreateImageResponse? Type454 { get; set; } + public global::MagicHour.AiFaceEditorEditImageResponseCode4? Type454 { get; set; } /// /// /// - public global::MagicHour.AiImageEditorCreateImageResponse2? Type455 { get; set; } + public global::MagicHour.AiFaceEditorEditImageResponse6? Type455 { get; set; } /// /// /// - public global::MagicHour.AiImageEditorCreateImageResponseCode? Type456 { get; set; } + public global::MagicHour.AiFaceEditorEditImageResponseCode5? Type456 { get; set; } /// /// /// - public global::MagicHour.AiImageEditorCreateImageResponse3? Type457 { get; set; } + public global::MagicHour.AiFaceEditorEditImageResponse7? Type457 { get; set; } /// /// /// - public global::MagicHour.AiImageEditorCreateImageResponseCode2? Type458 { get; set; } + public global::MagicHour.AiFaceEditorEditImageResponseCode6? Type458 { get; set; } /// /// /// - public global::MagicHour.AiImageEditorCreateImageResponse4? Type459 { get; set; } + public global::MagicHour.AiGifGeneratorCreateImageResponse? Type459 { get; set; } /// /// /// - public global::MagicHour.AiImageEditorCreateImageResponseCode3? Type460 { get; set; } + public global::MagicHour.AiGifGeneratorCreateImageResponse2? Type460 { get; set; } /// /// /// - public global::MagicHour.AiImageEditorCreateImageResponse5? Type461 { get; set; } + public global::MagicHour.AiGifGeneratorCreateImageResponseCode? Type461 { get; set; } /// /// /// - public global::MagicHour.AiImageEditorCreateImageResponseCode4? Type462 { get; set; } + public global::MagicHour.AiGifGeneratorCreateImageResponse3? Type462 { get; set; } /// /// /// - public global::MagicHour.AiImageEditorCreateImageResponse6? Type463 { get; set; } + public global::MagicHour.AiGifGeneratorCreateImageResponseCode2? Type463 { get; set; } /// /// /// - public global::MagicHour.AiImageEditorCreateImageResponseCode5? Type464 { get; set; } + public global::MagicHour.AiGifGeneratorCreateImageResponse4? Type464 { get; set; } /// /// /// - public global::MagicHour.AiImageEditorCreateImageResponse7? Type465 { get; set; } + public global::MagicHour.AiGifGeneratorCreateImageResponseCode3? Type465 { get; set; } /// /// /// - public global::MagicHour.AiImageEditorCreateImageResponseCode6? Type466 { get; set; } + public global::MagicHour.AiGifGeneratorCreateImageResponse5? Type466 { get; set; } /// /// /// - public global::MagicHour.AiHeadshotGeneratorCreateImageResponse? Type467 { get; set; } + public global::MagicHour.AiGifGeneratorCreateImageResponseCode4? Type467 { get; set; } /// /// /// - public global::MagicHour.AiHeadshotGeneratorCreateImageResponse2? Type468 { get; set; } + public global::MagicHour.AiGifGeneratorCreateImageResponse6? Type468 { get; set; } /// /// /// - public global::MagicHour.AiHeadshotGeneratorCreateImageResponseCode? Type469 { get; set; } + public global::MagicHour.AiGifGeneratorCreateImageResponseCode5? Type469 { get; set; } /// /// /// - public global::MagicHour.AiHeadshotGeneratorCreateImageResponse3? Type470 { get; set; } + public global::MagicHour.AiGifGeneratorCreateImageResponse7? Type470 { get; set; } /// /// /// - public global::MagicHour.AiHeadshotGeneratorCreateImageResponseCode2? Type471 { get; set; } + public global::MagicHour.AiGifGeneratorCreateImageResponseCode6? Type471 { get; set; } /// /// /// - public global::MagicHour.AiHeadshotGeneratorCreateImageResponse4? Type472 { get; set; } + public global::MagicHour.AiImageEditorCreateImageResponse? Type472 { get; set; } /// /// /// - public global::MagicHour.AiHeadshotGeneratorCreateImageResponseCode3? Type473 { get; set; } + public global::MagicHour.AiImageEditorCreateImageResponse2? Type473 { get; set; } /// /// /// - public global::MagicHour.AiHeadshotGeneratorCreateImageResponse5? Type474 { get; set; } + public global::MagicHour.AiImageEditorCreateImageResponseCode? Type474 { get; set; } /// /// /// - public global::MagicHour.AiHeadshotGeneratorCreateImageResponseCode4? Type475 { get; set; } + public global::MagicHour.AiImageEditorCreateImageResponse3? Type475 { get; set; } /// /// /// - public global::MagicHour.AiHeadshotGeneratorCreateImageResponse6? Type476 { get; set; } + public global::MagicHour.AiImageEditorCreateImageResponseCode2? Type476 { get; set; } /// /// /// - public global::MagicHour.AiHeadshotGeneratorCreateImageResponseCode5? Type477 { get; set; } + public global::MagicHour.AiImageEditorCreateImageResponse4? Type477 { get; set; } /// /// /// - public global::MagicHour.AiHeadshotGeneratorCreateImageResponse7? Type478 { get; set; } + public global::MagicHour.AiImageEditorCreateImageResponseCode3? Type478 { get; set; } /// /// /// - public global::MagicHour.AiHeadshotGeneratorCreateImageResponseCode6? Type479 { get; set; } + public global::MagicHour.AiImageEditorCreateImageResponse5? Type479 { get; set; } /// /// /// - public global::MagicHour.AiImageGeneratorCreateImageResponse? Type480 { get; set; } + public global::MagicHour.AiImageEditorCreateImageResponseCode4? Type480 { get; set; } /// /// /// - public global::MagicHour.AiImageGeneratorCreateImageResponse2? Type481 { get; set; } + public global::MagicHour.AiImageEditorCreateImageResponse6? Type481 { get; set; } /// /// /// - public global::MagicHour.AiImageGeneratorCreateImageResponseCode? Type482 { get; set; } + public global::MagicHour.AiImageEditorCreateImageResponseCode5? Type482 { get; set; } /// /// /// - public global::MagicHour.AiImageGeneratorCreateImageResponse3? Type483 { get; set; } + public global::MagicHour.AiImageEditorCreateImageResponse7? Type483 { get; set; } /// /// /// - public global::MagicHour.AiImageGeneratorCreateImageResponseCode2? Type484 { get; set; } + public global::MagicHour.AiImageEditorCreateImageResponseCode6? Type484 { get; set; } /// /// /// - public global::MagicHour.AiImageGeneratorCreateImageResponse4? Type485 { get; set; } + public global::MagicHour.AiHeadshotGeneratorCreateImageResponse? Type485 { get; set; } /// /// /// - public global::MagicHour.AiImageGeneratorCreateImageResponseCode3? Type486 { get; set; } + public global::MagicHour.AiHeadshotGeneratorCreateImageResponse2? Type486 { get; set; } /// /// /// - public global::MagicHour.AiImageGeneratorCreateImageResponse5? Type487 { get; set; } + public global::MagicHour.AiHeadshotGeneratorCreateImageResponseCode? Type487 { get; set; } /// /// /// - public global::MagicHour.AiImageGeneratorCreateImageResponseCode4? Type488 { get; set; } + public global::MagicHour.AiHeadshotGeneratorCreateImageResponse3? Type488 { get; set; } /// /// /// - public global::MagicHour.AiImageGeneratorCreateImageResponse6? Type489 { get; set; } + public global::MagicHour.AiHeadshotGeneratorCreateImageResponseCode2? Type489 { get; set; } /// /// /// - public global::MagicHour.AiImageGeneratorCreateImageResponseCode5? Type490 { get; set; } + public global::MagicHour.AiHeadshotGeneratorCreateImageResponse4? Type490 { get; set; } /// /// /// - public global::MagicHour.AiImageGeneratorCreateImageResponse7? Type491 { get; set; } + public global::MagicHour.AiHeadshotGeneratorCreateImageResponseCode3? Type491 { get; set; } /// /// /// - public global::MagicHour.AiImageGeneratorCreateImageResponseCode6? Type492 { get; set; } + public global::MagicHour.AiHeadshotGeneratorCreateImageResponse5? Type492 { get; set; } /// /// /// - public global::MagicHour.AiImageUpscalerCreateImageResponse? Type493 { get; set; } + public global::MagicHour.AiHeadshotGeneratorCreateImageResponseCode4? Type493 { get; set; } /// /// /// - public global::MagicHour.AiImageUpscalerCreateImageResponse2? Type494 { get; set; } + public global::MagicHour.AiHeadshotGeneratorCreateImageResponse6? Type494 { get; set; } /// /// /// - public global::MagicHour.AiImageUpscalerCreateImageResponseCode? Type495 { get; set; } + public global::MagicHour.AiHeadshotGeneratorCreateImageResponseCode5? Type495 { get; set; } /// /// /// - public global::MagicHour.AiImageUpscalerCreateImageResponse3? Type496 { get; set; } + public global::MagicHour.AiHeadshotGeneratorCreateImageResponse7? Type496 { get; set; } /// /// /// - public global::MagicHour.AiImageUpscalerCreateImageResponseCode2? Type497 { get; set; } + public global::MagicHour.AiHeadshotGeneratorCreateImageResponseCode6? Type497 { get; set; } /// /// /// - public global::MagicHour.AiImageUpscalerCreateImageResponse4? Type498 { get; set; } + public global::MagicHour.AiImageGeneratorCreateImageResponse? Type498 { get; set; } /// /// /// - public global::MagicHour.AiImageUpscalerCreateImageResponseCode3? Type499 { get; set; } + public global::MagicHour.AiImageGeneratorCreateImageResponse2? Type499 { get; set; } /// /// /// - public global::MagicHour.AiImageUpscalerCreateImageResponse5? Type500 { get; set; } + public global::MagicHour.AiImageGeneratorCreateImageResponseCode? Type500 { get; set; } /// /// /// - public global::MagicHour.AiImageUpscalerCreateImageResponseCode4? Type501 { get; set; } + public global::MagicHour.AiImageGeneratorCreateImageResponse3? Type501 { get; set; } /// /// /// - public global::MagicHour.AiImageUpscalerCreateImageResponse6? Type502 { get; set; } + public global::MagicHour.AiImageGeneratorCreateImageResponseCode2? Type502 { get; set; } /// /// /// - public global::MagicHour.AiImageUpscalerCreateImageResponseCode5? Type503 { get; set; } + public global::MagicHour.AiImageGeneratorCreateImageResponse4? Type503 { get; set; } /// /// /// - public global::MagicHour.AiImageUpscalerCreateImageResponse7? Type504 { get; set; } + public global::MagicHour.AiImageGeneratorCreateImageResponseCode3? Type504 { get; set; } /// /// /// - public global::MagicHour.AiImageUpscalerCreateImageResponseCode6? Type505 { get; set; } + public global::MagicHour.AiImageGeneratorCreateImageResponse5? Type505 { get; set; } /// /// /// - public global::MagicHour.AiMemeGeneratorCreateImageResponse? Type506 { get; set; } + public global::MagicHour.AiImageGeneratorCreateImageResponseCode4? Type506 { get; set; } /// /// /// - public global::MagicHour.AiMemeGeneratorCreateImageResponse2? Type507 { get; set; } + public global::MagicHour.AiImageGeneratorCreateImageResponse6? Type507 { get; set; } /// /// /// - public global::MagicHour.AiMemeGeneratorCreateImageResponseCode? Type508 { get; set; } + public global::MagicHour.AiImageGeneratorCreateImageResponseCode5? Type508 { get; set; } /// /// /// - public global::MagicHour.AiMemeGeneratorCreateImageResponse3? Type509 { get; set; } + public global::MagicHour.AiImageGeneratorCreateImageResponse7? Type509 { get; set; } /// /// /// - public global::MagicHour.AiMemeGeneratorCreateImageResponseCode2? Type510 { get; set; } + public global::MagicHour.AiImageGeneratorCreateImageResponseCode6? Type510 { get; set; } /// /// /// - public global::MagicHour.AiMemeGeneratorCreateImageResponse4? Type511 { get; set; } + public global::MagicHour.AiImageUpscalerCreateImageResponse? Type511 { get; set; } /// /// /// - public global::MagicHour.AiMemeGeneratorCreateImageResponseCode3? Type512 { get; set; } + public global::MagicHour.AiImageUpscalerCreateImageResponse2? Type512 { get; set; } /// /// /// - public global::MagicHour.AiMemeGeneratorCreateImageResponse5? Type513 { get; set; } + public global::MagicHour.AiImageUpscalerCreateImageResponseCode? Type513 { get; set; } /// /// /// - public global::MagicHour.AiMemeGeneratorCreateImageResponseCode4? Type514 { get; set; } + public global::MagicHour.AiImageUpscalerCreateImageResponse3? Type514 { get; set; } /// /// /// - public global::MagicHour.AiMemeGeneratorCreateImageResponse6? Type515 { get; set; } + public global::MagicHour.AiImageUpscalerCreateImageResponseCode2? Type515 { get; set; } /// /// /// - public global::MagicHour.AiMemeGeneratorCreateImageResponseCode5? Type516 { get; set; } + public global::MagicHour.AiImageUpscalerCreateImageResponse4? Type516 { get; set; } /// /// /// - public global::MagicHour.AiMemeGeneratorCreateImageResponse7? Type517 { get; set; } + public global::MagicHour.AiImageUpscalerCreateImageResponseCode3? Type517 { get; set; } /// /// /// - public global::MagicHour.AiMemeGeneratorCreateImageResponseCode6? Type518 { get; set; } + public global::MagicHour.AiImageUpscalerCreateImageResponse5? Type518 { get; set; } /// /// /// - public global::MagicHour.AiQrCodeGeneratorCreateImageResponse? Type519 { get; set; } + public global::MagicHour.AiImageUpscalerCreateImageResponseCode4? Type519 { get; set; } /// /// /// - public global::MagicHour.AiQrCodeGeneratorCreateImageResponse2? Type520 { get; set; } + public global::MagicHour.AiImageUpscalerCreateImageResponse6? Type520 { get; set; } /// /// /// - public global::MagicHour.AiQrCodeGeneratorCreateImageResponseCode? Type521 { get; set; } + public global::MagicHour.AiImageUpscalerCreateImageResponseCode5? Type521 { get; set; } /// /// /// - public global::MagicHour.AiQrCodeGeneratorCreateImageResponse3? Type522 { get; set; } + public global::MagicHour.AiImageUpscalerCreateImageResponse7? Type522 { get; set; } /// /// /// - public global::MagicHour.AiQrCodeGeneratorCreateImageResponseCode2? Type523 { get; set; } + public global::MagicHour.AiImageUpscalerCreateImageResponseCode6? Type523 { get; set; } /// /// /// - public global::MagicHour.AiQrCodeGeneratorCreateImageResponse4? Type524 { get; set; } + public global::MagicHour.AiMemeGeneratorCreateImageResponse? Type524 { get; set; } /// /// /// - public global::MagicHour.AiQrCodeGeneratorCreateImageResponseCode3? Type525 { get; set; } + public global::MagicHour.AiMemeGeneratorCreateImageResponse2? Type525 { get; set; } /// /// /// - public global::MagicHour.AiQrCodeGeneratorCreateImageResponse5? Type526 { get; set; } + public global::MagicHour.AiMemeGeneratorCreateImageResponseCode? Type526 { get; set; } /// /// /// - public global::MagicHour.AiQrCodeGeneratorCreateImageResponseCode4? Type527 { get; set; } + public global::MagicHour.AiMemeGeneratorCreateImageResponse3? Type527 { get; set; } /// /// /// - public global::MagicHour.AiQrCodeGeneratorCreateImageResponse6? Type528 { get; set; } + public global::MagicHour.AiMemeGeneratorCreateImageResponseCode2? Type528 { get; set; } /// /// /// - public global::MagicHour.AiQrCodeGeneratorCreateImageResponseCode5? Type529 { get; set; } + public global::MagicHour.AiMemeGeneratorCreateImageResponse4? Type529 { get; set; } /// /// /// - public global::MagicHour.AiQrCodeGeneratorCreateImageResponse7? Type530 { get; set; } + public global::MagicHour.AiMemeGeneratorCreateImageResponseCode3? Type530 { get; set; } /// /// /// - public global::MagicHour.AiQrCodeGeneratorCreateImageResponseCode6? Type531 { get; set; } + public global::MagicHour.AiMemeGeneratorCreateImageResponse5? Type531 { get; set; } /// /// /// - public global::MagicHour.BodySwapCreateImageResponse? Type532 { get; set; } + public global::MagicHour.AiMemeGeneratorCreateImageResponseCode4? Type532 { get; set; } /// /// /// - public global::MagicHour.BodySwapCreateImageResponse2? Type533 { get; set; } + public global::MagicHour.AiMemeGeneratorCreateImageResponse6? Type533 { get; set; } /// /// /// - public global::MagicHour.BodySwapCreateImageResponseCode? Type534 { get; set; } + public global::MagicHour.AiMemeGeneratorCreateImageResponseCode5? Type534 { get; set; } /// /// /// - public global::MagicHour.BodySwapCreateImageResponse3? Type535 { get; set; } + public global::MagicHour.AiMemeGeneratorCreateImageResponse7? Type535 { get; set; } /// /// /// - public global::MagicHour.BodySwapCreateImageResponseCode2? Type536 { get; set; } + public global::MagicHour.AiMemeGeneratorCreateImageResponseCode6? Type536 { get; set; } /// /// /// - public global::MagicHour.BodySwapCreateImageResponse4? Type537 { get; set; } + public global::MagicHour.AiQrCodeGeneratorCreateImageResponse? Type537 { get; set; } /// /// /// - public global::MagicHour.BodySwapCreateImageResponseCode3? Type538 { get; set; } + public global::MagicHour.AiQrCodeGeneratorCreateImageResponse2? Type538 { get; set; } /// /// /// - public global::MagicHour.BodySwapCreateImageResponse5? Type539 { get; set; } + public global::MagicHour.AiQrCodeGeneratorCreateImageResponseCode? Type539 { get; set; } /// /// /// - public global::MagicHour.BodySwapCreateImageResponseCode4? Type540 { get; set; } + public global::MagicHour.AiQrCodeGeneratorCreateImageResponse3? Type540 { get; set; } /// /// /// - public global::MagicHour.BodySwapCreateImageResponse6? Type541 { get; set; } + public global::MagicHour.AiQrCodeGeneratorCreateImageResponseCode2? Type541 { get; set; } /// /// /// - public global::MagicHour.BodySwapCreateImageResponseCode5? Type542 { get; set; } + public global::MagicHour.AiQrCodeGeneratorCreateImageResponse4? Type542 { get; set; } /// /// /// - public global::MagicHour.BodySwapCreateImageResponse7? Type543 { get; set; } + public global::MagicHour.AiQrCodeGeneratorCreateImageResponseCode3? Type543 { get; set; } /// /// /// - public global::MagicHour.BodySwapCreateImageResponseCode6? Type544 { get; set; } + public global::MagicHour.AiQrCodeGeneratorCreateImageResponse5? Type544 { get; set; } /// /// /// - public global::MagicHour.FaceSwapPhotoCreateImageResponse? Type545 { get; set; } + public global::MagicHour.AiQrCodeGeneratorCreateImageResponseCode4? Type545 { get; set; } /// /// /// - public global::MagicHour.FaceSwapPhotoCreateImageResponse2? Type546 { get; set; } + public global::MagicHour.AiQrCodeGeneratorCreateImageResponse6? Type546 { get; set; } /// /// /// - public global::MagicHour.FaceSwapPhotoCreateImageResponseCode? Type547 { get; set; } + public global::MagicHour.AiQrCodeGeneratorCreateImageResponseCode5? Type547 { get; set; } /// /// /// - public global::MagicHour.FaceSwapPhotoCreateImageResponse3? Type548 { get; set; } + public global::MagicHour.AiQrCodeGeneratorCreateImageResponse7? Type548 { get; set; } /// /// /// - public global::MagicHour.FaceSwapPhotoCreateImageResponseCode2? Type549 { get; set; } + public global::MagicHour.AiQrCodeGeneratorCreateImageResponseCode6? Type549 { get; set; } /// /// /// - public global::MagicHour.FaceSwapPhotoCreateImageResponse4? Type550 { get; set; } + public global::MagicHour.BodySwapCreateImageResponse? Type550 { get; set; } /// /// /// - public global::MagicHour.FaceSwapPhotoCreateImageResponseCode3? Type551 { get; set; } + public global::MagicHour.BodySwapCreateImageResponse2? Type551 { get; set; } /// /// /// - public global::MagicHour.FaceSwapPhotoCreateImageResponse5? Type552 { get; set; } + public global::MagicHour.BodySwapCreateImageResponseCode? Type552 { get; set; } /// /// /// - public global::MagicHour.FaceSwapPhotoCreateImageResponseCode4? Type553 { get; set; } + public global::MagicHour.BodySwapCreateImageResponse3? Type553 { get; set; } /// /// /// - public global::MagicHour.FaceSwapPhotoCreateImageResponse6? Type554 { get; set; } + public global::MagicHour.BodySwapCreateImageResponseCode2? Type554 { get; set; } /// /// /// - public global::MagicHour.FaceSwapPhotoCreateImageResponseCode5? Type555 { get; set; } + public global::MagicHour.BodySwapCreateImageResponse4? Type555 { get; set; } /// /// /// - public global::MagicHour.FaceSwapPhotoCreateImageResponse7? Type556 { get; set; } + public global::MagicHour.BodySwapCreateImageResponseCode3? Type556 { get; set; } /// /// /// - public global::MagicHour.FaceSwapPhotoCreateImageResponseCode6? Type557 { get; set; } + public global::MagicHour.BodySwapCreateImageResponse5? Type557 { get; set; } /// /// /// - public global::MagicHour.HeadSwapCreateImageResponse? Type558 { get; set; } + public global::MagicHour.BodySwapCreateImageResponseCode4? Type558 { get; set; } /// /// /// - public global::MagicHour.HeadSwapCreateImageResponse2? Type559 { get; set; } + public global::MagicHour.BodySwapCreateImageResponse6? Type559 { get; set; } /// /// /// - public global::MagicHour.HeadSwapCreateImageResponseCode? Type560 { get; set; } + public global::MagicHour.BodySwapCreateImageResponseCode5? Type560 { get; set; } /// /// /// - public global::MagicHour.HeadSwapCreateImageResponse3? Type561 { get; set; } + public global::MagicHour.BodySwapCreateImageResponse7? Type561 { get; set; } /// /// /// - public global::MagicHour.HeadSwapCreateImageResponseCode2? Type562 { get; set; } + public global::MagicHour.BodySwapCreateImageResponseCode6? Type562 { get; set; } /// /// /// - public global::MagicHour.HeadSwapCreateImageResponse4? Type563 { get; set; } + public global::MagicHour.FaceSwapPhotoCreateImageResponse? Type563 { get; set; } /// /// /// - public global::MagicHour.HeadSwapCreateImageResponseCode3? Type564 { get; set; } + public global::MagicHour.FaceSwapPhotoCreateImageResponse2? Type564 { get; set; } /// /// /// - public global::MagicHour.HeadSwapCreateImageResponse5? Type565 { get; set; } + public global::MagicHour.FaceSwapPhotoCreateImageResponseCode? Type565 { get; set; } /// /// /// - public global::MagicHour.HeadSwapCreateImageResponseCode4? Type566 { get; set; } + public global::MagicHour.FaceSwapPhotoCreateImageResponse3? Type566 { get; set; } /// /// /// - public global::MagicHour.HeadSwapCreateImageResponse6? Type567 { get; set; } + public global::MagicHour.FaceSwapPhotoCreateImageResponseCode2? Type567 { get; set; } /// /// /// - public global::MagicHour.HeadSwapCreateImageResponseCode5? Type568 { get; set; } + public global::MagicHour.FaceSwapPhotoCreateImageResponse4? Type568 { get; set; } /// /// /// - public global::MagicHour.HeadSwapCreateImageResponse7? Type569 { get; set; } + public global::MagicHour.FaceSwapPhotoCreateImageResponseCode3? Type569 { get; set; } /// /// /// - public global::MagicHour.HeadSwapCreateImageResponseCode6? Type570 { get; set; } + public global::MagicHour.FaceSwapPhotoCreateImageResponse5? Type570 { get; set; } /// /// /// - public global::MagicHour.ImageBackgroundRemoverCreateImageResponse? Type571 { get; set; } + public global::MagicHour.FaceSwapPhotoCreateImageResponseCode4? Type571 { get; set; } /// /// /// - public global::MagicHour.ImageBackgroundRemoverCreateImageResponse2? Type572 { get; set; } + public global::MagicHour.FaceSwapPhotoCreateImageResponse6? Type572 { get; set; } /// /// /// - public global::MagicHour.ImageBackgroundRemoverCreateImageResponseCode? Type573 { get; set; } + public global::MagicHour.FaceSwapPhotoCreateImageResponseCode5? Type573 { get; set; } /// /// /// - public global::MagicHour.ImageBackgroundRemoverCreateImageResponse3? Type574 { get; set; } + public global::MagicHour.FaceSwapPhotoCreateImageResponse7? Type574 { get; set; } /// /// /// - public global::MagicHour.ImageBackgroundRemoverCreateImageResponseCode2? Type575 { get; set; } + public global::MagicHour.FaceSwapPhotoCreateImageResponseCode6? Type575 { get; set; } /// /// /// - public global::MagicHour.ImageBackgroundRemoverCreateImageResponse4? Type576 { get; set; } + public global::MagicHour.HeadSwapCreateImageResponse? Type576 { get; set; } /// /// /// - public global::MagicHour.ImageBackgroundRemoverCreateImageResponseCode3? Type577 { get; set; } + public global::MagicHour.HeadSwapCreateImageResponse2? Type577 { get; set; } /// /// /// - public global::MagicHour.ImageBackgroundRemoverCreateImageResponse5? Type578 { get; set; } + public global::MagicHour.HeadSwapCreateImageResponseCode? Type578 { get; set; } /// /// /// - public global::MagicHour.ImageBackgroundRemoverCreateImageResponseCode4? Type579 { get; set; } + public global::MagicHour.HeadSwapCreateImageResponse3? Type579 { get; set; } /// /// /// - public global::MagicHour.ImageBackgroundRemoverCreateImageResponse6? Type580 { get; set; } + public global::MagicHour.HeadSwapCreateImageResponseCode2? Type580 { get; set; } /// /// /// - public global::MagicHour.ImageBackgroundRemoverCreateImageResponseCode5? Type581 { get; set; } + public global::MagicHour.HeadSwapCreateImageResponse4? Type581 { get; set; } /// /// /// - public global::MagicHour.ImageBackgroundRemoverCreateImageResponse7? Type582 { get; set; } + public global::MagicHour.HeadSwapCreateImageResponseCode3? Type582 { get; set; } /// /// /// - public global::MagicHour.ImageBackgroundRemoverCreateImageResponseCode6? Type583 { get; set; } + public global::MagicHour.HeadSwapCreateImageResponse5? Type583 { get; set; } /// /// /// - public global::MagicHour.PhotoColorizerCreateImageResponse? Type584 { get; set; } + public global::MagicHour.HeadSwapCreateImageResponseCode4? Type584 { get; set; } /// /// /// - public global::MagicHour.PhotoColorizerCreateImageResponse2? Type585 { get; set; } + public global::MagicHour.HeadSwapCreateImageResponse6? Type585 { get; set; } /// /// /// - public global::MagicHour.PhotoColorizerCreateImageResponseCode? Type586 { get; set; } + public global::MagicHour.HeadSwapCreateImageResponseCode5? Type586 { get; set; } /// /// /// - public global::MagicHour.PhotoColorizerCreateImageResponse3? Type587 { get; set; } + public global::MagicHour.HeadSwapCreateImageResponse7? Type587 { get; set; } /// /// /// - public global::MagicHour.PhotoColorizerCreateImageResponseCode2? Type588 { get; set; } + public global::MagicHour.HeadSwapCreateImageResponseCode6? Type588 { get; set; } /// /// /// - public global::MagicHour.PhotoColorizerCreateImageResponse4? Type589 { get; set; } + public global::MagicHour.ImageBackgroundRemoverCreateImageResponse? Type589 { get; set; } /// /// /// - public global::MagicHour.PhotoColorizerCreateImageResponseCode3? Type590 { get; set; } + public global::MagicHour.ImageBackgroundRemoverCreateImageResponse2? Type590 { get; set; } /// /// /// - public global::MagicHour.PhotoColorizerCreateImageResponse5? Type591 { get; set; } + public global::MagicHour.ImageBackgroundRemoverCreateImageResponseCode? Type591 { get; set; } /// /// /// - public global::MagicHour.PhotoColorizerCreateImageResponseCode4? Type592 { get; set; } + public global::MagicHour.ImageBackgroundRemoverCreateImageResponse3? Type592 { get; set; } /// /// /// - public global::MagicHour.PhotoColorizerCreateImageResponse6? Type593 { get; set; } + public global::MagicHour.ImageBackgroundRemoverCreateImageResponseCode2? Type593 { get; set; } /// /// /// - public global::MagicHour.PhotoColorizerCreateImageResponseCode5? Type594 { get; set; } + public global::MagicHour.ImageBackgroundRemoverCreateImageResponse4? Type594 { get; set; } /// /// /// - public global::MagicHour.PhotoColorizerCreateImageResponse7? Type595 { get; set; } + public global::MagicHour.ImageBackgroundRemoverCreateImageResponseCode3? Type595 { get; set; } /// /// /// - public global::MagicHour.PhotoColorizerCreateImageResponseCode6? Type596 { get; set; } + public global::MagicHour.ImageBackgroundRemoverCreateImageResponse5? Type596 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsGetDetailsResponse? Type597 { get; set; } + public global::MagicHour.ImageBackgroundRemoverCreateImageResponseCode4? Type597 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsGetDetailsResponseStatus? Type598 { get; set; } + public global::MagicHour.ImageBackgroundRemoverCreateImageResponse6? Type598 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type599 { get; set; } + public global::MagicHour.ImageBackgroundRemoverCreateImageResponseCode5? Type599 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsGetDetailsResponseDownload? Type600 { get; set; } + public global::MagicHour.ImageBackgroundRemoverCreateImageResponse7? Type600 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsGetDetailsResponseError? Type601 { get; set; } + public global::MagicHour.ImageBackgroundRemoverCreateImageResponseCode6? Type601 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsGetDetailsResponse2? Type602 { get; set; } + public global::MagicHour.PhotoColorizerCreateImageResponse? Type602 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsGetDetailsResponseCode? Type603 { get; set; } + public global::MagicHour.PhotoColorizerCreateImageResponse2? Type603 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsGetDetailsResponse3? Type604 { get; set; } + public global::MagicHour.PhotoColorizerCreateImageResponseCode? Type604 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsGetDetailsResponseCode2? Type605 { get; set; } + public global::MagicHour.PhotoColorizerCreateImageResponse3? Type605 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsGetDetailsResponse4? Type606 { get; set; } + public global::MagicHour.PhotoColorizerCreateImageResponseCode2? Type606 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsGetDetailsResponseCode3? Type607 { get; set; } + public global::MagicHour.PhotoColorizerCreateImageResponse4? Type607 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsGetDetailsResponse5? Type608 { get; set; } + public global::MagicHour.PhotoColorizerCreateImageResponseCode3? Type608 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsGetDetailsResponseCode4? Type609 { get; set; } + public global::MagicHour.PhotoColorizerCreateImageResponse5? Type609 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsGetDetailsResponse6? Type610 { get; set; } + public global::MagicHour.PhotoColorizerCreateImageResponseCode4? Type610 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsGetDetailsResponseCode5? Type611 { get; set; } + public global::MagicHour.PhotoColorizerCreateImageResponse6? Type611 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsDeleteResponse? Type612 { get; set; } + public global::MagicHour.PhotoColorizerCreateImageResponseCode5? Type612 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsDeleteResponseCode? Type613 { get; set; } + public global::MagicHour.PhotoColorizerCreateImageResponse7? Type613 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsDeleteResponse2? Type614 { get; set; } + public global::MagicHour.PhotoColorizerCreateImageResponseCode6? Type614 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsDeleteResponseCode2? Type615 { get; set; } + public global::MagicHour.AudioProjectsGetDetailsResponse? Type615 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsDeleteResponse3? Type616 { get; set; } + public global::MagicHour.AudioProjectsGetDetailsResponseStatus? Type616 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsDeleteResponseCode3? Type617 { get; set; } + public global::System.Collections.Generic.IList? Type617 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsDeleteResponse4? Type618 { get; set; } + public global::MagicHour.AudioProjectsGetDetailsResponseDownload? Type618 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsDeleteResponseCode4? Type619 { get; set; } + public global::MagicHour.AudioProjectsGetDetailsResponseError? Type619 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsDeleteResponse5? Type620 { get; set; } + public global::MagicHour.AudioProjectsGetDetailsResponse2? Type620 { get; set; } /// /// /// - public global::MagicHour.AudioProjectsDeleteResponseCode5? Type621 { get; set; } + public global::MagicHour.AudioProjectsGetDetailsResponseCode? Type621 { get; set; } /// /// /// - public global::MagicHour.AiVoiceGeneratorCreateAudioResponse? Type622 { get; set; } + public global::MagicHour.AudioProjectsGetDetailsResponse3? Type622 { get; set; } /// /// /// - public global::MagicHour.AiVoiceGeneratorCreateAudioResponse2? Type623 { get; set; } + public global::MagicHour.AudioProjectsGetDetailsResponseCode2? Type623 { get; set; } /// /// /// - public global::MagicHour.AiVoiceGeneratorCreateAudioResponseCode? Type624 { get; set; } + public global::MagicHour.AudioProjectsGetDetailsResponse4? Type624 { get; set; } /// /// /// - public global::MagicHour.AiVoiceGeneratorCreateAudioResponse3? Type625 { get; set; } + public global::MagicHour.AudioProjectsGetDetailsResponseCode3? Type625 { get; set; } /// /// /// - public global::MagicHour.AiVoiceGeneratorCreateAudioResponseCode2? Type626 { get; set; } + public global::MagicHour.AudioProjectsGetDetailsResponse5? Type626 { get; set; } /// /// /// - public global::MagicHour.AiVoiceGeneratorCreateAudioResponse4? Type627 { get; set; } + public global::MagicHour.AudioProjectsGetDetailsResponseCode4? Type627 { get; set; } /// /// /// - public global::MagicHour.AiVoiceGeneratorCreateAudioResponseCode3? Type628 { get; set; } + public global::MagicHour.AudioProjectsGetDetailsResponse6? Type628 { get; set; } /// /// /// - public global::MagicHour.AiVoiceGeneratorCreateAudioResponse5? Type629 { get; set; } + public global::MagicHour.AudioProjectsGetDetailsResponseCode5? Type629 { get; set; } /// /// /// - public global::MagicHour.AiVoiceGeneratorCreateAudioResponseCode4? Type630 { get; set; } + public global::MagicHour.AudioProjectsDeleteResponse? Type630 { get; set; } /// /// /// - public global::MagicHour.AiVoiceGeneratorCreateAudioResponse6? Type631 { get; set; } + public global::MagicHour.AudioProjectsDeleteResponseCode? Type631 { get; set; } /// /// /// - public global::MagicHour.AiVoiceGeneratorCreateAudioResponseCode5? Type632 { get; set; } + public global::MagicHour.AudioProjectsDeleteResponse2? Type632 { get; set; } /// /// /// - public global::MagicHour.AiVoiceGeneratorCreateAudioResponse7? Type633 { get; set; } + public global::MagicHour.AudioProjectsDeleteResponseCode2? Type633 { get; set; } /// /// /// - public global::MagicHour.AiVoiceGeneratorCreateAudioResponseCode6? Type634 { get; set; } + public global::MagicHour.AudioProjectsDeleteResponse3? Type634 { get; set; } /// /// /// - public global::MagicHour.AiVoiceClonerCreateAudioResponse? Type635 { get; set; } + public global::MagicHour.AudioProjectsDeleteResponseCode3? Type635 { get; set; } /// /// /// - public global::MagicHour.AiVoiceClonerCreateAudioResponse2? Type636 { get; set; } + public global::MagicHour.AudioProjectsDeleteResponse4? Type636 { get; set; } /// /// /// - public global::MagicHour.AiVoiceClonerCreateAudioResponseCode? Type637 { get; set; } + public global::MagicHour.AudioProjectsDeleteResponseCode4? Type637 { get; set; } /// /// /// - public global::MagicHour.AiVoiceClonerCreateAudioResponse3? Type638 { get; set; } + public global::MagicHour.AudioProjectsDeleteResponse5? Type638 { get; set; } /// /// /// - public global::MagicHour.AiVoiceClonerCreateAudioResponseCode2? Type639 { get; set; } + public global::MagicHour.AudioProjectsDeleteResponseCode5? Type639 { get; set; } /// /// /// - public global::MagicHour.AiVoiceClonerCreateAudioResponse4? Type640 { get; set; } + public global::MagicHour.AiVoiceGeneratorCreateAudioResponse? Type640 { get; set; } /// /// /// - public global::MagicHour.AiVoiceClonerCreateAudioResponseCode3? Type641 { get; set; } + public global::MagicHour.AiVoiceGeneratorCreateAudioResponse2? Type641 { get; set; } /// /// /// - public global::MagicHour.AiVoiceClonerCreateAudioResponse5? Type642 { get; set; } + public global::MagicHour.AiVoiceGeneratorCreateAudioResponseCode? Type642 { get; set; } /// /// /// - public global::MagicHour.AiVoiceClonerCreateAudioResponseCode4? Type643 { get; set; } + public global::MagicHour.AiVoiceGeneratorCreateAudioResponse3? Type643 { get; set; } /// /// /// - public global::MagicHour.AiVoiceClonerCreateAudioResponse6? Type644 { get; set; } + public global::MagicHour.AiVoiceGeneratorCreateAudioResponseCode2? Type644 { get; set; } /// /// /// - public global::MagicHour.AiVoiceClonerCreateAudioResponseCode5? Type645 { get; set; } + public global::MagicHour.AiVoiceGeneratorCreateAudioResponse4? Type645 { get; set; } /// /// /// - public global::MagicHour.AiVoiceClonerCreateAudioResponse7? Type646 { get; set; } + public global::MagicHour.AiVoiceGeneratorCreateAudioResponseCode3? Type646 { get; set; } /// /// /// - public global::MagicHour.AiVoiceClonerCreateAudioResponseCode6? Type647 { get; set; } + public global::MagicHour.AiVoiceGeneratorCreateAudioResponse5? Type647 { get; set; } + /// + /// + /// + public global::MagicHour.AiVoiceGeneratorCreateAudioResponseCode4? Type648 { get; set; } + /// + /// + /// + public global::MagicHour.AiVoiceGeneratorCreateAudioResponse6? Type649 { get; set; } + /// + /// + /// + public global::MagicHour.AiVoiceGeneratorCreateAudioResponseCode5? Type650 { get; set; } + /// + /// + /// + public global::MagicHour.AiVoiceGeneratorCreateAudioResponse7? Type651 { get; set; } + /// + /// + /// + public global::MagicHour.AiVoiceGeneratorCreateAudioResponseCode6? Type652 { get; set; } + /// + /// + /// + public global::MagicHour.AiVoiceClonerCreateAudioResponse? Type653 { get; set; } + /// + /// + /// + public global::MagicHour.AiVoiceClonerCreateAudioResponse2? Type654 { get; set; } + /// + /// + /// + public global::MagicHour.AiVoiceClonerCreateAudioResponseCode? Type655 { get; set; } + /// + /// + /// + public global::MagicHour.AiVoiceClonerCreateAudioResponse3? Type656 { get; set; } + /// + /// + /// + public global::MagicHour.AiVoiceClonerCreateAudioResponseCode2? Type657 { get; set; } + /// + /// + /// + public global::MagicHour.AiVoiceClonerCreateAudioResponse4? Type658 { get; set; } + /// + /// + /// + public global::MagicHour.AiVoiceClonerCreateAudioResponseCode3? Type659 { get; set; } + /// + /// + /// + public global::MagicHour.AiVoiceClonerCreateAudioResponse5? Type660 { get; set; } + /// + /// + /// + public global::MagicHour.AiVoiceClonerCreateAudioResponseCode4? Type661 { get; set; } + /// + /// + /// + public global::MagicHour.AiVoiceClonerCreateAudioResponse6? Type662 { get; set; } + /// + /// + /// + public global::MagicHour.AiVoiceClonerCreateAudioResponseCode5? Type663 { get; set; } + /// + /// + /// + public global::MagicHour.AiVoiceClonerCreateAudioResponse7? Type664 { get; set; } + /// + /// + /// + public global::MagicHour.AiVoiceClonerCreateAudioResponseCode6? Type665 { get; set; } /// /// diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiTalkingPhotoCreateTalkingPhotoRequest.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiTalkingPhotoCreateTalkingPhotoRequest.g.cs index 17eb723..03ccda2 100644 --- a/src/libs/MagicHour/Generated/MagicHour.Models.AiTalkingPhotoCreateTalkingPhotoRequest.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiTalkingPhotoCreateTalkingPhotoRequest.g.cs @@ -49,12 +49,13 @@ public sealed partial class AiTalkingPhotoCreateTalkingPhotoRequest public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestStyle? Style { get; set; } /// - /// Constrains the larger dimension (height or width) of the output video. Allows you to set a lower resolution than your plan's maximum if desired. The value is capped by your plan's max resolution.
- /// Example: 512 + /// Output preset. Overrides `max_resolution`. Defaults to 480p in prompted mode; realistic mode uses the mapped plan maximum.
+ /// Example: 480p ///
- /// 512 - [global::System.Text.Json.Serialization.JsonPropertyName("max_resolution")] - public int? MaxResolution { get; set; } + /// 480p + [global::System.Text.Json.Serialization.JsonPropertyName("resolution")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::MagicHour.JsonConverters.AiTalkingPhotoCreateTalkingPhotoRequestResolutionJsonConverter))] + public global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolution? Resolution { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -84,9 +85,9 @@ public sealed partial class AiTalkingPhotoCreateTalkingPhotoRequest /// /// Attributes used to dictate the style of the output /// - /// - /// Constrains the larger dimension (height or width) of the output video. Allows you to set a lower resolution than your plan's maximum if desired. The value is capped by your plan's max resolution.
- /// Example: 512 + /// + /// Output preset. Overrides `max_resolution`. Defaults to 480p in prompted mode; realistic mode uses the mapped plan maximum.
+ /// Example: 480p /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] @@ -97,14 +98,14 @@ public AiTalkingPhotoCreateTalkingPhotoRequest( global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestAssets assets, string? name, global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestStyle? style, - int? maxResolution) + global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolution? resolution) { this.Name = name; this.StartSeconds = startSeconds; this.EndSeconds = endSeconds; this.Assets = assets ?? throw new global::System.ArgumentNullException(nameof(assets)); this.Style = style; - this.MaxResolution = maxResolution; + this.Resolution = resolution; } /// diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiTalkingPhotoCreateTalkingPhotoRequestResolution.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiTalkingPhotoCreateTalkingPhotoRequestResolution.g.cs new file mode 100644 index 0000000..a76dcd7 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiTalkingPhotoCreateTalkingPhotoRequestResolution.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace MagicHour +{ + /// + /// Output preset. Overrides `max_resolution`. Defaults to 480p in prompted mode; realistic mode uses the mapped plan maximum.
+ /// Example: 480p + ///
+ public enum AiTalkingPhotoCreateTalkingPhotoRequestResolution + { + /// + /// + /// + x480p, + /// + /// + /// + x720p, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AiTalkingPhotoCreateTalkingPhotoRequestResolutionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AiTalkingPhotoCreateTalkingPhotoRequestResolution value) + { + return value switch + { + AiTalkingPhotoCreateTalkingPhotoRequestResolution.x480p => "480p", + AiTalkingPhotoCreateTalkingPhotoRequestResolution.x720p => "720p", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AiTalkingPhotoCreateTalkingPhotoRequestResolution? ToEnum(string value) + { + return value switch + { + "480p" => AiTalkingPhotoCreateTalkingPhotoRequestResolution.x480p, + "720p" => AiTalkingPhotoCreateTalkingPhotoRequestResolution.x720p, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequest.Json.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequest.Json.g.cs new file mode 100644 index 0000000..204dc41 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace MagicHour +{ + public sealed partial class AiUgcAdCreateVideoRequest + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::MagicHour.AiUgcAdCreateVideoRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::MagicHour.AiUgcAdCreateVideoRequest), + jsonSerializerContext) as global::MagicHour.AiUgcAdCreateVideoRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::MagicHour.AiUgcAdCreateVideoRequest? FromJson( + string json) + { + return FromJson( + json, + global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::MagicHour.AiUgcAdCreateVideoRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::MagicHour.AiUgcAdCreateVideoRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::MagicHour.AiUgcAdCreateVideoRequest; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequest.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequest.g.cs new file mode 100644 index 0000000..6b7f863 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequest.g.cs @@ -0,0 +1,115 @@ + +#nullable enable + +namespace MagicHour +{ + /// + /// + /// + public sealed partial class AiUgcAdCreateVideoRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("assets")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::MagicHour.AiUgcAdCreateVideoRequestAssets Assets { get; set; } + + /// + /// The words the actor should speak. Character limits apply after trimming:
+ /// * kling-3.0: 2500 characters.
+ /// * ltx-2.5: 1981 characters.
+ /// * veo3.1: 2500 characters.
+ /// LTX's dialogue wrapper counts toward its model prompt limit.
+ /// Example: Meet your new everyday essential. + ///
+ /// Meet your new everyday essential. + [global::System.Text.Json.Serialization.JsonPropertyName("script")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Script { get; set; } + + /// + /// Video duration in seconds. Supported values by model:
+ /// * kling-3.0: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 seconds.
+ /// * ltx-2.5: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60 seconds.
+ /// * veo3.1: 4, 6, 8, 15, 22, 29, 36, 43, 50, 57, 64, 71, 78, 85, 92, 99, 106, 113, 120, 127, 134, 141 seconds.
+ /// Free plans are limited to 5 seconds unless a credit pack has been purchased.
+ /// Example: 4 + ///
+ /// 4 + [global::System.Text.Json.Serialization.JsonPropertyName("end_seconds")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double EndSeconds { get; set; } + + /// + /// Defaults to kling-3.0 on paid plans and ltx-2.5 on free plans. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("model")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::MagicHour.JsonConverters.AiUgcAdCreateVideoRequestModelJsonConverter))] + public global::MagicHour.AiUgcAdCreateVideoRequestModel? Model { get; set; } + + /// + /// Defaults to 720p on paid plans and 480p on free plans. Unsupported model/resolution combinations and resolutions unavailable for your plan are rejected. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("resolution")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::MagicHour.JsonConverters.AiUgcAdCreateVideoRequestResolutionJsonConverter))] + public global::MagicHour.AiUgcAdCreateVideoRequestResolution? Resolution { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// The words the actor should speak. Character limits apply after trimming:
+ /// * kling-3.0: 2500 characters.
+ /// * ltx-2.5: 1981 characters.
+ /// * veo3.1: 2500 characters.
+ /// LTX's dialogue wrapper counts toward its model prompt limit.
+ /// Example: Meet your new everyday essential. + /// + /// + /// Video duration in seconds. Supported values by model:
+ /// * kling-3.0: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 seconds.
+ /// * ltx-2.5: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60 seconds.
+ /// * veo3.1: 4, 6, 8, 15, 22, 29, 36, 43, 50, 57, 64, 71, 78, 85, 92, 99, 106, 113, 120, 127, 134, 141 seconds.
+ /// Free plans are limited to 5 seconds unless a credit pack has been purchased.
+ /// Example: 4 + /// + /// + /// Defaults to kling-3.0 on paid plans and ltx-2.5 on free plans. + /// + /// + /// Defaults to 720p on paid plans and 480p on free plans. Unsupported model/resolution combinations and resolutions unavailable for your plan are rejected. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AiUgcAdCreateVideoRequest( + global::MagicHour.AiUgcAdCreateVideoRequestAssets assets, + string script, + double endSeconds, + global::MagicHour.AiUgcAdCreateVideoRequestModel? model, + global::MagicHour.AiUgcAdCreateVideoRequestResolution? resolution) + { + this.Assets = assets ?? throw new global::System.ArgumentNullException(nameof(assets)); + this.Script = script ?? throw new global::System.ArgumentNullException(nameof(script)); + this.EndSeconds = endSeconds; + this.Model = model; + this.Resolution = resolution; + } + + /// + /// Initializes a new instance of the class. + /// + public AiUgcAdCreateVideoRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequestAssets.Json.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequestAssets.Json.g.cs new file mode 100644 index 0000000..f180b35 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequestAssets.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace MagicHour +{ + public sealed partial class AiUgcAdCreateVideoRequestAssets + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::MagicHour.AiUgcAdCreateVideoRequestAssets? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::MagicHour.AiUgcAdCreateVideoRequestAssets), + jsonSerializerContext) as global::MagicHour.AiUgcAdCreateVideoRequestAssets; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::MagicHour.AiUgcAdCreateVideoRequestAssets? FromJson( + string json) + { + return FromJson( + json, + global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::MagicHour.AiUgcAdCreateVideoRequestAssets? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::MagicHour.AiUgcAdCreateVideoRequestAssets), + jsonSerializerContext).ConfigureAwait(false)) as global::MagicHour.AiUgcAdCreateVideoRequestAssets; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequestAssets.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequestAssets.g.cs new file mode 100644 index 0000000..319f6ec --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequestAssets.g.cs @@ -0,0 +1,56 @@ + +#nullable enable + +namespace MagicHour +{ + /// + /// + /// + public sealed partial class AiUgcAdCreateVideoRequestAssets + { + /// + /// Prepared image to animate. This value is either
+ /// - a direct URL to the video file
+ /// - `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
+ /// See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
+ /// Example: api-assets/id/image.jpg + ///
+ /// api-assets/id/image.jpg + [global::System.Text.Json.Serialization.JsonPropertyName("image_file_path")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ImageFilePath { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Prepared image to animate. This value is either
+ /// - a direct URL to the video file
+ /// - `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
+ /// See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
+ /// Example: api-assets/id/image.jpg + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AiUgcAdCreateVideoRequestAssets( + string imageFilePath) + { + this.ImageFilePath = imageFilePath ?? throw new global::System.ArgumentNullException(nameof(imageFilePath)); + } + + /// + /// Initializes a new instance of the class. + /// + public AiUgcAdCreateVideoRequestAssets() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequestModel.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequestModel.g.cs new file mode 100644 index 0000000..1c0e764 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequestModel.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace MagicHour +{ + /// + /// Defaults to kling-3.0 on paid plans and ltx-2.5 on free plans. + /// + public enum AiUgcAdCreateVideoRequestModel + { + /// + /// + /// + Kling30, + /// + /// + /// + Ltx25, + /// + /// + /// + Veo31, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AiUgcAdCreateVideoRequestModelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AiUgcAdCreateVideoRequestModel value) + { + return value switch + { + AiUgcAdCreateVideoRequestModel.Kling30 => "kling-3.0", + AiUgcAdCreateVideoRequestModel.Ltx25 => "ltx-2.5", + AiUgcAdCreateVideoRequestModel.Veo31 => "veo3.1", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AiUgcAdCreateVideoRequestModel? ToEnum(string value) + { + return value switch + { + "kling-3.0" => AiUgcAdCreateVideoRequestModel.Kling30, + "ltx-2.5" => AiUgcAdCreateVideoRequestModel.Ltx25, + "veo3.1" => AiUgcAdCreateVideoRequestModel.Veo31, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequestResolution.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequestResolution.g.cs new file mode 100644 index 0000000..c451f3b --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequestResolution.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace MagicHour +{ + /// + /// Defaults to 720p on paid plans and 480p on free plans. Unsupported model/resolution combinations and resolutions unavailable for your plan are rejected. + /// + public enum AiUgcAdCreateVideoRequestResolution + { + /// + /// + /// + x1080p, + /// + /// + /// + x480p, + /// + /// + /// + x720p, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AiUgcAdCreateVideoRequestResolutionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AiUgcAdCreateVideoRequestResolution value) + { + return value switch + { + AiUgcAdCreateVideoRequestResolution.x1080p => "1080p", + AiUgcAdCreateVideoRequestResolution.x480p => "480p", + AiUgcAdCreateVideoRequestResolution.x720p => "720p", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AiUgcAdCreateVideoRequestResolution? ToEnum(string value) + { + return value switch + { + "1080p" => AiUgcAdCreateVideoRequestResolution.x1080p, + "480p" => AiUgcAdCreateVideoRequestResolution.x480p, + "720p" => AiUgcAdCreateVideoRequestResolution.x720p, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse.Json.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse.Json.g.cs new file mode 100644 index 0000000..d76b047 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace MagicHour +{ + public sealed partial class AiUgcAdCreateVideoResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::MagicHour.AiUgcAdCreateVideoResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::MagicHour.AiUgcAdCreateVideoResponse), + jsonSerializerContext) as global::MagicHour.AiUgcAdCreateVideoResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::MagicHour.AiUgcAdCreateVideoResponse? FromJson( + string json) + { + return FromJson( + json, + global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::MagicHour.AiUgcAdCreateVideoResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::MagicHour.AiUgcAdCreateVideoResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::MagicHour.AiUgcAdCreateVideoResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse.g.cs new file mode 100644 index 0000000..cac500b --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse.g.cs @@ -0,0 +1,67 @@ + +#nullable enable + +namespace MagicHour +{ + /// + /// Success + /// + public sealed partial class AiUgcAdCreateVideoResponse + { + /// + /// Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads.
+ /// Example: cuid-example + ///
+ /// cuid-example + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video.
+ /// If video generation fails, credits will be refunded, and this field will be updated to include the refund.
+ /// Example: 450 + ///
+ /// 450 + [global::System.Text.Json.Serialization.JsonPropertyName("credits_charged")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int CreditsCharged { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads.
+ /// Example: cuid-example + /// + /// + /// The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video.
+ /// If video generation fails, credits will be refunded, and this field will be updated to include the refund.
+ /// Example: 450 + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AiUgcAdCreateVideoResponse( + string id, + int creditsCharged) + { + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.CreditsCharged = creditsCharged; + } + + /// + /// Initializes a new instance of the class. + /// + public AiUgcAdCreateVideoResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse2.Json.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse2.Json.g.cs new file mode 100644 index 0000000..ccb8bc1 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace MagicHour +{ + public sealed partial class AiUgcAdCreateVideoResponse2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::MagicHour.AiUgcAdCreateVideoResponse2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::MagicHour.AiUgcAdCreateVideoResponse2), + jsonSerializerContext) as global::MagicHour.AiUgcAdCreateVideoResponse2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::MagicHour.AiUgcAdCreateVideoResponse2? FromJson( + string json) + { + return FromJson( + json, + global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::MagicHour.AiUgcAdCreateVideoResponse2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::MagicHour.AiUgcAdCreateVideoResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::MagicHour.AiUgcAdCreateVideoResponse2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse2.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse2.g.cs new file mode 100644 index 0000000..b2f8ca9 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse2.g.cs @@ -0,0 +1,61 @@ + +#nullable enable + +namespace MagicHour +{ + /// + /// + /// + public sealed partial class AiUgcAdCreateVideoResponse2 + { + /// + /// Machine-readable error code.
+ /// - `invalid_request`: Fix request syntax or validation errors before retrying. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("code")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCodeJsonConverter))] + public global::MagicHour.AiUgcAdCreateVideoResponseCode Code { get; set; } + + /// + /// Human-readable error message. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Human-readable error message. + /// + /// + /// Machine-readable error code.
+ /// - `invalid_request`: Fix request syntax or validation errors before retrying. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AiUgcAdCreateVideoResponse2( + string message, + global::MagicHour.AiUgcAdCreateVideoResponseCode code) + { + this.Code = code; + this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); + } + + /// + /// Initializes a new instance of the class. + /// + public AiUgcAdCreateVideoResponse2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse3.Json.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse3.Json.g.cs new file mode 100644 index 0000000..bd5d9b3 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace MagicHour +{ + public sealed partial class AiUgcAdCreateVideoResponse3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::MagicHour.AiUgcAdCreateVideoResponse3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::MagicHour.AiUgcAdCreateVideoResponse3), + jsonSerializerContext) as global::MagicHour.AiUgcAdCreateVideoResponse3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::MagicHour.AiUgcAdCreateVideoResponse3? FromJson( + string json) + { + return FromJson( + json, + global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::MagicHour.AiUgcAdCreateVideoResponse3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::MagicHour.AiUgcAdCreateVideoResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::MagicHour.AiUgcAdCreateVideoResponse3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse3.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse3.g.cs new file mode 100644 index 0000000..b27e024 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse3.g.cs @@ -0,0 +1,61 @@ + +#nullable enable + +namespace MagicHour +{ + /// + /// + /// + public sealed partial class AiUgcAdCreateVideoResponse3 + { + /// + /// Machine-readable error code.
+ /// - `unauthorized`: Provide a valid API key before retrying. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("code")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode2JsonConverter))] + public global::MagicHour.AiUgcAdCreateVideoResponseCode2 Code { get; set; } + + /// + /// Human-readable error message. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Human-readable error message. + /// + /// + /// Machine-readable error code.
+ /// - `unauthorized`: Provide a valid API key before retrying. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AiUgcAdCreateVideoResponse3( + string message, + global::MagicHour.AiUgcAdCreateVideoResponseCode2 code) + { + this.Code = code; + this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); + } + + /// + /// Initializes a new instance of the class. + /// + public AiUgcAdCreateVideoResponse3() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse4.Json.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse4.Json.g.cs new file mode 100644 index 0000000..c2c3560 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse4.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace MagicHour +{ + public sealed partial class AiUgcAdCreateVideoResponse4 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::MagicHour.AiUgcAdCreateVideoResponse4? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::MagicHour.AiUgcAdCreateVideoResponse4), + jsonSerializerContext) as global::MagicHour.AiUgcAdCreateVideoResponse4; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::MagicHour.AiUgcAdCreateVideoResponse4? FromJson( + string json) + { + return FromJson( + json, + global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::MagicHour.AiUgcAdCreateVideoResponse4? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::MagicHour.AiUgcAdCreateVideoResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::MagicHour.AiUgcAdCreateVideoResponse4; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse4.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse4.g.cs new file mode 100644 index 0000000..0f37d70 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse4.g.cs @@ -0,0 +1,66 @@ + +#nullable enable + +namespace MagicHour +{ + /// + /// + /// + public sealed partial class AiUgcAdCreateVideoResponse4 + { + /// + /// Machine-readable error code.
+ /// - `insufficient_credits`: Purchase credits before retrying.
+ /// - `subscription_required`: Start a subscription before retrying.
+ /// - `plan_upgrade_required`: Upgrade the subscription plan before retrying. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("code")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode3JsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::MagicHour.AiUgcAdCreateVideoResponseCode3 Code { get; set; } + + /// + /// Human-readable error message. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Machine-readable error code.
+ /// - `insufficient_credits`: Purchase credits before retrying.
+ /// - `subscription_required`: Start a subscription before retrying.
+ /// - `plan_upgrade_required`: Upgrade the subscription plan before retrying. + /// + /// + /// Human-readable error message. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AiUgcAdCreateVideoResponse4( + global::MagicHour.AiUgcAdCreateVideoResponseCode3 code, + string message) + { + this.Code = code; + this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); + } + + /// + /// Initializes a new instance of the class. + /// + public AiUgcAdCreateVideoResponse4() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse5.Json.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse5.Json.g.cs new file mode 100644 index 0000000..c5f61f1 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace MagicHour +{ + public sealed partial class AiUgcAdCreateVideoResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::MagicHour.AiUgcAdCreateVideoResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::MagicHour.AiUgcAdCreateVideoResponse5), + jsonSerializerContext) as global::MagicHour.AiUgcAdCreateVideoResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::MagicHour.AiUgcAdCreateVideoResponse5? FromJson( + string json) + { + return FromJson( + json, + global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::MagicHour.AiUgcAdCreateVideoResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::MagicHour.AiUgcAdCreateVideoResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::MagicHour.AiUgcAdCreateVideoResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse5.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse5.g.cs new file mode 100644 index 0000000..bec3724 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse5.g.cs @@ -0,0 +1,61 @@ + +#nullable enable + +namespace MagicHour +{ + /// + /// + /// + public sealed partial class AiUgcAdCreateVideoResponse5 + { + /// + /// Machine-readable error code.
+ /// - `not_found`: Check the route or resource identifier. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("code")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode4JsonConverter))] + public global::MagicHour.AiUgcAdCreateVideoResponseCode4 Code { get; set; } + + /// + /// Human-readable error message. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Human-readable error message. + /// + /// + /// Machine-readable error code.
+ /// - `not_found`: Check the route or resource identifier. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AiUgcAdCreateVideoResponse5( + string message, + global::MagicHour.AiUgcAdCreateVideoResponseCode4 code) + { + this.Code = code; + this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); + } + + /// + /// Initializes a new instance of the class. + /// + public AiUgcAdCreateVideoResponse5() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse6.Json.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse6.Json.g.cs new file mode 100644 index 0000000..c9ce477 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace MagicHour +{ + public sealed partial class AiUgcAdCreateVideoResponse6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::MagicHour.AiUgcAdCreateVideoResponse6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::MagicHour.AiUgcAdCreateVideoResponse6), + jsonSerializerContext) as global::MagicHour.AiUgcAdCreateVideoResponse6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::MagicHour.AiUgcAdCreateVideoResponse6? FromJson( + string json) + { + return FromJson( + json, + global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::MagicHour.AiUgcAdCreateVideoResponse6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::MagicHour.AiUgcAdCreateVideoResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::MagicHour.AiUgcAdCreateVideoResponse6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse6.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse6.g.cs new file mode 100644 index 0000000..ba84737 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse6.g.cs @@ -0,0 +1,61 @@ + +#nullable enable + +namespace MagicHour +{ + /// + /// + /// + public sealed partial class AiUgcAdCreateVideoResponse6 + { + /// + /// Machine-readable error code.
+ /// - `unprocessable_entity`: Change the request values before retrying. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("code")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode5JsonConverter))] + public global::MagicHour.AiUgcAdCreateVideoResponseCode5 Code { get; set; } + + /// + /// Human-readable error message. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Human-readable error message. + /// + /// + /// Machine-readable error code.
+ /// - `unprocessable_entity`: Change the request values before retrying. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AiUgcAdCreateVideoResponse6( + string message, + global::MagicHour.AiUgcAdCreateVideoResponseCode5 code) + { + this.Code = code; + this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); + } + + /// + /// Initializes a new instance of the class. + /// + public AiUgcAdCreateVideoResponse6() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse7.Json.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse7.Json.g.cs new file mode 100644 index 0000000..e2e5377 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse7.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace MagicHour +{ + public sealed partial class AiUgcAdCreateVideoResponse7 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::MagicHour.AiUgcAdCreateVideoResponse7? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::MagicHour.AiUgcAdCreateVideoResponse7), + jsonSerializerContext) as global::MagicHour.AiUgcAdCreateVideoResponse7; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::MagicHour.AiUgcAdCreateVideoResponse7? FromJson( + string json) + { + return FromJson( + json, + global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::MagicHour.AiUgcAdCreateVideoResponse7? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::MagicHour.AiUgcAdCreateVideoResponse7), + jsonSerializerContext).ConfigureAwait(false)) as global::MagicHour.AiUgcAdCreateVideoResponse7; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::MagicHour.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::MagicHour.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse7.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse7.g.cs new file mode 100644 index 0000000..cf7633d --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponse7.g.cs @@ -0,0 +1,61 @@ + +#nullable enable + +namespace MagicHour +{ + /// + /// + /// + public sealed partial class AiUgcAdCreateVideoResponse7 + { + /// + /// Machine-readable error code.
+ /// - `internal_server_error`: Retry later or contact support if the error continues. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("code")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::MagicHour.JsonConverters.AiUgcAdCreateVideoResponseCode6JsonConverter))] + public global::MagicHour.AiUgcAdCreateVideoResponseCode6 Code { get; set; } + + /// + /// Human-readable error message. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Human-readable error message. + /// + /// + /// Machine-readable error code.
+ /// - `internal_server_error`: Retry later or contact support if the error continues. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AiUgcAdCreateVideoResponse7( + string message, + global::MagicHour.AiUgcAdCreateVideoResponseCode6 code) + { + this.Code = code; + this.Message = message ?? throw new global::System.ArgumentNullException(nameof(message)); + } + + /// + /// Initializes a new instance of the class. + /// + public AiUgcAdCreateVideoResponse7() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode.g.cs new file mode 100644 index 0000000..6b5a21d --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace MagicHour +{ + /// + /// Machine-readable error code.
+ /// - `invalid_request`: Fix request syntax or validation errors before retrying. + ///
+ public enum AiUgcAdCreateVideoResponseCode + { + /// + /// Fix request syntax or validation errors before retrying. + /// + InvalidRequest, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AiUgcAdCreateVideoResponseCodeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AiUgcAdCreateVideoResponseCode value) + { + return value switch + { + AiUgcAdCreateVideoResponseCode.InvalidRequest => "invalid_request", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AiUgcAdCreateVideoResponseCode? ToEnum(string value) + { + return value switch + { + "invalid_request" => AiUgcAdCreateVideoResponseCode.InvalidRequest, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode2.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode2.g.cs new file mode 100644 index 0000000..6006fa9 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode2.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace MagicHour +{ + /// + /// Machine-readable error code.
+ /// - `unauthorized`: Provide a valid API key before retrying. + ///
+ public enum AiUgcAdCreateVideoResponseCode2 + { + /// + /// Provide a valid API key before retrying. + /// + Unauthorized, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AiUgcAdCreateVideoResponseCode2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AiUgcAdCreateVideoResponseCode2 value) + { + return value switch + { + AiUgcAdCreateVideoResponseCode2.Unauthorized => "unauthorized", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AiUgcAdCreateVideoResponseCode2? ToEnum(string value) + { + return value switch + { + "unauthorized" => AiUgcAdCreateVideoResponseCode2.Unauthorized, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode3.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode3.g.cs new file mode 100644 index 0000000..b2a6cdc --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode3.g.cs @@ -0,0 +1,60 @@ + +#nullable enable + +namespace MagicHour +{ + /// + /// Machine-readable error code.
+ /// - `insufficient_credits`: Purchase credits before retrying.
+ /// - `subscription_required`: Start a subscription before retrying.
+ /// - `plan_upgrade_required`: Upgrade the subscription plan before retrying. + ///
+ public enum AiUgcAdCreateVideoResponseCode3 + { + /// + /// Purchase credits before retrying. + /// + InsufficientCredits, + /// + /// Upgrade the subscription plan before retrying. + /// + PlanUpgradeRequired, + /// + /// Start a subscription before retrying. + /// + SubscriptionRequired, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AiUgcAdCreateVideoResponseCode3Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AiUgcAdCreateVideoResponseCode3 value) + { + return value switch + { + AiUgcAdCreateVideoResponseCode3.InsufficientCredits => "insufficient_credits", + AiUgcAdCreateVideoResponseCode3.PlanUpgradeRequired => "plan_upgrade_required", + AiUgcAdCreateVideoResponseCode3.SubscriptionRequired => "subscription_required", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AiUgcAdCreateVideoResponseCode3? ToEnum(string value) + { + return value switch + { + "insufficient_credits" => AiUgcAdCreateVideoResponseCode3.InsufficientCredits, + "plan_upgrade_required" => AiUgcAdCreateVideoResponseCode3.PlanUpgradeRequired, + "subscription_required" => AiUgcAdCreateVideoResponseCode3.SubscriptionRequired, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode4.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode4.g.cs new file mode 100644 index 0000000..064e08e --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode4.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace MagicHour +{ + /// + /// Machine-readable error code.
+ /// - `not_found`: Check the route or resource identifier. + ///
+ public enum AiUgcAdCreateVideoResponseCode4 + { + /// + /// Check the route or resource identifier. + /// + NotFound, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AiUgcAdCreateVideoResponseCode4Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AiUgcAdCreateVideoResponseCode4 value) + { + return value switch + { + AiUgcAdCreateVideoResponseCode4.NotFound => "not_found", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AiUgcAdCreateVideoResponseCode4? ToEnum(string value) + { + return value switch + { + "not_found" => AiUgcAdCreateVideoResponseCode4.NotFound, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode5.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode5.g.cs new file mode 100644 index 0000000..e240089 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode5.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace MagicHour +{ + /// + /// Machine-readable error code.
+ /// - `unprocessable_entity`: Change the request values before retrying. + ///
+ public enum AiUgcAdCreateVideoResponseCode5 + { + /// + /// Change the request values before retrying. + /// + UnprocessableEntity, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AiUgcAdCreateVideoResponseCode5Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AiUgcAdCreateVideoResponseCode5 value) + { + return value switch + { + AiUgcAdCreateVideoResponseCode5.UnprocessableEntity => "unprocessable_entity", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AiUgcAdCreateVideoResponseCode5? ToEnum(string value) + { + return value switch + { + "unprocessable_entity" => AiUgcAdCreateVideoResponseCode5.UnprocessableEntity, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode6.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode6.g.cs new file mode 100644 index 0000000..9e567db --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoResponseCode6.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace MagicHour +{ + /// + /// Machine-readable error code.
+ /// - `internal_server_error`: Retry later or contact support if the error continues. + ///
+ public enum AiUgcAdCreateVideoResponseCode6 + { + /// + /// Retry later or contact support if the error continues. + /// + InternalServerError, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AiUgcAdCreateVideoResponseCode6Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AiUgcAdCreateVideoResponseCode6 value) + { + return value switch + { + AiUgcAdCreateVideoResponseCode6.InternalServerError => "internal_server_error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AiUgcAdCreateVideoResponseCode6? ToEnum(string value) + { + return value switch + { + "internal_server_error" => AiUgcAdCreateVideoResponseCode6.InternalServerError, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.ImageToVideoCreateVideoRequest.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.ImageToVideoCreateVideoRequest.g.cs index 88c28e8..78967da 100644 --- a/src/libs/MagicHour/Generated/MagicHour.Models.ImageToVideoCreateVideoRequest.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.Models.ImageToVideoCreateVideoRequest.g.cs @@ -26,6 +26,7 @@ public sealed partial class ImageToVideoCreateVideoRequest /// * **`minimax-h3`**: any integer from 1 to 30
/// * **`seedance-1.5`**: any integer from 4 to 12
/// * **`seedance-2.0`**: any integer from 4 to 15
+ /// * **`seedance-2.0-fast`**: any integer from 4 to 15
/// * **`seedance-2.0-mini`**: any integer from 4 to 15
/// * **`seedance-2.5`**: any integer from 4 to 30
/// * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
@@ -49,6 +50,7 @@ public sealed partial class ImageToVideoCreateVideoRequest /// * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
/// * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
/// * `seedance-2.0`: Best for reference-led clips with precise subject control.
+ /// * `seedance-2.0-fast`: Fast reference-led clips with consistent motion and audio.
/// * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
/// * `seedance-2.5`: Best for premium realism, detail, and natural motion.
/// * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
@@ -73,6 +75,7 @@ public sealed partial class ImageToVideoCreateVideoRequest /// * **`minimax-h3`**: Supports 480p, 720p, 1080p.
/// * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
/// * **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.
+ /// * **`seedance-2.0-fast`**: Supports 480p, 720p.
/// * **`seedance-2.0-mini`**: Supports 480p, 720p.
/// * **`seedance-2.5`**: Supports 480p, 720p, 1080p.
/// * **`veo3.1`**: Supports 720p, 1080p.
@@ -96,6 +99,7 @@ public sealed partial class ImageToVideoCreateVideoRequest /// * **`minimax-h3`**: Toggle-able: no additional credits for audio
/// * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled
/// * **`seedance-2.0`**: Toggle-able: no additional credits for audio
+ /// * **`seedance-2.0-fast`**: Toggle-able: no additional credits for audio
/// * **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio
/// * **`seedance-2.5`**: Toggle-able: no additional credits for audio
/// * **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
@@ -139,6 +143,7 @@ public sealed partial class ImageToVideoCreateVideoRequest /// * **`minimax-h3`**: any integer from 1 to 30
/// * **`seedance-1.5`**: any integer from 4 to 12
/// * **`seedance-2.0`**: any integer from 4 to 15
+ /// * **`seedance-2.0-fast`**: any integer from 4 to 15
/// * **`seedance-2.0-mini`**: any integer from 4 to 15
/// * **`seedance-2.5`**: any integer from 4 to 30
/// * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
@@ -165,6 +170,7 @@ public sealed partial class ImageToVideoCreateVideoRequest /// * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
/// * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
/// * `seedance-2.0`: Best for reference-led clips with precise subject control.
+ /// * `seedance-2.0-fast`: Fast reference-led clips with consistent motion and audio.
/// * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
/// * `seedance-2.5`: Best for premium realism, detail, and natural motion.
/// * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
@@ -184,6 +190,7 @@ public sealed partial class ImageToVideoCreateVideoRequest /// * **`minimax-h3`**: Supports 480p, 720p, 1080p.
/// * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
/// * **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.
+ /// * **`seedance-2.0-fast`**: Supports 480p, 720p.
/// * **`seedance-2.0-mini`**: Supports 480p, 720p.
/// * **`seedance-2.5`**: Supports 480p, 720p, 1080p.
/// * **`veo3.1`**: Supports 720p, 1080p.
@@ -202,6 +209,7 @@ public sealed partial class ImageToVideoCreateVideoRequest /// * **`minimax-h3`**: Toggle-able: no additional credits for audio
/// * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled
/// * **`seedance-2.0`**: Toggle-able: no additional credits for audio
+ /// * **`seedance-2.0-fast`**: Toggle-able: no additional credits for audio
/// * **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio
/// * **`seedance-2.5`**: Toggle-able: no additional credits for audio
/// * **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.ImageToVideoCreateVideoRequestAssets.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.ImageToVideoCreateVideoRequestAssets.g.cs index 5ba7090..228f58f 100644 --- a/src/libs/MagicHour/Generated/MagicHour.Models.ImageToVideoCreateVideoRequestAssets.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.Models.ImageToVideoCreateVideoRequestAssets.g.cs @@ -29,6 +29,7 @@ public sealed partial class ImageToVideoCreateVideoRequestAssets /// * **`minimax-h3`**: Supports 480p, 720p, 1080p.
/// * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
/// * **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.
+ /// * **`seedance-2.0-fast`**: Supports 480p, 720p.
/// * **`seedance-2.0-mini`**: Supports 480p, 720p.
/// * **`seedance-2.5`**: Supports 480p, 720p, 1080p.
/// * **`veo3.1`**: Supports 720p, 1080p. Requires a duration of 8 seconds or less.
@@ -66,6 +67,7 @@ public sealed partial class ImageToVideoCreateVideoRequestAssets /// * **`minimax-h3`**: Supports 480p, 720p, 1080p.
/// * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
/// * **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.
+ /// * **`seedance-2.0-fast`**: Supports 480p, 720p.
/// * **`seedance-2.0-mini`**: Supports 480p, 720p.
/// * **`seedance-2.5`**: Supports 480p, 720p, 1080p.
/// * **`veo3.1`**: Supports 720p, 1080p. Requires a duration of 8 seconds or less.
diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.ImageToVideoCreateVideoRequestModel.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.ImageToVideoCreateVideoRequestModel.g.cs index 033d4a7..f1d349b 100644 --- a/src/libs/MagicHour/Generated/MagicHour.Models.ImageToVideoCreateVideoRequestModel.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.Models.ImageToVideoCreateVideoRequestModel.g.cs @@ -13,6 +13,7 @@ namespace MagicHour /// * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
/// * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
/// * `seedance-2.0`: Best for reference-led clips with precise subject control.
+ /// * `seedance-2.0-fast`: Fast reference-led clips with consistent motion and audio.
/// * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
/// * `seedance-2.5`: Best for premium realism, detail, and natural motion.
/// * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
@@ -82,6 +83,10 @@ public enum ImageToVideoCreateVideoRequestModel ///
Seedance20, /// + /// Fast reference-led clips with consistent motion and audio. + /// + Seedance20Fast, + /// /// Faster reference-led clips with consistent motion and audio. /// Seedance20Mini, @@ -141,6 +146,7 @@ public static string ToValueString(this ImageToVideoCreateVideoRequestModel valu ImageToVideoCreateVideoRequestModel.Seedance => "seedance", ImageToVideoCreateVideoRequestModel.Seedance15 => "seedance-1.5", ImageToVideoCreateVideoRequestModel.Seedance20 => "seedance-2.0", + ImageToVideoCreateVideoRequestModel.Seedance20Fast => "seedance-2.0-fast", ImageToVideoCreateVideoRequestModel.Seedance20Mini => "seedance-2.0-mini", ImageToVideoCreateVideoRequestModel.Seedance25 => "seedance-2.5", ImageToVideoCreateVideoRequestModel.Sora2 => "sora-2", @@ -173,6 +179,7 @@ public static string ToValueString(this ImageToVideoCreateVideoRequestModel valu "seedance" => ImageToVideoCreateVideoRequestModel.Seedance, "seedance-1.5" => ImageToVideoCreateVideoRequestModel.Seedance15, "seedance-2.0" => ImageToVideoCreateVideoRequestModel.Seedance20, + "seedance-2.0-fast" => ImageToVideoCreateVideoRequestModel.Seedance20Fast, "seedance-2.0-mini" => ImageToVideoCreateVideoRequestModel.Seedance20Mini, "seedance-2.5" => ImageToVideoCreateVideoRequestModel.Seedance25, "sora-2" => ImageToVideoCreateVideoRequestModel.Sora2, diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.ImageToVideoCreateVideoRequestResolution.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.ImageToVideoCreateVideoRequestResolution.g.cs index ee358e4..ae36cc1 100644 --- a/src/libs/MagicHour/Generated/MagicHour.Models.ImageToVideoCreateVideoRequestResolution.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.Models.ImageToVideoCreateVideoRequestResolution.g.cs @@ -12,6 +12,7 @@ namespace MagicHour /// * **`minimax-h3`**: Supports 480p, 720p, 1080p.
/// * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
/// * **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.
+ /// * **`seedance-2.0-fast`**: Supports 480p, 720p.
/// * **`seedance-2.0-mini`**: Supports 480p, 720p.
/// * **`seedance-2.5`**: Supports 480p, 720p, 1080p.
/// * **`veo3.1`**: Supports 720p, 1080p.
diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.TextToVideoCreateVideoRequest.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.TextToVideoCreateVideoRequest.g.cs index 4056c3c..d8fde28 100644 --- a/src/libs/MagicHour/Generated/MagicHour.Models.TextToVideoCreateVideoRequest.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.Models.TextToVideoCreateVideoRequest.g.cs @@ -4,7 +4,7 @@ namespace MagicHour { /// - /// Example: {"name":"My Text To Video video","end_seconds":5,"aspect_ratio":"16:9","resolution":"480p","model":"ltx-2.5","audio":true,"style":{"prompt":"a dog running"}} + /// Example: {"end_seconds":5,"aspect_ratio":"16:9","style":{"prompt":"a dog running"}} /// public sealed partial class TextToVideoCreateVideoRequest { @@ -26,6 +26,7 @@ public sealed partial class TextToVideoCreateVideoRequest /// * **`minimax-h3`**: any integer from 1 to 30
/// * **`seedance-1.5`**: any integer from 4 to 12
/// * **`seedance-2.0`**: any integer from 4 to 15
+ /// * **`seedance-2.0-fast`**: any integer from 4 to 15
/// * **`seedance-2.0-mini`**: any integer from 4 to 15
/// * **`seedance-2.5`**: any integer from 4 to 30
/// * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
@@ -40,7 +41,7 @@ public sealed partial class TextToVideoCreateVideoRequest public required float EndSeconds { get; set; } /// - /// Determines the aspect ratio of the output video.
+ /// Provide `aspect_ratio` to set the video’s aspect ratio. Determines the aspect ratio of the output video.
/// * **`gemini-omni-1.1`**: Supports 16:9, 9:16.
/// * **`kling-2.6`**: Supports 9:16, 16:9, 1:1.
/// * **`kling-3.0`**: Supports 9:16, 16:9, 1:1.
@@ -48,6 +49,7 @@ public sealed partial class TextToVideoCreateVideoRequest /// * **`minimax-h3`**: Supports 16:9, 9:16, 1:1.
/// * **`seedance-1.5`**: Supports 9:16, 16:9, 1:1.
/// * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
+ /// * **`seedance-2.0-fast`**: Supports 9:16, 16:9, 1:1.
/// * **`seedance-2.0-mini`**: Supports 9:16, 16:9, 1:1.
/// * **`seedance-2.5`**: Supports 9:16, 16:9, 1:1.
/// * **`veo3.1`**: Supports 9:16, 16:9.
@@ -70,6 +72,7 @@ public sealed partial class TextToVideoCreateVideoRequest /// * **`minimax-h3`**: Supports 480p, 720p, 1080p.
/// * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
/// * **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.
+ /// * **`seedance-2.0-fast`**: Supports 480p, 720p.
/// * **`seedance-2.0-mini`**: Supports 480p, 720p.
/// * **`seedance-2.5`**: Supports 480p, 720p, 1080p.
/// * **`veo3.1`**: Supports 720p, 1080p.
@@ -93,6 +96,7 @@ public sealed partial class TextToVideoCreateVideoRequest /// * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
/// * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
/// * `seedance-2.0`: Best for reference-led clips with precise subject control.
+ /// * `seedance-2.0-fast`: Fast reference-led clips with consistent motion and audio.
/// * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
/// * `seedance-2.5`: Best for premium realism, detail, and natural motion.
/// * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
@@ -118,6 +122,7 @@ public sealed partial class TextToVideoCreateVideoRequest /// * **`minimax-h3`**: Toggle-able: no additional credits for audio
/// * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled
/// * **`seedance-2.0`**: Toggle-able: no additional credits for audio
+ /// * **`seedance-2.0-fast`**: Toggle-able: no additional credits for audio
/// * **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio
/// * **`seedance-2.5`**: Toggle-able: no additional credits for audio
/// * **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
@@ -143,6 +148,7 @@ public sealed partial class TextToVideoCreateVideoRequest /// * **`kling-3.0`**: Supports images, videos.
/// * **`minimax-h3`**: Supports images, videos, audio.
/// * **`seedance-2.0`**: Supports images, videos, audio.
+ /// * **`seedance-2.0-fast`**: Supports images, videos, audio.
/// * **`seedance-2.0-mini`**: Supports images, videos, audio.
/// * **`seedance-2.5`**: Supports images, videos, audio.
/// * **`wan-3.0`**: Supports images, videos, audio. @@ -168,6 +174,7 @@ public sealed partial class TextToVideoCreateVideoRequest /// * **`minimax-h3`**: any integer from 1 to 30
/// * **`seedance-1.5`**: any integer from 4 to 12
/// * **`seedance-2.0`**: any integer from 4 to 15
+ /// * **`seedance-2.0-fast`**: any integer from 4 to 15
/// * **`seedance-2.0-mini`**: any integer from 4 to 15
/// * **`seedance-2.5`**: any integer from 4 to 30
/// * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
@@ -183,7 +190,7 @@ public sealed partial class TextToVideoCreateVideoRequest /// Example: My Text To Video video /// /// - /// Determines the aspect ratio of the output video.
+ /// Provide `aspect_ratio` to set the video’s aspect ratio. Determines the aspect ratio of the output video.
/// * **`gemini-omni-1.1`**: Supports 16:9, 9:16.
/// * **`kling-2.6`**: Supports 9:16, 16:9, 1:1.
/// * **`kling-3.0`**: Supports 9:16, 16:9, 1:1.
@@ -191,6 +198,7 @@ public sealed partial class TextToVideoCreateVideoRequest /// * **`minimax-h3`**: Supports 16:9, 9:16, 1:1.
/// * **`seedance-1.5`**: Supports 9:16, 16:9, 1:1.
/// * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
+ /// * **`seedance-2.0-fast`**: Supports 9:16, 16:9, 1:1.
/// * **`seedance-2.0-mini`**: Supports 9:16, 16:9, 1:1.
/// * **`seedance-2.5`**: Supports 9:16, 16:9, 1:1.
/// * **`veo3.1`**: Supports 9:16, 16:9.
@@ -208,6 +216,7 @@ public sealed partial class TextToVideoCreateVideoRequest /// * **`minimax-h3`**: Supports 480p, 720p, 1080p.
/// * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
/// * **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.
+ /// * **`seedance-2.0-fast`**: Supports 480p, 720p.
/// * **`seedance-2.0-mini`**: Supports 480p, 720p.
/// * **`seedance-2.5`**: Supports 480p, 720p, 1080p.
/// * **`veo3.1`**: Supports 720p, 1080p.
@@ -226,6 +235,7 @@ public sealed partial class TextToVideoCreateVideoRequest /// * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
/// * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
/// * `seedance-2.0`: Best for reference-led clips with precise subject control.
+ /// * `seedance-2.0-fast`: Fast reference-led clips with consistent motion and audio.
/// * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
/// * `seedance-2.5`: Best for premium realism, detail, and natural motion.
/// * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
@@ -246,6 +256,7 @@ public sealed partial class TextToVideoCreateVideoRequest /// * **`minimax-h3`**: Toggle-able: no additional credits for audio
/// * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled
/// * **`seedance-2.0`**: Toggle-able: no additional credits for audio
+ /// * **`seedance-2.0-fast`**: Toggle-able: no additional credits for audio
/// * **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio
/// * **`seedance-2.5`**: Toggle-able: no additional credits for audio
/// * **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
@@ -260,6 +271,7 @@ public sealed partial class TextToVideoCreateVideoRequest /// * **`kling-3.0`**: Supports images, videos.
/// * **`minimax-h3`**: Supports images, videos, audio.
/// * **`seedance-2.0`**: Supports images, videos, audio.
+ /// * **`seedance-2.0-fast`**: Supports images, videos, audio.
/// * **`seedance-2.0-mini`**: Supports images, videos, audio.
/// * **`seedance-2.5`**: Supports images, videos, audio.
/// * **`wan-3.0`**: Supports images, videos, audio. diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.TextToVideoCreateVideoRequestAspectRatio.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.TextToVideoCreateVideoRequestAspectRatio.g.cs index 6abce70..d76c5ea 100644 --- a/src/libs/MagicHour/Generated/MagicHour.Models.TextToVideoCreateVideoRequestAspectRatio.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.Models.TextToVideoCreateVideoRequestAspectRatio.g.cs @@ -4,7 +4,7 @@ namespace MagicHour { /// - /// Determines the aspect ratio of the output video.
+ /// Provide `aspect_ratio` to set the video’s aspect ratio. Determines the aspect ratio of the output video.
/// * **`gemini-omni-1.1`**: Supports 16:9, 9:16.
/// * **`kling-2.6`**: Supports 9:16, 16:9, 1:1.
/// * **`kling-3.0`**: Supports 9:16, 16:9, 1:1.
@@ -12,6 +12,7 @@ namespace MagicHour /// * **`minimax-h3`**: Supports 16:9, 9:16, 1:1.
/// * **`seedance-1.5`**: Supports 9:16, 16:9, 1:1.
/// * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
+ /// * **`seedance-2.0-fast`**: Supports 9:16, 16:9, 1:1.
/// * **`seedance-2.0-mini`**: Supports 9:16, 16:9, 1:1.
/// * **`seedance-2.5`**: Supports 9:16, 16:9, 1:1.
/// * **`veo3.1`**: Supports 9:16, 16:9.
diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.TextToVideoCreateVideoRequestModel.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.TextToVideoCreateVideoRequestModel.g.cs index 293c3c6..ff566ff 100644 --- a/src/libs/MagicHour/Generated/MagicHour.Models.TextToVideoCreateVideoRequestModel.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.Models.TextToVideoCreateVideoRequestModel.g.cs @@ -13,6 +13,7 @@ namespace MagicHour /// * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
/// * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
/// * `seedance-2.0`: Best for reference-led clips with precise subject control.
+ /// * `seedance-2.0-fast`: Fast reference-led clips with consistent motion and audio.
/// * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
/// * `seedance-2.5`: Best for premium realism, detail, and natural motion.
/// * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
@@ -82,6 +83,10 @@ public enum TextToVideoCreateVideoRequestModel ///
Seedance20, /// + /// Fast reference-led clips with consistent motion and audio. + /// + Seedance20Fast, + /// /// Faster reference-led clips with consistent motion and audio. /// Seedance20Mini, @@ -141,6 +146,7 @@ public static string ToValueString(this TextToVideoCreateVideoRequestModel value TextToVideoCreateVideoRequestModel.Seedance => "seedance", TextToVideoCreateVideoRequestModel.Seedance15 => "seedance-1.5", TextToVideoCreateVideoRequestModel.Seedance20 => "seedance-2.0", + TextToVideoCreateVideoRequestModel.Seedance20Fast => "seedance-2.0-fast", TextToVideoCreateVideoRequestModel.Seedance20Mini => "seedance-2.0-mini", TextToVideoCreateVideoRequestModel.Seedance25 => "seedance-2.5", TextToVideoCreateVideoRequestModel.Sora2 => "sora-2", @@ -173,6 +179,7 @@ public static string ToValueString(this TextToVideoCreateVideoRequestModel value "seedance" => TextToVideoCreateVideoRequestModel.Seedance, "seedance-1.5" => TextToVideoCreateVideoRequestModel.Seedance15, "seedance-2.0" => TextToVideoCreateVideoRequestModel.Seedance20, + "seedance-2.0-fast" => TextToVideoCreateVideoRequestModel.Seedance20Fast, "seedance-2.0-mini" => TextToVideoCreateVideoRequestModel.Seedance20Mini, "seedance-2.5" => TextToVideoCreateVideoRequestModel.Seedance25, "sora-2" => TextToVideoCreateVideoRequestModel.Sora2, diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.TextToVideoCreateVideoRequestResolution.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.TextToVideoCreateVideoRequestResolution.g.cs index eca513a..bd3625d 100644 --- a/src/libs/MagicHour/Generated/MagicHour.Models.TextToVideoCreateVideoRequestResolution.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.Models.TextToVideoCreateVideoRequestResolution.g.cs @@ -12,6 +12,7 @@ namespace MagicHour /// * **`minimax-h3`**: Supports 480p, 720p, 1080p.
/// * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
/// * **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.
+ /// * **`seedance-2.0-fast`**: Supports 480p, 720p.
/// * **`seedance-2.0-mini`**: Supports 480p, 720p.
/// * **`seedance-2.5`**: Supports 480p, 720p, 1080p.
/// * **`veo3.1`**: Supports 720p, 1080p.
diff --git a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiTalkingPhotoCreateTalkingPhoto.g.cs b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiTalkingPhotoCreateTalkingPhoto.g.cs index 96544d3..865a665 100644 --- a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiTalkingPhotoCreateTalkingPhoto.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiTalkingPhotoCreateTalkingPhoto.g.cs @@ -724,9 +724,9 @@ partial void ProcessAiTalkingPhotoCreateTalkingPhotoResponseContent( /// /// Attributes used to dictate the style of the output /// - /// - /// Constrains the larger dimension (height or width) of the output video. Allows you to set a lower resolution than your plan's maximum if desired. The value is capped by your plan's max resolution.
- /// Example: 512 + /// + /// Output preset. Overrides `max_resolution`. Defaults to 480p in prompted mode; realistic mode uses the mapped plan maximum.
+ /// Example: 480p /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -737,7 +737,7 @@ partial void ProcessAiTalkingPhotoCreateTalkingPhotoResponseContent( global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestAssets assets, string? name = default, global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestStyle? style = default, - int? maxResolution = default, + global::MagicHour.AiTalkingPhotoCreateTalkingPhotoRequestResolution? resolution = default, global::MagicHour.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -748,7 +748,7 @@ partial void ProcessAiTalkingPhotoCreateTalkingPhotoResponseContent( EndSeconds = endSeconds, Assets = assets, Style = style, - MaxResolution = maxResolution, + Resolution = resolution, }; return await AiTalkingPhotoCreateTalkingPhotoAsync( diff --git a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiUgcAdCreateVideo.g.cs b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiUgcAdCreateVideo.g.cs new file mode 100644 index 0000000..9f7b516 --- /dev/null +++ b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiUgcAdCreateVideo.g.cs @@ -0,0 +1,712 @@ + +#nullable enable + +namespace MagicHour +{ + public partial class VideoProjectsClient + { + + + private static readonly global::MagicHour.EndPointSecurityRequirement s_AiUgcAdCreateVideoSecurityRequirement0 = + new global::MagicHour.EndPointSecurityRequirement + { + Authorizations = new global::MagicHour.EndPointAuthorizationRequirement[] + { new global::MagicHour.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "HttpBearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::MagicHour.EndPointSecurityRequirement[] s_AiUgcAdCreateVideoSecurityRequirements = + new global::MagicHour.EndPointSecurityRequirement[] + { s_AiUgcAdCreateVideoSecurityRequirement0, + }; + partial void PrepareAiUgcAdCreateVideoArguments( + global::System.Net.Http.HttpClient httpClient, + global::MagicHour.AiUgcAdCreateVideoRequest request); + partial void PrepareAiUgcAdCreateVideoRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::MagicHour.AiUgcAdCreateVideoRequest request); + partial void ProcessAiUgcAdCreateVideoResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessAiUgcAdCreateVideoResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// AI UGC Ad Generator
+ /// Create a spoken UGC video from a prepared image and script. Returns a project ID; poll GET /v1/video-projects/{id} for status and downloads. To compose an image, generate the image separately with the Image Editor API and supply its download URL. + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AiUgcAdCreateVideoAsync( + + global::MagicHour.AiUgcAdCreateVideoRequest request, + global::MagicHour.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await AiUgcAdCreateVideoAsResponseAsync( + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// AI UGC Ad Generator
+ /// Create a spoken UGC video from a prepared image and script. Returns a project ID; poll GET /v1/video-projects/{id} for status and downloads. To compose an image, generate the image separately with the Image Editor API and supply its download URL. + ///
+ /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> AiUgcAdCreateVideoAsResponseAsync( + + global::MagicHour.AiUgcAdCreateVideoRequest request, + global::MagicHour.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareAiUgcAdCreateVideoArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::MagicHour.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_AiUgcAdCreateVideoSecurityRequirements, + operationName: "AiUgcAdCreateVideoAsync"); + + using var __timeoutCancellationTokenSource = global::MagicHour.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::MagicHour.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::MagicHour.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::MagicHour.PathBuilder( + path: "/v1/ai-ugc-ad", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::MagicHour.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::MagicHour.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareAiUgcAdCreateVideoRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::MagicHour.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::MagicHour.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AiUgcAdCreateVideo", + methodName: "AiUgcAdCreateVideoAsync", + pathTemplate: "\"/v1/ai-ugc-ad\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::MagicHour.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::MagicHour.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::MagicHour.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AiUgcAdCreateVideo", + methodName: "AiUgcAdCreateVideoAsync", + pathTemplate: "\"/v1/ai-ugc-ad\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::MagicHour.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::MagicHour.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::MagicHour.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::MagicHour.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::MagicHour.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AiUgcAdCreateVideo", + methodName: "AiUgcAdCreateVideoAsync", + pathTemplate: "\"/v1/ai-ugc-ad\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::MagicHour.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessAiUgcAdCreateVideoResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::MagicHour.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::MagicHour.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AiUgcAdCreateVideo", + methodName: "AiUgcAdCreateVideoAsync", + pathTemplate: "\"/v1/ai-ugc-ad\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::MagicHour.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::MagicHour.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "AiUgcAdCreateVideo", + methodName: "AiUgcAdCreateVideoAsync", + pathTemplate: "\"/v1/ai-ugc-ad\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Invalid Request + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::MagicHour.AiUgcAdCreateVideoResponse2? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::MagicHour.AiUgcAdCreateVideoResponse2.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::MagicHour.AiUgcAdCreateVideoResponse2.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::MagicHour.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::MagicHour.AiUgcAdCreateVideoResponse3? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::MagicHour.AiUgcAdCreateVideoResponse3.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::MagicHour.AiUgcAdCreateVideoResponse3.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::MagicHour.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Payment Required + if ((int)__response.StatusCode == 402) + { + string? __content_402 = null; + global::System.Exception? __exception_402 = null; + global::MagicHour.AiUgcAdCreateVideoResponse4? __value_402 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_402 = global::MagicHour.AiUgcAdCreateVideoResponse4.FromJson(__content_402, JsonSerializerContext); + } + else + { + __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_402 = global::MagicHour.AiUgcAdCreateVideoResponse4.FromJson(__content_402, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_402 = __ex; + } + + + throw global::MagicHour.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_402 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_402, + responseBody: __content_402, + responseObject: __value_402, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not Found + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::MagicHour.AiUgcAdCreateVideoResponse5? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::MagicHour.AiUgcAdCreateVideoResponse5.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::MagicHour.AiUgcAdCreateVideoResponse5.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::MagicHour.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // 422 + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + global::MagicHour.AiUgcAdCreateVideoResponse6? __value_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_422 = global::MagicHour.AiUgcAdCreateVideoResponse6.FromJson(__content_422, JsonSerializerContext); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_422 = global::MagicHour.AiUgcAdCreateVideoResponse6.FromJson(__content_422, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + + throw global::MagicHour.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + responseBody: __content_422, + responseObject: __value_422, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Internal Server Error + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::MagicHour.AiUgcAdCreateVideoResponse7? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::MagicHour.AiUgcAdCreateVideoResponse7.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::MagicHour.AiUgcAdCreateVideoResponse7.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::MagicHour.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessAiUgcAdCreateVideoResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::MagicHour.AiUgcAdCreateVideoResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::MagicHour.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::MagicHour.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::MagicHour.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::MagicHour.AiUgcAdCreateVideoResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::MagicHour.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::MagicHour.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::MagicHour.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// AI UGC Ad Generator
+ /// Create a spoken UGC video from a prepared image and script. Returns a project ID; poll GET /v1/video-projects/{id} for status and downloads. To compose an image, generate the image separately with the Image Editor API and supply its download URL. + ///
+ /// + /// + /// The words the actor should speak. Character limits apply after trimming:
+ /// * kling-3.0: 2500 characters.
+ /// * ltx-2.5: 1981 characters.
+ /// * veo3.1: 2500 characters.
+ /// LTX's dialogue wrapper counts toward its model prompt limit.
+ /// Example: Meet your new everyday essential. + /// + /// + /// Video duration in seconds. Supported values by model:
+ /// * kling-3.0: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 seconds.
+ /// * ltx-2.5: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60 seconds.
+ /// * veo3.1: 4, 6, 8, 15, 22, 29, 36, 43, 50, 57, 64, 71, 78, 85, 92, 99, 106, 113, 120, 127, 134, 141 seconds.
+ /// Free plans are limited to 5 seconds unless a credit pack has been purchased.
+ /// Example: 4 + /// + /// + /// Defaults to kling-3.0 on paid plans and ltx-2.5 on free plans. + /// + /// + /// Defaults to 720p on paid plans and 480p on free plans. Unsupported model/resolution combinations and resolutions unavailable for your plan are rejected. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task AiUgcAdCreateVideoAsync( + global::MagicHour.AiUgcAdCreateVideoRequestAssets assets, + string script, + double endSeconds, + global::MagicHour.AiUgcAdCreateVideoRequestModel? model = default, + global::MagicHour.AiUgcAdCreateVideoRequestResolution? resolution = default, + global::MagicHour.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::MagicHour.AiUgcAdCreateVideoRequest + { + Assets = assets, + Script = script, + EndSeconds = endSeconds, + Model = model, + Resolution = resolution, + }; + + return await AiUgcAdCreateVideoAsync( + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.ImageToVideoCreateVideo.g.cs b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.ImageToVideoCreateVideo.g.cs index 162f03c..bc5d607 100644 --- a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.ImageToVideoCreateVideo.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.ImageToVideoCreateVideo.g.cs @@ -767,6 +767,7 @@ partial void ProcessImageToVideoCreateVideoResponseContent( /// * **`minimax-h3`**: any integer from 1 to 30
/// * **`seedance-1.5`**: any integer from 4 to 12
/// * **`seedance-2.0`**: any integer from 4 to 15
+ /// * **`seedance-2.0-fast`**: any integer from 4 to 15
/// * **`seedance-2.0-mini`**: any integer from 4 to 15
/// * **`seedance-2.5`**: any integer from 4 to 30
/// * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
@@ -785,6 +786,7 @@ partial void ProcessImageToVideoCreateVideoResponseContent( /// * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
/// * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
/// * `seedance-2.0`: Best for reference-led clips with precise subject control.
+ /// * `seedance-2.0-fast`: Fast reference-led clips with consistent motion and audio.
/// * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
/// * `seedance-2.5`: Best for premium realism, detail, and natural motion.
/// * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
@@ -804,6 +806,7 @@ partial void ProcessImageToVideoCreateVideoResponseContent( /// * **`minimax-h3`**: Supports 480p, 720p, 1080p.
/// * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
/// * **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.
+ /// * **`seedance-2.0-fast`**: Supports 480p, 720p.
/// * **`seedance-2.0-mini`**: Supports 480p, 720p.
/// * **`seedance-2.5`**: Supports 480p, 720p, 1080p.
/// * **`veo3.1`**: Supports 720p, 1080p.
@@ -822,6 +825,7 @@ partial void ProcessImageToVideoCreateVideoResponseContent( /// * **`minimax-h3`**: Toggle-able: no additional credits for audio
/// * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled
/// * **`seedance-2.0`**: Toggle-able: no additional credits for audio
+ /// * **`seedance-2.0-fast`**: Toggle-able: no additional credits for audio
/// * **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio
/// * **`seedance-2.5`**: Toggle-able: no additional credits for audio
/// * **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
diff --git a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.TextToVideoCreateVideo.g.cs b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.TextToVideoCreateVideo.g.cs index c0bbe9c..a2846f6 100644 --- a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.TextToVideoCreateVideo.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.TextToVideoCreateVideo.g.cs @@ -73,12 +73,8 @@ partial void ProcessTextToVideoCreateVideoResponseContent( /// --header 'content-type: application/json' \
/// --data '
/// {
- /// "name": "My Text To Video video",
/// "end_seconds": 5,
/// "aspect_ratio": "16:9",
- /// "resolution": "480p",
- /// "model": "ltx-2.5",
- /// "audio": true,
/// "style": {
/// "prompt": "a dog running"
/// }
@@ -132,12 +128,8 @@ partial void ProcessTextToVideoCreateVideoResponseContent( /// --header 'content-type: application/json' \
/// --data '
/// {
- /// "name": "My Text To Video video",
/// "end_seconds": 5,
/// "aspect_ratio": "16:9",
- /// "resolution": "480p",
- /// "model": "ltx-2.5",
- /// "audio": true,
/// "style": {
/// "prompt": "a dog running"
/// }
@@ -761,6 +753,7 @@ partial void ProcessTextToVideoCreateVideoResponseContent( /// * **`minimax-h3`**: any integer from 1 to 30
/// * **`seedance-1.5`**: any integer from 4 to 12
/// * **`seedance-2.0`**: any integer from 4 to 15
+ /// * **`seedance-2.0-fast`**: any integer from 4 to 15
/// * **`seedance-2.0-mini`**: any integer from 4 to 15
/// * **`seedance-2.5`**: any integer from 4 to 30
/// * **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
@@ -770,7 +763,7 @@ partial void ProcessTextToVideoCreateVideoResponseContent( /// Example: 5 /// /// - /// Determines the aspect ratio of the output video.
+ /// Provide `aspect_ratio` to set the video’s aspect ratio. Determines the aspect ratio of the output video.
/// * **`gemini-omni-1.1`**: Supports 16:9, 9:16.
/// * **`kling-2.6`**: Supports 9:16, 16:9, 1:1.
/// * **`kling-3.0`**: Supports 9:16, 16:9, 1:1.
@@ -778,6 +771,7 @@ partial void ProcessTextToVideoCreateVideoResponseContent( /// * **`minimax-h3`**: Supports 16:9, 9:16, 1:1.
/// * **`seedance-1.5`**: Supports 9:16, 16:9, 1:1.
/// * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
+ /// * **`seedance-2.0-fast`**: Supports 9:16, 16:9, 1:1.
/// * **`seedance-2.0-mini`**: Supports 9:16, 16:9, 1:1.
/// * **`seedance-2.5`**: Supports 9:16, 16:9, 1:1.
/// * **`veo3.1`**: Supports 9:16, 16:9.
@@ -795,6 +789,7 @@ partial void ProcessTextToVideoCreateVideoResponseContent( /// * **`minimax-h3`**: Supports 480p, 720p, 1080p.
/// * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
/// * **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.
+ /// * **`seedance-2.0-fast`**: Supports 480p, 720p.
/// * **`seedance-2.0-mini`**: Supports 480p, 720p.
/// * **`seedance-2.5`**: Supports 480p, 720p, 1080p.
/// * **`veo3.1`**: Supports 720p, 1080p.
@@ -813,6 +808,7 @@ partial void ProcessTextToVideoCreateVideoResponseContent( /// * `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
/// * `seedance-1.5`: Best for smooth, consistent motion with an end frame.
/// * `seedance-2.0`: Best for reference-led clips with precise subject control.
+ /// * `seedance-2.0-fast`: Fast reference-led clips with consistent motion and audio.
/// * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
/// * `seedance-2.5`: Best for premium realism, detail, and natural motion.
/// * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
@@ -833,6 +829,7 @@ partial void ProcessTextToVideoCreateVideoResponseContent( /// * **`minimax-h3`**: Toggle-able: no additional credits for audio
/// * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled
/// * **`seedance-2.0`**: Toggle-able: no additional credits for audio
+ /// * **`seedance-2.0-fast`**: Toggle-able: no additional credits for audio
/// * **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio
/// * **`seedance-2.5`**: Toggle-able: no additional credits for audio
/// * **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
@@ -848,6 +845,7 @@ partial void ProcessTextToVideoCreateVideoResponseContent( /// * **`kling-3.0`**: Supports images, videos.
/// * **`minimax-h3`**: Supports images, videos, audio.
/// * **`seedance-2.0`**: Supports images, videos, audio.
+ /// * **`seedance-2.0-fast`**: Supports images, videos, audio.
/// * **`seedance-2.0-mini`**: Supports images, videos, audio.
/// * **`seedance-2.5`**: Supports images, videos, audio.
/// * **`wan-3.0`**: Supports images, videos, audio. diff --git a/src/libs/MagicHour/Generated/autosdk.generated-examples.json b/src/libs/MagicHour/Generated/autosdk.generated-examples.json index 6dedd33..dba2316 100644 --- a/src/libs/MagicHour/Generated/autosdk.generated-examples.json +++ b/src/libs/MagicHour/Generated/autosdk.generated-examples.json @@ -6,7 +6,7 @@ "Slug": "texttovideo-createvideo", "Description": "**What this API does**\n\nCreate the same Text To Video you can make in the browser, but programmatically, so you can automate it, run it at scale, or connect it to your own app or workflow.\n \n**Good for**\n- Automation and batch processing \n- Adding text to video into apps, pipelines, or tools \n\n**How it works (3 steps)**\n1) Upload your inputs (video, image, or audio) with [Generate Upload URLs](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls) and copy the \u0060file_path\u0060. \n2) Send a request to create a text to video job with the basic fields. \n3) Check the job status until it\u0027s \u0060complete\u0060, then download the result from \u0060downloads\u0060.\n\n**Key options**\n- Inputs: usually a file, sometimes a YouTube link, depending on project type \n- Resolution: free users are limited to 576px; higher plans unlock HD and larger sizes \n- Extra fields: e.g. \u0060face_swap_mode\u0060, \u0060start_seconds\u0060/\u0060end_seconds\u0060, or a text prompt \n\n**Cost** \nCredits are only charged for the frames that actually render. You\u0027ll see an estimate when the job is queued, and the final total after it\u0027s done.\n\nFor detailed examples, see the [product page](https://magichour.ai/products/text-to-video).", "Language": "csharp", - "Code": "using var client = new MagicHourClient(apiKey);\n\nvar request = global::System.Text.Json.JsonSerializer.Deserialize\u003Cglobal::MagicHour.TextToVideoCreateVideoRequest\u003E(\n @\u0022{\n \u0022\u0022name\u0022\u0022: \u0022\u0022My Text To Video video\u0022\u0022,\n \u0022\u0022end_seconds\u0022\u0022: 5,\n \u0022\u0022aspect_ratio\u0022\u0022: \u0022\u002216:9\u0022\u0022,\n \u0022\u0022resolution\u0022\u0022: \u0022\u0022480p\u0022\u0022,\n \u0022\u0022model\u0022\u0022: \u0022\u0022ltx-2.5\u0022\u0022,\n \u0022\u0022audio\u0022\u0022: true,\n \u0022\u0022style\u0022\u0022: {\n \u0022\u0022prompt\u0022\u0022: \u0022\u0022a dog running\u0022\u0022\n }\n}\u0022)!;\n\nvar response = await client.VideoProjects.TextToVideoCreateVideoAsync(\n request: request\n);", + "Code": "using var client = new MagicHourClient(apiKey);\n\nvar request = global::System.Text.Json.JsonSerializer.Deserialize\u003Cglobal::MagicHour.TextToVideoCreateVideoRequest\u003E(\n @\u0022{\n \u0022\u0022end_seconds\u0022\u0022: 5,\n \u0022\u0022aspect_ratio\u0022\u0022: \u0022\u002216:9\u0022\u0022,\n \u0022\u0022style\u0022\u0022: {\n \u0022\u0022prompt\u0022\u0022: \u0022\u0022a dog running\u0022\u0022\n }\n}\u0022)!;\n\nvar response = await client.VideoProjects.TextToVideoCreateVideoAsync(\n request: request\n);", "Format": "sdk", "OperationId": "textToVideo.createVideo", "Setup": "This example assumes \u0060using MagicHour;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." diff --git a/src/libs/MagicHour/openapi.yaml b/src/libs/MagicHour/openapi.yaml index f6672a0..74a318c 100644 --- a/src/libs/MagicHour/openapi.yaml +++ b/src/libs/MagicHour/openapi.yaml @@ -1633,10 +1633,11 @@ }, "description": "Attributes used to dictate the style of the output" }, - "max_resolution": { - "type": "integer", - "description": "Constrains the larger dimension (height or width) of the output video. Allows you to set a lower resolution than your plan's maximum if desired. The value is capped by your plan's max resolution.", - "example": 512 + "resolution": { + "type": "string", + "enum": ["480p", "720p"], + "description": "Output preset. Overrides `max_resolution`. Defaults to 480p in prompted mode; realistic mode uses the mapped plan maximum.", + "example": "480p" } }, "required": ["start_seconds", "end_seconds", "assets"], @@ -1822,6 +1823,210 @@ ] } }, + "/v1/ai-ugc-ad": { + "post": { + "description": "Create a spoken UGC video from a prepared image and script. Returns a project ID; poll GET /v1/video-projects/{id} for status and downloads. To compose an image, generate the image separately with the Image Editor API and supply its download URL.", + "summary": "AI UGC Ad Generator", + "tags": ["Video Projects"], + "parameters": [], + "operationId": "aiUgcAd.createVideo", + "requestBody": { + "required": true, + "description": "Body", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "assets": { + "type": "object", + "properties": { + "image_file_path": { + "type": "string", + "minLength": 1, + "description": "Prepared image to animate. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n", + "example": "api-assets/id/image.jpg" + } + }, + "required": ["image_file_path"], + "additionalProperties": false + }, + "script": { + "type": "string", + "minLength": 1, + "description": "The words the actor should speak. Character limits apply after trimming:\n* kling-3.0: 2500 characters.\n* ltx-2.5: 1981 characters.\n* veo3.1: 2500 characters.\nLTX's dialogue wrapper counts toward its model prompt limit.", + "example": "Meet your new everyday essential." + }, + "end_seconds": { + "type": "number", + "minimum": 1, + "description": "Video duration in seconds. Supported values by model:\n* kling-3.0: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 seconds.\n* ltx-2.5: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60 seconds.\n* veo3.1: 4, 6, 8, 15, 22, 29, 36, 43, 50, 57, 64, 71, 78, 85, 92, 99, 106, 113, 120, 127, 134, 141 seconds.\nFree plans are limited to 5 seconds unless a credit pack has been purchased.", + "example": 4 + }, + "model": { + "type": "string", + "enum": ["kling-3.0", "ltx-2.5", "veo3.1"], + "description": "Defaults to kling-3.0 on paid plans and ltx-2.5 on free plans." + }, + "resolution": { + "type": "string", + "enum": ["480p", "720p", "1080p"], + "description": "Defaults to 720p on paid plans and 480p on free plans. Unsupported model/resolution combinations and resolutions unavailable for your plan are rejected." + } + }, + "required": ["assets", "script", "end_seconds"], + "additionalProperties": false + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "example": "cuid-example", + "description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads." + }, + "credits_charged": { + "type": "integer", + "description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund.", + "example": 450 + } + }, + "required": ["id", "credits_charged"], + "description": "Success" + } + } + } + }, + "400": { + "description": "Invalid Request", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": ["code", "message"], + "properties": { + "code": { + "type": "string", + "enum": ["invalid_request"], + "description": "Machine-readable error code.\n\n- `invalid_request`: Fix request syntax or validation errors before retrying." + }, + "message": { "type": "string", "description": "Human-readable error message." } + } + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": ["code", "message"], + "properties": { + "code": { + "type": "string", + "enum": ["unauthorized"], + "description": "Machine-readable error code.\n\n- `unauthorized`: Provide a valid API key before retrying." + }, + "message": { "type": "string", "description": "Human-readable error message." } + } + } + } + } + }, + "402": { + "description": "Payment Required", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": ["code", "message"], + "properties": { + "code": { + "type": "string", + "enum": [ + "insufficient_credits", + "subscription_required", + "plan_upgrade_required" + ], + "description": "Machine-readable error code.\n\n- `insufficient_credits`: Purchase credits before retrying.\n\n- `subscription_required`: Start a subscription before retrying.\n\n- `plan_upgrade_required`: Upgrade the subscription plan before retrying." + }, + "message": { "type": "string", "description": "Human-readable error message." } + } + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": ["code", "message"], + "properties": { + "code": { + "type": "string", + "enum": ["not_found"], + "description": "Machine-readable error code.\n\n- `not_found`: Check the route or resource identifier." + }, + "message": { "type": "string", "description": "Human-readable error message." } + } + } + } + } + }, + "422": { + "description": "422", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": ["code", "message"], + "properties": { + "code": { + "type": "string", + "enum": ["unprocessable_entity"], + "description": "Machine-readable error code.\n\n- `unprocessable_entity`: Change the request values before retrying." + }, + "message": { "type": "string", "description": "Human-readable error message." } + } + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": ["code", "message"], + "properties": { + "code": { + "type": "string", + "enum": ["internal_server_error"], + "description": "Machine-readable error code.\n\n- `internal_server_error`: Retry later or contact support if the error continues." + }, + "message": { "type": "string", "description": "Human-readable error message." } + } + } + } + } + } + }, + "security": [{ "bearerAuth": [] }] + } + }, "/v1/ai-video-editor": { "post": { "description": "**What this API does**\n\nCreate the same Video Editor you can make in the browser, but programmatically, so you can automate it, run it at scale, or connect it to your own app or workflow.\n \n**Good for**\n- Automation and batch processing \n- Adding video editor into apps, pipelines, or tools \n\n**How it works (3 steps)**\n1) Upload your inputs (video, image, or audio) with [Generate Upload URLs](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls) and copy the `file_path`. \n2) Send a request to create a video editor job with the basic fields. \n3) Check the job status until it's `complete`, then download the result from `downloads`.\n\n**Key options**\n- Inputs: usually a file, sometimes a YouTube link, depending on project type \n- Resolution: free users are limited to 576px; higher plans unlock HD and larger sizes \n- Extra fields: e.g. `face_swap_mode`, `start_seconds`/`end_seconds`, or a text prompt \n\n**Cost** \nCredits are only charged for the frames that actually render. You'll see an estimate when the job is queued, and the final total after it's done.\n\nFor detailed examples, see the [product page](https://magichour.ai/products/ai-video-editor).", @@ -3956,7 +4161,7 @@ "type": "number", "minimum": 1, "maximum": 60, - "description": "The total duration of the output video in seconds. Supported durations depend on the chosen model:\n\n* **`gemini-omni-1.1`**: any integer from 3 to 10\n* **`kling-2.6`**: 5, 10\n* **`kling-3.0`**: any integer from 3 to 15\n* **`ltx-2.5`**: any integer from 1 to 60\n* **`minimax-h3`**: any integer from 1 to 30\n* **`seedance-1.5`**: any integer from 4 to 12\n* **`seedance-2.0`**: any integer from 4 to 15\n* **`seedance-2.0-mini`**: any integer from 4 to 15\n* **`seedance-2.5`**: any integer from 4 to 30\n* **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56\n* **`veo3.1-lite`**: 4, 6, 8, 16, 24, 32, 40, 48, 56\n* **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15\n* **`wan-3.0`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30\n", + "description": "The total duration of the output video in seconds. Supported durations depend on the chosen model:\n\n* **`gemini-omni-1.1`**: any integer from 3 to 10\n* **`kling-2.6`**: 5, 10\n* **`kling-3.0`**: any integer from 3 to 15\n* **`ltx-2.5`**: any integer from 1 to 60\n* **`minimax-h3`**: any integer from 1 to 30\n* **`seedance-1.5`**: any integer from 4 to 12\n* **`seedance-2.0`**: any integer from 4 to 15\n* **`seedance-2.0-fast`**: any integer from 4 to 15\n* **`seedance-2.0-mini`**: any integer from 4 to 15\n* **`seedance-2.5`**: any integer from 4 to 30\n* **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56\n* **`veo3.1-lite`**: 4, 6, 8, 16, 24, 32, 40, 48, 56\n* **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15\n* **`wan-3.0`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30\n", "format": "float", "example": 5 }, @@ -3968,6 +4173,7 @@ "kling-3.0", "ltx-2.5", "seedance-2.0-mini", + "seedance-2.0-fast", "wan-3.0", "seedance-2.5", "gemini-omni-1.1", @@ -3987,18 +4193,18 @@ "kling-2.5-audio", "veo3.1-audio" ], - "description": "The AI model to use for video generation.\n\n* `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2.5`.\n* `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.\n* `kling-2.6`: Best for action, motion blur, and controlled camera moves.\n* `kling-3.0`: Best for cinematic stories, references, and optional audio.\n* `ltx-2.5`: Fastest for general scenes, long clips, audio, and rapid iteration.\n* `minimax-h3`: Great for reference-driven clips with native audio and longer durations.\n* `seedance-1.5`: Best for smooth, consistent motion with an end frame.\n* `seedance-2.0`: Best for reference-led clips with precise subject control.\n* `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.\n* `seedance-2.5`: Best for premium realism, detail, and natural motion.\n* `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.\n* `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.\n* `wan-2.2`: Best for physical motion, action, and camera movement.\n* `wan-3.0`: High-quality video with native audio, long clips, and end-frame control.\n\nIf you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.", + "description": "The AI model to use for video generation.\n\n* `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2.5`.\n* `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.\n* `kling-2.6`: Best for action, motion blur, and controlled camera moves.\n* `kling-3.0`: Best for cinematic stories, references, and optional audio.\n* `ltx-2.5`: Fastest for general scenes, long clips, audio, and rapid iteration.\n* `minimax-h3`: Great for reference-driven clips with native audio and longer durations.\n* `seedance-1.5`: Best for smooth, consistent motion with an end frame.\n* `seedance-2.0`: Best for reference-led clips with precise subject control.\n* `seedance-2.0-fast`: Fast reference-led clips with consistent motion and audio.\n* `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.\n* `seedance-2.5`: Best for premium realism, detail, and natural motion.\n* `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.\n* `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.\n* `wan-2.2`: Best for physical motion, action, and camera movement.\n* `wan-3.0`: High-quality video with native audio, long clips, and end-frame control.\n\nIf you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.", "example": "ltx-2.5" }, "resolution": { "type": "string", "enum": ["360p", "480p", "720p", "1080p", "4k"], "example": "480p", - "description": "Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.\n\n* **`gemini-omni-1.1`**: Supports 360p, 720p, 1080p, 4k.\n* **`kling-2.6`**: Supports 720p, 1080p.\n* **`kling-3.0`**: Supports 720p, 1080p, 4k.\n* **`ltx-2.5`**: Supports 480p, 720p, 1080p.\n* **`minimax-h3`**: Supports 480p, 720p, 1080p.\n* **`seedance-1.5`**: Supports 480p, 720p, 1080p.\n* **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.\n* **`seedance-2.0-mini`**: Supports 480p, 720p.\n* **`seedance-2.5`**: Supports 480p, 720p, 1080p.\n* **`veo3.1`**: Supports 720p, 1080p.\n* **`veo3.1-lite`**: Supports 720p, 1080p.\n* **`wan-2.2`**: Supports 480p, 720p, 1080p.\n* **`wan-3.0`**: Supports 480p, 720p, 1080p.\n" + "description": "Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.\n\n* **`gemini-omni-1.1`**: Supports 360p, 720p, 1080p, 4k.\n* **`kling-2.6`**: Supports 720p, 1080p.\n* **`kling-3.0`**: Supports 720p, 1080p, 4k.\n* **`ltx-2.5`**: Supports 480p, 720p, 1080p.\n* **`minimax-h3`**: Supports 480p, 720p, 1080p.\n* **`seedance-1.5`**: Supports 480p, 720p, 1080p.\n* **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.\n* **`seedance-2.0-fast`**: Supports 480p, 720p.\n* **`seedance-2.0-mini`**: Supports 480p, 720p.\n* **`seedance-2.5`**: Supports 480p, 720p, 1080p.\n* **`veo3.1`**: Supports 720p, 1080p.\n* **`veo3.1-lite`**: Supports 720p, 1080p.\n* **`wan-2.2`**: Supports 480p, 720p, 1080p.\n* **`wan-3.0`**: Supports 480p, 720p, 1080p.\n" }, "audio": { "type": "boolean", - "description": "Whether to include audio in the video. Defaults to `false` if not specified.\n\nAudio support varies by model:\n* **`gemini-omni-1.1`**: Not supported\n* **`kling-2.6`**: Not supported\n* **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled\n* **`ltx-2.5`**: Toggle-able: no additional credits for audio\n* **`minimax-h3`**: Toggle-able: no additional credits for audio\n* **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled\n* **`seedance-2.0`**: Toggle-able: no additional credits for audio\n* **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio\n* **`seedance-2.5`**: Toggle-able: no additional credits for audio\n* **`veo3.1`**: Toggle-able: audio adds extra credits when enabled\n* **`veo3.1-lite`**: Toggle-able: audio adds extra credits when enabled\n* **`wan-2.2`**: Not supported\n* **`wan-3.0`**: Toggle-able: no additional credits for audio\n", + "description": "Whether to include audio in the video. Defaults to `false` if not specified.\n\nAudio support varies by model:\n* **`gemini-omni-1.1`**: Not supported\n* **`kling-2.6`**: Not supported\n* **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled\n* **`ltx-2.5`**: Toggle-able: no additional credits for audio\n* **`minimax-h3`**: Toggle-able: no additional credits for audio\n* **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled\n* **`seedance-2.0`**: Toggle-able: no additional credits for audio\n* **`seedance-2.0-fast`**: Toggle-able: no additional credits for audio\n* **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio\n* **`seedance-2.5`**: Toggle-able: no additional credits for audio\n* **`veo3.1`**: Toggle-able: audio adds extra credits when enabled\n* **`veo3.1-lite`**: Toggle-able: audio adds extra credits when enabled\n* **`wan-2.2`**: Not supported\n* **`wan-3.0`**: Toggle-able: no additional credits for audio\n", "example": true }, "style": { @@ -4024,7 +4230,7 @@ "end_image_file_path": { "type": "string", "minLength": 1, - "description": "The image to use as the last frame of the video.\n\n* **`gemini-omni-1.1`**: Supports 360p, 720p, 1080p, 4k.\n* **`kling-2.6`**: Supports 1080p.\n* **`kling-3.0`**: Supports 720p, 1080p, 4k.\n* **`ltx-2.5`**: Supports 480p, 720p, 1080p.\n* **`minimax-h3`**: Supports 480p, 720p, 1080p.\n* **`seedance-1.5`**: Supports 480p, 720p, 1080p.\n* **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.\n* **`seedance-2.0-mini`**: Supports 480p, 720p.\n* **`seedance-2.5`**: Supports 480p, 720p, 1080p.\n* **`veo3.1`**: Supports 720p, 1080p. Requires a duration of 8 seconds or less.\n* **`veo3.1-lite`**: Supports 720p, 1080p. Requires a duration of 8 seconds or less.\n* **`wan-2.2`**: Not supported\n* **`wan-3.0`**: Supports 480p, 720p, 1080p.\n", + "description": "The image to use as the last frame of the video.\n\n* **`gemini-omni-1.1`**: Supports 360p, 720p, 1080p, 4k.\n* **`kling-2.6`**: Supports 1080p.\n* **`kling-3.0`**: Supports 720p, 1080p, 4k.\n* **`ltx-2.5`**: Supports 480p, 720p, 1080p.\n* **`minimax-h3`**: Supports 480p, 720p, 1080p.\n* **`seedance-1.5`**: Supports 480p, 720p, 1080p.\n* **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.\n* **`seedance-2.0-fast`**: Supports 480p, 720p.\n* **`seedance-2.0-mini`**: Supports 480p, 720p.\n* **`seedance-2.5`**: Supports 480p, 720p, 1080p.\n* **`veo3.1`**: Supports 720p, 1080p. Requires a duration of 8 seconds or less.\n* **`veo3.1-lite`**: Supports 720p, 1080p. Requires a duration of 8 seconds or less.\n* **`wan-2.2`**: Not supported\n* **`wan-3.0`**: Supports 480p, 720p, 1080p.\n", "example": "api-assets/id/1234.png" } }, @@ -4510,21 +4716,21 @@ "type": "number", "minimum": 1, "maximum": 60, - "description": "The total duration of the output video in seconds. Supported durations depend on the chosen model:\n\n* **`gemini-omni-1.1`**: any integer from 3 to 10\n* **`kling-2.6`**: 5, 10\n* **`kling-3.0`**: any integer from 3 to 15\n* **`ltx-2.5`**: any integer from 1 to 60\n* **`minimax-h3`**: any integer from 1 to 30\n* **`seedance-1.5`**: any integer from 4 to 12\n* **`seedance-2.0`**: any integer from 4 to 15\n* **`seedance-2.0-mini`**: any integer from 4 to 15\n* **`seedance-2.5`**: any integer from 4 to 30\n* **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56\n* **`veo3.1-lite`**: 4, 6, 8, 16, 24, 32, 40, 48, 56\n* **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15\n* **`wan-3.0`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30\n", + "description": "The total duration of the output video in seconds. Supported durations depend on the chosen model:\n\n* **`gemini-omni-1.1`**: any integer from 3 to 10\n* **`kling-2.6`**: 5, 10\n* **`kling-3.0`**: any integer from 3 to 15\n* **`ltx-2.5`**: any integer from 1 to 60\n* **`minimax-h3`**: any integer from 1 to 30\n* **`seedance-1.5`**: any integer from 4 to 12\n* **`seedance-2.0`**: any integer from 4 to 15\n* **`seedance-2.0-fast`**: any integer from 4 to 15\n* **`seedance-2.0-mini`**: any integer from 4 to 15\n* **`seedance-2.5`**: any integer from 4 to 30\n* **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56\n* **`veo3.1-lite`**: 4, 6, 8, 16, 24, 32, 40, 48, 56\n* **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15\n* **`wan-3.0`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30\n", "format": "float", "example": 5 }, "aspect_ratio": { "type": "string", "enum": ["16:9", "9:16", "1:1"], - "description": "Determines the aspect ratio of the output video.\n\n* **`gemini-omni-1.1`**: Supports 16:9, 9:16.\n* **`kling-2.6`**: Supports 9:16, 16:9, 1:1.\n* **`kling-3.0`**: Supports 9:16, 16:9, 1:1.\n* **`ltx-2.5`**: Supports 9:16, 16:9, 1:1.\n* **`minimax-h3`**: Supports 16:9, 9:16, 1:1.\n* **`seedance-1.5`**: Supports 9:16, 16:9, 1:1.\n* **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.\n* **`seedance-2.0-mini`**: Supports 9:16, 16:9, 1:1.\n* **`seedance-2.5`**: Supports 9:16, 16:9, 1:1.\n* **`veo3.1`**: Supports 9:16, 16:9.\n* **`veo3.1-lite`**: Supports 9:16, 16:9.\n* **`wan-2.2`**: Supports 9:16, 16:9, 1:1.\n* **`wan-3.0`**: Supports 16:9, 9:16, 1:1.\n", + "description": "Provide `aspect_ratio` to set the video’s aspect ratio. Determines the aspect ratio of the output video.\n\n* **`gemini-omni-1.1`**: Supports 16:9, 9:16.\n* **`kling-2.6`**: Supports 9:16, 16:9, 1:1.\n* **`kling-3.0`**: Supports 9:16, 16:9, 1:1.\n* **`ltx-2.5`**: Supports 9:16, 16:9, 1:1.\n* **`minimax-h3`**: Supports 16:9, 9:16, 1:1.\n* **`seedance-1.5`**: Supports 9:16, 16:9, 1:1.\n* **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.\n* **`seedance-2.0-fast`**: Supports 9:16, 16:9, 1:1.\n* **`seedance-2.0-mini`**: Supports 9:16, 16:9, 1:1.\n* **`seedance-2.5`**: Supports 9:16, 16:9, 1:1.\n* **`veo3.1`**: Supports 9:16, 16:9.\n* **`veo3.1-lite`**: Supports 9:16, 16:9.\n* **`wan-2.2`**: Supports 9:16, 16:9, 1:1.\n* **`wan-3.0`**: Supports 16:9, 9:16, 1:1.\n", "example": "16:9" }, "resolution": { "type": "string", "enum": ["360p", "480p", "720p", "1080p", "4k"], "example": "480p", - "description": "Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.\n\n* **`gemini-omni-1.1`**: Supports 360p, 720p, 1080p, 4k.\n* **`kling-2.6`**: Supports 720p, 1080p.\n* **`kling-3.0`**: Supports 720p, 1080p, 4k.\n* **`ltx-2.5`**: Supports 480p, 720p, 1080p.\n* **`minimax-h3`**: Supports 480p, 720p, 1080p.\n* **`seedance-1.5`**: Supports 480p, 720p, 1080p.\n* **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.\n* **`seedance-2.0-mini`**: Supports 480p, 720p.\n* **`seedance-2.5`**: Supports 480p, 720p, 1080p.\n* **`veo3.1`**: Supports 720p, 1080p.\n* **`veo3.1-lite`**: Supports 720p, 1080p.\n* **`wan-2.2`**: Supports 480p, 720p, 1080p.\n* **`wan-3.0`**: Supports 480p, 720p, 1080p.\n" + "description": "Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.\n\n* **`gemini-omni-1.1`**: Supports 360p, 720p, 1080p, 4k.\n* **`kling-2.6`**: Supports 720p, 1080p.\n* **`kling-3.0`**: Supports 720p, 1080p, 4k.\n* **`ltx-2.5`**: Supports 480p, 720p, 1080p.\n* **`minimax-h3`**: Supports 480p, 720p, 1080p.\n* **`seedance-1.5`**: Supports 480p, 720p, 1080p.\n* **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.\n* **`seedance-2.0-fast`**: Supports 480p, 720p.\n* **`seedance-2.0-mini`**: Supports 480p, 720p.\n* **`seedance-2.5`**: Supports 480p, 720p, 1080p.\n* **`veo3.1`**: Supports 720p, 1080p.\n* **`veo3.1-lite`**: Supports 720p, 1080p.\n* **`wan-2.2`**: Supports 480p, 720p, 1080p.\n* **`wan-3.0`**: Supports 480p, 720p, 1080p.\n" }, "model": { "default": "default", @@ -4534,6 +4740,7 @@ "kling-3.0", "ltx-2.5", "seedance-2.0-mini", + "seedance-2.0-fast", "wan-3.0", "seedance-2.5", "gemini-omni-1.1", @@ -4553,12 +4760,12 @@ "kling-2.5-audio", "veo3.1-audio" ], - "description": "The AI model to use for video generation.\n\n* `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2.5`.\n* `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.\n* `kling-2.6`: Best for action, motion blur, and controlled camera moves.\n* `kling-3.0`: Best for cinematic stories, references, and optional audio.\n* `ltx-2.5`: Fastest for general scenes, long clips, audio, and rapid iteration.\n* `minimax-h3`: Great for reference-driven clips with native audio and longer durations.\n* `seedance-1.5`: Best for smooth, consistent motion with an end frame.\n* `seedance-2.0`: Best for reference-led clips with precise subject control.\n* `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.\n* `seedance-2.5`: Best for premium realism, detail, and natural motion.\n* `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.\n* `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.\n* `wan-2.2`: Best for physical motion, action, and camera movement.\n* `wan-3.0`: High-quality video with native audio, long clips, and end-frame control.\n\nIf you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.", + "description": "The AI model to use for video generation.\n\n* `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2.5`.\n* `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.\n* `kling-2.6`: Best for action, motion blur, and controlled camera moves.\n* `kling-3.0`: Best for cinematic stories, references, and optional audio.\n* `ltx-2.5`: Fastest for general scenes, long clips, audio, and rapid iteration.\n* `minimax-h3`: Great for reference-driven clips with native audio and longer durations.\n* `seedance-1.5`: Best for smooth, consistent motion with an end frame.\n* `seedance-2.0`: Best for reference-led clips with precise subject control.\n* `seedance-2.0-fast`: Fast reference-led clips with consistent motion and audio.\n* `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.\n* `seedance-2.5`: Best for premium realism, detail, and natural motion.\n* `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.\n* `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.\n* `wan-2.2`: Best for physical motion, action, and camera movement.\n* `wan-3.0`: High-quality video with native audio, long clips, and end-frame control.\n\nIf you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.", "example": "ltx-2.5" }, "audio": { "type": "boolean", - "description": "Whether to include audio in the video. Defaults to `false` if not specified.\n\nAudio support varies by model:\n* **`gemini-omni-1.1`**: Not supported\n* **`kling-2.6`**: Not supported\n* **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled\n* **`ltx-2.5`**: Toggle-able: no additional credits for audio\n* **`minimax-h3`**: Toggle-able: no additional credits for audio\n* **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled\n* **`seedance-2.0`**: Toggle-able: no additional credits for audio\n* **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio\n* **`seedance-2.5`**: Toggle-able: no additional credits for audio\n* **`veo3.1`**: Toggle-able: audio adds extra credits when enabled\n* **`veo3.1-lite`**: Toggle-able: audio adds extra credits when enabled\n* **`wan-2.2`**: Not supported\n* **`wan-3.0`**: Toggle-able: no additional credits for audio\n", + "description": "Whether to include audio in the video. Defaults to `false` if not specified.\n\nAudio support varies by model:\n* **`gemini-omni-1.1`**: Not supported\n* **`kling-2.6`**: Not supported\n* **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled\n* **`ltx-2.5`**: Toggle-able: no additional credits for audio\n* **`minimax-h3`**: Toggle-able: no additional credits for audio\n* **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled\n* **`seedance-2.0`**: Toggle-able: no additional credits for audio\n* **`seedance-2.0-fast`**: Toggle-able: no additional credits for audio\n* **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio\n* **`seedance-2.5`**: Toggle-able: no additional credits for audio\n* **`veo3.1`**: Toggle-able: audio adds extra credits when enabled\n* **`veo3.1-lite`**: Toggle-able: audio adds extra credits when enabled\n* **`wan-2.2`**: Not supported\n* **`wan-3.0`**: Toggle-able: no additional credits for audio\n", "example": true }, "style": { @@ -4594,17 +4801,13 @@ }, "minItems": 1, "maxItems": 10, - "description": "Reference media for video generation. Name references without @ and refer to them as @name in style.prompt. Maximum 10 references total.\n\nSupported models and reference media:\n* **`kling-3.0`**: Supports images, videos.\n* **`minimax-h3`**: Supports images, videos, audio.\n* **`seedance-2.0`**: Supports images, videos, audio.\n* **`seedance-2.0-mini`**: Supports images, videos, audio.\n* **`seedance-2.5`**: Supports images, videos, audio.\n* **`wan-3.0`**: Supports images, videos, audio." + "description": "Reference media for video generation. Name references without @ and refer to them as @name in style.prompt. Maximum 10 references total.\n\nSupported models and reference media:\n* **`kling-3.0`**: Supports images, videos.\n* **`minimax-h3`**: Supports images, videos, audio.\n* **`seedance-2.0`**: Supports images, videos, audio.\n* **`seedance-2.0-fast`**: Supports images, videos, audio.\n* **`seedance-2.0-mini`**: Supports images, videos, audio.\n* **`seedance-2.5`**: Supports images, videos, audio.\n* **`wan-3.0`**: Supports images, videos, audio." } }, "required": ["end_seconds", "style"], "example": { - "name": "My Text To Video video", "end_seconds": 5, "aspect_ratio": "16:9", - "resolution": "480p", - "model": "ltx-2.5", - "audio": true, "style": { "prompt": "a dog running" } } } @@ -4775,15 +4978,15 @@ }, { "lang": "curl", - "source": "curl --request POST \\\n --url https://api.magichour.ai/v1/text-to-video \\\n --header 'accept: application/json' \\\n --header \"authorization: Bearer $MAGIC_HOUR_API_KEY\" \\\n --header 'content-type: application/json' \\\n --data '\n{\n \"name\": \"My Text To Video video\",\n \"end_seconds\": 5,\n \"aspect_ratio\": \"16:9\",\n \"resolution\": \"480p\",\n \"model\": \"ltx-2.5\",\n \"audio\": true,\n \"style\": {\n \"prompt\": \"a dog running\"\n }\n}\n'" + "source": "curl --request POST \\\n --url https://api.magichour.ai/v1/text-to-video \\\n --header 'accept: application/json' \\\n --header \"authorization: Bearer $MAGIC_HOUR_API_KEY\" \\\n --header 'content-type: application/json' \\\n --data '\n{\n \"end_seconds\": 5,\n \"aspect_ratio\": \"16:9\",\n \"style\": {\n \"prompt\": \"a dog running\"\n }\n}\n'" }, { "lang": "php", - "source": " \"https://api.magichour.ai/v1/text-to-video\",\n CURLOPT_RETURNTRANSFER => true,\n CURLOPT_ENCODING => \"\",\n CURLOPT_MAXREDIRS => 10,\n CURLOPT_TIMEOUT => 30,\n CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n CURLOPT_CUSTOMREQUEST => \"POST\",\n CURLOPT_POSTFIELDS => json_encode([\n 'name' => 'My Text To Video video',\n 'end_seconds' => 5,\n 'aspect_ratio' => '16:9',\n 'resolution' => '480p',\n 'model' => 'ltx-2.5',\n 'audio' => true,\n 'style' => [\n 'prompt' => 'a dog running'\n ]\n ]),\n CURLOPT_HTTPHEADER => [\n \"accept: application/json\",\n \"authorization: Bearer \",\n \"content-type: application/json\"\n ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n echo \"cURL Error #:\" . $err;\n} else {\n echo $response;\n}" + "source": " \"https://api.magichour.ai/v1/text-to-video\",\n CURLOPT_RETURNTRANSFER => true,\n CURLOPT_ENCODING => \"\",\n CURLOPT_MAXREDIRS => 10,\n CURLOPT_TIMEOUT => 30,\n CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n CURLOPT_CUSTOMREQUEST => \"POST\",\n CURLOPT_POSTFIELDS => json_encode([\n 'end_seconds' => 5,\n 'aspect_ratio' => '16:9',\n 'style' => [\n 'prompt' => 'a dog running'\n ]\n ]),\n CURLOPT_HTTPHEADER => [\n \"accept: application/json\",\n \"authorization: Bearer \",\n \"content-type: application/json\"\n ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n echo \"cURL Error #:\" . $err;\n} else {\n echo $response;\n}" }, { "lang": "java", - "source": "HttpResponse response = Unirest.post(\"https://api.magichour.ai/v1/text-to-video\")\n .header(\"accept\", \"application/json\")\n .header(\"content-type\", \"application/json\")\n .header(\"authorization\", \"Bearer \")\n .body(\"{\\\"name\\\":\\\"My Text To Video video\\\",\\\"end_seconds\\\":5,\\\"aspect_ratio\\\":\\\"16:9\\\",\\\"resolution\\\":\\\"480p\\\",\\\"model\\\":\\\"ltx-2.5\\\",\\\"audio\\\":true,\\\"style\\\":{\\\"prompt\\\":\\\"a dog running\\\"}}\")\n .asString();" + "source": "HttpResponse response = Unirest.post(\"https://api.magichour.ai/v1/text-to-video\")\n .header(\"accept\", \"application/json\")\n .header(\"content-type\", \"application/json\")\n .header(\"authorization\", \"Bearer \")\n .body(\"{\\\"end_seconds\\\":5,\\\"aspect_ratio\\\":\\\"16:9\\\",\\\"style\\\":{\\\"prompt\\\":\\\"a dog running\\\"}}\")\n .asString();" } ] }