Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error generating image: Error: Invalid version. It must be in the format "owner/name:version" #150

Open
arnaudmg opened this issue Sep 13, 2024 · 3 comments

Comments

@arnaudmg
Copy link

arnaudmg commented Sep 13, 2024

Any help?

    const output = await replicate.run(
      "black-forest-labs/flux-dev",
      { input }
    );
@joel-wa
Copy link

joel-wa commented Oct 11, 2024

Still nothing?

@geronimi73
Copy link

Any help?

does this work?

const input = {
  prompt: "black forest gateau cake spelling out the words \"FLUX DEV\", tasty, food photography, dynamic shot",
  go_fast: true,
  guidance: 3.5,
  megapixels: "1",
  num_outputs: 1,
  aspect_ratio: "1:1",
  output_format: "webp",
  output_quality: 80,
  prompt_strength: 0.8,
  num_inference_steps: 28
};

const output = await replicate.run("black-forest-labs/flux-dev", { input });

that's their minimal example, see https://replicate.com/black-forest-labs/flux-dev?input=nodejs

If above does not work, you should contact Replicate (and not bfl). I'm using flux-dev on Replicate all the time and it works for me.

@willylatorre
Copy link

Hey, it did happen to me. The problem is that npm i replicate throws the wrong version 0.18.1. Use npm i replicate@latest and it's okay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants