Skip to content

Instantly share code, notes, and snippets.

@Visrozar

Visrozar/index.js

Last active Dec 15, 2018
Embed
What would you like to do?
Clarifai API - Add Images
app.inputs.create([
{
url: "https://s3.amazonaws.com/cdn-origin-etr.akc.org/wp-content/uploads/2017/11/12225358/Pug-On-White-01.jpg"
},
{
url: "https://s3.amazonaws.com/cdn-origin-etr.akc.org/wp-content/uploads/2017/11/12121353/GoldenRetriever1_stacked.jpg"
},
{
url: "https://s3.amazonaws.com/cdn-origin-etr.akc.org/wp-content/uploads/2017/11/12130118/Golden-Retriever-Standing1.jpg"
},
{
url: "https://s3.amazonaws.com/cdn-origin-etr.akc.org/wp-content/uploads/2017/11/12232719/Golden-Retriever-On-White-05.jpg"
},
{
url: "https://upload.wikimedia.org/wikipedia/commons/9/93/Golden_Retriever_Carlos_%2810581910556%29.jpg"
},
{
url: "https://vetstreet.brightspotcdn.com/dims4/default/21dc2d6/2147483647/thumbnail/645x380/quality/90/?url=https%3A%2F%2Fvetstreet-brightspot.s3.amazonaws.com%2F9f%2F9b%2F6ff000df4e4d8e8c70608cf6e0f5%2Fgolden-retriever-ap-0johoo-645.jpg"
},
{
url: "https://www.chewy.com/petcentral/wp-content/uploads/2018/05/siberian-husky-woods-shutterstock_558432511.jpg"
},
{
url: "https://upload.wikimedia.org/wikipedia/commons/a/a3/Black-Magic-Big-Boy.jpg"
},
{
url: "https://images-na.ssl-images-amazon.com/images/I/71XN6IhRE5L._SX466_.jpg"
}
]).then(
function (response) {
console.log(response);
},
function (err) {
console.log(err);
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.