Run deepfates/concat-test using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"deepfates/concat-test:b3cef6b5288ade0d7c2ef6366cb4dfc5f434f456fcb67c32aeccda98623c17b6",
{
input: {
query: "Is it possible to use Replicate with this library?"
}
}
);
console.log(output);
Run deepfates/concat-test using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"deepfates/concat-test:b3cef6b5288ade0d7c2ef6366cb4dfc5f434f456fcb67c32aeccda98623c17b6",
input={
"query": "Is it possible to use Replicate with this library?"
}
)
# The deepfates/concat-test model can stream output as it's running.# The predict method returns an iterator, and you can iterate over that output.for item in output:
# https://replicate.com/deepfates/concat-test/api#output-schemaprint(item, end="")