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
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ public partial interface IOrganizationClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Runway.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response24> CreateOrganizationUsageAsync(
string xRunwayVersion,

global::Runway.Request11 request,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);

/// <summary>
Expand All @@ -35,7 +36,7 @@ public partial interface IOrganizationClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response24> CreateOrganizationUsageAsync(
string xRunwayVersion,
string xRunwayVersion = "2024-11-06",
global::System.DateTime? startDate = default,
global::System.DateTime? beforeDate = default,
global::System.Threading.CancellationToken cancellationToken = default);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public partial interface IOrganizationClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Runway.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response23> GetOrganizationAsync(
string xRunwayVersion,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Runway.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response11> CreateCharacterPerformanceAsync(
string xRunwayVersion,

global::Runway.Request5 request,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);

/// <summary>
Expand All @@ -29,7 +30,7 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response11> CreateCharacterPerformanceAsync(
string xRunwayVersion,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Runway.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response3> CreateImageToVideoAsync(
string xRunwayVersion,

global::Runway.Request request,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);

/// <summary>
Expand All @@ -29,7 +30,7 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response3> CreateImageToVideoAsync(
string xRunwayVersion,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Runway.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response13> CreateSoundEffectAsync(
string xRunwayVersion,

global::Runway.Request6 request,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);

/// <summary>
Expand All @@ -29,7 +30,7 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response13> CreateSoundEffectAsync(
string xRunwayVersion,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Runway.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response15> CreateSpeechToSpeechAsync(
string xRunwayVersion,

global::Runway.Request7 request,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);

/// <summary>
Expand All @@ -29,7 +30,7 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response15> CreateSpeechToSpeechAsync(
string xRunwayVersion,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Runway.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response9> CreateTextToImageAsync(
string xRunwayVersion,

global::Runway.Request4 request,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);

/// <summary>
Expand All @@ -29,7 +30,7 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response9> CreateTextToImageAsync(
string xRunwayVersion,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Runway.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response17> CreateTextToSpeechAsync(
string xRunwayVersion,

global::Runway.Request8 request,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);

/// <summary>
Expand All @@ -29,7 +30,7 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response17> CreateTextToSpeechAsync(
string xRunwayVersion,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Runway.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response5> CreateTextToVideoAsync(
string xRunwayVersion,

global::Runway.Request2 request,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);

/// <summary>
Expand All @@ -29,7 +30,7 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response5> CreateTextToVideoAsync(
string xRunwayVersion,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Runway.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response7> CreateVideoToVideoAsync(
string xRunwayVersion,

global::Runway.Request3 request,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);

/// <summary>
Expand All @@ -29,7 +30,7 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response7> CreateVideoToVideoAsync(
string xRunwayVersion,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Runway.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response19> CreateVoiceDubbingAsync(
string xRunwayVersion,

global::Runway.Request9 request,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);

/// <summary>
Expand All @@ -29,7 +30,7 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response19> CreateVoiceDubbingAsync(
string xRunwayVersion,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Runway.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response21> CreateVoiceIsolationAsync(
string xRunwayVersion,

global::Runway.Request10 request,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);

/// <summary>
Expand All @@ -29,7 +30,7 @@ public partial interface IStartGeneratingClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response21> CreateVoiceIsolationAsync(
string xRunwayVersion,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public partial interface ITaskManagementClient
/// <exception cref="global::Runway.ApiException"></exception>
global::System.Threading.Tasks.Task DeleteTasksByIdAsync(
global::System.Guid id,
string xRunwayVersion,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public partial interface ITaskManagementClient
/// <exception cref="global::Runway.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response> GetTasksByIdAsync(
global::System.Guid id,
string xRunwayVersion,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ public partial interface IUploadsClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Runway.ApiException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response25> CreateUploadsAsync(
string xRunwayVersion,

global::Runway.Request12 request,
string xRunwayVersion = "2024-11-06",
global::System.Threading.CancellationToken cancellationToken = default);

/// <summary>
Expand All @@ -35,8 +36,8 @@ public partial interface IUploadsClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Runway.Response25> CreateUploadsAsync(
string xRunwayVersion,
string filename,
string xRunwayVersion = "2024-11-06",
global::Runway.RequestType type = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
3 changes: 2 additions & 1 deletion src/libs/Runway/Generated/Runway.Models.RequestActTwo.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ public sealed partial class RequestActTwo
/// <summary>
///
/// </summary>
/// <default>"act_two"</default>
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string Model { get; set; }
public required string Model { get; set; } = "act_two";

/// <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 @@ -11,9 +11,10 @@ public sealed partial class RequestActTwoCharacterCharacterImage
/// <summary>
///
/// </summary>
/// <default>"image"</default>
[global::System.Text.Json.Serialization.JsonPropertyName("type")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string Type { get; set; }
public required string Type { get; set; } = "image";

/// <summary>
/// A HTTPS URL, Runway or data URI containing an encoded image. See [our docs](/assets/inputs#images) on image inputs for more information.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ public sealed partial class RequestActTwoCharacterCharacterVideo
/// <summary>
///
/// </summary>
/// <default>"video"</default>
[global::System.Text.Json.Serialization.JsonPropertyName("type")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string Type { get; set; }
public required string Type { get; set; } = "video";

/// <summary>
/// A HTTPS URL, Runway or data URI containing an encoded video. See [our docs](/assets/inputs#videos) on video inputs for more information.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ public sealed partial class RequestActTwoReferenceCharacterReferenceVideo
/// <summary>
///
/// </summary>
/// <default>"video"</default>
[global::System.Text.Json.Serialization.JsonPropertyName("type")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string Type { get; set; }
public required string Type { get; set; } = "video";

/// <summary>
/// A video of a person performing in the manner that you would like your character to perform. The video must be between 3 and 30 seconds in duration. See [our docs](/assets/inputs#videos) on video inputs for more information.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ public sealed partial class RequestElevenMultilingualStsV2
/// <summary>
///
/// </summary>
/// <default>"eleven_multilingual_sts_v2"</default>
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string Model { get; set; }
public required string Model { get; set; } = "eleven_multilingual_sts_v2";

/// <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 @@ -11,9 +11,10 @@ public sealed partial class RequestElevenMultilingualStsV2MediaSpeechToSpeechAud
/// <summary>
///
/// </summary>
/// <default>"audio"</default>
[global::System.Text.Json.Serialization.JsonPropertyName("type")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string Type { get; set; }
public required string Type { get; set; } = "audio";

/// <summary>
/// A HTTPS URL, Runway or data URI containing an encoded audio. See [our docs](/assets/inputs#audio) on audio inputs for more information.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ public sealed partial class RequestElevenMultilingualStsV2MediaSpeechToSpeechVid
/// <summary>
///
/// </summary>
/// <default>"video"</default>
[global::System.Text.Json.Serialization.JsonPropertyName("type")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string Type { get; set; }
public required string Type { get; set; } = "video";

/// <summary>
/// A HTTPS URL, Runway or data URI containing an encoded video. See [our docs](/assets/inputs#videos) on video inputs for more information.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ public sealed partial class RequestElevenMultilingualStsV2VoiceRunwayPresetVoice
/// <summary>
///
/// </summary>
/// <default>"runway-preset"</default>
[global::System.Text.Json.Serialization.JsonPropertyName("type")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string Type { get; set; }
public required string Type { get; set; } = "runway-preset";

/// <summary>
/// The preset voice ID to use for the generated speech.
Expand Down
Loading
Loading