black-forest-labs / flux

Official inference repo for FLUX.1 models
Apache License 2.0
15.34k stars 1.1k forks source link

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

Open arnaudmg opened 1 month ago

arnaudmg commented 1 month ago

Any help?

    const output = await replicate.run(
      "black-forest-labs/flux-dev",
      { input }
    );
joel-wa commented 2 weeks ago

Still nothing?

geronimi73 commented 2 weeks ago

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.