v1

latestOpenAPI 3.1.02026-07-1353090.4 KB
Photo Avatars

Generate photo avatar photos

This endpoint will generate photos that can be used to create photo avatars, returns a generation id, which can be used in the check generation status endpoint to get status and final image/image keys

post/v2/photo_avatar/photo/generate

Request body

namestring
age'Young Adult' | 'Early Middle Age' | 'Late Middle Age' | 'Senior' | 'Unspecified'
gender'Woman' | 'Man' | 'Unspecified'
ethnicity'White' | 'Black' | 'Asian American' | 'East Asian' | 'South East Asian' | 'South Asian' | 'Middle Eastern' | 'Pacific' | 'Hispanic' | 'Unspecified'
orientation'square' | 'horizontal' | 'vertical'
pose'half_body' | 'close_up' | 'full_body'
style'Realistic' | 'Pixar' | 'Cinematic' | 'Vintage' | 'Noir' | 'Cyberpunk' | 'Unspecified'
appearancestring

Description/Prompt of the generated avatar photo, maximum 1000 characters

Response

200

{"stackTrail":"paths:/v2/photo_avatar/photo/generate:post:responses:200:content:application/json:schema:properties:error","oasType":"schema","type":"unknown"}

Example response

{
  "data": {
    "generation_id": "51be01eda38e4c2b9836f06957f66b7d"
  }
}