curl --request POST \
--url https://api.jogg.ai/v1/photo_avatar/photo/generate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"age": "Adult",
"appearance": "<string>",
"aspect_ratio": 0,
"avatar_style": "Professional",
"background": "<string>",
"ethnicity": "European",
"gender": "Female",
"image_url": "<string>",
"model": "classic"
}'
{
"code": 123,
"msg": "<string>",
"data": {
"photo_id": "<string>"
}
}
Generate four photos based on the provided parameters
curl --request POST \
--url https://api.jogg.ai/v1/photo_avatar/photo/generate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"age": "Adult",
"appearance": "<string>",
"aspect_ratio": 0,
"avatar_style": "Professional",
"background": "<string>",
"ethnicity": "European",
"gender": "Female",
"image_url": "<string>",
"model": "classic"
}'
{
"code": 123,
"msg": "<string>",
"data": {
"photo_id": "<string>"
}
}
Request parameter
The body is of type object
.
OK
The response is of type object
.