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

Transform photo into a professional headshot

Request Body

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://api.grasco.dev/image-edit/headshot" \  -H "Content-Type: application/json" \  -d '{    "imageDataUrl": "string",    "clothingStyles": [      "suit"    ],    "backgroundStyles": [      "studio-light"    ],    "framingStyles": [      "close-up"    ]  }'
{
  "image": "string",
  "generationId": "string"
}
{
  "error": "string",
  "message": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}