erictik / midjourney-api

MidJourney client. Unofficial Node.js client
Apache License 2.0
1.65k stars 271 forks source link

how to use Vary (Strong) #184

Closed xiaoqixiaoqi1113 closed 1 year ago

xiaoqixiaoqi1113 commented 1 year ago

image 有什么方法可以选择这两个选项吗

zcpua commented 1 year ago

158 same issue

xiaoqixiaoqi1113 commented 1 year ago

158 same issue

I didn't find information about the Vary(Strong) and Vary(Subtle) options

zcpua commented 1 year ago

https://github.com/erictik/midjourney-api/blob/main/example/customzoom.ts#L48C1-L62C6

const vary = Upscale?.options?.find((o) => o.label === "Vary (Strong)");
 const msg = await client.Custom({
    msgId: <string>Upscale.id,
    flags: Upscale.flags,
    content: `prompt,
    customId: vary.custom,
    loading: (uri: string, progress: string) => {
      console.log("loading", uri, "progress", progress);
    },
  });
xiaoqixiaoqi1113 commented 1 year ago

https://github.com/erictik/midjourney-api/blob/main/example/customzoom.ts#L48C1-L62C6

const vary = Upscale?.options?.find((o) => o.label === "Vary(Strong)");
 const msg = await client.Custom({
    msgId: <string>Upscale.id,
    flags: Upscale.flags,
    content: `prompt,
    customId: vary.custom,
    loading: (uri: string, progress: string) => {
      console.log("loading", uri, "progress", progress);
    },
  });

Can I use all of the above options in this way Including Zoom Out...

zcpua commented 1 year ago

Of course it's okay. U and V are also ok.

xiaoqixiaoqi1113 commented 1 year ago

Of course it's okay. U and V are also ok.

Of course it's okay. U and V are also ok.

But I see that the option (custom Zoom) seems to be setting the content to "xxx -- Zoom xx". Is this a mandatory setting? And (Zoom Out) do you want to configure the level to 2X or 1.5X?

zcpua commented 1 year ago

same as MidJourney

xiaoqixiaoqi1113 commented 1 year ago

same as MidJourney

I see what you mean, I will try to use it now, thank you for your answer