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 .sdk.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "c20a3b55-a5e2-4757-a7f4-0599e8717638",
"id": "1cecda9f-b0c2-4570-9836-723b8349b572",
"tracked_paths": [
{
"editable": true,
Expand Down
2 changes: 1 addition & 1 deletion src/environment.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export enum Environment {
Environment = "https://api.magichour.ai",
MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.73.0",
MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.74.0",
}
32 changes: 16 additions & 16 deletions src/resources/v1/image-to-video/README.md

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions src/resources/v1/image-to-video/request-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export type CreateRequest = {
* * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled
* * **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio
* * **`seedance-2.0`**: Toggle-able: no additional credits for audio
* * **`seedance-2.5`**: Toggle-able: no additional credits for audio
* * **`sora-2`**: Toggle-able: no additional credits for audio
*
*/
Expand All @@ -47,6 +48,7 @@ export type CreateRequest = {
* * **`seedance-1.5`**: 4, 5, 6, 7, 8, 9, 10, 11, 12
* * **`seedance-2.0-mini`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
* * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
* * **`seedance-2.5`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
* * **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
*
*/
Expand All @@ -69,6 +71,7 @@ export type CreateRequest = {
* * `seedance-1.5`: Smooth, consistent motion with precision.
* * `seedance-2.0-mini`: Fast, consistent video with strong motion quality
* * `seedance-2.0`: Top quality with reference-to-video control.
* * `seedance-2.5`: Highest quality with superior realism, detail, and motion
* * `sora-2`: Open AI's model. Great for creativity and viral clips.
*
* If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
Expand All @@ -86,6 +89,7 @@ export type CreateRequest = {
| "seedance-1.5"
| "seedance-2.0"
| "seedance-2.0-mini"
| "seedance-2.5"
| "sora-2"
| "veo3.1"
| "veo3.1-audio"
Expand All @@ -108,6 +112,7 @@ export type CreateRequest = {
* * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
* * **`seedance-2.0-mini`**: Supports 480p, 720p.
* * **`seedance-2.0`**: Supports 480p, 720p.
* * **`seedance-2.5`**: Supports 480p, 720p.
* * **`sora-2`**: Supports 720p.
*
*/
Expand Down Expand Up @@ -147,6 +152,7 @@ export type External$CreateRequest = {
| "seedance-1.5"
| "seedance-2.0"
| "seedance-2.0-mini"
| "seedance-2.5"
| "sora-2"
| "veo3.1"
| "veo3.1-audio"
Expand Down Expand Up @@ -186,6 +192,7 @@ const SchemaIn$CreateRequest: z.ZodType<
"seedance-1.5",
"seedance-2.0",
"seedance-2.0-mini",
"seedance-2.5",
"sora-2",
"veo3.1",
"veo3.1-audio",
Expand Down Expand Up @@ -239,6 +246,7 @@ const SchemaOut$CreateRequest: z.ZodType<
"seedance-1.5",
"seedance-2.0",
"seedance-2.0-mini",
"seedance-2.5",
"sora-2",
"veo3.1",
"veo3.1-audio",
Expand Down
24 changes: 12 additions & 12 deletions src/resources/v1/text-to-video/README.md

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions src/resources/v1/text-to-video/request-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export type CreateRequest = {
* * **`seedance-1.5`**: Supports 9:16, 16:9, 1:1.
* * **`seedance-2.0-mini`**: Supports 9:16, 16:9, 1:1.
* * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
* * **`seedance-2.5`**: Supports 9:16, 16:9, 1:1.
* * **`sora-2`**: Supports 9:16, 16:9.
*
*/
Expand All @@ -38,6 +39,7 @@ export type CreateRequest = {
* * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled
* * **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio
* * **`seedance-2.0`**: Toggle-able: no additional credits for audio
* * **`seedance-2.5`**: Toggle-able: no additional credits for audio
* * **`sora-2`**: Toggle-able: no additional credits for audio
*
*/
Expand All @@ -53,6 +55,7 @@ export type CreateRequest = {
* * **`seedance-1.5`**: 4, 5, 6, 7, 8, 9, 10, 11, 12
* * **`seedance-2.0-mini`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
* * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
* * **`seedance-2.5`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
* * **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
*
*/
Expand All @@ -69,6 +72,7 @@ export type CreateRequest = {
* * `seedance-1.5`: Smooth, consistent motion with precision.
* * `seedance-2.0-mini`: Fast, consistent video with strong motion quality
* * `seedance-2.0`: Top quality with reference-to-video control.
* * `seedance-2.5`: Highest quality with superior realism, detail, and motion
* * `sora-2`: Open AI's model. Great for creativity and viral clips.
*
* If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
Expand All @@ -86,6 +90,7 @@ export type CreateRequest = {
| "seedance-1.5"
| "seedance-2.0"
| "seedance-2.0-mini"
| "seedance-2.5"
| "sora-2"
| "veo3.1"
| "veo3.1-audio"
Expand All @@ -112,6 +117,7 @@ export type CreateRequest = {
* * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
* * **`seedance-2.0-mini`**: Supports 480p, 720p.
* * **`seedance-2.0`**: Supports 480p, 720p.
* * **`seedance-2.5`**: Supports 480p, 720p.
* * **`sora-2`**: Supports 720p.
*
*/
Expand Down Expand Up @@ -141,6 +147,7 @@ export type External$CreateRequest = {
| "seedance-1.5"
| "seedance-2.0"
| "seedance-2.0-mini"
| "seedance-2.5"
| "sora-2"
| "veo3.1"
| "veo3.1-audio"
Expand Down Expand Up @@ -179,6 +186,7 @@ const SchemaIn$CreateRequest: z.ZodType<
"seedance-1.5",
"seedance-2.0",
"seedance-2.0-mini",
"seedance-2.5",
"sora-2",
"veo3.1",
"veo3.1-audio",
Expand Down Expand Up @@ -230,6 +238,7 @@ const SchemaOut$CreateRequest: z.ZodType<
"seedance-1.5",
"seedance-2.0",
"seedance-2.0-mini",
"seedance-2.5",
"sora-2",
"veo3.1",
"veo3.1-audio",
Expand Down
2 changes: 1 addition & 1 deletion src/types/v1-image-projects-get-response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export type V1ImageProjectsGetResponse = {
*/
totalFrameCost: number;
/**
* The type of the image project. Possible values are FACE_EDITOR, AI_IMAGE_EDITOR, AI_SELFIE, AI_HEADSHOT, AI_INFLUENCER, AI_IMAGE, AI_MEME, CLOTHES_CHANGER, BACKGROUND_REMOVER, FACE_SWAP, IMAGE_UPSCALER, AI_GIF, QR_CODE, PHOTO_EDITOR, PHOTO_COLORIZER, HEAD_SWAP, BODY_SWAP, STORYBOARD, IMAGE_EXPANDER
* The type of the image project. Possible values are FACE_EDITOR, AI_IMAGE_EDITOR, AI_SELFIE, AI_HEADSHOT, AI_INFLUENCER, AI_IMAGE, AI_MEME, CLOTHES_CHANGER, BACKGROUND_REMOVER, FACE_SWAP, IMAGE_UPSCALER, IMAGE_ENHANCER, AI_GIF, QR_CODE, PHOTO_EDITOR, PHOTO_COLORIZER, HEAD_SWAP, BODY_SWAP, STORYBOARD, IMAGE_EXPANDER
*/
type: string;
};
Expand Down
1 change: 1 addition & 0 deletions src/types/v1-image-to-video-create-body-assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export type V1ImageToVideoCreateBodyAssets = {
* * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
* * **`seedance-2.0-mini`**: Supports 480p, 720p.
* * **`seedance-2.0`**: Supports 480p, 720p.
* * **`seedance-2.5`**: Supports 480p, 720p.
* * **`sora-2`**: Not supported
*
*/
Expand Down
2 changes: 2 additions & 0 deletions src/types/v1-image-to-video-create-body-model-enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* * `seedance-1.5`: Smooth, consistent motion with precision.
* * `seedance-2.0-mini`: Fast, consistent video with strong motion quality
* * `seedance-2.0`: Top quality with reference-to-video control.
* * `seedance-2.5`: Highest quality with superior realism, detail, and motion
* * `sora-2`: Open AI's model. Great for creativity and viral clips.
*
* If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
Expand All @@ -26,6 +27,7 @@ export type V1ImageToVideoCreateBodyModelEnum =
| "seedance-1.5"
| "seedance-2.0"
| "seedance-2.0-mini"
| "seedance-2.5"
| "sora-2"
| "veo3.1"
| "veo3.1-audio"
Expand Down
1 change: 1 addition & 0 deletions src/types/v1-image-to-video-create-body-resolution-enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
* * **`seedance-2.0-mini`**: Supports 480p, 720p.
* * **`seedance-2.0`**: Supports 480p, 720p.
* * **`seedance-2.5`**: Supports 480p, 720p.
* * **`sora-2`**: Supports 720p.
*
*/
Expand Down
8 changes: 8 additions & 0 deletions src/types/v1-image-to-video-create-body.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export type V1ImageToVideoCreateBody = {
* * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled
* * **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio
* * **`seedance-2.0`**: Toggle-able: no additional credits for audio
* * **`seedance-2.5`**: Toggle-able: no additional credits for audio
* * **`sora-2`**: Toggle-able: no additional credits for audio
*
*/
Expand All @@ -47,6 +48,7 @@ export type V1ImageToVideoCreateBody = {
* * **`seedance-1.5`**: 4, 5, 6, 7, 8, 9, 10, 11, 12
* * **`seedance-2.0-mini`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
* * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
* * **`seedance-2.5`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
* * **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
*
*/
Expand All @@ -69,6 +71,7 @@ export type V1ImageToVideoCreateBody = {
* * `seedance-1.5`: Smooth, consistent motion with precision.
* * `seedance-2.0-mini`: Fast, consistent video with strong motion quality
* * `seedance-2.0`: Top quality with reference-to-video control.
* * `seedance-2.5`: Highest quality with superior realism, detail, and motion
* * `sora-2`: Open AI's model. Great for creativity and viral clips.
*
* If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
Expand All @@ -86,6 +89,7 @@ export type V1ImageToVideoCreateBody = {
| "seedance-1.5"
| "seedance-2.0"
| "seedance-2.0-mini"
| "seedance-2.5"
| "sora-2"
| "veo3.1"
| "veo3.1-audio"
Expand All @@ -108,6 +112,7 @@ export type V1ImageToVideoCreateBody = {
* * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
* * **`seedance-2.0-mini`**: Supports 480p, 720p.
* * **`seedance-2.0`**: Supports 480p, 720p.
* * **`seedance-2.5`**: Supports 480p, 720p.
* * **`sora-2`**: Supports 720p.
*
*/
Expand Down Expand Up @@ -147,6 +152,7 @@ export type External$V1ImageToVideoCreateBody = {
| "seedance-1.5"
| "seedance-2.0"
| "seedance-2.0-mini"
| "seedance-2.5"
| "sora-2"
| "veo3.1"
| "veo3.1-audio"
Expand Down Expand Up @@ -186,6 +192,7 @@ const SchemaIn$V1ImageToVideoCreateBody: z.ZodType<
"seedance-1.5",
"seedance-2.0",
"seedance-2.0-mini",
"seedance-2.5",
"sora-2",
"veo3.1",
"veo3.1-audio",
Expand Down Expand Up @@ -239,6 +246,7 @@ const SchemaOut$V1ImageToVideoCreateBody: z.ZodType<
"seedance-1.5",
"seedance-2.0",
"seedance-2.0-mini",
"seedance-2.5",
"sora-2",
"veo3.1",
"veo3.1-audio",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* * **`seedance-1.5`**: Supports 9:16, 16:9, 1:1.
* * **`seedance-2.0-mini`**: Supports 9:16, 16:9, 1:1.
* * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
* * **`seedance-2.5`**: Supports 9:16, 16:9, 1:1.
* * **`sora-2`**: Supports 9:16, 16:9.
*
*/
Expand Down
2 changes: 2 additions & 0 deletions src/types/v1-text-to-video-create-body-model-enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* * `seedance-1.5`: Smooth, consistent motion with precision.
* * `seedance-2.0-mini`: Fast, consistent video with strong motion quality
* * `seedance-2.0`: Top quality with reference-to-video control.
* * `seedance-2.5`: Highest quality with superior realism, detail, and motion
* * `sora-2`: Open AI's model. Great for creativity and viral clips.
*
* If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
Expand All @@ -26,6 +27,7 @@ export type V1TextToVideoCreateBodyModelEnum =
| "seedance-1.5"
| "seedance-2.0"
| "seedance-2.0-mini"
| "seedance-2.5"
| "sora-2"
| "veo3.1"
| "veo3.1-audio"
Expand Down
1 change: 1 addition & 0 deletions src/types/v1-text-to-video-create-body-resolution-enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
* * **`seedance-2.0-mini`**: Supports 480p, 720p.
* * **`seedance-2.0`**: Supports 480p, 720p.
* * **`seedance-2.5`**: Supports 480p, 720p.
* * **`sora-2`**: Supports 720p.
*
*/
Expand Down
9 changes: 9 additions & 0 deletions src/types/v1-text-to-video-create-body.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export type V1TextToVideoCreateBody = {
* * **`seedance-1.5`**: Supports 9:16, 16:9, 1:1.
* * **`seedance-2.0-mini`**: Supports 9:16, 16:9, 1:1.
* * **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.
* * **`seedance-2.5`**: Supports 9:16, 16:9, 1:1.
* * **`sora-2`**: Supports 9:16, 16:9.
*
*/
Expand All @@ -38,6 +39,7 @@ export type V1TextToVideoCreateBody = {
* * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled
* * **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio
* * **`seedance-2.0`**: Toggle-able: no additional credits for audio
* * **`seedance-2.5`**: Toggle-able: no additional credits for audio
* * **`sora-2`**: Toggle-able: no additional credits for audio
*
*/
Expand All @@ -53,6 +55,7 @@ export type V1TextToVideoCreateBody = {
* * **`seedance-1.5`**: 4, 5, 6, 7, 8, 9, 10, 11, 12
* * **`seedance-2.0-mini`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
* * **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
* * **`seedance-2.5`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
* * **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
*
*/
Expand All @@ -69,6 +72,7 @@ export type V1TextToVideoCreateBody = {
* * `seedance-1.5`: Smooth, consistent motion with precision.
* * `seedance-2.0-mini`: Fast, consistent video with strong motion quality
* * `seedance-2.0`: Top quality with reference-to-video control.
* * `seedance-2.5`: Highest quality with superior realism, detail, and motion
* * `sora-2`: Open AI's model. Great for creativity and viral clips.
*
* If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
Expand All @@ -86,6 +90,7 @@ export type V1TextToVideoCreateBody = {
| "seedance-1.5"
| "seedance-2.0"
| "seedance-2.0-mini"
| "seedance-2.5"
| "sora-2"
| "veo3.1"
| "veo3.1-audio"
Expand All @@ -112,6 +117,7 @@ export type V1TextToVideoCreateBody = {
* * **`seedance-1.5`**: Supports 480p, 720p, 1080p.
* * **`seedance-2.0-mini`**: Supports 480p, 720p.
* * **`seedance-2.0`**: Supports 480p, 720p.
* * **`seedance-2.5`**: Supports 480p, 720p.
* * **`sora-2`**: Supports 720p.
*
*/
Expand Down Expand Up @@ -141,6 +147,7 @@ export type External$V1TextToVideoCreateBody = {
| "seedance-1.5"
| "seedance-2.0"
| "seedance-2.0-mini"
| "seedance-2.5"
| "sora-2"
| "veo3.1"
| "veo3.1-audio"
Expand Down Expand Up @@ -179,6 +186,7 @@ const SchemaIn$V1TextToVideoCreateBody: z.ZodType<
"seedance-1.5",
"seedance-2.0",
"seedance-2.0-mini",
"seedance-2.5",
"sora-2",
"veo3.1",
"veo3.1-audio",
Expand Down Expand Up @@ -230,6 +238,7 @@ const SchemaOut$V1TextToVideoCreateBody: z.ZodType<
"seedance-1.5",
"seedance-2.0",
"seedance-2.0-mini",
"seedance-2.5",
"sora-2",
"veo3.1",
"veo3.1-audio",
Expand Down
Loading