Profile Picture API & SDK
Generate a layout (e.g., 6-inch) for ID photos
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"
}