s-henmind/shoes_model_change

Public
101 runs

Input

Run this model in Node.js with one line of code:

npx create-replicate --model=s-henmind/shoes_model_change
or set up a project from scratch
npm install replicate
Set the REPLICATE_API_TOKEN environment variable:
export REPLICATE_API_TOKEN=<paste-your-token-here>

Find your API token in your account settings.

Import and set up the client:
import Replicate from "replicate";

const replicate = new Replicate({
  auth: process.env.REPLICATE_API_TOKEN,
});

Run s-henmind/shoes_model_change using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

const output = await replicate.run(
  "s-henmind/shoes_model_change:bedf31f7a2608c379af459d9d7d34690059d7c5a4762be86670cebd2e3d36dba",
  {
    input: {
      seed: 0,
      prompt: "4k textures, highly detailed, a woman with long hair standing in a cozy living room. Her hands are both covered by sleeves. The background features a large window showcasing a serene garden view",
      num_images: 1,
      negative_prompt: "unsuitable, nude, watermark, glitch, noise, bad, drawing, painting, crayon, sketch, graphite, impressionist, noisy, blurry, soft, deformed, ugly, worst quality,low quality, glare"
    }
  }
);

console.log(output);

To learn more, take a look at the guide on getting started with Node.js.

Output

No output yet! Press "Submit" to start a prediction.

Run time and cost

This model runs on Nvidia L40S GPU hardware. We don't yet have enough runs of this model to provide performance information.

Readme

This model doesn't have a readme.