Grasco
Profile Picture API & SDK
POST
/image-edit/filter

Apply a predefined filter to the image

Request Body

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://api.grasco.dev/image-edit/filter" \  -H "Content-Type: application/json" \  -d '{    "imageDataUrl": "string",    "filterKey": "clarendon"  }'
{
  "image": "string",
  "generationId": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}