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 @@ -73,7 +73,7 @@ public partial interface IImageProjectsClient
/// - `nano-banana-2` - from 100 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k, 4k<br/>
/// - Available for tiers: free, creator, pro, business<br/>
/// - Image count allowed: 1, 2, 3, 4<br/>
/// - Image count allowed: 1, 4, 9, 16<br/>
/// - `nano-banana-pro` - from 150 credits/image<br/>
/// - Supported resolutions: 1k, 2k, 4k<br/>
/// - Available for tiers: creator, pro, business<br/>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#nullable enable

namespace MagicHour
{
public partial interface IImageProjectsClient
{
/// <summary>
/// Body Swap<br/>
/// Swap a person into a scene image using Nano Banana 2. Credits depend on `resolution` (from 100 credits at 640px upward).
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::MagicHour.ApiException"></exception>
global::System.Threading.Tasks.Task<global::MagicHour.BodySwapCreateImageResponse> BodySwapCreateImageAsync(

global::MagicHour.BodySwapCreateImageRequest request,
global::MagicHour.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Body Swap<br/>
/// Swap a person into a scene image using Nano Banana 2. Credits depend on `resolution` (from 100 credits at 640px upward).
/// </summary>
/// <param name="name">
/// Give your image a custom name for easy identification.<br/>
/// Default Value: Body Swap - dateTime<br/>
/// Example: My Body Swap image
/// </param>
/// <param name="resolution">
/// Output resolution. Determines credits charged for the run.<br/>
/// Example: 1k
/// </param>
/// <param name="assets">
/// Person image and scene image for body swap
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::MagicHour.BodySwapCreateImageResponse> BodySwapCreateImageAsync(
global::MagicHour.BodySwapCreateImageRequestResolution resolution,
global::MagicHour.BodySwapCreateImageRequestAssets assets,
string? name = default,
global::MagicHour.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public partial interface IVideoProjectsClient
/// * **`ltx-2`**: Automatically included with no extra credits<br/>
/// * **`wan-2.2`**: Not supported<br/>
/// * **`seedance`**: Not supported<br/>
/// * **`seedance-2.0`**: Not supported<br/>
/// * **`seedance-2.0`**: Automatically included with no extra credits<br/>
/// * **`kling-2.5`**: Automatically included with no extra credits<br/>
/// * **`kling-3.0`**: Toggle-able (can enable/disable)<br/>
/// * **`sora-2`**: Automatically included with no extra credits<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public partial interface IVideoProjectsClient
/// * **`ltx-2`**: Automatically included with no extra credits<br/>
/// * **`wan-2.2`**: Not supported<br/>
/// * **`seedance`**: Not supported<br/>
/// * **`seedance-2.0`**: Not supported<br/>
/// * **`seedance-2.0`**: Automatically included with no extra credits<br/>
/// * **`kling-2.5`**: Automatically included with no extra credits<br/>
/// * **`kling-3.0`**: Toggle-able (can enable/disable)<br/>
/// * **`sora-2`**: Automatically included with no extra credits<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ partial void ProcessAiImageGeneratorCreateImageResponseContent(
/// - `nano-banana-2` - from 100 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k, 4k<br/>
/// - Available for tiers: free, creator, pro, business<br/>
/// - Image count allowed: 1, 2, 3, 4<br/>
/// - Image count allowed: 1, 4, 9, 16<br/>
/// - `nano-banana-pro` - from 150 credits/image<br/>
/// - Supported resolutions: 1k, 2k, 4k<br/>
/// - Available for tiers: creator, pro, business<br/>
Expand Down
Loading