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

Generate a layout (e.g., 6-inch) for ID photos

Request Body

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://api.grasco.dev/image-edit/id-photo/generateLayoutPhoto" \  -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"
}