Divide an image into multiple segments for applications like medical imaging, object detection, and computer vision tasks
Basic usage
import Bytez from 'bytez.js' const sdk = new Bytez("BYTEZ_KEY"); const model = sdk.model("sayeed99/segformer-b3-fashion"); await model.create() const image = "https://ocean.si.edu/sites/default/files/styles/3_2_largest/public/2023-11/Screen_Shot_2018-04-16_at_1_42_56_PM.png.webp?itok=Icvi-ek9" const { error, output } = await model.run({ url: image }); console.log({ error, output })
url
base64