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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/libs/Runway/Generated/Runway.Models.Request12.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public sealed partial class Request12
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("filename")]
[global::System.Text.Json.Serialization.JsonRequired]
public string Filename { get; set; } = default!;
public required string Filename { get; set; }

/// <summary>
/// The type of upload to create
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Runway/Generated/Runway.Models.RequestActTwo.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public sealed partial class RequestActTwo
[global::System.Text.Json.Serialization.JsonPropertyName("character")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.CharacterJsonConverter))]
[global::System.Text.Json.Serialization.JsonRequired]
public global::Runway.Character Character { get; set; } = default!;
public required global::Runway.Character Character { get; set; }

/// <summary>
/// The reference video containing the performance to apply to the character.<br/>
Expand All @@ -29,7 +29,7 @@ public sealed partial class RequestActTwo
/// <example>{"type":"video","uri":"https://example.com/reference-performance.mp4"}</example>
[global::System.Text.Json.Serialization.JsonPropertyName("reference")]
[global::System.Text.Json.Serialization.JsonRequired]
public global::Runway.RequestActTwoReferenceCharacterReferenceVideo Reference { get; set; } = default!;
public required global::Runway.RequestActTwoReferenceCharacterReferenceVideo Reference { get; set; }

/// <summary>
/// A boolean indicating whether to enable body control. When enabled, non-facial movements and gestures will be applied to the character in addition to facial expressions.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public sealed partial class RequestActTwoCharacterCharacterImage
/// <example>https://example.com/image.jpg</example>
[global::System.Text.Json.Serialization.JsonPropertyName("uri")]
[global::System.Text.Json.Serialization.JsonRequired]
public string Uri { get; set; } = default!;
public required string Uri { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public sealed partial class RequestActTwoCharacterCharacterVideo
/// <example>https://example.com/video.mp4</example>
[global::System.Text.Json.Serialization.JsonPropertyName("uri")]
[global::System.Text.Json.Serialization.JsonRequired]
public string Uri { get; set; } = default!;
public required string Uri { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public sealed partial class RequestActTwoReferenceCharacterReferenceVideo
/// <example>https://example.com/reference-performance.mp4</example>
[global::System.Text.Json.Serialization.JsonPropertyName("uri")]
[global::System.Text.Json.Serialization.JsonRequired]
public string Uri { get; set; } = default!;
public required string Uri { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ public sealed partial class RequestElevenMultilingualStsV2
[global::System.Text.Json.Serialization.JsonPropertyName("media")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.MediaJsonConverter))]
[global::System.Text.Json.Serialization.JsonRequired]
public global::Runway.Media Media { get; set; } = default!;
public required global::Runway.Media Media { get; set; }

/// <summary>
/// The voice to use for the generated speech.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("voice")]
[global::System.Text.Json.Serialization.JsonRequired]
public global::Runway.RequestElevenMultilingualStsV2VoiceRunwayPresetVoice Voice { get; set; } = default!;
public required global::Runway.RequestElevenMultilingualStsV2VoiceRunwayPresetVoice Voice { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public sealed partial class RequestElevenMultilingualStsV2MediaSpeechToSpeechAud
/// <example>https://example.com/audio.mp3</example>
[global::System.Text.Json.Serialization.JsonPropertyName("uri")]
[global::System.Text.Json.Serialization.JsonRequired]
public string Uri { get; set; } = default!;
public required string Uri { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public sealed partial class RequestElevenMultilingualStsV2MediaSpeechToSpeechVid
/// <example>https://example.com/video.mp4</example>
[global::System.Text.Json.Serialization.JsonPropertyName("uri")]
[global::System.Text.Json.Serialization.JsonRequired]
public string Uri { get; set; } = default!;
public required string Uri { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public sealed partial class RequestElevenMultilingualStsV2VoiceRunwayPresetVoice
[global::System.Text.Json.Serialization.JsonPropertyName("presetId")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.RequestElevenMultilingualStsV2VoiceRunwayPresetVoicePresetIdJsonConverter))]
[global::System.Text.Json.Serialization.JsonRequired]
public global::Runway.RequestElevenMultilingualStsV2VoiceRunwayPresetVoicePresetId PresetId { get; set; } = default!;
public required global::Runway.RequestElevenMultilingualStsV2VoiceRunwayPresetVoicePresetId PresetId { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ public sealed partial class RequestElevenMultilingualV2
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("promptText")]
[global::System.Text.Json.Serialization.JsonRequired]
public string PromptText { get; set; } = default!;
public required string PromptText { get; set; }

/// <summary>
/// The voice to use for the generated speech.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("voice")]
[global::System.Text.Json.Serialization.JsonRequired]
public global::Runway.RequestElevenMultilingualV2VoiceRunwayPresetVoice Voice { get; set; } = default!;
public required global::Runway.RequestElevenMultilingualV2VoiceRunwayPresetVoice Voice { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public sealed partial class RequestElevenMultilingualV2VoiceRunwayPresetVoice
[global::System.Text.Json.Serialization.JsonPropertyName("presetId")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.RequestElevenMultilingualV2VoiceRunwayPresetVoicePresetIdJsonConverter))]
[global::System.Text.Json.Serialization.JsonRequired]
public global::Runway.RequestElevenMultilingualV2VoiceRunwayPresetVoicePresetId PresetId { get; set; } = default!;
public required global::Runway.RequestElevenMultilingualV2VoiceRunwayPresetVoicePresetId PresetId { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public sealed partial class RequestElevenTextToSoundV2
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("promptText")]
[global::System.Text.Json.Serialization.JsonRequired]
public string PromptText { get; set; } = default!;
public required string PromptText { get; set; }

/// <summary>
/// The duration of the sound effect in seconds, between 0.5 and 30 seconds. If not provided, the duration will be determined automatically based on the text description.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ public sealed partial class RequestElevenVoiceDubbing
/// <example>https://example.com/audio.mp3</example>
[global::System.Text.Json.Serialization.JsonPropertyName("audioUri")]
[global::System.Text.Json.Serialization.JsonRequired]
public string AudioUri { get; set; } = default!;
public required string AudioUri { get; set; }

/// <summary>
/// The target language code to dub the audio to (e.g., "es" for Spanish, "fr" for French).
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("targetLang")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.RequestElevenVoiceDubbingTargetLangJsonConverter))]
[global::System.Text.Json.Serialization.JsonRequired]
public global::Runway.RequestElevenVoiceDubbingTargetLang TargetLang { get; set; } = default!;
public required global::Runway.RequestElevenVoiceDubbingTargetLang TargetLang { get; set; }

/// <summary>
/// Whether to disable voice cloning and use a generic voice instead.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public sealed partial class RequestElevenVoiceIsolation
/// <example>https://example.com/audio.mp3</example>
[global::System.Text.Json.Serialization.JsonPropertyName("audioUri")]
[global::System.Text.Json.Serialization.JsonRequired]
public string AudioUri { get; set; } = default!;
public required string AudioUri { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ public sealed partial class RequestGemini25Flash
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("promptText")]
[global::System.Text.Json.Serialization.JsonRequired]
public string PromptText { get; set; } = default!;
public required string PromptText { get; set; }

/// <summary>
/// The resolution of the output image.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("ratio")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.RequestGemini25FlashRatioJsonConverter))]
[global::System.Text.Json.Serialization.JsonRequired]
public global::Runway.RequestGemini25FlashRatio Ratio { get; set; } = default!;
public required global::Runway.RequestGemini25FlashRatio Ratio { get; set; }

/// <summary>
/// An array of up to three images to be used as references for the generated image output.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public sealed partial class RequestGemini25FlashReferenceImage
/// <example>https://example.com/image.jpg</example>
[global::System.Text.Json.Serialization.JsonPropertyName("uri")]
[global::System.Text.Json.Serialization.JsonRequired]
public string Uri { get; set; } = default!;
public required string Uri { get; set; }

/// <summary>
/// A tag to identify the reference image. This is used to reference the image in prompt text.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ public sealed partial class RequestGen3aTurbo
/// <example>A beautiful sunset over a calm ocean.</example>
[global::System.Text.Json.Serialization.JsonPropertyName("promptText")]
[global::System.Text.Json.Serialization.JsonRequired]
public string PromptText { get; set; } = default!;
public required string PromptText { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("promptImage")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.AnyOfJsonConverter<string?, global::System.Collections.Generic.IList<global::Runway.RequestGen3aTurboPromptImagePromptImage>>))]
[global::System.Text.Json.Serialization.JsonRequired]
public global::Runway.AnyOf<string?, global::System.Collections.Generic.IList<global::Runway.RequestGen3aTurboPromptImagePromptImage>> PromptImage { get; set; } = default!;
public required global::Runway.AnyOf<string?, global::System.Collections.Generic.IList<global::Runway.RequestGen3aTurboPromptImagePromptImage>> PromptImage { get; set; }

/// <summary>
/// If unspecified, a random number is chosen. Varying the seed integer is a way to get different results for the same other request parameters. Using the same seed integer for an identical request will produce similar results.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ public sealed partial class RequestGen3aTurboPromptImagePromptImage
/// <example>https://example.com/image.jpg</example>
[global::System.Text.Json.Serialization.JsonPropertyName("uri")]
[global::System.Text.Json.Serialization.JsonRequired]
public string Uri { get; set; } = default!;
public required string Uri { get; set; }

/// <summary>
/// The position of the image in the output video. "first" will use the image as the first frame of the video, "last" will use the image as the last frame of the video.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("position")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.RequestGen3aTurboPromptImagePromptImagePositionJsonConverter))]
[global::System.Text.Json.Serialization.JsonRequired]
public global::Runway.RequestGen3aTurboPromptImagePromptImagePosition Position { get; set; } = default!;
public required global::Runway.RequestGen3aTurboPromptImagePromptImagePosition Position { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
6 changes: 3 additions & 3 deletions src/libs/Runway/Generated/Runway.Models.RequestGen4Aleph.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ public sealed partial class RequestGen4Aleph
/// <example>https://example.com/video.mp4</example>
[global::System.Text.Json.Serialization.JsonPropertyName("videoUri")]
[global::System.Text.Json.Serialization.JsonRequired]
public string VideoUri { get; set; } = default!;
public required string VideoUri { get; set; }

/// <summary>
/// A non-empty string up to 1000 characters (measured in UTF-16 code units). This should describe in detail what should appear in the output.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("promptText")]
[global::System.Text.Json.Serialization.JsonRequired]
public string PromptText { get; set; } = default!;
public required string PromptText { get; set; }

/// <summary>
/// The resolution of the output video.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("ratio")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.RequestGen4AlephRatioJsonConverter))]
[global::System.Text.Json.Serialization.JsonRequired]
public global::Runway.RequestGen4AlephRatio Ratio { get; set; } = default!;
public required global::Runway.RequestGen4AlephRatio Ratio { get; set; }

/// <summary>
/// If unspecified, a random number is chosen. Varying the seed integer is a way to get different results for the same other request parameters. Using the same seed integer for an identical request will produce similar results.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public sealed partial class RequestGen4AlephReferenceImageReference
/// <example>https://example.com/image.jpg</example>
[global::System.Text.Json.Serialization.JsonPropertyName("uri")]
[global::System.Text.Json.Serialization.JsonRequired]
public string Uri { get; set; } = default!;
public required string Uri { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Runway/Generated/Runway.Models.RequestGen4Image.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public sealed partial class RequestGen4Image
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("promptText")]
[global::System.Text.Json.Serialization.JsonRequired]
public string PromptText { get; set; } = default!;
public required string PromptText { get; set; }

/// <summary>
/// If unspecified, a random number is chosen. Varying the seed integer is a way to get different results for the same other request parameters. Using the same seed integer for an identical request will produce similar results.
Expand All @@ -27,7 +27,7 @@ public sealed partial class RequestGen4Image
[global::System.Text.Json.Serialization.JsonPropertyName("ratio")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.RequestGen4ImageRatioJsonConverter))]
[global::System.Text.Json.Serialization.JsonRequired]
public global::Runway.RequestGen4ImageRatio Ratio { get; set; } = default!;
public required global::Runway.RequestGen4ImageRatio Ratio { get; set; }

/// <summary>
/// An array of up to three images to be used as references for the generated image output.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public sealed partial class RequestGen4ImageReferenceImage
/// <example>https://example.com/image.jpg</example>
[global::System.Text.Json.Serialization.JsonPropertyName("uri")]
[global::System.Text.Json.Serialization.JsonRequired]
public string Uri { get; set; } = default!;
public required string Uri { get; set; }

/// <summary>
/// A tag to identify the reference image. This is used to reference the image in prompt text.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public sealed partial class RequestGen4ImageTurbo
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("promptText")]
[global::System.Text.Json.Serialization.JsonRequired]
public string PromptText { get; set; } = default!;
public required string PromptText { get; set; }

/// <summary>
/// If unspecified, a random number is chosen. Varying the seed integer is a way to get different results for the same other request parameters. Using the same seed integer for an identical request will produce similar results.
Expand All @@ -27,14 +27,14 @@ public sealed partial class RequestGen4ImageTurbo
[global::System.Text.Json.Serialization.JsonPropertyName("ratio")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Runway.JsonConverters.RequestGen4ImageTurboRatioJsonConverter))]
[global::System.Text.Json.Serialization.JsonRequired]
public global::Runway.RequestGen4ImageTurboRatio Ratio { get; set; } = default!;
public required global::Runway.RequestGen4ImageTurboRatio Ratio { get; set; }

/// <summary>
/// An array of one to three images to be used as references for the generated image output.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("referenceImages")]
[global::System.Text.Json.Serialization.JsonRequired]
public global::System.Collections.Generic.IList<global::Runway.RequestGen4ImageTurboReferenceImage> ReferenceImages { get; set; } = default!;
public required global::System.Collections.Generic.IList<global::Runway.RequestGen4ImageTurboReferenceImage> ReferenceImages { get; set; }

/// <summary>
/// Settings that affect the behavior of the content moderation system.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public sealed partial class RequestGen4ImageTurboReferenceImage
/// <example>https://example.com/image.jpg</example>
[global::System.Text.Json.Serialization.JsonPropertyName("uri")]
[global::System.Text.Json.Serialization.JsonRequired]
public string Uri { get; set; } = default!;
public required string Uri { get; set; }

/// <summary>
/// A tag to identify the reference image. This is used to reference the image in prompt text.
Expand Down
Loading
Loading