@tradalab/mediakit 2.4.0 → 2.6.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.
Binary file
package/dist/recipe.d.ts CHANGED
@@ -57,6 +57,8 @@ interface Effects {
57
57
  vibrance: number;
58
58
  /** Film grain, 0..1. Noise costs encoder bits: keep it low on a live stream. */
59
59
  grain: number;
60
+ /** Unsharp mask over the whole frame, 0..1; eased on skin while `beautify` smooths it. */
61
+ sharpen: number;
60
62
  /** Keep the person framed. Needs the person mask. */
61
63
  autoframe: boolean;
62
64
  /** Teeth whitening, 0..1. */
@@ -99,6 +101,9 @@ interface Effects {
99
101
  skinLight: number;
100
102
  /** Local contrast on the face. */
101
103
  clarity: number;
104
+ /** Hair dye, 0..1, strands and shading kept. Needs `/mediakit/selfie_multiclass_256x256.tflite`. */
105
+ hair: number;
106
+ hairColor: Rgb;
102
107
  /** Where smoothing may land. See {@link SkinScope}. */
103
108
  skinScope: SkinScope;
104
109
  /**
@@ -286,6 +291,7 @@ interface CoreRecipe {
286
291
  tint: number;
287
292
  vibrance: number;
288
293
  grain: number;
294
+ sharpen: number;
289
295
  autoframe: boolean;
290
296
  teeth: number;
291
297
  eyeBright: number;
@@ -305,6 +311,8 @@ interface CoreRecipe {
305
311
  whiten: number;
306
312
  skinLight: number;
307
313
  clarity: number;
314
+ hair: number;
315
+ hairColor: Rgb;
308
316
  skinScope: number;
309
317
  grade: number;
310
318
  gradeScope: number;
package/dist/recipe.js CHANGED
@@ -20,7 +20,7 @@ import {
20
20
  normalizeEffects,
21
21
  touchUp,
22
22
  touchUpAmount
23
- } from "./chunk-YW75KJJO.js";
23
+ } from "./chunk-RWUGOTNJ.js";
24
24
  export {
25
25
  DEBUG_VIEWS,
26
26
  EFFECTS_SCHEMA,