bfirsh
/
hello-world
Prefixes text with "hello"
- Public
- 56.9K runs
-
CPU
Run bfirsh/hello-world with an API
Use one of our client libraries to get started quickly.
Set the REPLICATE_API_TOKEN
environment variable
export REPLICATE_API_TOKEN=<paste-your-token-here>
Learn more about authentication
Install Replicate’s Node.js client library
npm install replicate
Run bfirsh/hello-world using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
import Replicate from "replicate";
const replicate = new Replicate();
const input = {
text: "world"
};
const output = await replicate.run("bfirsh/hello-world:df154106d4771d26f76466b48b91552b4d9c926d3d9db5c6dcf1997e66be3fc8", { input });
console.log(output)
//=> "hello world"