evilstreak
/
clipdraw-interactive
Morphs vector paths towards a text prompt
Run evilstreak/clipdraw-interactive 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 evilstreak/clipdraw-interactive 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 = {
num_paths: 8
};
const output = await replicate.run("evilstreak/clipdraw-interactive:8feca8c65270d6ea1b30080a5dc31382afc8316c895299add625ff97a789554c", { input });
console.log(output)
//=> "[{\"points\": [[202.26834106445312, 41.03856658935547], ...