@sogni-ai/sogni-client 4.0.0-alpha.39 → 4.0.0-alpha.40

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [4.0.0-alpha.40](https://github.com/Sogni-AI/sogni-client/compare/v4.0.0-alpha.39...v4.0.0-alpha.40) (2026-01-06)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * res_multistep support in SupportedComfySamplers to fix support for z-image. /examples script enhancements ([332e7b1](https://github.com/Sogni-AI/sogni-client/commit/332e7b1280272e05c7d897de22edea61482f5b7c))
7
+
1
8
  # [4.0.0-alpha.39](https://github.com/Sogni-AI/sogni-client/compare/v4.0.0-alpha.38...v4.0.0-alpha.39) (2026-01-05)
2
9
 
3
10
 
@@ -200,7 +200,7 @@ declare class ProjectsApi extends ApiGroup<ProjectApiEvents> {
200
200
  * @param network
201
201
  */
202
202
  getAvailableModels(network: SupernetType): Promise<AvailableModel[]>;
203
- getSamplers(modelId: string): Promise<("euler" | "euler_ancestral" | "heun" | "dpmpp_2m" | "dpmpp_2m_sde" | "dpmpp_sde" | "dpmpp_3m_sde" | "uni_pc" | "lcm" | "lms" | "dpm_2" | "dpm_2_ancestral" | "dpm_fast" | "dpm_adaptive" | "dpmpp_2s_ancestral" | "ddpm" | "ddim" | "uni_pc_bh2")[] | ("euler" | "euler_ancestral" | "heun" | "dpmpp_2m" | "dpmpp_2m_sde" | "dpmpp_sde" | "dpmpp_3m_sde" | "uni_pc" | "lcm" | "lms" | "dpm_2" | "dpm_2_ancestral" | "dpm_fast" | "dpm_adaptive" | "dpmpp_2s_ancestral" | "ddpm" | "dfs_sd3" | "dpm_pp" | "dpm_pp_sde" | "dpm_pp_2m" | "euler_a" | "pndm_plms")[]>;
203
+ getSamplers(modelId: string): Promise<("euler" | "euler_ancestral" | "heun" | "dpmpp_2m" | "dpmpp_2m_sde" | "dpmpp_sde" | "dpmpp_3m_sde" | "uni_pc" | "lcm" | "lms" | "dpm_2" | "dpm_2_ancestral" | "dpm_fast" | "dpm_adaptive" | "dpmpp_2s_ancestral" | "ddpm" | "ddim" | "uni_pc_bh2" | "res_multistep" | "res_multistep_cfg_pp")[] | ("euler" | "euler_ancestral" | "heun" | "dpmpp_2m" | "dpmpp_2m_sde" | "dpmpp_sde" | "dpmpp_3m_sde" | "uni_pc" | "lcm" | "lms" | "dpm_2" | "dpm_2_ancestral" | "dpm_fast" | "dpm_adaptive" | "dpmpp_2s_ancestral" | "ddpm" | "dfs_sd3" | "dpm_pp" | "dpm_pp_sde" | "dpm_pp_2m" | "euler_a" | "pndm_plms")[]>;
204
204
  getSchedulers(modelId: string): Promise<("simple" | "normal" | "karras" | "exponential" | "sgm_uniform" | "ddim_uniform" | "beta" | "linear_quadratic" | "kl_optimal" | "ddim" | "leading" | "linear")[]>;
205
205
  }
206
206
  export default ProjectsApi;
@@ -21,6 +21,8 @@ export declare const SupportedComfySamplers: {
21
21
  ddpm: string;
22
22
  ddim: string;
23
23
  uni_pc_bh2: string;
24
+ res_multistep: string;
25
+ res_multistep_cfg_pp: string;
24
26
  };
25
27
  export declare function isComfySampler(sampler: string): sampler is ComfySampler;
26
28
  export type ComfySampler = keyof typeof SupportedComfySamplers;
@@ -25,7 +25,10 @@ exports.SupportedComfySamplers = {
25
25
  dpmpp_2s_ancestral: 'dpmpp_2s_ancestral',
26
26
  ddpm: 'ddpm',
27
27
  ddim: 'ddim',
28
- uni_pc_bh2: 'uni_pc_bh2'
28
+ uni_pc_bh2: 'uni_pc_bh2',
29
+ // Z-Image specific samplers
30
+ res_multistep: 'res_multistep',
31
+ res_multistep_cfg_pp: 'res_multistep_cfg_pp'
29
32
  };
30
33
  function isComfySampler(sampler) {
31
34
  return sampler in exports.SupportedComfySamplers;
@@ -1 +1 @@
1
- {"version":3,"file":"ComfySamplerParams.js","sourceRoot":"","sources":["../../../src/Projects/types/ComfySamplerParams.ts"],"names":[],"mappings":";;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BAA4B;IAC5B,aAAa,EAAE,eAAe;IAC9B,oBAAoB,EAAE,sBAAsB;CAC7C,CAAC;AAEF,SAAgB,cAAc,CAAC,OAAe;IAC5C,OAAO,OAAO,IAAI,8BAAsB,CAAC;AAC3C,CAAC"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "4.0.0-alpha.39",
6
+ "version": "4.0.0-alpha.40",
7
7
  "description": "Sogni Supernet Client",
8
8
  "main": "dist/index.js",
9
9
  "types": "dist/index.d.ts",
@@ -21,7 +21,10 @@ export const SupportedComfySamplers = {
21
21
  dpmpp_2s_ancestral: 'dpmpp_2s_ancestral',
22
22
  ddpm: 'ddpm',
23
23
  ddim: 'ddim',
24
- uni_pc_bh2: 'uni_pc_bh2'
24
+ uni_pc_bh2: 'uni_pc_bh2',
25
+ // Z-Image specific samplers
26
+ res_multistep: 'res_multistep',
27
+ res_multistep_cfg_pp: 'res_multistep_cfg_pp'
25
28
  };
26
29
 
27
30
  export function isComfySampler(sampler: string): sampler is ComfySampler {