Banana

Public Access CLIP

Use a production ready CLIP model in <1 min. Free, forever.

Add this to your node.js code:

const banana = require('@banana-dev/banana-dev');

var apiKey = "{YOUR API KEY}"
var modelKey = "clip"

const modelParameters = {"text": "banana","imageURL":"https://demo-images-banana.s3.us-west-1.amazonaws.com/image1.jpg"}

let run = async (modelParameters) => {
    var out = await banana.run(apiKey, modelKey, modelParameters)
    console.log(out)
    return out
}

run(modelParameters)

Arguments:

Arg Description Required Type Example
api_key Your API key, found on the User Dashboard True string "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
model_key This models name True string "clip"
model_parameters Dictionary of custom tuning parameters False dict {"text": "banana","imageURL":"https://demo-images-banana.s3.us-west-1.amazonaws.com/image1.jpg"}