Generate a sticker
POST
https://api.vidmoat.com/v1/ai/stickersGenerate a cut-out sticker with a transparent background (a PNG, or an SVG when the vector fallback is used). Creator and Studio.
Body#
promptstringrequiredUp to 300 characters.styleenumdefaultcartoonLook. Unknown values becomecartoon.One ofcartoon,kawaii,retro,neon,3d,minimal
Response#
Returns 200.
Response fields#
urlstringThe sticker.kindenumFile type.One ofpng,svgcreditsobject{ charged, remaining }: what this call cost and the balance after it.hintstringWhat to do with it.
Errors#
Besides the errors any request can get (authentication, rate limits):
| Status | Code | When |
|---|---|---|
| 402 | plan_required | The plan has no stickers. |
| 402 | insufficient_credits | The balance cannot cover the call. Nothing ran. remaining is the balance. |
| 422 | prompt_rejected | The prompt failed the safety check. Nothing was charged. field names the field. |
| 502 | provider_error | The generation provider failed. The charge is refunded. |