From f4c5161a2a3ff8fb64e4c2c00f959ee2ff5ead52 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 26 Jun 2026 22:05:19 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../StartGeneratingApiGroupCommand.g.cs | 1 + ...ngCreateVideoUpscaleCommandApiCommand.g.cs | 102 +++ ...rtGeneratingClient.CreateVideoUpscale.g.cs | 84 ++ ...nConverters.CreateVideoUpscaleRequest.g.cs | 57 ++ ...VideoUpscaleRequestDiscriminatorModel.g.cs | 53 ++ ...caleRequestDiscriminatorModelNullable.g.cs | 60 ++ ...stMagnificVideoUpscalerCreativeFlavor.g.cs | 53 ++ ...icVideoUpscalerCreativeFlavorNullable.g.cs | 60 ++ ...gnificVideoUpscalerCreativeResolution.g.cs | 53 ++ ...deoUpscalerCreativeResolutionNullable.g.cs | 60 ++ .../Runway.JsonSerializerContext.g.cs | 55 +- .../Runway.JsonSerializerContextTypes.g.cs | 858 +++++++++--------- ....CreateOrganizationUsageResponseModel.g.cs | 12 + ...ionUsageResponseResultUsedCreditModel.g.cs | 12 + ...els.CreateVideoToVideoRequestVariant1.g.cs | 4 +- ...Models.CreateVideoUpscaleRequest.Json.g.cs | 141 +++ ...nway.Models.CreateVideoUpscaleRequest.g.cs | 220 +++++ ...VideoUpscaleRequestDiscriminator.Json.g.cs | 141 +++ ...reateVideoUpscaleRequestDiscriminator.g.cs | 45 + ...VideoUpscaleRequestDiscriminatorModel.g.cs | 45 + ...estMagnificVideoUpscalerCreative.Json.g.cs | 141 +++ ...eRequestMagnificVideoUpscalerCreative.g.cs | 140 +++ ...stMagnificVideoUpscalerCreativeFlavor.g.cs | 51 ++ ...gnificVideoUpscalerCreativeResolution.g.cs | 63 ++ ...odels.CreateVideoUpscaleResponse.Json.g.cs | 141 +++ ...way.Models.CreateVideoUpscaleResponse.g.cs | 47 + ...dels.CreateVideoUpscaleResponse2.Json.g.cs | 141 +++ ...ay.Models.CreateVideoUpscaleResponse2.g.cs | 45 + ...rtGeneratingClient.CreateVideoUpscale.g.cs | 541 +++++++++++ src/libs/Runway/openapi.json | 159 +++- 30 files changed, 3159 insertions(+), 426 deletions(-) create mode 100644 src/cli/Runway.Cli/GeneratedApi/Commands/StartGeneratingCreateVideoUpscaleCommandApiCommand.g.cs create mode 100644 src/libs/Runway/Generated/Runway.IStartGeneratingClient.CreateVideoUpscale.g.cs create mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequest.g.cs create mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestDiscriminatorModel.g.cs create mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestDiscriminatorModelNullable.g.cs create mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor.g.cs create mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorNullable.g.cs create mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution.g.cs create mode 100644 src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionNullable.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequest.Json.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequest.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestDiscriminator.Json.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestDiscriminator.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestDiscriminatorModel.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative.Json.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleResponse.Json.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleResponse.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleResponse2.Json.g.cs create mode 100644 src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleResponse2.g.cs create mode 100644 src/libs/Runway/Generated/Runway.StartGeneratingClient.CreateVideoUpscale.g.cs diff --git a/src/cli/Runway.Cli/GeneratedApi/Commands/StartGeneratingApiGroupCommand.g.cs b/src/cli/Runway.Cli/GeneratedApi/Commands/StartGeneratingApiGroupCommand.g.cs index 0af680c..5bac849 100644 --- a/src/cli/Runway.Cli/GeneratedApi/Commands/StartGeneratingApiGroupCommand.g.cs +++ b/src/cli/Runway.Cli/GeneratedApi/Commands/StartGeneratingApiGroupCommand.g.cs @@ -18,6 +18,7 @@ public static Command Create() command.Subcommands.Add(StartGeneratingCreateTextToSpeechCommandApiCommand.Create()); command.Subcommands.Add(StartGeneratingCreateTextToVideoCommandApiCommand.Create()); command.Subcommands.Add(StartGeneratingCreateVideoToVideoCommandApiCommand.Create()); + command.Subcommands.Add(StartGeneratingCreateVideoUpscaleCommandApiCommand.Create()); command.Subcommands.Add(StartGeneratingCreateVoiceDubbingCommandApiCommand.Create()); command.Subcommands.Add(StartGeneratingCreateVoiceIsolationCommandApiCommand.Create()); return command; diff --git a/src/cli/Runway.Cli/GeneratedApi/Commands/StartGeneratingCreateVideoUpscaleCommandApiCommand.g.cs b/src/cli/Runway.Cli/GeneratedApi/Commands/StartGeneratingCreateVideoUpscaleCommandApiCommand.g.cs new file mode 100644 index 0000000..acd7ce1 --- /dev/null +++ b/src/cli/Runway.Cli/GeneratedApi/Commands/StartGeneratingCreateVideoUpscaleCommandApiCommand.g.cs @@ -0,0 +1,102 @@ +#nullable enable +#pragma warning disable CS0618 + +using System.CommandLine; + +namespace Runway.Cli.GeneratedApi.Commands; + +internal static partial class StartGeneratingCreateVideoUpscaleCommandApiCommand +{ + private static Option XRunwayVersion { get; } = new( + name: @"--x-runway-version") + { + Description = @"The version of the RunwayML API being used. You can read more about versioning [here](/api-details/versioning).", + DefaultValueFactory = _ => "2024-11-06", + }; + private static Option Input { get; } = new(@"--input") + { + Description = "Load request JSON from a file path, '-' for stdin, or an inline JSON object/array string.", + }; + + private static Option RequestJson { get; } = new(@"--request-json") + { + Description = "Request body as JSON.", + Hidden = true, + }; + + private static Option RequestFile { get; } = new(@"--request-file") + { + Description = "Path to a JSON request file, or '-' for stdin.", + Hidden = true, + }; + + private static string FormatResponse(ParseResult parseResult, global::Runway.CreateVideoUpscaleResponse value, global::System.Text.Json.Serialization.JsonSerializerContext context, bool truncateLongStrings) + { + string? text = null; + CustomizeResponseText(parseResult, value, ref text); + if (!string.IsNullOrWhiteSpace(text)) + { + return text; + } + + var hints = new Dictionary(StringComparer.OrdinalIgnoreCase) + { + }; + CustomizeResponseFormatHints(hints); + return CliRuntime.FormatHumanReadable(value, context, truncateLongStrings, hints); + } + + static partial void CustomizeResponseText(ParseResult parseResult, global::Runway.CreateVideoUpscaleResponse value, ref string? text); + static partial void CustomizeResponseFormatHints(Dictionary hints); + + + public static Command Create() + { + var command = new Command(@"create-video-upscale", @"Video upscale +This endpoint starts a task to upscale a video. Set `model` to choose the upscaler."); + command.Options.Add(XRunwayVersion); + command.Options.Add(Input); + command.Options.Add(RequestJson); + command.Options.Add(RequestFile); + command.Validators.Add(result => + { + var hasInput = result.GetResult(Input) is not null; + var hasRequestJson = result.GetResult(RequestJson) is not null; + var hasRequestFile = result.GetResult(RequestFile) is not null; + var specifiedCount = (hasInput ? 1 : 0) + (hasRequestJson ? 1 : 0) + (hasRequestFile ? 1 : 0); + if (specifiedCount != 1) + { + result.AddError(@"Specify exactly one of --input, --request-json, or --request-file."); + } + }); + + command.SetAction(async (ParseResult parseResult, CancellationToken cancellationToken) => + await CliRuntime.RunAsync(async () => + { + var xRunwayVersion = parseResult.GetRequiredValue(XRunwayVersion); + var request = await CliRuntime.ReadRequestAsync( + parseResult, + Input, + RequestJson, + RequestFile, + global::Runway.SourceGenerationContext.Default, + cancellationToken).ConfigureAwait(false); + using var client = await CliRuntime.CreateClientAsync(parseResult, cancellationToken).ConfigureAwait(false); + + + var response = await client.StartGenerating.CreateVideoUpscaleAsync( + xRunwayVersion: xRunwayVersion, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + + + await CliRuntime.WriteResponseAsync( + parseResult, + response, + global::Runway.SourceGenerationContext.Default, + FormatResponse, + cancellationToken).ConfigureAwait(false); + }, cancellationToken).ConfigureAwait(false)); + return command; + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.IStartGeneratingClient.CreateVideoUpscale.g.cs b/src/libs/Runway/Generated/Runway.IStartGeneratingClient.CreateVideoUpscale.g.cs new file mode 100644 index 0000000..8fbf91d --- /dev/null +++ b/src/libs/Runway/Generated/Runway.IStartGeneratingClient.CreateVideoUpscale.g.cs @@ -0,0 +1,84 @@ +#nullable enable + +namespace Runway +{ + public partial interface IStartGeneratingClient + { + /// + /// Video upscale
+ /// This endpoint starts a task to upscale a video. Set `model` to choose the upscaler. + ///
+ /// + /// Default Value: 2024-11-06 + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + /// + /// // npm install --save @runwayml/sdk
+ /// import RunwayML from '@runwayml/sdk';
+ /// // The env var RUNWAYML_API_SECRET is expected to contain your API key.
+ /// const client = new RunwayML();
+ /// const task = await client.videoUpscale
+ /// .create({
+ /// model: 'magnific_video_upscaler_creative',
+ /// videoUri: 'https://example.com/bunny.mp4',
+ /// resolution: '2k',
+ /// })
+ /// .waitForTaskOutput();
+ /// console.log(task); + ///
+ global::System.Threading.Tasks.Task CreateVideoUpscaleAsync( + + global::Runway.CreateVideoUpscaleRequest request, + string xRunwayVersion = "2024-11-06", + global::Runway.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Video upscale
+ /// This endpoint starts a task to upscale a video. Set `model` to choose the upscaler. + ///
+ /// + /// Default Value: 2024-11-06 + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + /// + /// // npm install --save @runwayml/sdk
+ /// import RunwayML from '@runwayml/sdk';
+ /// // The env var RUNWAYML_API_SECRET is expected to contain your API key.
+ /// const client = new RunwayML();
+ /// const task = await client.videoUpscale
+ /// .create({
+ /// model: 'magnific_video_upscaler_creative',
+ /// videoUri: 'https://example.com/bunny.mp4',
+ /// resolution: '2k',
+ /// })
+ /// .waitForTaskOutput();
+ /// console.log(task); + ///
+ global::System.Threading.Tasks.Task> CreateVideoUpscaleAsResponseAsync( + + global::Runway.CreateVideoUpscaleRequest request, + string xRunwayVersion = "2024-11-06", + global::Runway.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Video upscale
+ /// This endpoint starts a task to upscale a video. Set `model` to choose the upscaler. + ///
+ /// + /// Default Value: 2024-11-06 + /// + /// 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 CreateVideoUpscaleAsync( + string xRunwayVersion = "2024-11-06", + global::Runway.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequest.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequest.g.cs new file mode 100644 index 0000000..c961ac6 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequest.g.cs @@ -0,0 +1,57 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace Runway.JsonConverters +{ + /// + public class CreateVideoUpscaleRequestJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Runway.CreateVideoUpscaleRequest Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + + var readerCopy = reader; + var discriminatorTypeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateVideoUpscaleRequestDiscriminator), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateVideoUpscaleRequestDiscriminator)}"); + var discriminator = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, discriminatorTypeInfo); + + global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative? magnificVideoUpscalerCreative = default; + if (discriminator?.Model == global::Runway.CreateVideoUpscaleRequestDiscriminatorModel.MagnificVideoUpscalerCreative) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {nameof(global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative)}"); + magnificVideoUpscalerCreative = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); + } + + var __value = new global::Runway.CreateVideoUpscaleRequest( + discriminator?.Model, + magnificVideoUpscalerCreative + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Runway.CreateVideoUpscaleRequest value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsMagnificVideoUpscalerCreative) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.MagnificVideoUpscalerCreative!, typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestDiscriminatorModel.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestDiscriminatorModel.g.cs new file mode 100644 index 0000000..efb8f11 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestDiscriminatorModel.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Runway.JsonConverters +{ + /// + public sealed class CreateVideoUpscaleRequestDiscriminatorModelJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Runway.CreateVideoUpscaleRequestDiscriminatorModel 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::Runway.CreateVideoUpscaleRequestDiscriminatorModelExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Runway.CreateVideoUpscaleRequestDiscriminatorModel)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Runway.CreateVideoUpscaleRequestDiscriminatorModel); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Runway.CreateVideoUpscaleRequestDiscriminatorModel value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Runway.CreateVideoUpscaleRequestDiscriminatorModelExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestDiscriminatorModelNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestDiscriminatorModelNullable.g.cs new file mode 100644 index 0000000..4b0ba4c --- /dev/null +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestDiscriminatorModelNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Runway.JsonConverters +{ + /// + public sealed class CreateVideoUpscaleRequestDiscriminatorModelNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Runway.CreateVideoUpscaleRequestDiscriminatorModel? 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::Runway.CreateVideoUpscaleRequestDiscriminatorModelExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Runway.CreateVideoUpscaleRequestDiscriminatorModel)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Runway.CreateVideoUpscaleRequestDiscriminatorModel?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Runway.CreateVideoUpscaleRequestDiscriminatorModel? 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::Runway.CreateVideoUpscaleRequestDiscriminatorModelExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor.g.cs new file mode 100644 index 0000000..4fce39f --- /dev/null +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Runway.JsonConverters +{ + /// + public sealed class CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor 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::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorNullable.g.cs new file mode 100644 index 0000000..4895d55 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Runway.JsonConverters +{ + /// + public sealed class CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor? 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::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor? 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::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution.g.cs new file mode 100644 index 0000000..75349ba --- /dev/null +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Runway.JsonConverters +{ + /// + public sealed class CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution 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::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionNullable.g.cs b/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionNullable.g.cs new file mode 100644 index 0000000..70722a4 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Runway.JsonConverters +{ + /// + public sealed class CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution? 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::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution? 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::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Runway/Generated/Runway.JsonSerializerContext.g.cs b/src/libs/Runway/Generated/Runway.JsonSerializerContext.g.cs index 5ac0cd6..93c4817 100644 --- a/src/libs/Runway/Generated/Runway.JsonSerializerContext.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonSerializerContext.g.cs @@ -261,6 +261,18 @@ namespace Runway typeof(global::Runway.JsonConverters.CreateImageUpscaleRequestDiscriminatorModelNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionJsonConverter), + + typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionNullableJsonConverter), + + typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorJsonConverter), + + typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorNullableJsonConverter), + + typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestDiscriminatorModelJsonConverter), + + typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestDiscriminatorModelNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateCharacterPerformanceRequestActTwoCharacterDiscriminatorTypeJsonConverter), typeof(global::Runway.JsonConverters.CreateCharacterPerformanceRequestActTwoCharacterDiscriminatorTypeNullableJsonConverter), @@ -641,6 +653,8 @@ namespace Runway typeof(global::Runway.JsonConverters.CreateImageUpscaleRequestJsonConverter), + typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestJsonConverter), + typeof(global::Runway.JsonConverters.CreateCharacterPerformanceRequestJsonConverter), typeof(global::Runway.JsonConverters.CharacterJsonConverter), @@ -981,6 +995,12 @@ namespace Runway [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateImageUpscaleRequestMagnificPrecisionUpscalerV2Flavor), TypeInfoPropertyName = "CreateImageUpscaleRequestMagnificPrecisionUpscalerV2Flavor2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateImageUpscaleRequestDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateImageUpscaleRequestDiscriminatorModel), TypeInfoPropertyName = "CreateImageUpscaleRequestDiscriminatorModel2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateVideoUpscaleRequest), TypeInfoPropertyName = "CreateVideoUpscaleRequest2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution), TypeInfoPropertyName = "CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor), TypeInfoPropertyName = "CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateVideoUpscaleRequestDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateVideoUpscaleRequestDiscriminatorModel), TypeInfoPropertyName = "CreateVideoUpscaleRequestDiscriminatorModel2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateCharacterPerformanceRequest), TypeInfoPropertyName = "CreateCharacterPerformanceRequest2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateCharacterPerformanceRequestActTwo))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Character), TypeInfoPropertyName = "Character2")] @@ -1239,12 +1259,6 @@ namespace Runway [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId), TypeInfoPropertyName = "PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType), TypeInfoPropertyName = "PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarReady))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice14), TypeInfoPropertyName = "Voice142")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId), TypeInfoPropertyName = "PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId2")] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1504,6 +1518,18 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Runway.JsonConverters.CreateImageUpscaleRequestDiscriminatorModelNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionJsonConverter), + + typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionNullableJsonConverter), + + typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorJsonConverter), + + typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorNullableJsonConverter), + + typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestDiscriminatorModelJsonConverter), + + typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestDiscriminatorModelNullableJsonConverter), + typeof(global::Runway.JsonConverters.CreateCharacterPerformanceRequestActTwoCharacterDiscriminatorTypeJsonConverter), typeof(global::Runway.JsonConverters.CreateCharacterPerformanceRequestActTwoCharacterDiscriminatorTypeNullableJsonConverter), @@ -1884,6 +1910,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Runway.JsonConverters.CreateImageUpscaleRequestJsonConverter), + typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestJsonConverter), + typeof(global::Runway.JsonConverters.CreateCharacterPerformanceRequestJsonConverter), typeof(global::Runway.JsonConverters.CharacterJsonConverter), @@ -1988,6 +2016,12 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::Runway.JsonConverters.UnixTimestampJsonConverter), })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType), TypeInfoPropertyName = "PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarReady))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.Voice14), TypeInfoPropertyName = "Voice142")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId), TypeInfoPropertyName = "PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminator))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminatorType), TypeInfoPropertyName = "PatchAvatarsResponseAvatarReadyVoiceDiscriminatorType2")] @@ -2046,6 +2080,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateTextToImageResponse2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateImageUpscaleResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateImageUpscaleResponse2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateVideoUpscaleResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateVideoUpscaleResponse2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateCharacterPerformanceResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateCharacterPerformanceResponse2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Runway.CreateSoundEffectResponse))] @@ -2376,6 +2412,12 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::Runway.JsonConverters.CreateImageUpscaleRequestMagnificPrecisionUpscalerV2FlavorNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateImageUpscaleRequestDiscriminatorModelJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateImageUpscaleRequestDiscriminatorModelNullableJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionNullableJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorNullableJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateVideoUpscaleRequestDiscriminatorModelJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateVideoUpscaleRequestDiscriminatorModelNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateCharacterPerformanceRequestActTwoCharacterDiscriminatorTypeJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateCharacterPerformanceRequestActTwoCharacterDiscriminatorTypeNullableJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateCharacterPerformanceRequestActTwoReferenceDiscriminatorTypeJsonConverter()); @@ -2566,6 +2608,7 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::Runway.JsonConverters.CreateVideoToVideoRequestJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateTextToImageRequestJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateImageUpscaleRequestJsonConverter()); + options.Converters.Add(new global::Runway.JsonConverters.CreateVideoUpscaleRequestJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateCharacterPerformanceRequestJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CharacterJsonConverter()); options.Converters.Add(new global::Runway.JsonConverters.CreateSoundEffectRequestJsonConverter()); diff --git a/src/libs/Runway/Generated/Runway.JsonSerializerContextTypes.g.cs b/src/libs/Runway/Generated/Runway.JsonSerializerContextTypes.g.cs index 067076d..43d77b2 100644 --- a/src/libs/Runway/Generated/Runway.JsonSerializerContextTypes.g.cs +++ b/src/libs/Runway/Generated/Runway.JsonSerializerContextTypes.g.cs @@ -968,1655 +968,1687 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Runway.CreateCharacterPerformanceRequest? Type235 { get; set; } + public global::Runway.CreateVideoUpscaleRequest? Type235 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwo? Type236 { get; set; } + public global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative? Type236 { get; set; } /// /// /// - public global::Runway.Character? Type237 { get; set; } + public global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution? Type237 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoCharacterCharacterImage? Type238 { get; set; } + public global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor? Type238 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoCharacterCharacterVideo? Type239 { get; set; } + public global::Runway.CreateVideoUpscaleRequestDiscriminator? Type239 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoCharacterDiscriminator? Type240 { get; set; } + public global::Runway.CreateVideoUpscaleRequestDiscriminatorModel? Type240 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoCharacterDiscriminatorType? Type241 { get; set; } + public global::Runway.CreateCharacterPerformanceRequest? Type241 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoReferenceCharacterReferenceVideo? Type242 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwo? Type242 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoReferenceDiscriminator? Type243 { get; set; } + public global::Runway.Character? Type243 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoReferenceDiscriminatorType? Type244 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoCharacterCharacterImage? Type244 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoRatio? Type245 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoCharacterCharacterVideo? Type245 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoContentModeration? Type246 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoCharacterDiscriminator? Type246 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestActTwoContentModerationPublicFigureThreshold? Type247 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoCharacterDiscriminatorType? Type247 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestDiscriminator? Type248 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoReferenceCharacterReferenceVideo? Type248 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceRequestDiscriminatorModel? Type249 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoReferenceDiscriminator? Type249 { get; set; } /// /// /// - public global::Runway.CreateSoundEffectRequest? Type250 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoReferenceDiscriminatorType? Type250 { get; set; } /// /// /// - public global::Runway.CreateSoundEffectRequestElevenTextToSoundV2? Type251 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoRatio? Type251 { get; set; } /// /// /// - public global::Runway.CreateSoundEffectRequestDiscriminator? Type252 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoContentModeration? Type252 { get; set; } /// /// /// - public global::Runway.CreateSoundEffectRequestDiscriminatorModel? Type253 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestActTwoContentModerationPublicFigureThreshold? Type253 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequest? Type254 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestDiscriminator? Type254 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2? Type255 { get; set; } + public global::Runway.CreateCharacterPerformanceRequestDiscriminatorModel? Type255 { get; set; } /// /// /// - public global::Runway.Media? Type256 { get; set; } + public global::Runway.CreateSoundEffectRequest? Type256 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2MediaSpeechToSpeechAudio? Type257 { get; set; } + public global::Runway.CreateSoundEffectRequestElevenTextToSoundV2? Type257 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2MediaSpeechToSpeechVideo? Type258 { get; set; } + public global::Runway.CreateSoundEffectRequestDiscriminator? Type258 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2MediaDiscriminator? Type259 { get; set; } + public global::Runway.CreateSoundEffectRequestDiscriminatorModel? Type259 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2MediaDiscriminatorType? Type260 { get; set; } + public global::Runway.CreateSpeechToSpeechRequest? Type260 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceRunwayPresetVoice? Type261 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2? Type261 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceRunwayPresetVoicePresetId? Type262 { get; set; } + public global::Runway.Media? Type262 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceDiscriminator? Type263 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2MediaSpeechToSpeechAudio? Type263 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceDiscriminatorType? Type264 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2MediaSpeechToSpeechVideo? Type264 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestDiscriminator? Type265 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2MediaDiscriminator? Type265 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechRequestDiscriminatorModel? Type266 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2MediaDiscriminatorType? Type266 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequest? Type267 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceRunwayPresetVoice? Type267 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2? Type268 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceRunwayPresetVoicePresetId? Type268 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoice? Type269 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceDiscriminator? Type269 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoicePresetId? Type270 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestElevenMultilingualStsV2VoiceDiscriminatorType? Type270 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceDiscriminator? Type271 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestDiscriminator? Type271 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceDiscriminatorType? Type272 { get; set; } + public global::Runway.CreateSpeechToSpeechRequestDiscriminatorModel? Type272 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestDiscriminator? Type273 { get; set; } + public global::Runway.CreateTextToSpeechRequest? Type273 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechRequestDiscriminatorModel? Type274 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2? Type274 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingRequest? Type275 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoice? Type275 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingRequestElevenVoiceDubbing? Type276 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceRunwayPresetVoicePresetId? Type276 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingRequestElevenVoiceDubbingTargetLang? Type277 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceDiscriminator? Type277 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingRequestDiscriminator? Type278 { get; set; } + public global::Runway.CreateTextToSpeechRequestElevenMultilingualV2VoiceDiscriminatorType? Type278 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingRequestDiscriminatorModel? Type279 { get; set; } + public global::Runway.CreateTextToSpeechRequestDiscriminator? Type279 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationRequest? Type280 { get; set; } + public global::Runway.CreateTextToSpeechRequestDiscriminatorModel? Type280 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationRequestElevenVoiceIsolation? Type281 { get; set; } + public global::Runway.CreateVoiceDubbingRequest? Type281 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationRequestDiscriminator? Type282 { get; set; } + public global::Runway.CreateVoiceDubbingRequestElevenVoiceDubbing? Type282 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationRequestDiscriminatorModel? Type283 { get; set; } + public global::Runway.CreateVoiceDubbingRequestElevenVoiceDubbingTargetLang? Type283 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageRequest? Type284 { get; set; } + public global::Runway.CreateVoiceDubbingRequestDiscriminator? Type284 { get; set; } /// /// /// - public global::System.DateTime? Type285 { get; set; } + public global::Runway.CreateVoiceDubbingRequestDiscriminatorModel? Type285 { get; set; } /// /// /// - public global::Runway.CreateUploadsRequest? Type286 { get; set; } + public global::Runway.CreateVoiceIsolationRequest? Type286 { get; set; } /// /// /// - public global::Runway.CreateUploadsRequestType? Type287 { get; set; } + public global::Runway.CreateVoiceIsolationRequestElevenVoiceIsolation? Type287 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageRequest? Type288 { get; set; } + public global::Runway.CreateVoiceIsolationRequestDiscriminator? Type288 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageRequestVersion? Type289 { get; set; } + public global::Runway.CreateVoiceIsolationRequestDiscriminatorModel? Type289 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageRequestReferenceImage? Type290 { get; set; } + public global::Runway.CreateOrganizationUsageRequest? Type290 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdRequest? Type291 { get; set; } + public global::System.DateTime? Type291 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdRequestVersion? Type292 { get; set; } + public global::Runway.CreateUploadsRequest? Type292 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type293 { get; set; } + public global::Runway.CreateUploadsRequestType? Type293 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdRequestProductImage? Type294 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageRequest? Type294 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type295 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageRequestVersion? Type295 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdRequestStyleImage? Type296 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageRequestReferenceImage? Type296 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdRequestRatio? Type297 { get; set; } + public global::Runway.CreateRecipesProductAdRequest? Type297 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductCampaignImageRequest? Type298 { get; set; } + public global::Runway.CreateRecipesProductAdRequestVersion? Type298 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductCampaignImageRequestVersion? Type299 { get; set; } + public global::System.Collections.Generic.IList? Type299 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductCampaignImageRequestImage? Type300 { get; set; } + public global::Runway.CreateRecipesProductAdRequestProductImage? Type300 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequest? Type301 { get; set; } + public global::System.Collections.Generic.IList? Type301 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequestVersion? Type302 { get; set; } + public global::Runway.CreateRecipesProductAdRequestStyleImage? Type302 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequestReferenceVideo? Type303 { get; set; } + public global::Runway.CreateRecipesProductAdRequestRatio? Type303 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequestOriginalProductImage? Type304 { get; set; } + public global::Runway.CreateRecipesProductCampaignImageRequest? Type304 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type305 { get; set; } + public global::Runway.CreateRecipesProductCampaignImageRequestVersion? Type305 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequestNewProductImage? Type306 { get; set; } + public global::Runway.CreateRecipesProductCampaignImageRequestImage? Type306 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequestNewProductImageView? Type307 { get; set; } + public global::Runway.CreateRecipesProductSwapRequest? Type307 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapRequestResolution? Type308 { get; set; } + public global::Runway.CreateRecipesProductSwapRequestVersion? Type308 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequest? Type309 { get; set; } + public global::Runway.CreateRecipesProductSwapRequestReferenceVideo? Type309 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant1? Type310 { get; set; } + public global::Runway.CreateRecipesProductSwapRequestOriginalProductImage? Type310 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant1Version? Type311 { get; set; } + public global::System.Collections.Generic.IList? Type311 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant1FirstFrame? Type312 { get; set; } + public global::Runway.CreateRecipesProductSwapRequestNewProductImage? Type312 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant1Ratio? Type313 { get; set; } + public global::Runway.CreateRecipesProductSwapRequestNewProductImageView? Type313 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant2? Type314 { get; set; } + public global::Runway.CreateRecipesProductSwapRequestResolution? Type314 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type315 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequest? Type315 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant2Shot? Type316 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant1? Type316 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant2Version? Type317 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant1Version? Type317 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant2FirstFrame? Type318 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant1FirstFrame? Type318 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestVariant2Ratio? Type319 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant1Ratio? Type319 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestDiscriminator? Type320 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant2? Type320 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoRequestDiscriminatorMode? Type321 { get; set; } + public global::System.Collections.Generic.IList? Type321 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcRequest? Type322 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant2Shot? Type322 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcRequestVersion? Type323 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant2Version? Type323 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcRequestCharacterImage? Type324 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant2FirstFrame? Type324 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcRequestProductImage? Type325 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestVariant2Ratio? Type325 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcRequestRatio? Type326 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestDiscriminator? Type326 { get; set; } /// /// /// - public global::Runway.CreateVoicesRequest? Type327 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoRequestDiscriminatorMode? Type327 { get; set; } /// /// /// - public global::Runway.From? Type328 { get; set; } + public global::Runway.CreateRecipesProductUgcRequest? Type328 { get; set; } /// /// /// - public global::Runway.CreateVoicesRequestFromVoiceFromAudio? Type329 { get; set; } + public global::Runway.CreateRecipesProductUgcRequestVersion? Type329 { get; set; } /// /// /// - public global::Runway.CreateVoicesRequestFromVoiceFromText? Type330 { get; set; } + public global::Runway.CreateRecipesProductUgcRequestCharacterImage? Type330 { get; set; } /// /// /// - public global::Runway.CreateVoicesRequestFromVoiceFromTextModel? Type331 { get; set; } + public global::Runway.CreateRecipesProductUgcRequestProductImage? Type331 { get; set; } /// /// /// - public global::Runway.CreateVoicesRequestFromDiscriminator? Type332 { get; set; } + public global::Runway.CreateRecipesProductUgcRequestRatio? Type332 { get; set; } /// /// /// - public global::Runway.CreateVoicesRequestFromDiscriminatorType? Type333 { get; set; } + public global::Runway.CreateVoicesRequest? Type333 { get; set; } /// /// /// - public global::Runway.PatchVoicesRequest? Type334 { get; set; } + public global::Runway.From? Type334 { get; set; } /// /// /// - public global::Runway.CreateVoicesPreviewRequest? Type335 { get; set; } + public global::Runway.CreateVoicesRequestFromVoiceFromAudio? Type335 { get; set; } /// /// /// - public global::Runway.CreateVoicesPreviewRequestModel? Type336 { get; set; } + public global::Runway.CreateVoicesRequestFromVoiceFromText? Type336 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequest? Type337 { get; set; } + public global::Runway.CreateVoicesRequestFromVoiceFromTextModel? Type337 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type338 { get; set; } + public global::Runway.CreateVoicesRequestFromDiscriminator? Type338 { get; set; } /// /// /// - public global::Runway.NodeOutputs? Type339 { get; set; } + public global::Runway.CreateVoicesRequestFromDiscriminatorType? Type339 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputPrimitive? Type340 { get; set; } + public global::Runway.PatchVoicesRequest? Type340 { get; set; } /// /// /// - public global::Runway.AnyOf? Type341 { get; set; } + public global::Runway.CreateVoicesPreviewRequest? Type341 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputImage? Type342 { get; set; } + public global::Runway.CreateVoicesPreviewRequestModel? Type342 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputVideo? Type343 { get; set; } + public global::Runway.CreateWorkflowsRequest? Type343 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputAudio? Type344 { get; set; } + public global::System.Collections.Generic.Dictionary? Type344 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequestNodeOutputsDiscriminator? Type345 { get; set; } + public global::Runway.NodeOutputs? Type345 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsRequestNodeOutputsDiscriminatorType? Type346 { get; set; } + public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputPrimitive? Type346 { get; set; } /// /// /// - public global::Runway.GetDocumentsSort? Type347 { get; set; } + public global::Runway.AnyOf? Type347 { get; set; } /// /// /// - public global::Runway.GetDocumentsOrder? Type348 { get; set; } + public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputImage? Type348 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponse? Type349 { get; set; } + public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputVideo? Type349 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type350 { get; set; } + public global::Runway.CreateWorkflowsRequestNodeOutputsWorkflowNodeOutputAudio? Type350 { get; set; } /// /// /// - public global::Runway.DataItem? Type351 { get; set; } + public global::Runway.CreateWorkflowsRequestNodeOutputsDiscriminator? Type351 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessing? Type352 { get; set; } + public global::Runway.CreateWorkflowsRequestNodeOutputsDiscriminatorType? Type352 { get; set; } /// /// /// - public global::Runway.Voice4? Type353 { get; set; } + public global::Runway.GetDocumentsSort? Type353 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type354 { get; set; } + public global::Runway.GetDocumentsOrder? Type354 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type355 { get; set; } + public global::Runway.GetAvatarsResponse? Type355 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? Type356 { get; set; } + public global::System.Collections.Generic.IList? Type356 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminator? Type357 { get; set; } + public global::Runway.DataItem? Type357 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorType? Type358 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessing? Type358 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReady? Type359 { get; set; } + public global::Runway.Voice4? Type359 { get; set; } /// /// /// - public global::Runway.Voice5? Type360 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type360 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type361 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type361 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type362 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceCustomVoiceResponse? Type362 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? Type363 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminator? Type363 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminator? Type364 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarProcessingVoiceDiscriminatorType? Type364 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorType? Type365 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarReady? Type365 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailed? Type366 { get; set; } + public global::Runway.Voice5? Type366 { get; set; } /// /// /// - public global::Runway.Voice6? Type367 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type367 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type368 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type368 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type369 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceCustomVoiceResponse? Type369 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? Type370 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminator? Type370 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminator? Type371 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarReadyVoiceDiscriminatorType? Type371 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminatorType? Type372 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailed? Type372 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemDiscriminator? Type373 { get; set; } + public global::Runway.Voice6? Type373 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDataItemDiscriminatorStatus? Type374 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type374 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponse? Type375 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type375 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessing? Type376 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceCustomVoiceResponse? Type376 { get; set; } /// /// /// - public global::Runway.Voice7? Type377 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminator? Type377 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type378 { get; set; } + public global::Runway.GetAvatarsResponseDataItemAvatarFailedVoiceDiscriminatorType? Type378 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type379 { get; set; } + public global::Runway.GetAvatarsResponseDataItemDiscriminator? Type379 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Type380 { get; set; } + public global::Runway.GetAvatarsResponseDataItemDiscriminatorStatus? Type380 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminator? Type381 { get; set; } + public global::Runway.CreateAvatarsResponse? Type381 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type382 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarProcessing? Type382 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReady? Type383 { get; set; } + public global::Runway.Voice7? Type383 { get; set; } /// /// /// - public global::Runway.Voice8? Type384 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type384 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type385 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type385 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type386 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Type386 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Type387 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminator? Type387 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminator? Type388 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type388 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type389 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarReady? Type389 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailed? Type390 { get; set; } + public global::Runway.Voice8? Type390 { get; set; } /// /// /// - public global::Runway.Voice9? Type391 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type391 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type392 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type392 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type393 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Type393 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Type394 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminator? Type394 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminator? Type395 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type395 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type396 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarFailed? Type396 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseDiscriminator? Type397 { get; set; } + public global::Runway.Voice9? Type397 { get; set; } /// /// /// - public global::Runway.CreateAvatarsResponseDiscriminatorStatus? Type398 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type398 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponse? Type399 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type399 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type400 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Type400 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDataItem? Type401 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminator? Type401 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDataItemStatus? Type402 { get; set; } + public global::Runway.CreateAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type402 { get; set; } /// /// /// - public global::Runway.AvatarVariant1? Type403 { get; set; } + public global::Runway.CreateAvatarsResponseDiscriminator? Type403 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1PresetAvatarSummary? Type404 { get; set; } + public global::Runway.CreateAvatarsResponseDiscriminatorStatus? Type404 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1CustomAvatarSummary? Type405 { get; set; } + public global::Runway.GetAvatarConversationsResponse? Type405 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1Discriminator? Type406 { get; set; } + public global::System.Collections.Generic.IList? Type406 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1DiscriminatorType? Type407 { get; set; } + public global::Runway.GetAvatarConversationsResponseDataItem? Type407 { get; set; } /// /// /// - public global::Runway.GetAvatarUsageResponse? Type408 { get; set; } + public global::Runway.GetAvatarConversationsResponseDataItemStatus? Type408 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type409 { get; set; } + public global::Runway.AvatarVariant1? Type409 { get; set; } /// /// /// - public global::Runway.GetAvatarUsageResponseByDayItem? Type410 { get; set; } + public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1PresetAvatarSummary? Type410 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponse2? Type411 { get; set; } + public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1CustomAvatarSummary? Type411 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1? Type412 { get; set; } + public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1Discriminator? Type412 { get; set; } /// /// /// - public global::Runway.AvatarVariant12? Type413 { get; set; } + public global::Runway.GetAvatarConversationsResponseDataItemAvatarVariant1DiscriminatorType? Type413 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1PresetAvatar? Type414 { get; set; } + public global::Runway.GetAvatarUsageResponse? Type414 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1CustomAvatar? Type415 { get; set; } + public global::System.Collections.Generic.IList? Type415 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1Discriminator? Type416 { get; set; } + public global::Runway.GetAvatarUsageResponseByDayItem? Type416 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1DiscriminatorType? Type417 { get; set; } + public global::Runway.GetAvatarConversationsResponse2? Type417 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type418 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1? Type418 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItem? Type419 { get; set; } + public global::Runway.AvatarVariant12? Type419 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItemRole? Type420 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1PresetAvatar? Type420 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type421 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1CustomAvatar? Type421 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItemToolCall? Type422 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1Discriminator? Type422 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type423 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1AvatarVariant1DiscriminatorType? Type423 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItemToolResult? Type424 { get; set; } + public global::System.Collections.Generic.IList? Type424 { get; set; } /// /// /// - public global::Runway.AnyOf? Type425 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItem? Type425 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type426 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItemRole? Type426 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1Tool? Type427 { get; set; } + public global::System.Collections.Generic.IList? Type427 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant1ToolType? Type428 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItemToolCall? Type428 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2? Type429 { get; set; } + public global::System.Collections.Generic.IList? Type429 { get; set; } /// /// /// - public global::Runway.AvatarVariant13? Type430 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1TranscriptItemToolResult? Type430 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1PresetAvatar? Type431 { get; set; } + public global::Runway.AnyOf? Type431 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1CustomAvatar? Type432 { get; set; } + public global::System.Collections.Generic.IList? Type432 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1Discriminator? Type433 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1Tool? Type433 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1DiscriminatorType? Type434 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant1ToolType? Type434 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type435 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2? Type435 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItem? Type436 { get; set; } + public global::Runway.AvatarVariant13? Type436 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItemRole? Type437 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1PresetAvatar? Type437 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type438 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1CustomAvatar? Type438 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItemToolCall? Type439 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1Discriminator? Type439 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type440 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2AvatarVariant1DiscriminatorType? Type440 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItemToolResult? Type441 { get; set; } + public global::System.Collections.Generic.IList? Type441 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type442 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItem? Type442 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2Tool? Type443 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItemRole? Type443 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant2ToolType? Type444 { get; set; } + public global::System.Collections.Generic.IList? Type444 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3? Type445 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItemToolCall? Type445 { get; set; } /// /// /// - public global::Runway.AvatarVariant14? Type446 { get; set; } + public global::System.Collections.Generic.IList? Type446 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1PresetAvatar? Type447 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2TranscriptItemToolResult? Type447 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1CustomAvatar? Type448 { get; set; } + public global::System.Collections.Generic.IList? Type448 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1Discriminator? Type449 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2Tool? Type449 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1DiscriminatorType? Type450 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant2ToolType? Type450 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type451 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3? Type451 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItem? Type452 { get; set; } + public global::Runway.AvatarVariant14? Type452 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemRole? Type453 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1PresetAvatar? Type453 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type454 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1CustomAvatar? Type454 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemToolCall? Type455 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1Discriminator? Type455 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type456 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3AvatarVariant1DiscriminatorType? Type456 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemToolResult? Type457 { get; set; } + public global::System.Collections.Generic.IList? Type457 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type458 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItem? Type458 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3Tool? Type459 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemRole? Type459 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseVariant3ToolType? Type460 { get; set; } + public global::System.Collections.Generic.IList? Type460 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDiscriminator? Type461 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemToolCall? Type461 { get; set; } /// /// /// - public global::Runway.GetAvatarConversationsResponseDiscriminatorStatus? Type462 { get; set; } + public global::System.Collections.Generic.IList? Type462 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponse2? Type463 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3TranscriptItemToolResult? Type463 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessing? Type464 { get; set; } + public global::System.Collections.Generic.IList? Type464 { get; set; } /// /// /// - public global::Runway.Voice10? Type465 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3Tool? Type465 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type466 { get; set; } + public global::Runway.GetAvatarConversationsResponseVariant3ToolType? Type466 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type467 { get; set; } + public global::Runway.GetAvatarConversationsResponseDiscriminator? Type467 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Type468 { get; set; } + public global::Runway.GetAvatarConversationsResponseDiscriminatorStatus? Type468 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminator? Type469 { get; set; } + public global::Runway.GetAvatarsResponse2? Type469 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type470 { get; set; } + public global::Runway.GetAvatarsResponseAvatarProcessing? Type470 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarReady? Type471 { get; set; } + public global::Runway.Voice10? Type471 { get; set; } /// /// /// - public global::Runway.Voice11? Type472 { get; set; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type472 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type473 { get; set; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type473 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type474 { get; set; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Type474 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Type475 { get; set; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminator? Type475 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminator? Type476 { get; set; } + public global::Runway.GetAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type476 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type477 { get; set; } + public global::Runway.GetAvatarsResponseAvatarReady? Type477 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailed? Type478 { get; set; } + public global::Runway.Voice11? Type478 { get; set; } /// /// /// - public global::Runway.Voice12? Type479 { get; set; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type479 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type480 { get; set; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type480 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type481 { get; set; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Type481 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Type482 { get; set; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminator? Type482 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminator? Type483 { get; set; } + public global::Runway.GetAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type483 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type484 { get; set; } + public global::Runway.GetAvatarsResponseAvatarFailed? Type484 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDiscriminator? Type485 { get; set; } + public global::Runway.Voice12? Type485 { get; set; } /// /// /// - public global::Runway.GetAvatarsResponseDiscriminatorStatus? Type486 { get; set; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type486 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponse? Type487 { get; set; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type487 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessing? Type488 { get; set; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Type488 { get; set; } /// /// /// - public global::Runway.Voice13? Type489 { get; set; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminator? Type489 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type490 { get; set; } + public global::Runway.GetAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type490 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type491 { get; set; } + public global::Runway.GetAvatarsResponseDiscriminator? Type491 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Type492 { get; set; } + public global::Runway.GetAvatarsResponseDiscriminatorStatus? Type492 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminator? Type493 { get; set; } + public global::Runway.PatchAvatarsResponse? Type493 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type494 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarProcessing? Type494 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReady? Type495 { get; set; } + public global::Runway.Voice13? Type495 { get; set; } /// /// /// - public global::Runway.Voice14? Type496 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponse? Type496 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type497 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceRunwayLivePresetVoiceResponsePresetId? Type497 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type498 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceCustomVoiceResponse? Type498 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Type499 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminator? Type499 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminator? Type500 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarProcessingVoiceDiscriminatorType? Type500 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type501 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarReady? Type501 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarFailed? Type502 { get; set; } + public global::Runway.Voice14? Type502 { get; set; } /// /// /// - public global::Runway.Voice15? Type503 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponse? Type503 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type504 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceRunwayLivePresetVoiceResponsePresetId? Type504 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type505 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceCustomVoiceResponse? Type505 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Type506 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminator? Type506 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminator? Type507 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarReadyVoiceDiscriminatorType? Type507 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type508 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarFailed? Type508 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseDiscriminator? Type509 { get; set; } + public global::Runway.Voice15? Type509 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponseDiscriminatorStatus? Type510 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponse? Type510 { get; set; } /// /// /// - public global::Runway.PatchAvatarsResponse2? Type511 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceRunwayLivePresetVoiceResponsePresetId? Type511 { get; set; } /// /// /// - public global::Runway.CreateAvatarVideosResponse? Type512 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceCustomVoiceResponse? Type512 { get; set; } /// /// /// - public global::Runway.CreateDocumentsResponse? Type513 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminator? Type513 { get; set; } /// /// /// - public global::Runway.CreateDocumentsResponseType? Type514 { get; set; } + public global::Runway.PatchAvatarsResponseAvatarFailedVoiceDiscriminatorType? Type514 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type515 { get; set; } + public global::Runway.PatchAvatarsResponseDiscriminator? Type515 { get; set; } /// /// /// - public global::Runway.CreateDocumentsResponseUsedByItem? Type516 { get; set; } + public global::Runway.PatchAvatarsResponseDiscriminatorStatus? Type516 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponse? Type517 { get; set; } + public global::Runway.PatchAvatarsResponse2? Type517 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type518 { get; set; } + public global::Runway.CreateAvatarVideosResponse? Type518 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponseDataItem? Type519 { get; set; } + public global::Runway.CreateDocumentsResponse? Type519 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponseDataItemType? Type520 { get; set; } + public global::Runway.CreateDocumentsResponseType? Type520 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type521 { get; set; } + public global::System.Collections.Generic.IList? Type521 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponseDataItemUsedByItem? Type522 { get; set; } + public global::Runway.CreateDocumentsResponseUsedByItem? Type522 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponse2? Type523 { get; set; } + public global::Runway.GetDocumentsResponse? Type523 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponseType? Type524 { get; set; } + public global::System.Collections.Generic.IList? Type524 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type525 { get; set; } + public global::Runway.GetDocumentsResponseDataItem? Type525 { get; set; } /// /// /// - public global::Runway.GetDocumentsResponseUsedByItem? Type526 { get; set; } + public global::Runway.GetDocumentsResponseDataItemType? Type526 { get; set; } /// /// /// - public global::Runway.CreateRealtimeSessionsResponse? Type527 { get; set; } + public global::System.Collections.Generic.IList? Type527 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponse? Type528 { get; set; } + public global::Runway.GetDocumentsResponseDataItemUsedByItem? Type528 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseSessionNotReady? Type529 { get; set; } + public global::Runway.GetDocumentsResponse2? Type529 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseSessionReady? Type530 { get; set; } + public global::Runway.GetDocumentsResponseType? Type530 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseSessionRunning? Type531 { get; set; } + public global::System.Collections.Generic.IList? Type531 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseSessionCompleted? Type532 { get; set; } + public global::Runway.GetDocumentsResponseUsedByItem? Type532 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseSessionFailed? Type533 { get; set; } + public global::Runway.CreateRealtimeSessionsResponse? Type533 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseSessionCancelled? Type534 { get; set; } + public global::Runway.GetRealtimeSessionsResponse? Type534 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseDiscriminator? Type535 { get; set; } + public global::Runway.GetRealtimeSessionsResponseSessionNotReady? Type535 { get; set; } /// /// /// - public global::Runway.GetRealtimeSessionsResponseDiscriminatorStatus? Type536 { get; set; } + public global::Runway.GetRealtimeSessionsResponseSessionReady? Type536 { get; set; } /// /// /// - public global::Runway.GetTasksResponse? Type537 { get; set; } + public global::Runway.GetRealtimeSessionsResponseSessionRunning? Type537 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant1? Type538 { get; set; } + public global::Runway.GetRealtimeSessionsResponseSessionCompleted? Type538 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant2? Type539 { get; set; } + public global::Runway.GetRealtimeSessionsResponseSessionFailed? Type539 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant3? Type540 { get; set; } + public global::Runway.GetRealtimeSessionsResponseSessionCancelled? Type540 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant4? Type541 { get; set; } + public global::Runway.GetRealtimeSessionsResponseDiscriminator? Type541 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant5? Type542 { get; set; } + public global::Runway.GetRealtimeSessionsResponseDiscriminatorStatus? Type542 { get; set; } /// /// /// - public global::Runway.GetTasksResponseVariant6? Type543 { get; set; } + public global::Runway.GetTasksResponse? Type543 { get; set; } /// /// /// - public global::Runway.GetTasksResponseDiscriminator? Type544 { get; set; } + public global::Runway.GetTasksResponseVariant1? Type544 { get; set; } /// /// /// - public global::Runway.GetTasksResponseDiscriminatorStatus? Type545 { get; set; } + public global::Runway.GetTasksResponseVariant2? Type545 { get; set; } /// /// /// - public global::Runway.GetTasksResponse2? Type546 { get; set; } + public global::Runway.GetTasksResponseVariant3? Type546 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoResponse? Type547 { get; set; } + public global::Runway.GetTasksResponseVariant4? Type547 { get; set; } /// /// /// - public global::Runway.CreateImageToVideoResponse2? Type548 { get; set; } + public global::Runway.GetTasksResponseVariant5? Type548 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoResponse? Type549 { get; set; } + public global::Runway.GetTasksResponseVariant6? Type549 { get; set; } /// /// /// - public global::Runway.CreateTextToVideoResponse2? Type550 { get; set; } + public global::Runway.GetTasksResponseDiscriminator? Type550 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoResponse? Type551 { get; set; } + public global::Runway.GetTasksResponseDiscriminatorStatus? Type551 { get; set; } /// /// /// - public global::Runway.CreateVideoToVideoResponse2? Type552 { get; set; } + public global::Runway.GetTasksResponse2? Type552 { get; set; } /// /// /// - public global::Runway.CreateTextToImageResponse? Type553 { get; set; } + public global::Runway.CreateImageToVideoResponse? Type553 { get; set; } /// /// /// - public global::Runway.CreateTextToImageResponse2? Type554 { get; set; } + public global::Runway.CreateImageToVideoResponse2? Type554 { get; set; } /// /// /// - public global::Runway.CreateImageUpscaleResponse? Type555 { get; set; } + public global::Runway.CreateTextToVideoResponse? Type555 { get; set; } /// /// /// - public global::Runway.CreateImageUpscaleResponse2? Type556 { get; set; } + public global::Runway.CreateTextToVideoResponse2? Type556 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceResponse? Type557 { get; set; } + public global::Runway.CreateVideoToVideoResponse? Type557 { get; set; } /// /// /// - public global::Runway.CreateCharacterPerformanceResponse2? Type558 { get; set; } + public global::Runway.CreateVideoToVideoResponse2? Type558 { get; set; } /// /// /// - public global::Runway.CreateSoundEffectResponse? Type559 { get; set; } + public global::Runway.CreateTextToImageResponse? Type559 { get; set; } /// /// /// - public global::Runway.CreateSoundEffectResponse2? Type560 { get; set; } + public global::Runway.CreateTextToImageResponse2? Type560 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechResponse? Type561 { get; set; } + public global::Runway.CreateImageUpscaleResponse? Type561 { get; set; } /// /// /// - public global::Runway.CreateSpeechToSpeechResponse2? Type562 { get; set; } + public global::Runway.CreateImageUpscaleResponse2? Type562 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechResponse? Type563 { get; set; } + public global::Runway.CreateVideoUpscaleResponse? Type563 { get; set; } /// /// /// - public global::Runway.CreateTextToSpeechResponse2? Type564 { get; set; } + public global::Runway.CreateVideoUpscaleResponse2? Type564 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingResponse? Type565 { get; set; } + public global::Runway.CreateCharacterPerformanceResponse? Type565 { get; set; } /// /// /// - public global::Runway.CreateVoiceDubbingResponse2? Type566 { get; set; } + public global::Runway.CreateCharacterPerformanceResponse2? Type566 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationResponse? Type567 { get; set; } + public global::Runway.CreateSoundEffectResponse? Type567 { get; set; } /// /// /// - public global::Runway.CreateVoiceIsolationResponse2? Type568 { get; set; } + public global::Runway.CreateSoundEffectResponse2? Type568 { get; set; } /// /// /// - public global::Runway.GetOrganizationResponse? Type569 { get; set; } + public global::Runway.CreateSpeechToSpeechResponse? Type569 { get; set; } /// /// /// - public global::Runway.GetOrganizationResponseTier? Type570 { get; set; } + public global::Runway.CreateSpeechToSpeechResponse2? Type570 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type571 { get; set; } + public global::Runway.CreateTextToSpeechResponse? Type571 { get; set; } /// /// /// - public global::Runway.GetOrganizationResponseTierModels2? Type572 { get; set; } + public global::Runway.CreateTextToSpeechResponse2? Type572 { get; set; } /// /// /// - public global::Runway.GetOrganizationResponseUsage? Type573 { get; set; } + public global::Runway.CreateVoiceDubbingResponse? Type573 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type574 { get; set; } + public global::Runway.CreateVoiceDubbingResponse2? Type574 { get; set; } /// /// /// - public global::Runway.GetOrganizationResponseUsageModels2? Type575 { get; set; } + public global::Runway.CreateVoiceIsolationResponse? Type575 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageResponse? Type576 { get; set; } + public global::Runway.CreateVoiceIsolationResponse2? Type576 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type577 { get; set; } + public global::Runway.GetOrganizationResponse? Type577 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageResponseResult? Type578 { get; set; } + public global::Runway.GetOrganizationResponseTier? Type578 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type579 { get; set; } + public global::System.Collections.Generic.Dictionary? Type579 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageResponseResultUsedCredit? Type580 { get; set; } + public global::Runway.GetOrganizationResponseTierModels2? Type580 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageResponseResultUsedCreditModel? Type581 { get; set; } + public global::Runway.GetOrganizationResponseUsage? Type581 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type582 { get; set; } + public global::System.Collections.Generic.Dictionary? Type582 { get; set; } /// /// /// - public global::Runway.CreateOrganizationUsageResponseModel? Type583 { get; set; } + public global::Runway.GetOrganizationResponseUsageModels2? Type583 { get; set; } /// /// /// - public global::Runway.CreateUploadsResponse? Type584 { get; set; } + public global::Runway.CreateOrganizationUsageResponse? Type584 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type585 { get; set; } + public global::System.Collections.Generic.IList? Type585 { get; set; } /// /// /// - public global::Runway.CreateUploadsResponse2? Type586 { get; set; } + public global::Runway.CreateOrganizationUsageResponseResult? Type586 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageResponse? Type587 { get; set; } + public global::System.Collections.Generic.IList? Type587 { get; set; } /// /// /// - public global::Runway.CreateRecipesMarketingStockImageResponse2? Type588 { get; set; } + public global::Runway.CreateOrganizationUsageResponseResultUsedCredit? Type588 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdResponse? Type589 { get; set; } + public global::Runway.CreateOrganizationUsageResponseResultUsedCreditModel? Type589 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductAdResponse2? Type590 { get; set; } + public global::System.Collections.Generic.IList? Type590 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductCampaignImageResponse? Type591 { get; set; } + public global::Runway.CreateOrganizationUsageResponseModel? Type591 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductCampaignImageResponse2? Type592 { get; set; } + public global::Runway.CreateUploadsResponse? Type592 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapResponse? Type593 { get; set; } + public global::System.Collections.Generic.Dictionary? Type593 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductSwapResponse2? Type594 { get; set; } + public global::Runway.CreateUploadsResponse2? Type594 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoResponse? Type595 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageResponse? Type595 { get; set; } /// /// /// - public global::Runway.CreateRecipesMultiShotVideoResponse2? Type596 { get; set; } + public global::Runway.CreateRecipesMarketingStockImageResponse2? Type596 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcResponse? Type597 { get; set; } + public global::Runway.CreateRecipesProductAdResponse? Type597 { get; set; } /// /// /// - public global::Runway.CreateRecipesProductUgcResponse2? Type598 { get; set; } + public global::Runway.CreateRecipesProductAdResponse2? Type598 { get; set; } /// /// /// - public global::Runway.GetVoicesResponse? Type599 { get; set; } + public global::Runway.CreateRecipesProductCampaignImageResponse? Type599 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type600 { get; set; } + public global::Runway.CreateRecipesProductCampaignImageResponse2? Type600 { get; set; } /// /// /// - public global::Runway.DataItem2? Type601 { get; set; } + public global::Runway.CreateRecipesProductSwapResponse? Type601 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDataItemVoiceProcessing? Type602 { get; set; } + public global::Runway.CreateRecipesProductSwapResponse2? Type602 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDataItemVoiceReady? Type603 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoResponse? Type603 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDataItemVoiceFailed? Type604 { get; set; } + public global::Runway.CreateRecipesMultiShotVideoResponse2? Type604 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDataItemDiscriminator? Type605 { get; set; } + public global::Runway.CreateRecipesProductUgcResponse? Type605 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDataItemDiscriminatorStatus? Type606 { get; set; } + public global::Runway.CreateRecipesProductUgcResponse2? Type606 { get; set; } /// /// /// - public global::Runway.CreateVoicesResponse? Type607 { get; set; } + public global::Runway.GetVoicesResponse? Type607 { get; set; } /// /// /// - public global::Runway.GetVoicesResponse2? Type608 { get; set; } + public global::System.Collections.Generic.IList? Type608 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseVoiceProcessing? Type609 { get; set; } + public global::Runway.DataItem2? Type609 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseVoiceReady? Type610 { get; set; } + public global::Runway.GetVoicesResponseDataItemVoiceProcessing? Type610 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseVoiceFailed? Type611 { get; set; } + public global::Runway.GetVoicesResponseDataItemVoiceReady? Type611 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDiscriminator? Type612 { get; set; } + public global::Runway.GetVoicesResponseDataItemVoiceFailed? Type612 { get; set; } /// /// /// - public global::Runway.GetVoicesResponseDiscriminatorStatus? Type613 { get; set; } + public global::Runway.GetVoicesResponseDataItemDiscriminator? Type613 { get; set; } /// /// /// - public global::Runway.PatchVoicesResponse? Type614 { get; set; } + public global::Runway.GetVoicesResponseDataItemDiscriminatorStatus? Type614 { get; set; } /// /// /// - public global::Runway.PatchVoicesResponseVoiceProcessing? Type615 { get; set; } + public global::Runway.CreateVoicesResponse? Type615 { get; set; } /// /// /// - public global::Runway.PatchVoicesResponseVoiceReady? Type616 { get; set; } + public global::Runway.GetVoicesResponse2? Type616 { get; set; } /// /// /// - public global::Runway.PatchVoicesResponseVoiceFailed? Type617 { get; set; } + public global::Runway.GetVoicesResponseVoiceProcessing? Type617 { get; set; } /// /// /// - public global::Runway.PatchVoicesResponseDiscriminator? Type618 { get; set; } + public global::Runway.GetVoicesResponseVoiceReady? Type618 { get; set; } /// /// /// - public global::Runway.PatchVoicesResponseDiscriminatorStatus? Type619 { get; set; } + public global::Runway.GetVoicesResponseVoiceFailed? Type619 { get; set; } /// /// /// - public global::Runway.CreateVoicesPreviewResponse? Type620 { get; set; } + public global::Runway.GetVoicesResponseDiscriminator? Type620 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsResponse? Type621 { get; set; } + public global::Runway.GetVoicesResponseDiscriminatorStatus? Type621 { get; set; } /// /// /// - public global::Runway.CreateWorkflowsResponse2? Type622 { get; set; } + public global::Runway.PatchVoicesResponse? Type622 { get; set; } /// /// /// - public global::Runway.GetWorkflowsResponse? Type623 { get; set; } + public global::Runway.PatchVoicesResponseVoiceProcessing? Type623 { get; set; } /// /// /// - public global::Runway.GetWorkflowsResponseGraph? Type624 { get; set; } + public global::Runway.PatchVoicesResponseVoiceReady? Type624 { get; set; } /// /// /// - public global::Runway.GetWorkflowsResponse2? Type625 { get; set; } + public global::Runway.PatchVoicesResponseVoiceFailed? Type625 { get; set; } /// /// /// - public global::Runway.GetWorkflowsResponse3? Type626 { get; set; } + public global::Runway.PatchVoicesResponseDiscriminator? Type626 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type627 { get; set; } + public global::Runway.PatchVoicesResponseDiscriminatorStatus? Type627 { get; set; } /// /// /// - public global::Runway.GetWorkflowsResponseDataItem? Type628 { get; set; } + public global::Runway.CreateVoicesPreviewResponse? Type628 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type629 { get; set; } + public global::Runway.CreateWorkflowsResponse? Type629 { get; set; } /// /// /// - public global::Runway.GetWorkflowsResponseDataItemVersion? Type630 { get; set; } + public global::Runway.CreateWorkflowsResponse2? Type630 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponse? Type631 { get; set; } + public global::Runway.GetWorkflowsResponse? Type631 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationPending? Type632 { get; set; } + public global::Runway.GetWorkflowsResponseGraph? Type632 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationThrottled? Type633 { get; set; } + public global::Runway.GetWorkflowsResponse2? Type633 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationCancelled? Type634 { get; set; } + public global::Runway.GetWorkflowsResponse3? Type634 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationRunning? Type635 { get; set; } + public global::System.Collections.Generic.IList? Type635 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type636 { get; set; } + public global::Runway.GetWorkflowsResponseDataItem? Type636 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type637 { get; set; } + public global::System.Collections.Generic.IList? Type637 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationRunningNodeErrors2? Type638 { get; set; } + public global::Runway.GetWorkflowsResponseDataItemVersion? Type638 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationFailed? Type639 { get; set; } + public global::Runway.GetWorkflowInvocationsResponse? Type639 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type640 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationPending? Type640 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationFailedNodeErrors2? Type641 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationThrottled? Type641 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationSucceeded? Type642 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationCancelled? Type642 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type643 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationRunning? Type643 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationSucceededNodeErrors2? Type644 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type644 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseDiscriminator? Type645 { get; set; } + public global::System.Collections.Generic.Dictionary? Type645 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponseDiscriminatorStatus? Type646 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationRunningNodeErrors2? Type646 { get; set; } /// /// /// - public global::Runway.GetWorkflowInvocationsResponse2? Type647 { get; set; } + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationFailed? Type647 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.Dictionary? Type648 { get; set; } + /// + /// + /// + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationFailedNodeErrors2? Type649 { get; set; } + /// + /// + /// + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationSucceeded? Type650 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.Dictionary? Type651 { get; set; } + /// + /// + /// + public global::Runway.GetWorkflowInvocationsResponseWorkflowInvocationSucceededNodeErrors2? Type652 { get; set; } + /// + /// + /// + public global::Runway.GetWorkflowInvocationsResponseDiscriminator? Type653 { get; set; } + /// + /// + /// + public global::Runway.GetWorkflowInvocationsResponseDiscriminatorStatus? Type654 { get; set; } + /// + /// + /// + public global::Runway.GetWorkflowInvocationsResponse2? Type655 { get; set; } /// /// diff --git a/src/libs/Runway/Generated/Runway.Models.CreateOrganizationUsageResponseModel.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateOrganizationUsageResponseModel.g.cs index a25e38d..31823c0 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateOrganizationUsageResponseModel.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateOrganizationUsageResponseModel.g.cs @@ -15,6 +15,10 @@ public enum CreateOrganizationUsageResponseModel /// /// /// + AdLocalization, + /// + /// + /// Aleph2, /// /// @@ -135,6 +139,10 @@ public enum CreateOrganizationUsageResponseModel /// /// /// + MagnificVideoUpscalerCreative, + /// + /// + /// MarketingStockImage, /// /// @@ -195,6 +203,7 @@ public static string ToValueString(this CreateOrganizationUsageResponseModel val return value switch { CreateOrganizationUsageResponseModel.ActTwo => "act_two", + CreateOrganizationUsageResponseModel.AdLocalization => "ad_localization", CreateOrganizationUsageResponseModel.Aleph2 => "aleph2", CreateOrganizationUsageResponseModel.ElevenMultilingualStsV2 => "eleven_multilingual_sts_v2", CreateOrganizationUsageResponseModel.ElevenMultilingualV2 => "eleven_multilingual_v2", @@ -225,6 +234,7 @@ public static string ToValueString(this CreateOrganizationUsageResponseModel val CreateOrganizationUsageResponseModel.KlingO3Pro => "klingO3_pro", CreateOrganizationUsageResponseModel.KlingO3Standard => "klingO3_standard", CreateOrganizationUsageResponseModel.MagnificPrecisionUpscalerV2 => "magnific_precision_upscaler_v2", + CreateOrganizationUsageResponseModel.MagnificVideoUpscalerCreative => "magnific_video_upscaler_creative", CreateOrganizationUsageResponseModel.MarketingStockImage => "marketing_stock_image", CreateOrganizationUsageResponseModel.MultiShotVideo => "multi_shot_video", CreateOrganizationUsageResponseModel.ProductAd => "product_ad", @@ -248,6 +258,7 @@ public static string ToValueString(this CreateOrganizationUsageResponseModel val return value switch { "act_two" => CreateOrganizationUsageResponseModel.ActTwo, + "ad_localization" => CreateOrganizationUsageResponseModel.AdLocalization, "aleph2" => CreateOrganizationUsageResponseModel.Aleph2, "eleven_multilingual_sts_v2" => CreateOrganizationUsageResponseModel.ElevenMultilingualStsV2, "eleven_multilingual_v2" => CreateOrganizationUsageResponseModel.ElevenMultilingualV2, @@ -278,6 +289,7 @@ public static string ToValueString(this CreateOrganizationUsageResponseModel val "klingO3_pro" => CreateOrganizationUsageResponseModel.KlingO3Pro, "klingO3_standard" => CreateOrganizationUsageResponseModel.KlingO3Standard, "magnific_precision_upscaler_v2" => CreateOrganizationUsageResponseModel.MagnificPrecisionUpscalerV2, + "magnific_video_upscaler_creative" => CreateOrganizationUsageResponseModel.MagnificVideoUpscalerCreative, "marketing_stock_image" => CreateOrganizationUsageResponseModel.MarketingStockImage, "multi_shot_video" => CreateOrganizationUsageResponseModel.MultiShotVideo, "product_ad" => CreateOrganizationUsageResponseModel.ProductAd, diff --git a/src/libs/Runway/Generated/Runway.Models.CreateOrganizationUsageResponseResultUsedCreditModel.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateOrganizationUsageResponseResultUsedCreditModel.g.cs index 79e567d..d5aea1f 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateOrganizationUsageResponseResultUsedCreditModel.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateOrganizationUsageResponseResultUsedCreditModel.g.cs @@ -15,6 +15,10 @@ public enum CreateOrganizationUsageResponseResultUsedCreditModel /// /// /// + AdLocalization, + /// + /// + /// Aleph2, /// /// @@ -135,6 +139,10 @@ public enum CreateOrganizationUsageResponseResultUsedCreditModel /// /// /// + MagnificVideoUpscalerCreative, + /// + /// + /// MarketingStockImage, /// /// @@ -195,6 +203,7 @@ public static string ToValueString(this CreateOrganizationUsageResponseResultUse return value switch { CreateOrganizationUsageResponseResultUsedCreditModel.ActTwo => "act_two", + CreateOrganizationUsageResponseResultUsedCreditModel.AdLocalization => "ad_localization", CreateOrganizationUsageResponseResultUsedCreditModel.Aleph2 => "aleph2", CreateOrganizationUsageResponseResultUsedCreditModel.ElevenMultilingualStsV2 => "eleven_multilingual_sts_v2", CreateOrganizationUsageResponseResultUsedCreditModel.ElevenMultilingualV2 => "eleven_multilingual_v2", @@ -225,6 +234,7 @@ public static string ToValueString(this CreateOrganizationUsageResponseResultUse CreateOrganizationUsageResponseResultUsedCreditModel.KlingO3Pro => "klingO3_pro", CreateOrganizationUsageResponseResultUsedCreditModel.KlingO3Standard => "klingO3_standard", CreateOrganizationUsageResponseResultUsedCreditModel.MagnificPrecisionUpscalerV2 => "magnific_precision_upscaler_v2", + CreateOrganizationUsageResponseResultUsedCreditModel.MagnificVideoUpscalerCreative => "magnific_video_upscaler_creative", CreateOrganizationUsageResponseResultUsedCreditModel.MarketingStockImage => "marketing_stock_image", CreateOrganizationUsageResponseResultUsedCreditModel.MultiShotVideo => "multi_shot_video", CreateOrganizationUsageResponseResultUsedCreditModel.ProductAd => "product_ad", @@ -248,6 +258,7 @@ public static string ToValueString(this CreateOrganizationUsageResponseResultUse return value switch { "act_two" => CreateOrganizationUsageResponseResultUsedCreditModel.ActTwo, + "ad_localization" => CreateOrganizationUsageResponseResultUsedCreditModel.AdLocalization, "aleph2" => CreateOrganizationUsageResponseResultUsedCreditModel.Aleph2, "eleven_multilingual_sts_v2" => CreateOrganizationUsageResponseResultUsedCreditModel.ElevenMultilingualStsV2, "eleven_multilingual_v2" => CreateOrganizationUsageResponseResultUsedCreditModel.ElevenMultilingualV2, @@ -278,6 +289,7 @@ public static string ToValueString(this CreateOrganizationUsageResponseResultUse "klingO3_pro" => CreateOrganizationUsageResponseResultUsedCreditModel.KlingO3Pro, "klingO3_standard" => CreateOrganizationUsageResponseResultUsedCreditModel.KlingO3Standard, "magnific_precision_upscaler_v2" => CreateOrganizationUsageResponseResultUsedCreditModel.MagnificPrecisionUpscalerV2, + "magnific_video_upscaler_creative" => CreateOrganizationUsageResponseResultUsedCreditModel.MagnificVideoUpscalerCreative, "marketing_stock_image" => CreateOrganizationUsageResponseResultUsedCreditModel.MarketingStockImage, "multi_shot_video" => CreateOrganizationUsageResponseResultUsedCreditModel.MultiShotVideo, "product_ad" => CreateOrganizationUsageResponseResultUsedCreditModel.ProductAd, diff --git a/src/libs/Runway/Generated/Runway.Models.CreateVideoToVideoRequestVariant1.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateVideoToVideoRequestVariant1.g.cs index cad1f1b..4e0aab8 100644 --- a/src/libs/Runway/Generated/Runway.Models.CreateVideoToVideoRequestVariant1.g.cs +++ b/src/libs/Runway/Generated/Runway.Models.CreateVideoToVideoRequestVariant1.g.cs @@ -11,7 +11,7 @@ namespace Runway public sealed partial class CreateVideoToVideoRequestVariant1 { /// - /// An optional string up to 1000 characters describing what should appear in the output. + /// A non-empty and optional string describing what should appear in the output. /// [global::System.Text.Json.Serialization.JsonPropertyName("promptText")] public string? PromptText { get; set; } @@ -78,7 +78,7 @@ public sealed partial class CreateVideoToVideoRequestVariant1 /// Example: https://example.com/video.mp4 /// /// - /// An optional string up to 1000 characters describing what should appear in the output. + /// A non-empty and optional string describing what should appear in the output. /// /// /// Timed guidance images placed at specific points in the input video. Up to 5 keyframes. diff --git a/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequest.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequest.Json.g.cs new file mode 100644 index 0000000..09d336a --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public readonly partial struct CreateVideoUpscaleRequest + { + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.CreateVideoUpscaleRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.CreateVideoUpscaleRequest), + jsonSerializerContext) as global::Runway.CreateVideoUpscaleRequest?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.CreateVideoUpscaleRequest? FromJson( + string json) + { + return FromJson( + json, + global::Runway.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::Runway.CreateVideoUpscaleRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.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::Runway.CreateVideoUpscaleRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateVideoUpscaleRequest?; + } + + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequest.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequest.g.cs new file mode 100644 index 0000000..f9c39ae --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequest.g.cs @@ -0,0 +1,220 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace Runway +{ + /// + /// + /// + public readonly partial struct CreateVideoUpscaleRequest : global::System.IEquatable + { + /// + /// + /// + public global::Runway.CreateVideoUpscaleRequestDiscriminatorModel? Model { get; } + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative? MagnificVideoUpscalerCreative { get; init; } +#else + public global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative? MagnificVideoUpscalerCreative { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(MagnificVideoUpscalerCreative))] +#endif + public bool IsMagnificVideoUpscalerCreative => MagnificVideoUpscalerCreative != null; + + /// + /// + /// + public bool TryPickMagnificVideoUpscalerCreative( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative? value) + { + value = MagnificVideoUpscalerCreative; + return IsMagnificVideoUpscalerCreative; + } + + /// + /// + /// + public global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative PickMagnificVideoUpscalerCreative() => IsMagnificVideoUpscalerCreative + ? MagnificVideoUpscalerCreative! + : throw new global::System.InvalidOperationException($"Expected union variant 'MagnificVideoUpscalerCreative' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator CreateVideoUpscaleRequest(global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative value) => new CreateVideoUpscaleRequest((global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative?)value); + + /// + /// + /// + public static implicit operator global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative?(CreateVideoUpscaleRequest @this) => @this.MagnificVideoUpscalerCreative; + + /// + /// + /// + public CreateVideoUpscaleRequest(global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative? value) + { + MagnificVideoUpscalerCreative = value; + } + + /// + /// + /// + public static CreateVideoUpscaleRequest FromMagnificVideoUpscalerCreative(global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative? value) => new CreateVideoUpscaleRequest(value); + + /// + /// + /// + public CreateVideoUpscaleRequest( + global::Runway.CreateVideoUpscaleRequestDiscriminatorModel? model, + global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative? magnificVideoUpscalerCreative + ) + { + Model = model; + + MagnificVideoUpscalerCreative = magnificVideoUpscalerCreative; + } + + /// + /// + /// + public object? Object => + MagnificVideoUpscalerCreative as object + ; + + /// + /// + /// + public override string? ToString() => + MagnificVideoUpscalerCreative?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsMagnificVideoUpscalerCreative; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? magnificVideoUpscalerCreative = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsMagnificVideoUpscalerCreative && magnificVideoUpscalerCreative != null) + { + return magnificVideoUpscalerCreative(MagnificVideoUpscalerCreative!); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? magnificVideoUpscalerCreative = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsMagnificVideoUpscalerCreative) + { + magnificVideoUpscalerCreative?.Invoke(MagnificVideoUpscalerCreative!); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? magnificVideoUpscalerCreative = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (IsMagnificVideoUpscalerCreative) + { + magnificVideoUpscalerCreative?.Invoke(MagnificVideoUpscalerCreative!); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + MagnificVideoUpscalerCreative, + typeof(global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(CreateVideoUpscaleRequest other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(MagnificVideoUpscalerCreative, other.MagnificVideoUpscalerCreative) + ; + } + + /// + /// + /// + public static bool operator ==(CreateVideoUpscaleRequest obj1, CreateVideoUpscaleRequest obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(CreateVideoUpscaleRequest obj1, CreateVideoUpscaleRequest obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is CreateVideoUpscaleRequest o && Equals(o); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestDiscriminator.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestDiscriminator.Json.g.cs new file mode 100644 index 0000000..c06503b --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestDiscriminator.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public sealed partial class CreateVideoUpscaleRequestDiscriminator + { + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.CreateVideoUpscaleRequestDiscriminator? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.CreateVideoUpscaleRequestDiscriminator), + jsonSerializerContext) as global::Runway.CreateVideoUpscaleRequestDiscriminator; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.CreateVideoUpscaleRequestDiscriminator? FromJson( + string json) + { + return FromJson( + json, + global::Runway.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::Runway.CreateVideoUpscaleRequestDiscriminator? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.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::Runway.CreateVideoUpscaleRequestDiscriminator), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateVideoUpscaleRequestDiscriminator; + } + + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestDiscriminator.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestDiscriminator.g.cs new file mode 100644 index 0000000..c249c20 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestDiscriminator.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace Runway +{ + /// + /// + /// + public sealed partial class CreateVideoUpscaleRequestDiscriminator + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("model")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestDiscriminatorModelJsonConverter))] + public global::Runway.CreateVideoUpscaleRequestDiscriminatorModel? Model { 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. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateVideoUpscaleRequestDiscriminator( + global::Runway.CreateVideoUpscaleRequestDiscriminatorModel? model) + { + this.Model = model; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateVideoUpscaleRequestDiscriminator() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestDiscriminatorModel.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestDiscriminatorModel.g.cs new file mode 100644 index 0000000..6cf8d22 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestDiscriminatorModel.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace Runway +{ + /// + /// + /// + public enum CreateVideoUpscaleRequestDiscriminatorModel + { + /// + /// + /// + MagnificVideoUpscalerCreative, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateVideoUpscaleRequestDiscriminatorModelExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateVideoUpscaleRequestDiscriminatorModel value) + { + return value switch + { + CreateVideoUpscaleRequestDiscriminatorModel.MagnificVideoUpscalerCreative => "magnific_video_upscaler_creative", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateVideoUpscaleRequestDiscriminatorModel? ToEnum(string value) + { + return value switch + { + "magnific_video_upscaler_creative" => CreateVideoUpscaleRequestDiscriminatorModel.MagnificVideoUpscalerCreative, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative.Json.g.cs new file mode 100644 index 0000000..50ec8dc --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public sealed partial class CreateVideoUpscaleRequestMagnificVideoUpscalerCreative + { + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative), + jsonSerializerContext) as global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative? FromJson( + string json) + { + return FromJson( + json, + global::Runway.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::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.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::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative; + } + + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative.g.cs new file mode 100644 index 0000000..9cfd04a --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestMagnificVideoUpscalerCreative.g.cs @@ -0,0 +1,140 @@ + +#nullable enable + +namespace Runway +{ + /// + /// + /// + public sealed partial class CreateVideoUpscaleRequestMagnificVideoUpscalerCreative + { + /// + /// Video to upscale. See [video inputs](/assets/inputs#videos) for URL, upload, and file size limits. Maximum duration is 30 seconds.
+ /// Example: https://example.com/video.mp4 + ///
+ /// https://example.com/video.mp4 + [global::System.Text.Json.Serialization.JsonPropertyName("videoUri")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string VideoUri { get; set; } + + /// + /// Target output resolution from 720p to 4k. Defaults to `2k`. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("resolution")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionJsonConverter))] + public global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution? Resolution { get; set; } + + /// + /// How much AI-generated detail to add during upscaling, from 0 (faithful) to 100. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("creativity")] + public int? Creativity { get; set; } + + /// + /// Sharpness intensity from 0 (none) to 100. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sharpen")] + public int? Sharpen { get; set; } + + /// + /// Grain and texture enhancement from 0 to 100. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("smartGrain")] + public int? SmartGrain { get; set; } + + /// + /// Processing style: `vivid` for enhanced color and detail, `natural` for faithful reproduction. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("flavor")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorJsonConverter))] + public global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor? Flavor { get; set; } + + /// + /// Whether to increase the output frame rate. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("fpsBoost")] + public bool? FpsBoost { get; set; } + + /// + /// + /// + /// "magnific_video_upscaler_creative" + [global::System.Text.Json.Serialization.JsonPropertyName("model")] + public string Model { get; set; } = "magnific_video_upscaler_creative"; + + /// + /// 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. + /// + /// + /// Video to upscale. See [video inputs](/assets/inputs#videos) for URL, upload, and file size limits. Maximum duration is 30 seconds.
+ /// Example: https://example.com/video.mp4 + /// + /// + /// Target output resolution from 720p to 4k. Defaults to `2k`. + /// + /// + /// How much AI-generated detail to add during upscaling, from 0 (faithful) to 100. + /// + /// + /// Sharpness intensity from 0 (none) to 100. + /// + /// + /// Grain and texture enhancement from 0 to 100. + /// + /// + /// Processing style: `vivid` for enhanced color and detail, `natural` for faithful reproduction. + /// + /// + /// Whether to increase the output frame rate. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateVideoUpscaleRequestMagnificVideoUpscalerCreative( + string videoUri, + global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution? resolution, + int? creativity, + int? sharpen, + int? smartGrain, + global::Runway.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor? flavor, + bool? fpsBoost, + string model = "magnific_video_upscaler_creative") + { + this.VideoUri = videoUri; + this.Resolution = resolution; + this.Creativity = creativity; + this.Sharpen = sharpen; + this.SmartGrain = smartGrain; + this.Flavor = flavor; + this.FpsBoost = fpsBoost; + this.Model = model; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateVideoUpscaleRequestMagnificVideoUpscalerCreative() + { + } + + /// + /// Creates a new from its single non-const required field, + /// hardcoding any const discriminator fields. + /// + public static CreateVideoUpscaleRequestMagnificVideoUpscalerCreative FromVideoUri(string videoUri) + { + return new CreateVideoUpscaleRequestMagnificVideoUpscalerCreative + { + VideoUri = videoUri, + }; + } + + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor.g.cs new file mode 100644 index 0000000..05da4d3 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor.g.cs @@ -0,0 +1,51 @@ + +#nullable enable + +namespace Runway +{ + /// + /// Processing style: `vivid` for enhanced color and detail, `natural` for faithful reproduction. + /// + public enum CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor + { + /// + /// `vivid` for enhanced color and detail, `natural` for faithful reproduction. + /// + Natural, + /// + /// `vivid` for enhanced color and detail, `natural` for faithful reproduction. + /// + Vivid, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavorExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor value) + { + return value switch + { + CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor.Natural => "natural", + CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor.Vivid => "vivid", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor? ToEnum(string value) + { + return value switch + { + "natural" => CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor.Natural, + "vivid" => CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeFlavor.Vivid, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution.g.cs new file mode 100644 index 0000000..375c62a --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace Runway +{ + /// + /// Target output resolution from 720p to 4k. Defaults to `2k`. + /// + public enum CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution + { + /// + /// + /// + x1k, + /// + /// + /// + x2k, + /// + /// + /// + x4k, + /// + /// + /// + x720p, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolutionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution value) + { + return value switch + { + CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution.x1k => "1k", + CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution.x2k => "2k", + CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution.x4k => "4k", + CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution.x720p => "720p", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution? ToEnum(string value) + { + return value switch + { + "1k" => CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution.x1k, + "2k" => CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution.x2k, + "4k" => CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution.x4k, + "720p" => CreateVideoUpscaleRequestMagnificVideoUpscalerCreativeResolution.x720p, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleResponse.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleResponse.Json.g.cs new file mode 100644 index 0000000..2c24e8f --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public sealed partial class CreateVideoUpscaleResponse + { + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.CreateVideoUpscaleResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.CreateVideoUpscaleResponse), + jsonSerializerContext) as global::Runway.CreateVideoUpscaleResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.CreateVideoUpscaleResponse? FromJson( + string json) + { + return FromJson( + json, + global::Runway.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::Runway.CreateVideoUpscaleResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.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::Runway.CreateVideoUpscaleResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateVideoUpscaleResponse; + } + + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleResponse.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleResponse.g.cs new file mode 100644 index 0000000..38c01a1 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleResponse.g.cs @@ -0,0 +1,47 @@ + +#nullable enable + +namespace Runway +{ + /// + /// + /// + public sealed partial class CreateVideoUpscaleResponse + { + /// + /// The ID of the task that was created. Use this to retrieve the task later. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid Id { 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 ID of the task that was created. Use this to retrieve the task later. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateVideoUpscaleResponse( + global::System.Guid id) + { + this.Id = id; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateVideoUpscaleResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleResponse2.Json.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleResponse2.Json.g.cs new file mode 100644 index 0000000..f67fe04 --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleResponse2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace Runway +{ + public sealed partial class CreateVideoUpscaleResponse2 + { + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::Runway.CreateVideoUpscaleResponse2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::Runway.CreateVideoUpscaleResponse2), + jsonSerializerContext) as global::Runway.CreateVideoUpscaleResponse2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::Runway.CreateVideoUpscaleResponse2? FromJson( + string json) + { + return FromJson( + json, + global::Runway.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::Runway.CreateVideoUpscaleResponse2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::Runway.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::Runway.CreateVideoUpscaleResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::Runway.CreateVideoUpscaleResponse2; + } + + /// + /// 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::Runway.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::Runway.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleResponse2.g.cs b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleResponse2.g.cs new file mode 100644 index 0000000..601b69a --- /dev/null +++ b/src/libs/Runway/Generated/Runway.Models.CreateVideoUpscaleResponse2.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace Runway +{ + /// + /// + /// + public sealed partial class CreateVideoUpscaleResponse2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("error")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Error { 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. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateVideoUpscaleResponse2( + string error) + { + this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); + } + + /// + /// Initializes a new instance of the class. + /// + public CreateVideoUpscaleResponse2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/Runway/Generated/Runway.StartGeneratingClient.CreateVideoUpscale.g.cs b/src/libs/Runway/Generated/Runway.StartGeneratingClient.CreateVideoUpscale.g.cs new file mode 100644 index 0000000..afbebab --- /dev/null +++ b/src/libs/Runway/Generated/Runway.StartGeneratingClient.CreateVideoUpscale.g.cs @@ -0,0 +1,541 @@ + +#nullable enable + +namespace Runway +{ + public partial class StartGeneratingClient + { + + + private static readonly global::Runway.EndPointSecurityRequirement s_CreateVideoUpscaleSecurityRequirement0 = + new global::Runway.EndPointSecurityRequirement + { + Authorizations = new global::Runway.EndPointAuthorizationRequirement[] + { new global::Runway.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKeyAuth", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::Runway.EndPointSecurityRequirement[] s_CreateVideoUpscaleSecurityRequirements = + new global::Runway.EndPointSecurityRequirement[] + { s_CreateVideoUpscaleSecurityRequirement0, + }; + partial void PrepareCreateVideoUpscaleArguments( + global::System.Net.Http.HttpClient httpClient, + ref string xRunwayVersion, + global::Runway.CreateVideoUpscaleRequest request); + partial void PrepareCreateVideoUpscaleRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string xRunwayVersion, + global::Runway.CreateVideoUpscaleRequest request); + partial void ProcessCreateVideoUpscaleResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateVideoUpscaleResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Video upscale
+ /// This endpoint starts a task to upscale a video. Set `model` to choose the upscaler. + ///
+ /// + /// Default Value: 2024-11-06 + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + /// + /// // npm install --save @runwayml/sdk
+ /// import RunwayML from '@runwayml/sdk';
+ /// // The env var RUNWAYML_API_SECRET is expected to contain your API key.
+ /// const client = new RunwayML();
+ /// const task = await client.videoUpscale
+ /// .create({
+ /// model: 'magnific_video_upscaler_creative',
+ /// videoUri: 'https://example.com/bunny.mp4',
+ /// resolution: '2k',
+ /// })
+ /// .waitForTaskOutput();
+ /// console.log(task); + ///
+ public async global::System.Threading.Tasks.Task CreateVideoUpscaleAsync( + + global::Runway.CreateVideoUpscaleRequest request, + string xRunwayVersion = "2024-11-06", + global::Runway.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await CreateVideoUpscaleAsResponseAsync( + + request: request, + xRunwayVersion: xRunwayVersion, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Video upscale
+ /// This endpoint starts a task to upscale a video. Set `model` to choose the upscaler. + ///
+ /// + /// Default Value: 2024-11-06 + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + /// + /// // npm install --save @runwayml/sdk
+ /// import RunwayML from '@runwayml/sdk';
+ /// // The env var RUNWAYML_API_SECRET is expected to contain your API key.
+ /// const client = new RunwayML();
+ /// const task = await client.videoUpscale
+ /// .create({
+ /// model: 'magnific_video_upscaler_creative',
+ /// videoUri: 'https://example.com/bunny.mp4',
+ /// resolution: '2k',
+ /// })
+ /// .waitForTaskOutput();
+ /// console.log(task); + ///
+ public async global::System.Threading.Tasks.Task> CreateVideoUpscaleAsResponseAsync( + + global::Runway.CreateVideoUpscaleRequest request, + string xRunwayVersion = "2024-11-06", + global::Runway.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareCreateVideoUpscaleArguments( + httpClient: HttpClient, + xRunwayVersion: ref xRunwayVersion, + request: request); + + + var __authorizations = global::Runway.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_CreateVideoUpscaleSecurityRequirements, + operationName: "CreateVideoUpscaleAsync"); + + using var __timeoutCancellationTokenSource = global::Runway.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::Runway.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::Runway.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::Runway.PathBuilder( + path: "/v1/video_upscale", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::Runway.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); + } + } + + __httpRequest.Headers.TryAddWithoutValidation("X-Runway-Version", xRunwayVersion.ToString()); + + 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::Runway.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareCreateVideoUpscaleRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + xRunwayVersion: xRunwayVersion!, + 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::Runway.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::Runway.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "createVideoUpscale", + methodName: "CreateVideoUpscaleAsync", + pathTemplate: "\"/v1/video_upscale\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + 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::Runway.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::Runway.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Runway.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "createVideoUpscale", + methodName: "CreateVideoUpscaleAsync", + pathTemplate: "\"/v1/video_upscale\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + 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::Runway.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::Runway.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::Runway.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::Runway.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Runway.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "createVideoUpscale", + methodName: "CreateVideoUpscaleAsync", + pathTemplate: "\"/v1/video_upscale\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + 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::Runway.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); + ProcessCreateVideoUpscaleResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::Runway.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::Runway.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "createVideoUpscale", + methodName: "CreateVideoUpscaleAsync", + pathTemplate: "\"/v1/video_upscale\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + 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::Runway.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::Runway.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "createVideoUpscale", + methodName: "CreateVideoUpscaleAsync", + pathTemplate: "\"/v1/video_upscale\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + 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); + } + // You have exceeded the rate limit for this endpoint. + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::Runway.CreateVideoUpscaleResponse2? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::Runway.CreateVideoUpscaleResponse2.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::Runway.CreateVideoUpscaleResponse2.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::Runway.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + 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); + ProcessCreateVideoUpscaleResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::Runway.CreateVideoUpscaleResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::Runway.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::Runway.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::Runway.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::Runway.CreateVideoUpscaleResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::Runway.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::Runway.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::Runway.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(); + } + } + /// + /// Video upscale
+ /// This endpoint starts a task to upscale a video. Set `model` to choose the upscaler. + ///
+ /// + /// Default Value: 2024-11-06 + /// + /// 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 CreateVideoUpscaleAsync( + string xRunwayVersion = "2024-11-06", + global::Runway.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::Runway.CreateVideoUpscaleRequest + { + }; + + return await CreateVideoUpscaleAsync( + xRunwayVersion: xRunwayVersion, + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/Runway/openapi.json b/src/libs/Runway/openapi.json index 60d90f9..fd903fa 100644 --- a/src/libs/Runway/openapi.json +++ b/src/libs/Runway/openapi.json @@ -7679,7 +7679,7 @@ "type": "object", "properties": { "promptText": { - "description": "An optional string up to 1000 characters describing what should appear in the output.", + "description": "A non-empty and optional string describing what should appear in the output.", "type": "string", "minLength": 1, "maxLength": 1000 @@ -9185,6 +9185,147 @@ } } }, + "/v1/video_upscale": { + "post": { + "tags": ["Start generating"], + "summary": "Video upscale", + "description": "This endpoint starts a task to upscale a video. Set `model` to choose the upscaler.", + "x-codeSamples": [ + { + "lang": "TypeScript", + "label": "Node SDK", + "source": "// npm install --save @runwayml/sdk\nimport RunwayML from '@runwayml/sdk';\n\n// The env var RUNWAYML_API_SECRET is expected to contain your API key.\nconst client = new RunwayML();\n\nconst task = await client.videoUpscale\n .create({\n model: 'magnific_video_upscaler_creative',\n videoUri: 'https://example.com/bunny.mp4',\n resolution: '2k',\n })\n .waitForTaskOutput();\nconsole.log(task);" + }, + { + "lang": "Python", + "label": "Python SDK", + "source": "# pip install runwayml\nfrom runwayml import RunwayML\n\n# The env var RUNWAYML_API_SECRET is expected to contain your API key.\nclient = RunwayML()\n\ntask = client.video_upscale.create(\n model='magnific_video_upscaler_creative',\n video_uri='https://example.com/bunny.mp4',\n resolution='2k',\n).wait_for_task_output()\n\nprint(task)" + } + ], + "parameters": [{ "$ref": "#/components/parameters/X-Runway-Version" }], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "oneOf": [ + { + "title": "magnific_video_upscaler_creative", + "type": "object", + "properties": { + "videoUri": { + "description": "Video to upscale. See [video inputs](/assets/inputs#videos) for URL, upload, and file size limits. Maximum duration is 30 seconds.", + "example": "https://example.com/video.mp4", + "anyOf": [ + { + "description": "A HTTPS URL.", + "example": "https://example.com/file", + "type": "string", + "minLength": 13, + "maxLength": 2048, + "pattern": "^https:\\/\\/.*" + }, + { + "description": "A Runway upload URI. See https://docs.dev.runwayml.com/assets/uploads for more information.", + "example": "runway://", + "type": "string", + "minLength": 13, + "maxLength": 5000, + "pattern": "^runway:\\/\\/.*" + }, + { + "description": "A data URI containing encoded media.", + "example": "data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==", + "type": "string", + "minLength": 13, + "maxLength": 16777216, + "pattern": "^data:video\\/.*" + } + ] + }, + "resolution": { + "description": "Target output resolution from 720p to 4k. Defaults to `2k`.", + "type": "string", + "enum": ["720p", "1k", "2k", "4k"] + }, + "creativity": { + "description": "How much AI-generated detail to add during upscaling, from 0 (faithful) to 100.", + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + "sharpen": { + "description": "Sharpness intensity from 0 (none) to 100.", + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + "smartGrain": { + "description": "Grain and texture enhancement from 0 to 100.", + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + "flavor": { + "description": "Processing style: `vivid` for enhanced color and detail, `natural` for faithful reproduction.", + "type": "string", + "enum": ["vivid", "natural"] + }, + "fpsBoost": { + "description": "Whether to increase the output frame rate.", + "type": "boolean" + }, + "model": { + "type": "string", + "const": "magnific_video_upscaler_creative" + } + }, + "required": ["videoUri", "model"], + "additionalProperties": false + } + ], + "discriminator": { "propertyName": "model" } + } + } + } + }, + "responses": { + "200": { + "description": "The task that was created.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "description": "The ID of the task that was created. Use this to retrieve the task later.", + "type": "string", + "format": "uuid", + "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$" + } + }, + "required": ["id"], + "additionalProperties": false + } + } + } + }, + "429": { + "description": "You have exceeded the rate limit for this endpoint.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { "error": { "type": "string" } }, + "required": ["error"], + "additionalProperties": false + } + } + } + } + } + } + }, "/v1/character_performance": { "post": { "tags": ["Start generating"], @@ -10265,6 +10406,7 @@ "seedance2", "seedance2_fast", "magnific_precision_upscaler_v2", + "magnific_video_upscaler_creative", "kling2.5_turbo_pro", "kling3.0_pro", "kling3.0_4k", @@ -10279,7 +10421,8 @@ "multi_shot_video", "product_ugc", "marketing_stock_image", - "product_campaign_image" + "product_campaign_image", + "ad_localization" ] }, "additionalProperties": { @@ -10356,6 +10499,7 @@ "seedance2", "seedance2_fast", "magnific_precision_upscaler_v2", + "magnific_video_upscaler_creative", "kling2.5_turbo_pro", "kling3.0_pro", "kling3.0_4k", @@ -10370,7 +10514,8 @@ "multi_shot_video", "product_ugc", "marketing_stock_image", - "product_campaign_image" + "product_campaign_image", + "ad_localization" ] }, "additionalProperties": { @@ -10504,6 +10649,7 @@ "seedance2", "seedance2_fast", "magnific_precision_upscaler_v2", + "magnific_video_upscaler_creative", "kling2.5_turbo_pro", "kling3.0_pro", "kling3.0_4k", @@ -10518,7 +10664,8 @@ "multi_shot_video", "product_ugc", "marketing_stock_image", - "product_campaign_image" + "product_campaign_image", + "ad_localization" ] }, "amount": { @@ -10573,6 +10720,7 @@ "seedance2", "seedance2_fast", "magnific_precision_upscaler_v2", + "magnific_video_upscaler_creative", "kling2.5_turbo_pro", "kling3.0_pro", "kling3.0_4k", @@ -10587,7 +10735,8 @@ "multi_shot_video", "product_ugc", "marketing_stock_image", - "product_campaign_image" + "product_campaign_image", + "ad_localization" ] } }