cURL
curl --request POST \ --url https://api.jogg.ai/v1/photo_avatar/new_look/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>" } }
Based on the provided photo, a new photo is generated by marrying the input parameters
Request parameter
The body is of type object.
object
OK
The response is of type object.