Profile Picture API & SDK
Transform photo into a professional headshot
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"
}