magic-hour 0.39.0 → 0.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  export declare enum Environment {
2
2
  Environment = "https://api.magichour.ai",
3
- MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.38.0"
3
+ MockServer = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.39.1"
4
4
  }
@@ -4,5 +4,5 @@ exports.Environment = void 0;
4
4
  var Environment;
5
5
  (function (Environment) {
6
6
  Environment["Environment"] = "https://api.magichour.ai";
7
- Environment["MockServer"] = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.38.0";
7
+ Environment["MockServer"] = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.39.1";
8
8
  })(Environment || (exports.Environment = Environment = {}));
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * V1VideoToVideoCreateBodyStyleArtStyleEnum
3
3
  */
4
- export type V1VideoToVideoCreateBodyStyleArtStyleEnum = "3D Render" | "Airbender" | "Android" | "Anime Warrior" | "Armored Knight" | "Assassin's Creed" | "Avatar" | "Black Spiderman" | "Boba Fett" | "Celestial Skin" | "Chinese Swordsmen" | "Clay" | "Comic" | "Cyberpunk" | "Cypher" | "Dark Fantasy" | "Dragonball Z" | "Future Bot" | "Futuristic Fantasy" | "GTA" | "Ghost" | "Gundam" | "Hologram" | "Illustration" | "Impressionism" | "Ink" | "Ink Poster" | "Jinx" | "Knight" | "Lego" | "Link" | "Marble" | "Mario" | "Master Chief" | "Mech" | "Minecraft" | "Mystique" | "Naruto" | "Neon Dream" | "No Art Style" | "Oil Painting" | "On Fire" | "Origami" | "Pixar" | "Pixel" | "Power Armor" | "Power Ranger" | "Retro Anime" | "Retro Sci-Fi" | "Samurai" | "Samurai Bot" | "Solid Snake" | "Spartan" | "Starfield" | "Street Fighter" | "Studio Ghibli" | "Sub-Zero" | "The Void" | "Tomb Raider" | "Underwater" | "Van Gogh" | "Viking" | "Watercolor" | "Wu Kong" | "Zelda";
4
+ export type V1VideoToVideoCreateBodyStyleArtStyleEnum = "3D Render" | "Airbender" | "Android" | "Anime Warrior" | "Armored Knight" | "Assassin's Creed" | "Avatar" | "Black Spiderman" | "Boba Fett" | "Celestial Skin" | "Chinese Swordsmen" | "Clay" | "Comic" | "Cyberpunk" | "Cypher" | "Dark Fantasy" | "Dragonball Z" | "Future Bot" | "Futuristic Fantasy" | "GTA" | "Ghost" | "Gundam" | "Hologram" | "Illustration" | "Impressionism" | "Ink" | "Ink Poster" | "Jinx" | "Knight" | "Lego" | "Link" | "Marble" | "Mario" | "Master Chief" | "Mech" | "Minecraft" | "Mystique" | "Naruto" | "Neon Dream" | "No Art Style" | "Oil Painting" | "On Fire" | "Origami" | "Painterly Anime" | "Pixar" | "Pixel" | "Power Armor" | "Power Ranger" | "Retro Anime" | "Retro Sci-Fi" | "Samurai" | "Samurai Bot" | "Solid Snake" | "Spartan" | "Starfield" | "Street Fighter" | "Studio Ghibli" | "Sub-Zero" | "The Void" | "Tomb Raider" | "Underwater" | "Van Gogh" | "Viking" | "Watercolor" | "Wu Kong" | "Zelda";
@@ -3,7 +3,7 @@ import * as z from "zod";
3
3
  * V1VideoToVideoCreateBodyStyle
4
4
  */
5
5
  export type V1VideoToVideoCreateBodyStyle = {
6
- artStyle: "3D Render" | "Airbender" | "Android" | "Anime Warrior" | "Armored Knight" | "Assassin's Creed" | "Avatar" | "Black Spiderman" | "Boba Fett" | "Celestial Skin" | "Chinese Swordsmen" | "Clay" | "Comic" | "Cyberpunk" | "Cypher" | "Dark Fantasy" | "Dragonball Z" | "Future Bot" | "Futuristic Fantasy" | "GTA" | "Ghost" | "Gundam" | "Hologram" | "Illustration" | "Impressionism" | "Ink" | "Ink Poster" | "Jinx" | "Knight" | "Lego" | "Link" | "Marble" | "Mario" | "Master Chief" | "Mech" | "Minecraft" | "Mystique" | "Naruto" | "Neon Dream" | "No Art Style" | "Oil Painting" | "On Fire" | "Origami" | "Pixar" | "Pixel" | "Power Armor" | "Power Ranger" | "Retro Anime" | "Retro Sci-Fi" | "Samurai" | "Samurai Bot" | "Solid Snake" | "Spartan" | "Starfield" | "Street Fighter" | "Studio Ghibli" | "Sub-Zero" | "The Void" | "Tomb Raider" | "Underwater" | "Van Gogh" | "Viking" | "Watercolor" | "Wu Kong" | "Zelda";
6
+ artStyle: "3D Render" | "Airbender" | "Android" | "Anime Warrior" | "Armored Knight" | "Assassin's Creed" | "Avatar" | "Black Spiderman" | "Boba Fett" | "Celestial Skin" | "Chinese Swordsmen" | "Clay" | "Comic" | "Cyberpunk" | "Cypher" | "Dark Fantasy" | "Dragonball Z" | "Future Bot" | "Futuristic Fantasy" | "GTA" | "Ghost" | "Gundam" | "Hologram" | "Illustration" | "Impressionism" | "Ink" | "Ink Poster" | "Jinx" | "Knight" | "Lego" | "Link" | "Marble" | "Mario" | "Master Chief" | "Mech" | "Minecraft" | "Mystique" | "Naruto" | "Neon Dream" | "No Art Style" | "Oil Painting" | "On Fire" | "Origami" | "Painterly Anime" | "Pixar" | "Pixel" | "Power Armor" | "Power Ranger" | "Retro Anime" | "Retro Sci-Fi" | "Samurai" | "Samurai Bot" | "Solid Snake" | "Spartan" | "Starfield" | "Street Fighter" | "Studio Ghibli" | "Sub-Zero" | "The Void" | "Tomb Raider" | "Underwater" | "Van Gogh" | "Viking" | "Watercolor" | "Wu Kong" | "Zelda";
7
7
  /**
8
8
  * * `Dreamshaper` - a good all-around model that works for both animations as well as realism.
9
9
  * * `Absolute Reality` - better at realism, but you'll often get similar results with Dreamshaper as well.
@@ -34,7 +34,7 @@ export type V1VideoToVideoCreateBodyStyle = {
34
34
  * we expect to come in as network data
35
35
  */
36
36
  export type External$V1VideoToVideoCreateBodyStyle = {
37
- art_style: "3D Render" | "Airbender" | "Android" | "Anime Warrior" | "Armored Knight" | "Assassin's Creed" | "Avatar" | "Black Spiderman" | "Boba Fett" | "Celestial Skin" | "Chinese Swordsmen" | "Clay" | "Comic" | "Cyberpunk" | "Cypher" | "Dark Fantasy" | "Dragonball Z" | "Future Bot" | "Futuristic Fantasy" | "GTA" | "Ghost" | "Gundam" | "Hologram" | "Illustration" | "Impressionism" | "Ink" | "Ink Poster" | "Jinx" | "Knight" | "Lego" | "Link" | "Marble" | "Mario" | "Master Chief" | "Mech" | "Minecraft" | "Mystique" | "Naruto" | "Neon Dream" | "No Art Style" | "Oil Painting" | "On Fire" | "Origami" | "Pixar" | "Pixel" | "Power Armor" | "Power Ranger" | "Retro Anime" | "Retro Sci-Fi" | "Samurai" | "Samurai Bot" | "Solid Snake" | "Spartan" | "Starfield" | "Street Fighter" | "Studio Ghibli" | "Sub-Zero" | "The Void" | "Tomb Raider" | "Underwater" | "Van Gogh" | "Viking" | "Watercolor" | "Wu Kong" | "Zelda";
37
+ art_style: "3D Render" | "Airbender" | "Android" | "Anime Warrior" | "Armored Knight" | "Assassin's Creed" | "Avatar" | "Black Spiderman" | "Boba Fett" | "Celestial Skin" | "Chinese Swordsmen" | "Clay" | "Comic" | "Cyberpunk" | "Cypher" | "Dark Fantasy" | "Dragonball Z" | "Future Bot" | "Futuristic Fantasy" | "GTA" | "Ghost" | "Gundam" | "Hologram" | "Illustration" | "Impressionism" | "Ink" | "Ink Poster" | "Jinx" | "Knight" | "Lego" | "Link" | "Marble" | "Mario" | "Master Chief" | "Mech" | "Minecraft" | "Mystique" | "Naruto" | "Neon Dream" | "No Art Style" | "Oil Painting" | "On Fire" | "Origami" | "Painterly Anime" | "Pixar" | "Pixel" | "Power Armor" | "Power Ranger" | "Retro Anime" | "Retro Sci-Fi" | "Samurai" | "Samurai Bot" | "Solid Snake" | "Spartan" | "Starfield" | "Street Fighter" | "Studio Ghibli" | "Sub-Zero" | "The Void" | "Tomb Raider" | "Underwater" | "Van Gogh" | "Viking" | "Watercolor" | "Wu Kong" | "Zelda";
38
38
  model: "Absolute Reality" | "Dreamshaper" | "Flat 2D Anime" | "default";
39
39
  prompt: string | null;
40
40
  prompt_type: "append_default" | "custom" | "default";
@@ -85,6 +85,7 @@ const SchemaIn$V1VideoToVideoCreateBodyStyle = z
85
85
  "Oil Painting",
86
86
  "On Fire",
87
87
  "Origami",
88
+ "Painterly Anime",
88
89
  "Pixar",
89
90
  "Pixel",
90
91
  "Power Armor",
@@ -177,6 +178,7 @@ const SchemaOut$V1VideoToVideoCreateBodyStyle = z
177
178
  "Oil Painting",
178
179
  "On Fire",
179
180
  "Origami",
181
+ "Painterly Anime",
180
182
  "Pixar",
181
183
  "Pixel",
182
184
  "Power Armor",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-hour",
3
- "version": "0.39.0",
3
+ "version": "0.40.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {
@@ -34,15 +34,16 @@
34
34
  "@types/jest": "^29.5.14",
35
35
  "@types/node": "17.0.33",
36
36
  "@types/node-fetch": "2.6.9",
37
+ "@types/qs": "6.9.8",
38
+ "@types/url-join": "4.0.1",
37
39
  "jest": "^29.7.0",
38
40
  "msw": "^2.10.5",
41
+ "prettier": "^3.6.2",
39
42
  "ts-jest": "^29.2.5",
40
43
  "ts-morph": "^26.0.0",
41
44
  "ts-node": "^10.9.2",
42
45
  "tsc-alias": "^1.8.10",
43
- "typescript": "^5.2.0",
44
- "@types/qs": "6.9.8",
45
- "@types/url-join": "4.0.1"
46
+ "typescript": "^5.2.0"
46
47
  },
47
48
  "bugs": "https://github.com/magichourhq/magic-hour-node/issues",
48
49
  "description": "Node SDK for Magic Hour API",