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 @@ -134,6 +134,10 @@ public partial interface IImageProjectsClient
/// - Supported resolutions: 640px, 1k, 2k<br/>
/// - Available for tiers: free, creator, pro, business<br/>
/// - Max additional input images: 2<br/>
/// - `qwen-image-2.1` - from 10 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k<br/>
/// - Available for tiers: free, creator, pro, business<br/>
/// - Max additional input images: 2<br/>
/// - `seedream-v4` - from 40 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k, 4k<br/>
/// - Available for tiers: creator, pro, business<br/>
Expand Down Expand Up @@ -170,6 +174,7 @@ public partial interface IImageProjectsClient
/// - `nano-banana-2-lite` - 640px, 1k<br/>
/// - `nano-banana-pro` - 1k, 2k, 4k<br/>
/// - `qwen-edit` - 640px, 1k, 2k<br/>
/// - `qwen-image-2.1` - 640px, 1k, 2k<br/>
/// - `seedream-v4` - 640px, 1k, 2k, 4k<br/>
/// - `seedream-v4.5` - 640px, 1k, 2k, 4k<br/>
/// - `seedream-v5-pro` - 640px, 1k, 2k<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ public partial interface IImageProjectsClient
/// - Supported resolutions: 1k, 2k, 4k<br/>
/// - Available for tiers: creator, pro, business<br/>
/// - Image count allowed: 1, 4, 9, 16<br/>
/// - `qwen-image-2.1` - from 10 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k<br/>
/// - Available for tiers: free, creator, pro, business<br/>
/// - Image count allowed: 1, 2, 3, 4<br/>
/// - `seedream-v4` - from 40 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k, 4k<br/>
/// - Available for tiers: creator, pro, business<br/>
Expand Down Expand Up @@ -161,6 +165,7 @@ public partial interface IImageProjectsClient
/// - `nano-banana-2` - 640px, 1k, 2k, 4k<br/>
/// - `nano-banana-2-lite` - 640px, 1k<br/>
/// - `nano-banana-pro` - 1k, 2k, 4k<br/>
/// - `qwen-image-2.1` - 640px, 1k, 2k<br/>
/// - `seedream-v4` - 640px, 1k, 2k, 4k<br/>
/// - `seedream-v5-pro` - 640px, 1k, 2k<br/>
/// - `z-image-turbo` - 640px, 1k, 2k<br/>
Expand Down
4 changes: 2 additions & 2 deletions src/libs/MagicHour/Generated/MagicHour.IMagicHourClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace MagicHour
{
/// <summary>
/// Magic Hour provides an API (beta) that can be integrated into your own application to generate videos and images using AI. <br/>
/// Magic Hour provides a REST API (beta) for generating and editing video, images, and audio using AI.<br/>
/// Webhook documentation can be found [here](https://docs.magichour.ai/webhook-reference).<br/>
/// If you have any questions, please reach out to us via [discord](https://discord.gg/JX5rgsZaJp).<br/>
/// # Authentication<br/>
Expand All @@ -14,7 +14,7 @@ namespace MagicHour
/// | Key | Value |<br/>
/// |-|-|<br/>
/// | Authorization | Bearer mhk_live_apikey |<br/>
/// &gt; **Warning**: any API call that renders a video will utilize credits in your account.<br/>
/// &gt; **Warning**: API generation and editing requests consume account credits. Cost varies by tool, model, and settings; see [API pricing](https://magichour.ai/api#api-cost-calculator).<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public partial interface IVideoProjectsClient
{
/// <summary>
/// AI Talking Photo<br/>
/// Create a talking photo from an image and audio or text input.
/// Create a talking photo video from an image and an audio file.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand Down Expand Up @@ -42,7 +42,7 @@ public partial interface IVideoProjectsClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// AI Talking Photo<br/>
/// Create a talking photo from an image and audio or text input.
/// Create a talking photo video from an image and an audio file.
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand Down Expand Up @@ -78,12 +78,12 @@ public partial interface IVideoProjectsClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// AI Talking Photo<br/>
/// Create a talking photo from an image and audio or text input.
/// Create a talking photo video from an image and an audio file.
/// </summary>
/// <param name="name">
/// Give your image a custom name for easy identification.<br/>
/// Give your video a custom name for easy identification.<br/>
/// Default Value: Talking Photo - dateTime<br/>
/// Example: My Talking Photo image
/// Example: My Talking Photo video
/// </param>
/// <param name="startSeconds">
/// The start time of the input audio in seconds. Maximum clip length depends on style.generation_mode: realistic 300s, prompted 45s.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,10 @@ partial void ProcessAiImageEditorCreateImageResponseContent(
/// - Supported resolutions: 640px, 1k, 2k<br/>
/// - Available for tiers: free, creator, pro, business<br/>
/// - Max additional input images: 2<br/>
/// - `qwen-image-2.1` - from 10 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k<br/>
/// - Available for tiers: free, creator, pro, business<br/>
/// - Max additional input images: 2<br/>
/// - `seedream-v4` - from 40 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k, 4k<br/>
/// - Available for tiers: creator, pro, business<br/>
Expand Down Expand Up @@ -795,6 +799,7 @@ partial void ProcessAiImageEditorCreateImageResponseContent(
/// - `nano-banana-2-lite` - 640px, 1k<br/>
/// - `nano-banana-pro` - 1k, 2k, 4k<br/>
/// - `qwen-edit` - 640px, 1k, 2k<br/>
/// - `qwen-image-2.1` - 640px, 1k, 2k<br/>
/// - `seedream-v4` - 640px, 1k, 2k, 4k<br/>
/// - `seedream-v4.5` - 640px, 1k, 2k, 4k<br/>
/// - `seedream-v5-pro` - 640px, 1k, 2k<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,10 @@ partial void ProcessAiImageGeneratorCreateImageResponseContent(
/// - Supported resolutions: 1k, 2k, 4k<br/>
/// - Available for tiers: creator, pro, business<br/>
/// - Image count allowed: 1, 4, 9, 16<br/>
/// - `qwen-image-2.1` - from 10 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k<br/>
/// - Available for tiers: free, creator, pro, business<br/>
/// - Image count allowed: 1, 2, 3, 4<br/>
/// - `seedream-v4` - from 40 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k, 4k<br/>
/// - Available for tiers: creator, pro, business<br/>
Expand Down Expand Up @@ -786,6 +790,7 @@ partial void ProcessAiImageGeneratorCreateImageResponseContent(
/// - `nano-banana-2` - 640px, 1k, 2k, 4k<br/>
/// - `nano-banana-2-lite` - 640px, 1k<br/>
/// - `nano-banana-pro` - 1k, 2k, 4k<br/>
/// - `qwen-image-2.1` - 640px, 1k, 2k<br/>
/// - `seedream-v4` - 640px, 1k, 2k, 4k<br/>
/// - `seedream-v5-pro` - 640px, 1k, 2k<br/>
/// - `z-image-turbo` - 640px, 1k, 2k<br/>
Expand Down
4 changes: 2 additions & 2 deletions src/libs/MagicHour/Generated/MagicHour.MagicHourClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace MagicHour
{
/// <summary>
/// Magic Hour provides an API (beta) that can be integrated into your own application to generate videos and images using AI. <br/>
/// Magic Hour provides a REST API (beta) for generating and editing video, images, and audio using AI.<br/>
/// Webhook documentation can be found [here](https://docs.magichour.ai/webhook-reference).<br/>
/// If you have any questions, please reach out to us via [discord](https://discord.gg/JX5rgsZaJp).<br/>
/// # Authentication<br/>
Expand All @@ -14,7 +14,7 @@ namespace MagicHour
/// | Key | Value |<br/>
/// |-|-|<br/>
/// | Authorization | Bearer mhk_live_apikey |<br/>
/// &gt; **Warning**: any API call that renders a video will utilize credits in your account.<br/>
/// &gt; **Warning**: API generation and editing requests consume account credits. Cost varies by tool, model, and settings; see [API pricing](https://magichour.ai/api#api-cost-calculator).<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ public sealed partial class AiImageEditorCreateImageRequest
/// - Supported resolutions: 640px, 1k, 2k<br/>
/// - Available for tiers: free, creator, pro, business<br/>
/// - Max additional input images: 2<br/>
/// - `qwen-image-2.1` - from 10 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k<br/>
/// - Available for tiers: free, creator, pro, business<br/>
/// - Max additional input images: 2<br/>
/// - `seedream-v4` - from 40 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k, 4k<br/>
/// - Available for tiers: creator, pro, business<br/>
Expand Down Expand Up @@ -112,6 +116,7 @@ public sealed partial class AiImageEditorCreateImageRequest
/// - `nano-banana-2-lite` - 640px, 1k<br/>
/// - `nano-banana-pro` - 1k, 2k, 4k<br/>
/// - `qwen-edit` - 640px, 1k, 2k<br/>
/// - `qwen-image-2.1` - 640px, 1k, 2k<br/>
/// - `seedream-v4` - 640px, 1k, 2k, 4k<br/>
/// - `seedream-v4.5` - 640px, 1k, 2k, 4k<br/>
/// - `seedream-v5-pro` - 640px, 1k, 2k<br/>
Expand Down Expand Up @@ -200,6 +205,10 @@ public sealed partial class AiImageEditorCreateImageRequest
/// - Supported resolutions: 640px, 1k, 2k<br/>
/// - Available for tiers: free, creator, pro, business<br/>
/// - Max additional input images: 2<br/>
/// - `qwen-image-2.1` - from 10 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k<br/>
/// - Available for tiers: free, creator, pro, business<br/>
/// - Max additional input images: 2<br/>
/// - `seedream-v4` - from 40 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k, 4k<br/>
/// - Available for tiers: creator, pro, business<br/>
Expand Down Expand Up @@ -236,6 +245,7 @@ public sealed partial class AiImageEditorCreateImageRequest
/// - `nano-banana-2-lite` - 640px, 1k<br/>
/// - `nano-banana-pro` - 1k, 2k, 4k<br/>
/// - `qwen-edit` - 640px, 1k, 2k<br/>
/// - `qwen-image-2.1` - 640px, 1k, 2k<br/>
/// - `seedream-v4` - 640px, 1k, 2k, 4k<br/>
/// - `seedream-v4.5` - 640px, 1k, 2k, 4k<br/>
/// - `seedream-v5-pro` - 640px, 1k, 2k<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ namespace MagicHour
/// - Supported resolutions: 640px, 1k, 2k<br/>
/// - Available for tiers: free, creator, pro, business<br/>
/// - Max additional input images: 2<br/>
/// - `qwen-image-2.1` - from 10 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k<br/>
/// - Available for tiers: free, creator, pro, business<br/>
/// - Max additional input images: 2<br/>
/// - `seedream-v4` - from 40 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k, 4k<br/>
/// - Available for tiers: creator, pro, business<br/>
Expand Down Expand Up @@ -102,6 +106,10 @@ public enum AiImageEditorCreateImageRequestModel
/// <summary>
///
/// </summary>
QwenImage21,
/// <summary>
///
/// </summary>
SeedreamV4,
/// <summary>
///
Expand Down Expand Up @@ -135,6 +143,7 @@ public static string ToValueString(this AiImageEditorCreateImageRequestModel val
AiImageEditorCreateImageRequestModel.NanoBanana2Lite => "nano-banana-2-lite",
AiImageEditorCreateImageRequestModel.NanoBananaPro => "nano-banana-pro",
AiImageEditorCreateImageRequestModel.QwenEdit => "qwen-edit",
AiImageEditorCreateImageRequestModel.QwenImage21 => "qwen-image-2.1",
AiImageEditorCreateImageRequestModel.SeedreamV4 => "seedream-v4",
AiImageEditorCreateImageRequestModel.SeedreamV45 => "seedream-v4.5",
AiImageEditorCreateImageRequestModel.SeedreamV5Pro => "seedream-v5-pro",
Expand All @@ -158,6 +167,7 @@ public static string ToValueString(this AiImageEditorCreateImageRequestModel val
"nano-banana-2-lite" => AiImageEditorCreateImageRequestModel.NanoBanana2Lite,
"nano-banana-pro" => AiImageEditorCreateImageRequestModel.NanoBananaPro,
"qwen-edit" => AiImageEditorCreateImageRequestModel.QwenEdit,
"qwen-image-2.1" => AiImageEditorCreateImageRequestModel.QwenImage21,
"seedream-v4" => AiImageEditorCreateImageRequestModel.SeedreamV4,
"seedream-v4.5" => AiImageEditorCreateImageRequestModel.SeedreamV45,
"seedream-v5-pro" => AiImageEditorCreateImageRequestModel.SeedreamV5Pro,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ namespace MagicHour
/// - `nano-banana-2-lite` - 640px, 1k<br/>
/// - `nano-banana-pro` - 1k, 2k, 4k<br/>
/// - `qwen-edit` - 640px, 1k, 2k<br/>
/// - `qwen-image-2.1` - 640px, 1k, 2k<br/>
/// - `seedream-v4` - 640px, 1k, 2k, 4k<br/>
/// - `seedream-v4.5` - 640px, 1k, 2k, 4k<br/>
/// - `seedream-v5-pro` - 640px, 1k, 2k<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ public sealed partial class AiImageGeneratorCreateImageRequest
/// - Supported resolutions: 1k, 2k, 4k<br/>
/// - Available for tiers: creator, pro, business<br/>
/// - Image count allowed: 1, 4, 9, 16<br/>
/// - `qwen-image-2.1` - from 10 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k<br/>
/// - Available for tiers: free, creator, pro, business<br/>
/// - Image count allowed: 1, 2, 3, 4<br/>
/// - `seedream-v4` - from 40 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k, 4k<br/>
/// - Available for tiers: creator, pro, business<br/>
Expand Down Expand Up @@ -114,6 +118,7 @@ public sealed partial class AiImageGeneratorCreateImageRequest
/// - `nano-banana-2` - 640px, 1k, 2k, 4k<br/>
/// - `nano-banana-2-lite` - 640px, 1k<br/>
/// - `nano-banana-pro` - 1k, 2k, 4k<br/>
/// - `qwen-image-2.1` - 640px, 1k, 2k<br/>
/// - `seedream-v4` - 640px, 1k, 2k, 4k<br/>
/// - `seedream-v5-pro` - 640px, 1k, 2k<br/>
/// - `z-image-turbo` - 640px, 1k, 2k<br/>
Expand Down Expand Up @@ -194,6 +199,10 @@ public sealed partial class AiImageGeneratorCreateImageRequest
/// - Supported resolutions: 1k, 2k, 4k<br/>
/// - Available for tiers: creator, pro, business<br/>
/// - Image count allowed: 1, 4, 9, 16<br/>
/// - `qwen-image-2.1` - from 10 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k<br/>
/// - Available for tiers: free, creator, pro, business<br/>
/// - Image count allowed: 1, 2, 3, 4<br/>
/// - `seedream-v4` - from 40 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k, 4k<br/>
/// - Available for tiers: creator, pro, business<br/>
Expand Down Expand Up @@ -232,6 +241,7 @@ public sealed partial class AiImageGeneratorCreateImageRequest
/// - `nano-banana-2` - 640px, 1k, 2k, 4k<br/>
/// - `nano-banana-2-lite` - 640px, 1k<br/>
/// - `nano-banana-pro` - 1k, 2k, 4k<br/>
/// - `qwen-image-2.1` - 640px, 1k, 2k<br/>
/// - `seedream-v4` - 640px, 1k, 2k, 4k<br/>
/// - `seedream-v5-pro` - 640px, 1k, 2k<br/>
/// - `z-image-turbo` - 640px, 1k, 2k<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ namespace MagicHour
/// - Supported resolutions: 1k, 2k, 4k<br/>
/// - Available for tiers: creator, pro, business<br/>
/// - Image count allowed: 1, 4, 9, 16<br/>
/// - `qwen-image-2.1` - from 10 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k<br/>
/// - Available for tiers: free, creator, pro, business<br/>
/// - Image count allowed: 1, 2, 3, 4<br/>
/// - `seedream-v4` - from 40 credits/image<br/>
/// - Supported resolutions: 640px, 1k, 2k, 4k<br/>
/// - Available for tiers: creator, pro, business<br/>
Expand Down Expand Up @@ -104,6 +108,10 @@ public enum AiImageGeneratorCreateImageRequestModel
/// <summary>
///
/// </summary>
QwenImage21,
/// <summary>
///
/// </summary>
Seedream,
/// <summary>
///
Expand Down Expand Up @@ -141,6 +149,7 @@ public static string ToValueString(this AiImageGeneratorCreateImageRequestModel
AiImageGeneratorCreateImageRequestModel.NanoBanana2 => "nano-banana-2",
AiImageGeneratorCreateImageRequestModel.NanoBanana2Lite => "nano-banana-2-lite",
AiImageGeneratorCreateImageRequestModel.NanoBananaPro => "nano-banana-pro",
AiImageGeneratorCreateImageRequestModel.QwenImage21 => "qwen-image-2.1",
AiImageGeneratorCreateImageRequestModel.Seedream => "seedream",
AiImageGeneratorCreateImageRequestModel.SeedreamV4 => "seedream-v4",
AiImageGeneratorCreateImageRequestModel.SeedreamV5Pro => "seedream-v5-pro",
Expand All @@ -165,6 +174,7 @@ public static string ToValueString(this AiImageGeneratorCreateImageRequestModel
"nano-banana-2" => AiImageGeneratorCreateImageRequestModel.NanoBanana2,
"nano-banana-2-lite" => AiImageGeneratorCreateImageRequestModel.NanoBanana2Lite,
"nano-banana-pro" => AiImageGeneratorCreateImageRequestModel.NanoBananaPro,
"qwen-image-2.1" => AiImageGeneratorCreateImageRequestModel.QwenImage21,
"seedream" => AiImageGeneratorCreateImageRequestModel.Seedream,
"seedream-v4" => AiImageGeneratorCreateImageRequestModel.SeedreamV4,
"seedream-v5-pro" => AiImageGeneratorCreateImageRequestModel.SeedreamV5Pro,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ namespace MagicHour
/// - `nano-banana-2` - 640px, 1k, 2k, 4k<br/>
/// - `nano-banana-2-lite` - 640px, 1k<br/>
/// - `nano-banana-pro` - 1k, 2k, 4k<br/>
/// - `qwen-image-2.1` - 640px, 1k, 2k<br/>
/// - `seedream-v4` - 640px, 1k, 2k, 4k<br/>
/// - `seedream-v5-pro` - 640px, 1k, 2k<br/>
/// - `z-image-turbo` - 640px, 1k, 2k<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ namespace MagicHour
public sealed partial class AiTalkingPhotoCreateTalkingPhotoRequest
{
/// <summary>
/// Give your image a custom name for easy identification.<br/>
/// Give your video a custom name for easy identification.<br/>
/// Default Value: Talking Photo - dateTime<br/>
/// Example: My Talking Photo image
/// Example: My Talking Photo video
/// </summary>
/// <example>My Talking Photo image</example>
/// <example>My Talking Photo video</example>
[global::System.Text.Json.Serialization.JsonPropertyName("name")]
public string? Name { get; set; }

Expand Down Expand Up @@ -77,9 +77,9 @@ public sealed partial class AiTalkingPhotoCreateTalkingPhotoRequest
/// Provide the assets for creating a talking photo
/// </param>
/// <param name="name">
/// Give your image a custom name for easy identification.<br/>
/// Give your video a custom name for easy identification.<br/>
/// Default Value: Talking Photo - dateTime<br/>
/// Example: My Talking Photo image
/// Example: My Talking Photo video
/// </param>
/// <param name="style">
/// Attributes used to dictate the style of the output
Expand Down
Loading
Loading