Describe the image to generate
A seed
Default: 0
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run mattrothenberg/hello-procedure-test-2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { seed: 0 }; const output = await replicate.run("mattrothenberg/hello-procedure-test-2", { input }); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
import replicate
output = replicate.run( "mattrothenberg/hello-procedure-test-2", input={ "seed": 0 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "seed": 0 } }' \ https://api.replicate.com/v1/models/mattrothenberg/hello-procedure-test-2/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
No output yet! Press "Submit" to start a prediction.
This model doesn't have a readme.
This model runs on CPU (Small).