Profile Picture API & SDK
Change hair style and color
Query Parameters
gender?string
Value in
"male" | "female"TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://api.grasco.dev/image-edit/hair" \ -H "Content-Type: application/json" \ -d '{ "imageDataUrl": "string" }'{
"image": "string",
"metadata": {
"appliedStyles": [
"string"
],
"appliedColor": {
"id": "string",
"label": "string",
"hex": "string"
}
},
"generationId": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}