Get API Key
Normal return
{
"code": 0,
"data": {
"imageBase64: "iVBORw0KGgo..." //base64 encoded of the image
},
"msg": null,
"time": 1590462453264
}
Error
{
"code": 1001, //
"data": null
"msg": 'Insufficient balance',
"time": 1590462453264
}
Stickers API
Add Sticker to images
Parameter | Type | Description |
---|
stickerURL | String | URL to sticker image |
Sample code
Curl
curl -H 'key: INSERT_YOUR_API_KEY_HERE' \
-F 'file=@/path/to/file.jpg' \
-F 'stickerURL=PATH-TO-IMAGE' \
-f 'http://localhost:3000/v1/sticker/addSticker' \
-o out.png
Python
import requests
payload = dict(stickerURL=PATH-TO-IMAGE);
response = requests.post(
'http://localhost:3000/v1/sticker/addSticker',
files={'file': open('/path/to/file.jpg', 'rb')},
data = payload,
headers={'key': 'INSERT_YOUR_API_KEY_HERE'},
)
Node.js
const requestOptions = {
method: 'POST',
headers: {
'key': 'INSERT_YOUR_API_KEY_HERE',
'Content-Type': 'application/json'
},
body: JSON.stringify({ title: 'Add sticker' ,
stickerURL:'PATH-TO-IMAGE'
})
};
fetch('http://localhost:3000/v1/sticker/addSticker', requestOptions)
.then(response => response.json())
.then(data => {
console.log(data);
});
Bathroom
![](https://photoveda.pro/stickers/bathroom/body-wash.svg)
Body wash
![](https://photoveda.pro/stickers/bathroom/comb.svg)
Comb
![](https://photoveda.pro/stickers/bathroom/garbage-can.svg)
GarbageCan
![](https://photoveda.pro/stickers/bathroom/hair-dryer.svg)
HairDryer
![](https://photoveda.pro/stickers/bathroom/laundry-detergent.svg)
LaundryDetergent
![](https://photoveda.pro/stickers/bathroom/mirror.svg)
Mirror
![](https://photoveda.pro/stickers/bathroom/mouthwash-cup.svg)
MouthwashCup
![](https://photoveda.pro/stickers/bathroom/razor.svg)
Razor
![](https://photoveda.pro/stickers/bathroom/sink.svg)
Sink
![](https://photoveda.pro/stickers/bathroom/soap.svg)
Soap
![](https://photoveda.pro/stickers/bathroom/toilet-paper.svg)
ToiletPaper
![](https://photoveda.pro/stickers/bathroom/toilet-suction.svg)
ToiletSuction
![](https://photoveda.pro/stickers/bathroom/toilet.svg)
Toilet
![](https://photoveda.pro/stickers/bathroom/toothbrush.svg)
Toothbrush
![](https://photoveda.pro/stickers/bathroom/detergent.svg)
Detergent
![](https://photoveda.pro/stickers/bathroom/toothpaste.svg)
Toothpaste
![](https://photoveda.pro/stickers/bathroom/towel.svg)
Towel
![](https://photoveda.pro/stickers/bathroom/tub.svg)
Tub
![](https://photoveda.pro/stickers/bathroom/washing-machine.svg)
WashingMachine
![](https://photoveda.pro/stickers/bathroom/duck.svg)
Duck
Business
![](https://photoveda.pro/stickers/office/adhesive-strip.svg)
AdhesiveStrip
![](https://photoveda.pro/stickers/office/analyze.svg)
Analyze
![](https://photoveda.pro/stickers/office/bookshelf.svg)
Bookshelf
![](https://photoveda.pro/stickers/office/briefcase.svg)
Briefcase
![](https://photoveda.pro/stickers/office/business-card.svg)
BusinessCard
![](https://photoveda.pro/stickers/office/calculator.svg)
Calculator
![](https://photoveda.pro/stickers/office/clock.svg)
Clock
![](https://photoveda.pro/stickers/office/correction-tape.svg)
CorrectionTape
![](https://photoveda.pro/stickers/office/data.svg)
Data
![](https://photoveda.pro/stickers/office/desk-lamp.svg)
DeskLamp
![](https://photoveda.pro/stickers/office/folder.svg)
Folder
![](https://photoveda.pro/stickers/office/indicator.svg)
Indicator
![](https://photoveda.pro/stickers/office/introduce.svg)
Introduce
![](https://photoveda.pro/stickers/office/medal.svg)
Medal
![](https://photoveda.pro/stickers/office/mouse.svg)
Mouse
![](https://photoveda.pro/stickers/office/notebook.svg)
Notebook
![](https://photoveda.pro/stickers/office/office.svg)
Office
![](https://photoveda.pro/stickers/office/order.svg)
Order
![](https://photoveda.pro/stickers/office/pencil-sharpener.svg)
PencilSharpener
![](https://photoveda.pro/stickers/office/data-buried.svg)
DataBuried
![](https://photoveda.pro/stickers/office/pen.svg)
Pen
![](https://photoveda.pro/stickers/office/pie-chart.svg)
PieChart
![](https://photoveda.pro/stickers/office/planning.svg)
Planning
![](https://photoveda.pro/stickers/office/printer.svg)
Printer
![](https://photoveda.pro/stickers/office/project.svg)
Project
![](https://photoveda.pro/stickers/office/report.svg)
Report
![](https://photoveda.pro/stickers/office/scissors.svg)
Scissors
![](https://photoveda.pro/stickers/office/stapler.svg)
Stapler
![](https://photoveda.pro/stickers/office/statistics.svg)
Statistics
![](https://photoveda.pro/stickers/office/telephone.svg)
Telephone
![](https://photoveda.pro/stickers/office/writing-board.svg)
WritingBoard
![](https://photoveda.pro/stickers/office/office-chair.svg)
OfficeChair
Food
![](https://photoveda.pro/stickers/food/apple.svg)
Apple
![](https://photoveda.pro/stickers/food/avocado.svg)
Avocado
![](https://photoveda.pro/stickers/food/banana.svg)
Banana
![](https://photoveda.pro/stickers/food/dumbbel.svg)
Dumbbel
![](https://photoveda.pro/stickers/food/figure.svg)
Figure
![](https://photoveda.pro/stickers/food/grape.svg)
Grape
![](https://photoveda.pro/stickers/food/kiwi-fruit.svg)
KiwiFruit
![](https://photoveda.pro/stickers/food/lemon.svg)
Lemon
![](https://photoveda.pro/stickers/food/milk.svg)
Milk
![](https://photoveda.pro/stickers/food/fish.svg)
Fish
![](https://photoveda.pro/stickers/food/peach.svg)
Peach
![](https://photoveda.pro/stickers/food/poached-eggs.svg)
PoachedEggs
![](https://photoveda.pro/stickers/food/running.svg)
Running
![](https://photoveda.pro/stickers/food/yogurt.svg)
Yogurt
![](https://photoveda.pro/stickers/food/cherry.svg)
Cherry
![](https://photoveda.pro/stickers/food/soda-water.svg)
SodaWater
![](https://photoveda.pro/stickers/food/steak.svg)
Steak
![](https://photoveda.pro/stickers/food/watermelon.svg)
Watermelon
![](https://photoveda.pro/stickers/food/weighing-scale.svg)
WeighingScale
![](https://photoveda.pro/stickers/food/boxing.svg)
Boxing
![](https://photoveda.pro/stickers/food/coffee.svg)
Coffee
Emotions
Health
Transport
Sports
Misc