diff --git a/src/libs/MagicHour/Generated/MagicHour.FilesClient.VideoAssetsGeneratePresignedUrl.g.cs b/src/libs/MagicHour/Generated/MagicHour.FilesClient.VideoAssetsGeneratePresignedUrl.g.cs index 4b5e0f9..b9c040a 100644 --- a/src/libs/MagicHour/Generated/MagicHour.FilesClient.VideoAssetsGeneratePresignedUrl.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.FilesClient.VideoAssetsGeneratePresignedUrl.g.cs @@ -48,7 +48,7 @@ partial void ProcessVideoAssetsGeneratePresignedUrlResponseContent( /// **Valid file extensions per asset type**:
/// - video: mp4, m4v, mov, webm
/// - audio: mp3, wav, aac, flac, webm, weba, m4a, opus, ogg, oga, aiff, amr
- /// - image: png, jpg, jpeg, jfif, heic, heif, webp, avif, jp2, tiff, tif, bmp
+ /// - image: png, jpg, jpeg, jpe, jfif, heic, heif, webp, avif, jp2, tiff, tif, bmp
/// - gif: gif, webp, webm
/// > Note: `gif` is only supported for face swap API `video_file_path` field.
/// Once you receive an upload URL, send a `PUT` request to upload the file directly.
@@ -105,7 +105,7 @@ partial void ProcessVideoAssetsGeneratePresignedUrlResponseContent( /// **Valid file extensions per asset type**:
/// - video: mp4, m4v, mov, webm
/// - audio: mp3, wav, aac, flac, webm, weba, m4a, opus, ogg, oga, aiff, amr
- /// - image: png, jpg, jpeg, jfif, heic, heif, webp, avif, jp2, tiff, tif, bmp
+ /// - image: png, jpg, jpeg, jpe, jfif, heic, heif, webp, avif, jp2, tiff, tif, bmp
/// - gif: gif, webp, webm
/// > Note: `gif` is only supported for face swap API `video_file_path` field.
/// Once you receive an upload URL, send a `PUT` request to upload the file directly.
@@ -730,7 +730,7 @@ partial void ProcessVideoAssetsGeneratePresignedUrlResponseContent( /// **Valid file extensions per asset type**:
/// - video: mp4, m4v, mov, webm
/// - audio: mp3, wav, aac, flac, webm, weba, m4a, opus, ogg, oga, aiff, amr
- /// - image: png, jpg, jpeg, jfif, heic, heif, webp, avif, jp2, tiff, tif, bmp
+ /// - image: png, jpg, jpeg, jpe, jfif, heic, heif, webp, avif, jp2, tiff, tif, bmp
/// - gif: gif, webp, webm
/// > Note: `gif` is only supported for face swap API `video_file_path` field.
/// Once you receive an upload URL, send a `PUT` request to upload the file directly.
diff --git a/src/libs/MagicHour/Generated/MagicHour.IFilesClient.VideoAssetsGeneratePresignedUrl.g.cs b/src/libs/MagicHour/Generated/MagicHour.IFilesClient.VideoAssetsGeneratePresignedUrl.g.cs index adf838d..1194a80 100644 --- a/src/libs/MagicHour/Generated/MagicHour.IFilesClient.VideoAssetsGeneratePresignedUrl.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.IFilesClient.VideoAssetsGeneratePresignedUrl.g.cs @@ -11,7 +11,7 @@ public partial interface IFilesClient /// **Valid file extensions per asset type**:
/// - video: mp4, m4v, mov, webm
/// - audio: mp3, wav, aac, flac, webm, weba, m4a, opus, ogg, oga, aiff, amr
- /// - image: png, jpg, jpeg, jfif, heic, heif, webp, avif, jp2, tiff, tif, bmp
+ /// - image: png, jpg, jpeg, jpe, jfif, heic, heif, webp, avif, jp2, tiff, tif, bmp
/// - gif: gif, webp, webm
/// > Note: `gif` is only supported for face swap API `video_file_path` field.
/// Once you receive an upload URL, send a `PUT` request to upload the file directly.
@@ -58,7 +58,7 @@ public partial interface IFilesClient /// **Valid file extensions per asset type**:
/// - video: mp4, m4v, mov, webm
/// - audio: mp3, wav, aac, flac, webm, weba, m4a, opus, ogg, oga, aiff, amr
- /// - image: png, jpg, jpeg, jfif, heic, heif, webp, avif, jp2, tiff, tif, bmp
+ /// - image: png, jpg, jpeg, jpe, jfif, heic, heif, webp, avif, jp2, tiff, tif, bmp
/// - gif: gif, webp, webm
/// > Note: `gif` is only supported for face swap API `video_file_path` field.
/// Once you receive an upload URL, send a `PUT` request to upload the file directly.
@@ -105,7 +105,7 @@ public partial interface IFilesClient /// **Valid file extensions per asset type**:
/// - video: mp4, m4v, mov, webm
/// - audio: mp3, wav, aac, flac, webm, weba, m4a, opus, ogg, oga, aiff, amr
- /// - image: png, jpg, jpeg, jfif, heic, heif, webp, avif, jp2, tiff, tif, bmp
+ /// - image: png, jpg, jpeg, jpe, jfif, heic, heif, webp, avif, jp2, tiff, tif, bmp
/// - gif: gif, webp, webm
/// > Note: `gif` is only supported for face swap API `video_file_path` field.
/// Once you receive an upload URL, send a `PUT` request to upload the file directly.
diff --git a/src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.AiUgcAdCreateVideo.g.cs b/src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.AiUgcAdCreateVideo.g.cs index 53adb8d..143b5a7 100644 --- a/src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.AiUgcAdCreateVideo.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.IVideoProjectsClient.AiUgcAdCreateVideo.g.cs @@ -73,10 +73,10 @@ public partial interface IVideoProjectsClient /// /// /// The words the actor should speak. Character limits apply after trimming:
- /// * kling-3.0: 2500 characters.
+ /// * kling-3.0: 2304 characters.
/// * ltx-2.5: 1804 characters.
/// * veo3.1: 2500 characters.
- /// LTX's dialogue wrapper counts toward its model prompt limit.
+ /// LTX and Kling dialogue wrappers count toward their model prompt limit.
/// Example: Meet your new everyday essential. /// /// diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequest.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequest.g.cs index ff89a0b..6ebf491 100644 --- a/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequest.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.Models.AiUgcAdCreateVideoRequest.g.cs @@ -17,10 +17,10 @@ public sealed partial class AiUgcAdCreateVideoRequest /// /// The words the actor should speak. Character limits apply after trimming:
- /// * kling-3.0: 2500 characters.
+ /// * kling-3.0: 2304 characters.
/// * ltx-2.5: 1804 characters.
/// * veo3.1: 2500 characters.
- /// LTX's dialogue wrapper counts toward its model prompt limit.
+ /// LTX and Kling dialogue wrappers count toward their model prompt limit.
/// Example: Meet your new everyday essential. ///
/// Meet your new everyday essential. @@ -67,10 +67,10 @@ public sealed partial class AiUgcAdCreateVideoRequest /// /// /// The words the actor should speak. Character limits apply after trimming:
- /// * kling-3.0: 2500 characters.
+ /// * kling-3.0: 2304 characters.
/// * ltx-2.5: 1804 characters.
/// * veo3.1: 2500 characters.
- /// LTX's dialogue wrapper counts toward its model prompt limit.
+ /// LTX and Kling dialogue wrappers count toward their model prompt limit.
/// Example: Meet your new everyday essential. /// /// diff --git a/src/libs/MagicHour/Generated/MagicHour.Models.VideoAssetsGeneratePresignedUrlRequestItem.g.cs b/src/libs/MagicHour/Generated/MagicHour.Models.VideoAssetsGeneratePresignedUrlRequestItem.g.cs index 4c8aba1..bceb49c 100644 --- a/src/libs/MagicHour/Generated/MagicHour.Models.VideoAssetsGeneratePresignedUrlRequestItem.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.Models.VideoAssetsGeneratePresignedUrlRequestItem.g.cs @@ -19,7 +19,7 @@ public sealed partial class VideoAssetsGeneratePresignedUrlRequestItem public required global::MagicHour.VideoAssetsGeneratePresignedUrlRequestItemType Type { get; set; } /// - /// The extension of the file to upload. Do not include the dot (.) before the extension. Possible extensions are mp4,m4v,mov,webm,mp3,wav,aac,flac,webm,weba,m4a,opus,ogg,oga,aiff,amr,png,jpg,jpeg,jfif,heic,heif,webp,avif,jp2,tiff,tif,bmp,gif,webp,webm
+ /// The extension of the file to upload. Do not include the dot (.) before the extension. Possible extensions are mp4,m4v,mov,webm,mp3,wav,aac,flac,webm,weba,m4a,opus,ogg,oga,aiff,amr,png,jpg,jpeg,jpe,jfif,heic,heif,webp,avif,jp2,tiff,tif,bmp,gif,webp,webm
/// Example: mp4 ///
/// mp4 @@ -41,7 +41,7 @@ public sealed partial class VideoAssetsGeneratePresignedUrlRequestItem /// Example: video /// /// - /// The extension of the file to upload. Do not include the dot (.) before the extension. Possible extensions are mp4,m4v,mov,webm,mp3,wav,aac,flac,webm,weba,m4a,opus,ogg,oga,aiff,amr,png,jpg,jpeg,jfif,heic,heif,webp,avif,jp2,tiff,tif,bmp,gif,webp,webm
+ /// The extension of the file to upload. Do not include the dot (.) before the extension. Possible extensions are mp4,m4v,mov,webm,mp3,wav,aac,flac,webm,weba,m4a,opus,ogg,oga,aiff,amr,png,jpg,jpeg,jpe,jfif,heic,heif,webp,avif,jp2,tiff,tif,bmp,gif,webp,webm
/// Example: mp4 /// #if NET7_0_OR_GREATER diff --git a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiUgcAdCreateVideo.g.cs b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiUgcAdCreateVideo.g.cs index 35db051..e5eaafa 100644 --- a/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiUgcAdCreateVideo.g.cs +++ b/src/libs/MagicHour/Generated/MagicHour.VideoProjectsClient.AiUgcAdCreateVideo.g.cs @@ -698,10 +698,10 @@ partial void ProcessAiUgcAdCreateVideoResponseContent( /// /// /// The words the actor should speak. Character limits apply after trimming:
- /// * kling-3.0: 2500 characters.
+ /// * kling-3.0: 2304 characters.
/// * ltx-2.5: 1804 characters.
/// * veo3.1: 2500 characters.
- /// LTX's dialogue wrapper counts toward its model prompt limit.
+ /// LTX and Kling dialogue wrappers count toward their model prompt limit.
/// Example: Meet your new everyday essential. /// /// diff --git a/src/libs/MagicHour/openapi.yaml b/src/libs/MagicHour/openapi.yaml index 8f56e07..134c5c7 100644 --- a/src/libs/MagicHour/openapi.yaml +++ b/src/libs/MagicHour/openapi.yaml @@ -417,7 +417,7 @@ }, "/v1/files/upload-urls": { "post": { - "description": "Generates a list of pre-signed upload URLs for the assets required. This API is only necessary if you want to upload to Magic Hour's storage. Refer to the [Input Files Guide](https://docs.magichour.ai/integration/inputs-and-outputs) for more details.\n\nThe response array will match the order of items in the request body.\n\n**Valid file extensions per asset type**:\n- video: mp4, m4v, mov, webm\n- audio: mp3, wav, aac, flac, webm, weba, m4a, opus, ogg, oga, aiff, amr\n- image: png, jpg, jpeg, jfif, heic, heif, webp, avif, jp2, tiff, tif, bmp\n- gif: gif, webp, webm\n\n> Note: `gif` is only supported for face swap API `video_file_path` field.\n\nOnce you receive an upload URL, send a `PUT` request to upload the file directly.\n\nExample:\n\n```\ncurl -X PUT --data '@/path/to/file/video.mp4' \\\n https://videos.magichour.ai/api-assets/id/video.mp4?\n```\n", + "description": "Generates a list of pre-signed upload URLs for the assets required. This API is only necessary if you want to upload to Magic Hour's storage. Refer to the [Input Files Guide](https://docs.magichour.ai/integration/inputs-and-outputs) for more details.\n\nThe response array will match the order of items in the request body.\n\n**Valid file extensions per asset type**:\n- video: mp4, m4v, mov, webm\n- audio: mp3, wav, aac, flac, webm, weba, m4a, opus, ogg, oga, aiff, amr\n- image: png, jpg, jpeg, jpe, jfif, heic, heif, webp, avif, jp2, tiff, tif, bmp\n- gif: gif, webp, webm\n\n> Note: `gif` is only supported for face swap API `video_file_path` field.\n\nOnce you receive an upload URL, send a `PUT` request to upload the file directly.\n\nExample:\n\n```\ncurl -X PUT --data '@/path/to/file/video.mp4' \\\n https://videos.magichour.ai/api-assets/id/video.mp4?\n```\n", "summary": "Generate asset upload urls", "tags": ["Files"], "parameters": [], @@ -444,7 +444,7 @@ "extension": { "type": "string", "pattern": "^[a-z0-9]+$", - "description": "The extension of the file to upload. Do not include the dot (.) before the extension. Possible extensions are mp4,m4v,mov,webm,mp3,wav,aac,flac,webm,weba,m4a,opus,ogg,oga,aiff,amr,png,jpg,jpeg,jfif,heic,heif,webp,avif,jp2,tiff,tif,bmp,gif,webp,webm", + "description": "The extension of the file to upload. Do not include the dot (.) before the extension. Possible extensions are mp4,m4v,mov,webm,mp3,wav,aac,flac,webm,weba,m4a,opus,ogg,oga,aiff,amr,png,jpg,jpeg,jpe,jfif,heic,heif,webp,avif,jp2,tiff,tif,bmp,gif,webp,webm", "example": "mp4" } }, @@ -1854,7 +1854,7 @@ "script": { "type": "string", "minLength": 1, - "description": "The words the actor should speak. Character limits apply after trimming:\n* kling-3.0: 2500 characters.\n* ltx-2.5: 1804 characters.\n* veo3.1: 2500 characters.\nLTX's dialogue wrapper counts toward its model prompt limit.", + "description": "The words the actor should speak. Character limits apply after trimming:\n* kling-3.0: 2304 characters.\n* ltx-2.5: 1804 characters.\n* veo3.1: 2500 characters.\nLTX and Kling dialogue wrappers count toward their model prompt limit.", "example": "Meet your new everyday essential." }, "end_seconds": {