magic-hour 0.4.0 → 0.5.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.
@@ -25,4 +25,8 @@ export declare type PostV1AiPhotoEditorBodyStyle = {
25
25
  * Determines the prompt's influence. Higher values align the output more with the prompt.
26
26
  */
27
27
  prompt_strength: number;
28
+ /**
29
+ * Number of iterations used to generate the output. Higher values improve quality and increase the strength of the prompt but increase processing time.
30
+ */
31
+ steps?: number;
28
32
  };
@@ -19,8 +19,8 @@ export declare type PostV1AiPhotoEditorBody = {
19
19
  */
20
20
  resolution: number;
21
21
  /**
22
- * Number of iterations used to generate the output. Higher values improve quality and increase the strength of the prompt but increase processing time.
22
+ * Deprecated: Please use `.style.steps` instead. Number of iterations used to generate the output. Higher values improve quality and increase the strength of the prompt but increase processing time.
23
23
  */
24
- steps: number;
24
+ steps?: number;
25
25
  style: types.PostV1AiPhotoEditorBodyStyle;
26
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-hour",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {