Grasco
Profile Picture API & SDK
POST
/image-edit/id-photo/generate

Generate a transparent ID photo with optional HD support

Request Body

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

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