{"openapi":"3.0.3","info":{"title":"Nobodies API","version":"1.0.0","description":"Synthetic faces, full-body humans, consistent identities and a photo anonymizer. Every image is generated on demand or drawn from a continuously growing library. Browsing is open; generation needs a free API key (POST /api/v1/keys). Send it as \"Authorization: API-Key <key>\", \"X-Api-Key\" or ?api_key=. Images are free for personal and commercial use, no watermark, no attribution required."},"servers":[{"url":"https://nobodies.jon-be9.workers.dev"}],"components":{"securitySchemes":{"ApiKey":{"type":"apiKey","in":"header","name":"Authorization","description":"API-Key <key>"}},"schemas":{"Person":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string"},"url":{"type":"string"},"thumb":{"type":"string"},"urls":{"type":"array","items":{"type":"object"}},"meta":{"type":"object"},"width":{"type":"integer"},"height":{"type":"integer"},"seed":{"type":"integer"},"prompt":{"type":"string"},"caption":{"type":"string"},"identity_id":{"type":"string","nullable":true},"license":{"type":"string"}}}}},"paths":{"/api/v1/faces":{"get":{"summary":"List or search faces","parameters":[{"name":"sex","in":"query","schema":{"type":"string","enum":["female","male","nonbinary"]},"description":"Sex"},{"name":"age_group","in":"query","schema":{"type":"string","enum":["infant","child","teen","young-adult","adult","middle-aged","elderly"]},"description":"Age"},{"name":"ethnicity","in":"query","schema":{"type":"string","enum":["white","black","east-asian","south-asian","southeast-asian","latino","middle-eastern","pacific-islander","indigenous-american","mixed"]},"description":"Ethnicity"},{"name":"nationality","in":"query","schema":{"type":"string","enum":["american","british","irish","german","french","italian","spanish","portuguese","dutch","belgian","swedish","norwegian","danish","finnish","polish","czech","hungarian","romanian","greek","russian","ukrainian","australian","canadian","austrian","swiss","serbian","croatian","bulgarian","lithuanian","icelandic","nigerian","ghanaian","kenyan","ethiopian","senegalese","south-african","tanzanian","ugandan","somali","jamaican","african-american","haitian","congolese","cameroonian","sudanese","malian","zimbabwean","afro-brazilian","black-british","chinese","japanese","korean","taiwanese","mongolian","hong-konger","indian","pakistani","bangladeshi","sri-lankan","nepalese","bhutanese","filipino","vietnamese","thai","indonesian","malaysian","cambodian","burmese","singaporean","laotian","mexican","brazilian","colombian","argentine","peruvian","chilean","cuban","dominican","puerto-rican","venezuelan","guatemalan","ecuadorian","bolivian","honduran","uruguayan","paraguayan","costa-rican","salvadoran","nicaraguan","panamanian","turkish","iranian","egyptian","lebanese","saudi","emirati","iraqi","syrian","jordanian","moroccan","israeli","algerian","tunisian","kuwaiti","qatari","omani","yemeni","libyan","armenian","georgian","azerbaijani","palestinian","kurdish","samoan","tongan","fijian","native-hawaiian","maori","papuan","tahitian","navajo","lakota","cherokee","quechua","mapuche","inuit","maya","aymara","ojibwe","cree"]},"description":"Nationality or heritage"},{"name":"skin_tone","in":"query","schema":{"type":"string","enum":["very-light","light","medium-light","medium","medium-dark","dark","very-dark"]},"description":"Skin tone"},{"name":"eye_color","in":"query","schema":{"type":"string","enum":["brown","dark-brown","hazel","amber","green","blue","grey"]},"description":"Eye color"},{"name":"hair_color","in":"query","schema":{"type":"string","enum":["black","dark-brown","brown","light-brown","blond","platinum","red","auburn","grey","white","dyed"]},"description":"Hair color"},{"name":"hair_length","in":"query","schema":{"type":"string","enum":["bald","receding","buzz","short","medium","long","very-long"]},"description":"Hair length"},{"name":"hair_style","in":"query","schema":{"type":"string","enum":["straight","wavy","curly","coily","afro","braids","locs","updo","ponytail","bob","bangs","undercut","top-knot","mohawk","pompadour","shag","slicked-back","messy"]},"description":"Hair style"},{"name":"facial_hair","in":"query","schema":{"type":"string","enum":["none","stubble","mustache","goatee","short-beard","full-beard"]},"description":"Facial hair"},{"name":"emotion","in":"query","schema":{"type":"string","enum":["neutral","joy","laughing","serene","surprise","sadness","anger","fear","disgust","contempt","confident"]},"description":"Emotion"},{"name":"head_pose","in":"query","schema":{"type":"string","enum":["front","left-quarter","right-quarter","left-half","right-half","left-profile","right-profile","tilt-up","tilt-down","tilt-left","tilt-right"]},"description":"Head pose"},{"name":"accessories","in":"query","schema":{"type":"string","description":"comma separated"},"description":"Accessories"},{"name":"makeup","in":"query","schema":{"type":"string","enum":["none","natural","light","bold","glam"]},"description":"Makeup"},{"name":"background","in":"query","schema":{"type":"string","enum":["studio-grey","studio-white","studio-black","studio-gradient","studio-color","chroma-green","office","home","cafe","city-street","park","beach","nature","brick-wall","concrete-wall","bokeh-lights","forest","rooftop","graffiti-wall","library","desert","countryside","mountains","sunset","warehouse","botanical-garden","floral-wallpaper","urban-alley","rustic-barn","gym","hospital","classroom","kitchen","stage"]},"description":"Background"},{"name":"lighting","in":"query","schema":{"type":"string","enum":["studio-soft","rembrandt","butterfly","window","golden-hour","overcast","ring-light","hard-flash","dramatic"]},"description":"Lighting"},{"name":"style","in":"query","schema":{"type":"string","enum":["natural","beautified","editorial","candid","corporate","passport"]},"description":"Style"},{"name":"top","in":"query","schema":{"type":"string","enum":["t-shirt","blouse","shirt","tank-top","sweater","hoodie","polo","turtleneck","crop-top","jersey","dress","mini-dress","midi-dress","maxi-dress","shirt-dress","jumpsuit"]},"description":"Top"},{"name":"outerwear","in":"query","schema":{"type":"string","enum":["none","blazer","suit-jacket","denim-jacket","leather-jacket","bomber-jacket","trench-coat","pea-coat","parka","puffer-jacket","cardigan","raincoat","vest"]},"description":"Outerwear"},{"name":"clothing_color","in":"query","schema":{"type":"string","enum":["black","white","grey","navy","blue","teal","green","olive","yellow","orange","red","pink","purple","brown","beige","cream","burgundy","mustard","lavender","mint","coral","gold","pastel","earth-tones","neutral-tones","muted","metallic","colorful"]},"description":"Clothing color"},{"name":"order_by","in":"query","schema":{"type":"string","enum":["random","latest","oldest","popular"],"default":"latest"}},{"name":"page","in":"query","schema":{"type":"integer","default":1}},{"name":"per_page","in":"query","schema":{"type":"integer","default":40,"maximum":100}},{"name":"seed","in":"query","schema":{"type":"integer"},"description":"Stable shuffle for order_by=random"},{"name":"age_years","in":"query","schema":{"type":"integer"},"description":"Matches within two years"},{"name":"age_min","in":"query","schema":{"type":"integer"}},{"name":"age_max","in":"query","schema":{"type":"integer"}},{"name":"include_identities","in":"query","schema":{"type":"boolean","default":false},"description":"Also return photos that belong to identities (many photos of one person)"},{"name":"include_chroma","in":"query","schema":{"type":"boolean","default":false},"description":"Also return green-screen renders (otherwise only when background=chroma-green is requested)"},{"name":"include_back","in":"query","schema":{"type":"boolean","default":false},"description":"Humans: also return people seen from behind (otherwise only when view=back is requested)"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"total":{"type":"integer"},"page":{"type":"integer"},"per_page":{"type":"integer"},"faces":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string"},"url":{"type":"string"},"thumb":{"type":"string"},"urls":{"type":"array","items":{"type":"object"}},"meta":{"type":"object"},"width":{"type":"integer"},"height":{"type":"integer"},"seed":{"type":"integer"},"prompt":{"type":"string"},"caption":{"type":"string"},"identity_id":{"type":"string","nullable":true},"license":{"type":"string"}}}}}}}}}}}},"/api/v1/humans":{"get":{"summary":"List or search full-body humans","parameters":[{"name":"sex","in":"query","schema":{"type":"string","enum":["female","male","nonbinary"]},"description":"Sex"},{"name":"age_group","in":"query","schema":{"type":"string","enum":["infant","child","teen","young-adult","adult","middle-aged","elderly"]},"description":"Age"},{"name":"ethnicity","in":"query","schema":{"type":"string","enum":["white","black","east-asian","south-asian","southeast-asian","latino","middle-eastern","pacific-islander","indigenous-american","mixed"]},"description":"Ethnicity"},{"name":"nationality","in":"query","schema":{"type":"string","enum":["american","british","irish","german","french","italian","spanish","portuguese","dutch","belgian","swedish","norwegian","danish","finnish","polish","czech","hungarian","romanian","greek","russian","ukrainian","australian","canadian","austrian","swiss","serbian","croatian","bulgarian","lithuanian","icelandic","nigerian","ghanaian","kenyan","ethiopian","senegalese","south-african","tanzanian","ugandan","somali","jamaican","african-american","haitian","congolese","cameroonian","sudanese","malian","zimbabwean","afro-brazilian","black-british","chinese","japanese","korean","taiwanese","mongolian","hong-konger","indian","pakistani","bangladeshi","sri-lankan","nepalese","bhutanese","filipino","vietnamese","thai","indonesian","malaysian","cambodian","burmese","singaporean","laotian","mexican","brazilian","colombian","argentine","peruvian","chilean","cuban","dominican","puerto-rican","venezuelan","guatemalan","ecuadorian","bolivian","honduran","uruguayan","paraguayan","costa-rican","salvadoran","nicaraguan","panamanian","turkish","iranian","egyptian","lebanese","saudi","emirati","iraqi","syrian","jordanian","moroccan","israeli","algerian","tunisian","kuwaiti","qatari","omani","yemeni","libyan","armenian","georgian","azerbaijani","palestinian","kurdish","samoan","tongan","fijian","native-hawaiian","maori","papuan","tahitian","navajo","lakota","cherokee","quechua","mapuche","inuit","maya","aymara","ojibwe","cree"]},"description":"Nationality or heritage"},{"name":"skin_tone","in":"query","schema":{"type":"string","enum":["very-light","light","medium-light","medium","medium-dark","dark","very-dark"]},"description":"Skin tone"},{"name":"eye_color","in":"query","schema":{"type":"string","enum":["brown","dark-brown","hazel","amber","green","blue","grey"]},"description":"Eye color"},{"name":"hair_color","in":"query","schema":{"type":"string","enum":["black","dark-brown","brown","light-brown","blond","platinum","red","auburn","grey","white","dyed"]},"description":"Hair color"},{"name":"hair_length","in":"query","schema":{"type":"string","enum":["bald","receding","buzz","short","medium","long","very-long"]},"description":"Hair length"},{"name":"hair_style","in":"query","schema":{"type":"string","enum":["straight","wavy","curly","coily","afro","braids","locs","updo","ponytail","bob","bangs","undercut","top-knot","mohawk","pompadour","shag","slicked-back","messy"]},"description":"Hair style"},{"name":"facial_hair","in":"query","schema":{"type":"string","enum":["none","stubble","mustache","goatee","short-beard","full-beard"]},"description":"Facial hair"},{"name":"emotion","in":"query","schema":{"type":"string","enum":["neutral","joy","laughing","serene","surprise","sadness","anger","fear","disgust","contempt","confident"]},"description":"Emotion"},{"name":"head_pose","in":"query","schema":{"type":"string","enum":["front","left-quarter","right-quarter","left-half","right-half","left-profile","right-profile","tilt-up","tilt-down","tilt-left","tilt-right"]},"description":"Head pose"},{"name":"accessories","in":"query","schema":{"type":"string","description":"comma separated"},"description":"Accessories"},{"name":"makeup","in":"query","schema":{"type":"string","enum":["none","natural","light","bold","glam"]},"description":"Makeup"},{"name":"background","in":"query","schema":{"type":"string","enum":["studio-grey","studio-white","studio-black","studio-gradient","studio-color","chroma-green","office","home","cafe","city-street","park","beach","nature","brick-wall","concrete-wall","bokeh-lights","forest","rooftop","graffiti-wall","library","desert","countryside","mountains","sunset","warehouse","botanical-garden","floral-wallpaper","urban-alley","rustic-barn","gym","hospital","classroom","kitchen","stage"]},"description":"Background"},{"name":"lighting","in":"query","schema":{"type":"string","enum":["studio-soft","rembrandt","butterfly","window","golden-hour","overcast","ring-light","hard-flash","dramatic"]},"description":"Lighting"},{"name":"style","in":"query","schema":{"type":"string","enum":["natural","beautified","editorial","candid","corporate","passport"]},"description":"Style"},{"name":"body_type","in":"query","schema":{"type":"string","enum":["very-slim","slim","athletic","average","curvy","plus-size","muscular","petite","tall"]},"description":"Body type"},{"name":"pose","in":"query","schema":{"type":"string","enum":["standing","standing-relaxed","arms-crossed","hands-on-hips","hands-in-pockets","waving","pointing","thumbs-up","walking","running","jumping","sitting","sitting-floor","leaning","holding-phone","holding-laptop","holding-coffee","holding-bag","thinking","presenting","dancing","stretching"]},"description":"Pose"},{"name":"outfit","in":"query","schema":{"type":"string","enum":["business-suit","business-casual","casual","streetwear","sportswear","athleisure","dress","formal-gown","tuxedo","hoodie","denim","winter-coat","raincoat","medical-scrubs","lab-coat","chef","construction","police","firefighter","pilot","military","school-uniform","pajamas","traditional","wedding","bohemian","vintage","tech-casual"]},"description":"Outfit"},{"name":"top","in":"query","schema":{"type":"string","enum":["t-shirt","blouse","shirt","tank-top","sweater","hoodie","polo","turtleneck","crop-top","jersey","dress","mini-dress","midi-dress","maxi-dress","shirt-dress","jumpsuit"]},"description":"Top"},{"name":"bottom","in":"query","schema":{"type":"string","enum":["jeans","trousers","chinos","wide-leg-pants","cargo-pants","flared-pants","leggings","shorts","high-waisted-shorts","skirt","mini-skirt","midi-skirt","maxi-skirt","pencil-skirt","pleated-skirt","joggers"]},"description":"Bottom"},{"name":"outerwear","in":"query","schema":{"type":"string","enum":["none","blazer","suit-jacket","denim-jacket","leather-jacket","bomber-jacket","trench-coat","pea-coat","parka","puffer-jacket","cardigan","raincoat","vest"]},"description":"Outerwear"},{"name":"footwear","in":"query","schema":{"type":"string","enum":["sneakers","boots","sandals","heels","flats","dress-shoes","loafers","oxfords","platform-shoes","running-shoes","barefoot"]},"description":"Footwear"},{"name":"clothing_style","in":"query","schema":{"type":"string","enum":["casual","formal","business","smart-casual","streetwear","athleisure","sporty","bohemian","vintage","retro","preppy","minimalist","gothic","punk","rock","glamorous","elegant","romantic","hipster","edgy","classic","chic","artsy","country","rugged","high-fashion","avant-garde","tomboy","ethnic"]},"description":"Clothing style"},{"name":"clothing_color","in":"query","schema":{"type":"string","enum":["black","white","grey","navy","blue","teal","green","olive","yellow","orange","red","pink","purple","brown","beige","cream","burgundy","mustard","lavender","mint","coral","gold","pastel","earth-tones","neutral-tones","muted","metallic","colorful"]},"description":"Clothing color"},{"name":"view","in":"query","schema":{"type":"string","enum":["front","three-quarter","profile","back"]},"description":"View"},{"name":"framing","in":"query","schema":{"type":"string","enum":["full-body","three-quarter","half-body"]},"description":"Framing"},{"name":"order_by","in":"query","schema":{"type":"string","enum":["random","latest","oldest","popular"],"default":"latest"}},{"name":"page","in":"query","schema":{"type":"integer","default":1}},{"name":"per_page","in":"query","schema":{"type":"integer","default":40,"maximum":100}},{"name":"seed","in":"query","schema":{"type":"integer"},"description":"Stable shuffle for order_by=random"},{"name":"age_years","in":"query","schema":{"type":"integer"},"description":"Matches within two years"},{"name":"age_min","in":"query","schema":{"type":"integer"}},{"name":"age_max","in":"query","schema":{"type":"integer"}},{"name":"include_identities","in":"query","schema":{"type":"boolean","default":false},"description":"Also return photos that belong to identities (many photos of one person)"},{"name":"include_chroma","in":"query","schema":{"type":"boolean","default":false},"description":"Also return green-screen renders (otherwise only when background=chroma-green is requested)"},{"name":"include_back","in":"query","schema":{"type":"boolean","default":false},"description":"Humans: also return people seen from behind (otherwise only when view=back is requested)"}],"responses":{"200":{"description":"OK"}}}},"/api/v1/avatar":{"get":{"summary":"Drop-in avatar: 302 to one matching image. Add seed=<any string> for a stable pick per user, size=64|128|256|512, format=json for metadata instead of a redirect","parameters":[{"name":"seed","in":"query","schema":{"type":"string"}},{"name":"size","in":"query","schema":{"type":"string","enum":["64","128","256","512","full"],"default":"256"}},{"name":"kind","in":"query","schema":{"type":"string","enum":["face","human"],"default":"face"}},{"name":"format","in":"query","schema":{"type":"string","enum":["redirect","json"]}},{"name":"cutout","in":"query","schema":{"type":"boolean"},"description":"redirect to a transparent PNG cutout instead"},{"name":"sex","in":"query","schema":{"type":"string","enum":["female","male","nonbinary"]},"description":"Sex"},{"name":"age_group","in":"query","schema":{"type":"string","enum":["infant","child","teen","young-adult","adult","middle-aged","elderly"]},"description":"Age"},{"name":"ethnicity","in":"query","schema":{"type":"string","enum":["white","black","east-asian","south-asian","southeast-asian","latino","middle-eastern","pacific-islander","indigenous-american","mixed"]},"description":"Ethnicity"},{"name":"nationality","in":"query","schema":{"type":"string","enum":["american","british","irish","german","french","italian","spanish","portuguese","dutch","belgian","swedish","norwegian","danish","finnish","polish","czech","hungarian","romanian","greek","russian","ukrainian","australian","canadian","austrian","swiss","serbian","croatian","bulgarian","lithuanian","icelandic","nigerian","ghanaian","kenyan","ethiopian","senegalese","south-african","tanzanian","ugandan","somali","jamaican","african-american","haitian","congolese","cameroonian","sudanese","malian","zimbabwean","afro-brazilian","black-british","chinese","japanese","korean","taiwanese","mongolian","hong-konger","indian","pakistani","bangladeshi","sri-lankan","nepalese","bhutanese","filipino","vietnamese","thai","indonesian","malaysian","cambodian","burmese","singaporean","laotian","mexican","brazilian","colombian","argentine","peruvian","chilean","cuban","dominican","puerto-rican","venezuelan","guatemalan","ecuadorian","bolivian","honduran","uruguayan","paraguayan","costa-rican","salvadoran","nicaraguan","panamanian","turkish","iranian","egyptian","lebanese","saudi","emirati","iraqi","syrian","jordanian","moroccan","israeli","algerian","tunisian","kuwaiti","qatari","omani","yemeni","libyan","armenian","georgian","azerbaijani","palestinian","kurdish","samoan","tongan","fijian","native-hawaiian","maori","papuan","tahitian","navajo","lakota","cherokee","quechua","mapuche","inuit","maya","aymara","ojibwe","cree"]},"description":"Nationality or heritage"},{"name":"skin_tone","in":"query","schema":{"type":"string","enum":["very-light","light","medium-light","medium","medium-dark","dark","very-dark"]},"description":"Skin tone"},{"name":"eye_color","in":"query","schema":{"type":"string","enum":["brown","dark-brown","hazel","amber","green","blue","grey"]},"description":"Eye color"},{"name":"hair_color","in":"query","schema":{"type":"string","enum":["black","dark-brown","brown","light-brown","blond","platinum","red","auburn","grey","white","dyed"]},"description":"Hair color"},{"name":"hair_length","in":"query","schema":{"type":"string","enum":["bald","receding","buzz","short","medium","long","very-long"]},"description":"Hair length"},{"name":"hair_style","in":"query","schema":{"type":"string","enum":["straight","wavy","curly","coily","afro","braids","locs","updo","ponytail","bob","bangs","undercut","top-knot","mohawk","pompadour","shag","slicked-back","messy"]},"description":"Hair style"},{"name":"facial_hair","in":"query","schema":{"type":"string","enum":["none","stubble","mustache","goatee","short-beard","full-beard"]},"description":"Facial hair"},{"name":"emotion","in":"query","schema":{"type":"string","enum":["neutral","joy","laughing","serene","surprise","sadness","anger","fear","disgust","contempt","confident"]},"description":"Emotion"},{"name":"head_pose","in":"query","schema":{"type":"string","enum":["front","left-quarter","right-quarter","left-half","right-half","left-profile","right-profile","tilt-up","tilt-down","tilt-left","tilt-right"]},"description":"Head pose"},{"name":"accessories","in":"query","schema":{"type":"string","description":"comma separated"},"description":"Accessories"},{"name":"makeup","in":"query","schema":{"type":"string","enum":["none","natural","light","bold","glam"]},"description":"Makeup"},{"name":"background","in":"query","schema":{"type":"string","enum":["studio-grey","studio-white","studio-black","studio-gradient","studio-color","chroma-green","office","home","cafe","city-street","park","beach","nature","brick-wall","concrete-wall","bokeh-lights","forest","rooftop","graffiti-wall","library","desert","countryside","mountains","sunset","warehouse","botanical-garden","floral-wallpaper","urban-alley","rustic-barn","gym","hospital","classroom","kitchen","stage"]},"description":"Background"},{"name":"lighting","in":"query","schema":{"type":"string","enum":["studio-soft","rembrandt","butterfly","window","golden-hour","overcast","ring-light","hard-flash","dramatic"]},"description":"Lighting"},{"name":"style","in":"query","schema":{"type":"string","enum":["natural","beautified","editorial","candid","corporate","passport"]},"description":"Style"},{"name":"top","in":"query","schema":{"type":"string","enum":["t-shirt","blouse","shirt","tank-top","sweater","hoodie","polo","turtleneck","crop-top","jersey","dress","mini-dress","midi-dress","maxi-dress","shirt-dress","jumpsuit"]},"description":"Top"},{"name":"outerwear","in":"query","schema":{"type":"string","enum":["none","blazer","suit-jacket","denim-jacket","leather-jacket","bomber-jacket","trench-coat","pea-coat","parka","puffer-jacket","cardigan","raincoat","vest"]},"description":"Outerwear"},{"name":"clothing_color","in":"query","schema":{"type":"string","enum":["black","white","grey","navy","blue","teal","green","olive","yellow","orange","red","pink","purple","brown","beige","cream","burgundy","mustard","lavender","mint","coral","gold","pastel","earth-tones","neutral-tones","muted","metallic","colorful"]},"description":"Clothing color"}],"responses":{"200":{"description":"json when format=json"},"302":{"description":"redirect to the image"}}}},"/api/v1/facets":{"get":{"summary":"Facet counts for the current filters: how many images each attribute value would leave","parameters":[{"name":"kind","in":"query","schema":{"type":"string","enum":["face","human"]}},{"name":"sex","in":"query","schema":{"type":"string","enum":["female","male","nonbinary"]},"description":"Sex"},{"name":"age_group","in":"query","schema":{"type":"string","enum":["infant","child","teen","young-adult","adult","middle-aged","elderly"]},"description":"Age"},{"name":"ethnicity","in":"query","schema":{"type":"string","enum":["white","black","east-asian","south-asian","southeast-asian","latino","middle-eastern","pacific-islander","indigenous-american","mixed"]},"description":"Ethnicity"},{"name":"nationality","in":"query","schema":{"type":"string","enum":["american","british","irish","german","french","italian","spanish","portuguese","dutch","belgian","swedish","norwegian","danish","finnish","polish","czech","hungarian","romanian","greek","russian","ukrainian","australian","canadian","austrian","swiss","serbian","croatian","bulgarian","lithuanian","icelandic","nigerian","ghanaian","kenyan","ethiopian","senegalese","south-african","tanzanian","ugandan","somali","jamaican","african-american","haitian","congolese","cameroonian","sudanese","malian","zimbabwean","afro-brazilian","black-british","chinese","japanese","korean","taiwanese","mongolian","hong-konger","indian","pakistani","bangladeshi","sri-lankan","nepalese","bhutanese","filipino","vietnamese","thai","indonesian","malaysian","cambodian","burmese","singaporean","laotian","mexican","brazilian","colombian","argentine","peruvian","chilean","cuban","dominican","puerto-rican","venezuelan","guatemalan","ecuadorian","bolivian","honduran","uruguayan","paraguayan","costa-rican","salvadoran","nicaraguan","panamanian","turkish","iranian","egyptian","lebanese","saudi","emirati","iraqi","syrian","jordanian","moroccan","israeli","algerian","tunisian","kuwaiti","qatari","omani","yemeni","libyan","armenian","georgian","azerbaijani","palestinian","kurdish","samoan","tongan","fijian","native-hawaiian","maori","papuan","tahitian","navajo","lakota","cherokee","quechua","mapuche","inuit","maya","aymara","ojibwe","cree"]},"description":"Nationality or heritage"},{"name":"skin_tone","in":"query","schema":{"type":"string","enum":["very-light","light","medium-light","medium","medium-dark","dark","very-dark"]},"description":"Skin tone"},{"name":"eye_color","in":"query","schema":{"type":"string","enum":["brown","dark-brown","hazel","amber","green","blue","grey"]},"description":"Eye color"},{"name":"hair_color","in":"query","schema":{"type":"string","enum":["black","dark-brown","brown","light-brown","blond","platinum","red","auburn","grey","white","dyed"]},"description":"Hair color"},{"name":"hair_length","in":"query","schema":{"type":"string","enum":["bald","receding","buzz","short","medium","long","very-long"]},"description":"Hair length"},{"name":"hair_style","in":"query","schema":{"type":"string","enum":["straight","wavy","curly","coily","afro","braids","locs","updo","ponytail","bob","bangs","undercut","top-knot","mohawk","pompadour","shag","slicked-back","messy"]},"description":"Hair style"},{"name":"facial_hair","in":"query","schema":{"type":"string","enum":["none","stubble","mustache","goatee","short-beard","full-beard"]},"description":"Facial hair"},{"name":"emotion","in":"query","schema":{"type":"string","enum":["neutral","joy","laughing","serene","surprise","sadness","anger","fear","disgust","contempt","confident"]},"description":"Emotion"},{"name":"head_pose","in":"query","schema":{"type":"string","enum":["front","left-quarter","right-quarter","left-half","right-half","left-profile","right-profile","tilt-up","tilt-down","tilt-left","tilt-right"]},"description":"Head pose"},{"name":"accessories","in":"query","schema":{"type":"string","description":"comma separated"},"description":"Accessories"},{"name":"makeup","in":"query","schema":{"type":"string","enum":["none","natural","light","bold","glam"]},"description":"Makeup"},{"name":"background","in":"query","schema":{"type":"string","enum":["studio-grey","studio-white","studio-black","studio-gradient","studio-color","chroma-green","office","home","cafe","city-street","park","beach","nature","brick-wall","concrete-wall","bokeh-lights","forest","rooftop","graffiti-wall","library","desert","countryside","mountains","sunset","warehouse","botanical-garden","floral-wallpaper","urban-alley","rustic-barn","gym","hospital","classroom","kitchen","stage"]},"description":"Background"},{"name":"lighting","in":"query","schema":{"type":"string","enum":["studio-soft","rembrandt","butterfly","window","golden-hour","overcast","ring-light","hard-flash","dramatic"]},"description":"Lighting"},{"name":"style","in":"query","schema":{"type":"string","enum":["natural","beautified","editorial","candid","corporate","passport"]},"description":"Style"},{"name":"body_type","in":"query","schema":{"type":"string","enum":["very-slim","slim","athletic","average","curvy","plus-size","muscular","petite","tall"]},"description":"Body type"},{"name":"pose","in":"query","schema":{"type":"string","enum":["standing","standing-relaxed","arms-crossed","hands-on-hips","hands-in-pockets","waving","pointing","thumbs-up","walking","running","jumping","sitting","sitting-floor","leaning","holding-phone","holding-laptop","holding-coffee","holding-bag","thinking","presenting","dancing","stretching"]},"description":"Pose"},{"name":"outfit","in":"query","schema":{"type":"string","enum":["business-suit","business-casual","casual","streetwear","sportswear","athleisure","dress","formal-gown","tuxedo","hoodie","denim","winter-coat","raincoat","medical-scrubs","lab-coat","chef","construction","police","firefighter","pilot","military","school-uniform","pajamas","traditional","wedding","bohemian","vintage","tech-casual"]},"description":"Outfit"},{"name":"top","in":"query","schema":{"type":"string","enum":["t-shirt","blouse","shirt","tank-top","sweater","hoodie","polo","turtleneck","crop-top","jersey","dress","mini-dress","midi-dress","maxi-dress","shirt-dress","jumpsuit"]},"description":"Top"},{"name":"bottom","in":"query","schema":{"type":"string","enum":["jeans","trousers","chinos","wide-leg-pants","cargo-pants","flared-pants","leggings","shorts","high-waisted-shorts","skirt","mini-skirt","midi-skirt","maxi-skirt","pencil-skirt","pleated-skirt","joggers"]},"description":"Bottom"},{"name":"outerwear","in":"query","schema":{"type":"string","enum":["none","blazer","suit-jacket","denim-jacket","leather-jacket","bomber-jacket","trench-coat","pea-coat","parka","puffer-jacket","cardigan","raincoat","vest"]},"description":"Outerwear"},{"name":"footwear","in":"query","schema":{"type":"string","enum":["sneakers","boots","sandals","heels","flats","dress-shoes","loafers","oxfords","platform-shoes","running-shoes","barefoot"]},"description":"Footwear"},{"name":"clothing_style","in":"query","schema":{"type":"string","enum":["casual","formal","business","smart-casual","streetwear","athleisure","sporty","bohemian","vintage","retro","preppy","minimalist","gothic","punk","rock","glamorous","elegant","romantic","hipster","edgy","classic","chic","artsy","country","rugged","high-fashion","avant-garde","tomboy","ethnic"]},"description":"Clothing style"},{"name":"clothing_color","in":"query","schema":{"type":"string","enum":["black","white","grey","navy","blue","teal","green","olive","yellow","orange","red","pink","purple","brown","beige","cream","burgundy","mustard","lavender","mint","coral","gold","pastel","earth-tones","neutral-tones","muted","metallic","colorful"]},"description":"Clothing color"},{"name":"view","in":"query","schema":{"type":"string","enum":["front","three-quarter","profile","back"]},"description":"View"},{"name":"framing","in":"query","schema":{"type":"string","enum":["full-body","three-quarter","half-body"]},"description":"Framing"}],"responses":{"200":{"description":"{ facets: { attribute: { value: count } } }"}}}},"/api/v1/search":{"get":{"summary":"Natural-language search: the description is parsed into exact tag filters, results are ranked by embedding similarity inside them, and filters relax when few match (neighbouring values first, then nationality, then scene attributes, then everything but sex and age). Misspellings are corrected. Selected attribute filters, age bounds and identity scope always apply, including close matches. exact=1 matches recognized filter words without broadening, ordered newest first, without model calls. Ages given as a number use a two-year tolerance. The response carries filters, filter_terms, corrected, parsed_by (rules or model), exact and relaxed","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"example":"laughing red haired woman in a cafe"},{"name":"kind","in":"query","schema":{"type":"string","enum":["face","human"],"default":"face"}},{"name":"limit","in":"query","schema":{"type":"integer","default":48,"maximum":100}},{"name":"exact","in":"query","schema":{"type":"boolean","default":false},"description":"Match all recognized filter words; no semantic fallback or model calls. Use 1 or true."},{"name":"age_min","in":"query","schema":{"type":"integer","minimum":0,"maximum":110}},{"name":"age_max","in":"query","schema":{"type":"integer","minimum":0,"maximum":110}},{"name":"sex","in":"query","schema":{"type":"string","enum":["female","male","nonbinary"]},"description":"Sex"},{"name":"age_group","in":"query","schema":{"type":"string","enum":["infant","child","teen","young-adult","adult","middle-aged","elderly"]},"description":"Age"},{"name":"ethnicity","in":"query","schema":{"type":"string","enum":["white","black","east-asian","south-asian","southeast-asian","latino","middle-eastern","pacific-islander","indigenous-american","mixed"]},"description":"Ethnicity"},{"name":"nationality","in":"query","schema":{"type":"string","enum":["american","british","irish","german","french","italian","spanish","portuguese","dutch","belgian","swedish","norwegian","danish","finnish","polish","czech","hungarian","romanian","greek","russian","ukrainian","australian","canadian","austrian","swiss","serbian","croatian","bulgarian","lithuanian","icelandic","nigerian","ghanaian","kenyan","ethiopian","senegalese","south-african","tanzanian","ugandan","somali","jamaican","african-american","haitian","congolese","cameroonian","sudanese","malian","zimbabwean","afro-brazilian","black-british","chinese","japanese","korean","taiwanese","mongolian","hong-konger","indian","pakistani","bangladeshi","sri-lankan","nepalese","bhutanese","filipino","vietnamese","thai","indonesian","malaysian","cambodian","burmese","singaporean","laotian","mexican","brazilian","colombian","argentine","peruvian","chilean","cuban","dominican","puerto-rican","venezuelan","guatemalan","ecuadorian","bolivian","honduran","uruguayan","paraguayan","costa-rican","salvadoran","nicaraguan","panamanian","turkish","iranian","egyptian","lebanese","saudi","emirati","iraqi","syrian","jordanian","moroccan","israeli","algerian","tunisian","kuwaiti","qatari","omani","yemeni","libyan","armenian","georgian","azerbaijani","palestinian","kurdish","samoan","tongan","fijian","native-hawaiian","maori","papuan","tahitian","navajo","lakota","cherokee","quechua","mapuche","inuit","maya","aymara","ojibwe","cree"]},"description":"Nationality or heritage"},{"name":"skin_tone","in":"query","schema":{"type":"string","enum":["very-light","light","medium-light","medium","medium-dark","dark","very-dark"]},"description":"Skin tone"},{"name":"eye_color","in":"query","schema":{"type":"string","enum":["brown","dark-brown","hazel","amber","green","blue","grey"]},"description":"Eye color"},{"name":"hair_color","in":"query","schema":{"type":"string","enum":["black","dark-brown","brown","light-brown","blond","platinum","red","auburn","grey","white","dyed"]},"description":"Hair color"},{"name":"hair_length","in":"query","schema":{"type":"string","enum":["bald","receding","buzz","short","medium","long","very-long"]},"description":"Hair length"},{"name":"hair_style","in":"query","schema":{"type":"string","enum":["straight","wavy","curly","coily","afro","braids","locs","updo","ponytail","bob","bangs","undercut","top-knot","mohawk","pompadour","shag","slicked-back","messy"]},"description":"Hair style"},{"name":"facial_hair","in":"query","schema":{"type":"string","enum":["none","stubble","mustache","goatee","short-beard","full-beard"]},"description":"Facial hair"},{"name":"emotion","in":"query","schema":{"type":"string","enum":["neutral","joy","laughing","serene","surprise","sadness","anger","fear","disgust","contempt","confident"]},"description":"Emotion"},{"name":"head_pose","in":"query","schema":{"type":"string","enum":["front","left-quarter","right-quarter","left-half","right-half","left-profile","right-profile","tilt-up","tilt-down","tilt-left","tilt-right"]},"description":"Head pose"},{"name":"accessories","in":"query","schema":{"type":"string","description":"comma separated"},"description":"Accessories"},{"name":"makeup","in":"query","schema":{"type":"string","enum":["none","natural","light","bold","glam"]},"description":"Makeup"},{"name":"background","in":"query","schema":{"type":"string","enum":["studio-grey","studio-white","studio-black","studio-gradient","studio-color","chroma-green","office","home","cafe","city-street","park","beach","nature","brick-wall","concrete-wall","bokeh-lights","forest","rooftop","graffiti-wall","library","desert","countryside","mountains","sunset","warehouse","botanical-garden","floral-wallpaper","urban-alley","rustic-barn","gym","hospital","classroom","kitchen","stage"]},"description":"Background"},{"name":"lighting","in":"query","schema":{"type":"string","enum":["studio-soft","rembrandt","butterfly","window","golden-hour","overcast","ring-light","hard-flash","dramatic"]},"description":"Lighting"},{"name":"style","in":"query","schema":{"type":"string","enum":["natural","beautified","editorial","candid","corporate","passport"]},"description":"Style"},{"name":"body_type","in":"query","schema":{"type":"string","enum":["very-slim","slim","athletic","average","curvy","plus-size","muscular","petite","tall"]},"description":"Body type"},{"name":"pose","in":"query","schema":{"type":"string","enum":["standing","standing-relaxed","arms-crossed","hands-on-hips","hands-in-pockets","waving","pointing","thumbs-up","walking","running","jumping","sitting","sitting-floor","leaning","holding-phone","holding-laptop","holding-coffee","holding-bag","thinking","presenting","dancing","stretching"]},"description":"Pose"},{"name":"outfit","in":"query","schema":{"type":"string","enum":["business-suit","business-casual","casual","streetwear","sportswear","athleisure","dress","formal-gown","tuxedo","hoodie","denim","winter-coat","raincoat","medical-scrubs","lab-coat","chef","construction","police","firefighter","pilot","military","school-uniform","pajamas","traditional","wedding","bohemian","vintage","tech-casual"]},"description":"Outfit"},{"name":"top","in":"query","schema":{"type":"string","enum":["t-shirt","blouse","shirt","tank-top","sweater","hoodie","polo","turtleneck","crop-top","jersey","dress","mini-dress","midi-dress","maxi-dress","shirt-dress","jumpsuit"]},"description":"Top"},{"name":"bottom","in":"query","schema":{"type":"string","enum":["jeans","trousers","chinos","wide-leg-pants","cargo-pants","flared-pants","leggings","shorts","high-waisted-shorts","skirt","mini-skirt","midi-skirt","maxi-skirt","pencil-skirt","pleated-skirt","joggers"]},"description":"Bottom"},{"name":"outerwear","in":"query","schema":{"type":"string","enum":["none","blazer","suit-jacket","denim-jacket","leather-jacket","bomber-jacket","trench-coat","pea-coat","parka","puffer-jacket","cardigan","raincoat","vest"]},"description":"Outerwear"},{"name":"footwear","in":"query","schema":{"type":"string","enum":["sneakers","boots","sandals","heels","flats","dress-shoes","loafers","oxfords","platform-shoes","running-shoes","barefoot"]},"description":"Footwear"},{"name":"clothing_style","in":"query","schema":{"type":"string","enum":["casual","formal","business","smart-casual","streetwear","athleisure","sporty","bohemian","vintage","retro","preppy","minimalist","gothic","punk","rock","glamorous","elegant","romantic","hipster","edgy","classic","chic","artsy","country","rugged","high-fashion","avant-garde","tomboy","ethnic"]},"description":"Clothing style"},{"name":"clothing_color","in":"query","schema":{"type":"string","enum":["black","white","grey","navy","blue","teal","green","olive","yellow","orange","red","pink","purple","brown","beige","cream","burgundy","mustard","lavender","mint","coral","gold","pastel","earth-tones","neutral-tones","muted","metallic","colorful"]},"description":"Clothing color"},{"name":"view","in":"query","schema":{"type":"string","enum":["front","three-quarter","profile","back"]},"description":"View"},{"name":"framing","in":"query","schema":{"type":"string","enum":["full-body","three-quarter","half-body"]},"description":"Framing"}],"responses":{"200":{"description":"ranked people with scores"}}}},"/api/v1/parse":{"post":{"summary":"Map a free-text description to generator attributes (what the \"Describe\" box uses)","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string"},"kind":{"type":"string","enum":["face","human"]}},"required":["text"]}}}},"responses":{"200":{"description":"attrs, extra, prompt_preview"}}}},"/api/v1/faces/{id}":{"get":{"summary":"Get one face","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"404":{"description":"Not found"}}}},"/api/v1/humans/{id}":{"get":{"summary":"Get one human","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/faces/{id}/similar":{"get":{"summary":"Faces that look like this one (attribute embedding search)","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","default":24}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/faces/generate":{"post":{"summary":"Generate new faces from attributes","security":[{"ApiKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"sex":{"type":"string","enum":["female","male","nonbinary"]},"age_group":{"type":"string","enum":["infant","child","teen","young-adult","adult","middle-aged","elderly"]},"ethnicity":{"type":"string","enum":["white","black","east-asian","south-asian","southeast-asian","latino","middle-eastern","pacific-islander","indigenous-american","mixed"]},"nationality":{"type":"string","enum":["american","british","irish","german","french","italian","spanish","portuguese","dutch","belgian","swedish","norwegian","danish","finnish","polish","czech","hungarian","romanian","greek","russian","ukrainian","australian","canadian","austrian","swiss","serbian","croatian","bulgarian","lithuanian","icelandic","nigerian","ghanaian","kenyan","ethiopian","senegalese","south-african","tanzanian","ugandan","somali","jamaican","african-american","haitian","congolese","cameroonian","sudanese","malian","zimbabwean","afro-brazilian","black-british","chinese","japanese","korean","taiwanese","mongolian","hong-konger","indian","pakistani","bangladeshi","sri-lankan","nepalese","bhutanese","filipino","vietnamese","thai","indonesian","malaysian","cambodian","burmese","singaporean","laotian","mexican","brazilian","colombian","argentine","peruvian","chilean","cuban","dominican","puerto-rican","venezuelan","guatemalan","ecuadorian","bolivian","honduran","uruguayan","paraguayan","costa-rican","salvadoran","nicaraguan","panamanian","turkish","iranian","egyptian","lebanese","saudi","emirati","iraqi","syrian","jordanian","moroccan","israeli","algerian","tunisian","kuwaiti","qatari","omani","yemeni","libyan","armenian","georgian","azerbaijani","palestinian","kurdish","samoan","tongan","fijian","native-hawaiian","maori","papuan","tahitian","navajo","lakota","cherokee","quechua","mapuche","inuit","maya","aymara","ojibwe","cree"]},"skin_tone":{"type":"string","enum":["very-light","light","medium-light","medium","medium-dark","dark","very-dark"]},"eye_color":{"type":"string","enum":["brown","dark-brown","hazel","amber","green","blue","grey"]},"hair_color":{"type":"string","enum":["black","dark-brown","brown","light-brown","blond","platinum","red","auburn","grey","white","dyed"]},"hair_length":{"type":"string","enum":["bald","receding","buzz","short","medium","long","very-long"]},"hair_style":{"type":"string","enum":["straight","wavy","curly","coily","afro","braids","locs","updo","ponytail","bob","bangs","undercut","top-knot","mohawk","pompadour","shag","slicked-back","messy"]},"facial_hair":{"type":"string","enum":["none","stubble","mustache","goatee","short-beard","full-beard"]},"emotion":{"type":"string","enum":["neutral","joy","laughing","serene","surprise","sadness","anger","fear","disgust","contempt","confident"]},"head_pose":{"type":"string","enum":["front","left-quarter","right-quarter","left-half","right-half","left-profile","right-profile","tilt-up","tilt-down","tilt-left","tilt-right"]},"accessories":{"type":"array","items":{"type":"string","enum":["glasses","reading-glasses","sunglasses","goggles","earrings","necklace","hat","beanie","cap","headscarf","hijab","turban","headphones","nose-ring","bow-tie","scarf","face-mask"]}},"makeup":{"type":"string","enum":["none","natural","light","bold","glam"]},"background":{"type":"string","enum":["studio-grey","studio-white","studio-black","studio-gradient","studio-color","chroma-green","office","home","cafe","city-street","park","beach","nature","brick-wall","concrete-wall","bokeh-lights","forest","rooftop","graffiti-wall","library","desert","countryside","mountains","sunset","warehouse","botanical-garden","floral-wallpaper","urban-alley","rustic-barn","gym","hospital","classroom","kitchen","stage"]},"lighting":{"type":"string","enum":["studio-soft","rembrandt","butterfly","window","golden-hour","overcast","ring-light","hard-flash","dramatic"]},"style":{"type":"string","enum":["natural","beautified","editorial","candid","corporate","passport"]},"top":{"type":"string","enum":["t-shirt","blouse","shirt","tank-top","sweater","hoodie","polo","turtleneck","crop-top","jersey","dress","mini-dress","midi-dress","maxi-dress","shirt-dress","jumpsuit"]},"outerwear":{"type":"string","enum":["none","blazer","suit-jacket","denim-jacket","leather-jacket","bomber-jacket","trench-coat","pea-coat","parka","puffer-jacket","cardigan","raincoat","vest"]},"clothing_color":{"type":"string","enum":["black","white","grey","navy","blue","teal","green","olive","yellow","orange","red","pink","purple","brown","beige","cream","burgundy","mustard","lavender","mint","coral","gold","pastel","earth-tones","neutral-tones","muted","metallic","colorful"]},"age_years":{"type":"integer"},"seed":{"type":"integer"},"count":{"type":"integer","default":1,"maximum":8},"quality":{"type":"string","enum":["fast","standard","hd"],"default":"standard","description":"fast: same model at 640 px (humans 576 x 832), private by default, about 1 quota unit; standard: 1024 px (humans 832 x 1216); hd: FLUX.2 klein 9B at 1536 x 1536 (humans 1024 x 1536), including reference images, 3 quota units"},"width":{"type":"integer"},"height":{"type":"integer"},"prompt":{"type":"string","description":"Extra free text appended to the attribute prompt"},"public":{"type":"boolean","default":true,"description":"Add the result to the public library"},"reference_image":{"type":"string","description":"multipart file or base64; keeps this face on the generated person"}}}},"multipart/form-data":{"schema":{"type":"object","properties":{"sex":{"type":"string","enum":["female","male","nonbinary"]},"age_group":{"type":"string","enum":["infant","child","teen","young-adult","adult","middle-aged","elderly"]},"ethnicity":{"type":"string","enum":["white","black","east-asian","south-asian","southeast-asian","latino","middle-eastern","pacific-islander","indigenous-american","mixed"]},"nationality":{"type":"string","enum":["american","british","irish","german","french","italian","spanish","portuguese","dutch","belgian","swedish","norwegian","danish","finnish","polish","czech","hungarian","romanian","greek","russian","ukrainian","australian","canadian","austrian","swiss","serbian","croatian","bulgarian","lithuanian","icelandic","nigerian","ghanaian","kenyan","ethiopian","senegalese","south-african","tanzanian","ugandan","somali","jamaican","african-american","haitian","congolese","cameroonian","sudanese","malian","zimbabwean","afro-brazilian","black-british","chinese","japanese","korean","taiwanese","mongolian","hong-konger","indian","pakistani","bangladeshi","sri-lankan","nepalese","bhutanese","filipino","vietnamese","thai","indonesian","malaysian","cambodian","burmese","singaporean","laotian","mexican","brazilian","colombian","argentine","peruvian","chilean","cuban","dominican","puerto-rican","venezuelan","guatemalan","ecuadorian","bolivian","honduran","uruguayan","paraguayan","costa-rican","salvadoran","nicaraguan","panamanian","turkish","iranian","egyptian","lebanese","saudi","emirati","iraqi","syrian","jordanian","moroccan","israeli","algerian","tunisian","kuwaiti","qatari","omani","yemeni","libyan","armenian","georgian","azerbaijani","palestinian","kurdish","samoan","tongan","fijian","native-hawaiian","maori","papuan","tahitian","navajo","lakota","cherokee","quechua","mapuche","inuit","maya","aymara","ojibwe","cree"]},"skin_tone":{"type":"string","enum":["very-light","light","medium-light","medium","medium-dark","dark","very-dark"]},"eye_color":{"type":"string","enum":["brown","dark-brown","hazel","amber","green","blue","grey"]},"hair_color":{"type":"string","enum":["black","dark-brown","brown","light-brown","blond","platinum","red","auburn","grey","white","dyed"]},"hair_length":{"type":"string","enum":["bald","receding","buzz","short","medium","long","very-long"]},"hair_style":{"type":"string","enum":["straight","wavy","curly","coily","afro","braids","locs","updo","ponytail","bob","bangs","undercut","top-knot","mohawk","pompadour","shag","slicked-back","messy"]},"facial_hair":{"type":"string","enum":["none","stubble","mustache","goatee","short-beard","full-beard"]},"emotion":{"type":"string","enum":["neutral","joy","laughing","serene","surprise","sadness","anger","fear","disgust","contempt","confident"]},"head_pose":{"type":"string","enum":["front","left-quarter","right-quarter","left-half","right-half","left-profile","right-profile","tilt-up","tilt-down","tilt-left","tilt-right"]},"accessories":{"type":"array","items":{"type":"string","enum":["glasses","reading-glasses","sunglasses","goggles","earrings","necklace","hat","beanie","cap","headscarf","hijab","turban","headphones","nose-ring","bow-tie","scarf","face-mask"]}},"makeup":{"type":"string","enum":["none","natural","light","bold","glam"]},"background":{"type":"string","enum":["studio-grey","studio-white","studio-black","studio-gradient","studio-color","chroma-green","office","home","cafe","city-street","park","beach","nature","brick-wall","concrete-wall","bokeh-lights","forest","rooftop","graffiti-wall","library","desert","countryside","mountains","sunset","warehouse","botanical-garden","floral-wallpaper","urban-alley","rustic-barn","gym","hospital","classroom","kitchen","stage"]},"lighting":{"type":"string","enum":["studio-soft","rembrandt","butterfly","window","golden-hour","overcast","ring-light","hard-flash","dramatic"]},"style":{"type":"string","enum":["natural","beautified","editorial","candid","corporate","passport"]},"top":{"type":"string","enum":["t-shirt","blouse","shirt","tank-top","sweater","hoodie","polo","turtleneck","crop-top","jersey","dress","mini-dress","midi-dress","maxi-dress","shirt-dress","jumpsuit"]},"outerwear":{"type":"string","enum":["none","blazer","suit-jacket","denim-jacket","leather-jacket","bomber-jacket","trench-coat","pea-coat","parka","puffer-jacket","cardigan","raincoat","vest"]},"clothing_color":{"type":"string","enum":["black","white","grey","navy","blue","teal","green","olive","yellow","orange","red","pink","purple","brown","beige","cream","burgundy","mustard","lavender","mint","coral","gold","pastel","earth-tones","neutral-tones","muted","metallic","colorful"]},"age_years":{"type":"integer"},"seed":{"type":"integer"},"count":{"type":"integer","default":1,"maximum":8},"quality":{"type":"string","enum":["fast","standard","hd"],"default":"standard","description":"fast: same model at 640 px (humans 576 x 832), private by default, about 1 quota unit; standard: 1024 px (humans 832 x 1216); hd: FLUX.2 klein 9B at 1536 x 1536 (humans 1024 x 1536), including reference images, 3 quota units"},"width":{"type":"integer"},"height":{"type":"integer"},"prompt":{"type":"string","description":"Extra free text appended to the attribute prompt"},"public":{"type":"boolean","default":true,"description":"Add the result to the public library"},"reference_image":{"type":"string","description":"multipart file or base64; keeps this face on the generated person"}}}}}},"responses":{"200":{"description":"Generated people"},"401":{"description":"API key required"},"429":{"description":"Daily quota reached"}}}},"/api/v1/humans/generate":{"post":{"summary":"Generate new full-body humans from attributes","security":[{"ApiKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"sex":{"type":"string","enum":["female","male","nonbinary"]},"age_group":{"type":"string","enum":["infant","child","teen","young-adult","adult","middle-aged","elderly"]},"ethnicity":{"type":"string","enum":["white","black","east-asian","south-asian","southeast-asian","latino","middle-eastern","pacific-islander","indigenous-american","mixed"]},"nationality":{"type":"string","enum":["american","british","irish","german","french","italian","spanish","portuguese","dutch","belgian","swedish","norwegian","danish","finnish","polish","czech","hungarian","romanian","greek","russian","ukrainian","australian","canadian","austrian","swiss","serbian","croatian","bulgarian","lithuanian","icelandic","nigerian","ghanaian","kenyan","ethiopian","senegalese","south-african","tanzanian","ugandan","somali","jamaican","african-american","haitian","congolese","cameroonian","sudanese","malian","zimbabwean","afro-brazilian","black-british","chinese","japanese","korean","taiwanese","mongolian","hong-konger","indian","pakistani","bangladeshi","sri-lankan","nepalese","bhutanese","filipino","vietnamese","thai","indonesian","malaysian","cambodian","burmese","singaporean","laotian","mexican","brazilian","colombian","argentine","peruvian","chilean","cuban","dominican","puerto-rican","venezuelan","guatemalan","ecuadorian","bolivian","honduran","uruguayan","paraguayan","costa-rican","salvadoran","nicaraguan","panamanian","turkish","iranian","egyptian","lebanese","saudi","emirati","iraqi","syrian","jordanian","moroccan","israeli","algerian","tunisian","kuwaiti","qatari","omani","yemeni","libyan","armenian","georgian","azerbaijani","palestinian","kurdish","samoan","tongan","fijian","native-hawaiian","maori","papuan","tahitian","navajo","lakota","cherokee","quechua","mapuche","inuit","maya","aymara","ojibwe","cree"]},"skin_tone":{"type":"string","enum":["very-light","light","medium-light","medium","medium-dark","dark","very-dark"]},"eye_color":{"type":"string","enum":["brown","dark-brown","hazel","amber","green","blue","grey"]},"hair_color":{"type":"string","enum":["black","dark-brown","brown","light-brown","blond","platinum","red","auburn","grey","white","dyed"]},"hair_length":{"type":"string","enum":["bald","receding","buzz","short","medium","long","very-long"]},"hair_style":{"type":"string","enum":["straight","wavy","curly","coily","afro","braids","locs","updo","ponytail","bob","bangs","undercut","top-knot","mohawk","pompadour","shag","slicked-back","messy"]},"facial_hair":{"type":"string","enum":["none","stubble","mustache","goatee","short-beard","full-beard"]},"emotion":{"type":"string","enum":["neutral","joy","laughing","serene","surprise","sadness","anger","fear","disgust","contempt","confident"]},"head_pose":{"type":"string","enum":["front","left-quarter","right-quarter","left-half","right-half","left-profile","right-profile","tilt-up","tilt-down","tilt-left","tilt-right"]},"accessories":{"type":"array","items":{"type":"string","enum":["glasses","reading-glasses","sunglasses","goggles","earrings","necklace","hat","beanie","cap","headscarf","hijab","turban","headphones","nose-ring","bow-tie","scarf","face-mask"]}},"makeup":{"type":"string","enum":["none","natural","light","bold","glam"]},"background":{"type":"string","enum":["studio-grey","studio-white","studio-black","studio-gradient","studio-color","chroma-green","office","home","cafe","city-street","park","beach","nature","brick-wall","concrete-wall","bokeh-lights","forest","rooftop","graffiti-wall","library","desert","countryside","mountains","sunset","warehouse","botanical-garden","floral-wallpaper","urban-alley","rustic-barn","gym","hospital","classroom","kitchen","stage"]},"lighting":{"type":"string","enum":["studio-soft","rembrandt","butterfly","window","golden-hour","overcast","ring-light","hard-flash","dramatic"]},"style":{"type":"string","enum":["natural","beautified","editorial","candid","corporate","passport"]},"body_type":{"type":"string","enum":["very-slim","slim","athletic","average","curvy","plus-size","muscular","petite","tall"]},"pose":{"type":"string","enum":["standing","standing-relaxed","arms-crossed","hands-on-hips","hands-in-pockets","waving","pointing","thumbs-up","walking","running","jumping","sitting","sitting-floor","leaning","holding-phone","holding-laptop","holding-coffee","holding-bag","thinking","presenting","dancing","stretching"]},"outfit":{"type":"string","enum":["business-suit","business-casual","casual","streetwear","sportswear","athleisure","dress","formal-gown","tuxedo","hoodie","denim","winter-coat","raincoat","medical-scrubs","lab-coat","chef","construction","police","firefighter","pilot","military","school-uniform","pajamas","traditional","wedding","bohemian","vintage","tech-casual"]},"top":{"type":"string","enum":["t-shirt","blouse","shirt","tank-top","sweater","hoodie","polo","turtleneck","crop-top","jersey","dress","mini-dress","midi-dress","maxi-dress","shirt-dress","jumpsuit"]},"bottom":{"type":"string","enum":["jeans","trousers","chinos","wide-leg-pants","cargo-pants","flared-pants","leggings","shorts","high-waisted-shorts","skirt","mini-skirt","midi-skirt","maxi-skirt","pencil-skirt","pleated-skirt","joggers"]},"outerwear":{"type":"string","enum":["none","blazer","suit-jacket","denim-jacket","leather-jacket","bomber-jacket","trench-coat","pea-coat","parka","puffer-jacket","cardigan","raincoat","vest"]},"footwear":{"type":"string","enum":["sneakers","boots","sandals","heels","flats","dress-shoes","loafers","oxfords","platform-shoes","running-shoes","barefoot"]},"clothing_style":{"type":"string","enum":["casual","formal","business","smart-casual","streetwear","athleisure","sporty","bohemian","vintage","retro","preppy","minimalist","gothic","punk","rock","glamorous","elegant","romantic","hipster","edgy","classic","chic","artsy","country","rugged","high-fashion","avant-garde","tomboy","ethnic"]},"clothing_color":{"type":"string","enum":["black","white","grey","navy","blue","teal","green","olive","yellow","orange","red","pink","purple","brown","beige","cream","burgundy","mustard","lavender","mint","coral","gold","pastel","earth-tones","neutral-tones","muted","metallic","colorful"]},"view":{"type":"string","enum":["front","three-quarter","profile","back"]},"framing":{"type":"string","enum":["full-body","three-quarter","half-body"]},"age_years":{"type":"integer"},"seed":{"type":"integer"},"count":{"type":"integer","default":1,"maximum":8},"quality":{"type":"string","enum":["fast","standard","hd"],"default":"standard","description":"fast: same model at 640 px (humans 576 x 832), private by default, about 1 quota unit; standard: 1024 px (humans 832 x 1216); hd: FLUX.2 klein 9B at 1536 x 1536 (humans 1024 x 1536), including reference images, 3 quota units"},"width":{"type":"integer"},"height":{"type":"integer"},"prompt":{"type":"string","description":"Extra free text appended to the attribute prompt"},"public":{"type":"boolean","default":true,"description":"Add the result to the public library"},"reference_image":{"type":"string","description":"multipart file or base64; keeps this face on the generated person"}}}},"multipart/form-data":{"schema":{"type":"object","properties":{"sex":{"type":"string","enum":["female","male","nonbinary"]},"age_group":{"type":"string","enum":["infant","child","teen","young-adult","adult","middle-aged","elderly"]},"ethnicity":{"type":"string","enum":["white","black","east-asian","south-asian","southeast-asian","latino","middle-eastern","pacific-islander","indigenous-american","mixed"]},"nationality":{"type":"string","enum":["american","british","irish","german","french","italian","spanish","portuguese","dutch","belgian","swedish","norwegian","danish","finnish","polish","czech","hungarian","romanian","greek","russian","ukrainian","australian","canadian","austrian","swiss","serbian","croatian","bulgarian","lithuanian","icelandic","nigerian","ghanaian","kenyan","ethiopian","senegalese","south-african","tanzanian","ugandan","somali","jamaican","african-american","haitian","congolese","cameroonian","sudanese","malian","zimbabwean","afro-brazilian","black-british","chinese","japanese","korean","taiwanese","mongolian","hong-konger","indian","pakistani","bangladeshi","sri-lankan","nepalese","bhutanese","filipino","vietnamese","thai","indonesian","malaysian","cambodian","burmese","singaporean","laotian","mexican","brazilian","colombian","argentine","peruvian","chilean","cuban","dominican","puerto-rican","venezuelan","guatemalan","ecuadorian","bolivian","honduran","uruguayan","paraguayan","costa-rican","salvadoran","nicaraguan","panamanian","turkish","iranian","egyptian","lebanese","saudi","emirati","iraqi","syrian","jordanian","moroccan","israeli","algerian","tunisian","kuwaiti","qatari","omani","yemeni","libyan","armenian","georgian","azerbaijani","palestinian","kurdish","samoan","tongan","fijian","native-hawaiian","maori","papuan","tahitian","navajo","lakota","cherokee","quechua","mapuche","inuit","maya","aymara","ojibwe","cree"]},"skin_tone":{"type":"string","enum":["very-light","light","medium-light","medium","medium-dark","dark","very-dark"]},"eye_color":{"type":"string","enum":["brown","dark-brown","hazel","amber","green","blue","grey"]},"hair_color":{"type":"string","enum":["black","dark-brown","brown","light-brown","blond","platinum","red","auburn","grey","white","dyed"]},"hair_length":{"type":"string","enum":["bald","receding","buzz","short","medium","long","very-long"]},"hair_style":{"type":"string","enum":["straight","wavy","curly","coily","afro","braids","locs","updo","ponytail","bob","bangs","undercut","top-knot","mohawk","pompadour","shag","slicked-back","messy"]},"facial_hair":{"type":"string","enum":["none","stubble","mustache","goatee","short-beard","full-beard"]},"emotion":{"type":"string","enum":["neutral","joy","laughing","serene","surprise","sadness","anger","fear","disgust","contempt","confident"]},"head_pose":{"type":"string","enum":["front","left-quarter","right-quarter","left-half","right-half","left-profile","right-profile","tilt-up","tilt-down","tilt-left","tilt-right"]},"accessories":{"type":"array","items":{"type":"string","enum":["glasses","reading-glasses","sunglasses","goggles","earrings","necklace","hat","beanie","cap","headscarf","hijab","turban","headphones","nose-ring","bow-tie","scarf","face-mask"]}},"makeup":{"type":"string","enum":["none","natural","light","bold","glam"]},"background":{"type":"string","enum":["studio-grey","studio-white","studio-black","studio-gradient","studio-color","chroma-green","office","home","cafe","city-street","park","beach","nature","brick-wall","concrete-wall","bokeh-lights","forest","rooftop","graffiti-wall","library","desert","countryside","mountains","sunset","warehouse","botanical-garden","floral-wallpaper","urban-alley","rustic-barn","gym","hospital","classroom","kitchen","stage"]},"lighting":{"type":"string","enum":["studio-soft","rembrandt","butterfly","window","golden-hour","overcast","ring-light","hard-flash","dramatic"]},"style":{"type":"string","enum":["natural","beautified","editorial","candid","corporate","passport"]},"body_type":{"type":"string","enum":["very-slim","slim","athletic","average","curvy","plus-size","muscular","petite","tall"]},"pose":{"type":"string","enum":["standing","standing-relaxed","arms-crossed","hands-on-hips","hands-in-pockets","waving","pointing","thumbs-up","walking","running","jumping","sitting","sitting-floor","leaning","holding-phone","holding-laptop","holding-coffee","holding-bag","thinking","presenting","dancing","stretching"]},"outfit":{"type":"string","enum":["business-suit","business-casual","casual","streetwear","sportswear","athleisure","dress","formal-gown","tuxedo","hoodie","denim","winter-coat","raincoat","medical-scrubs","lab-coat","chef","construction","police","firefighter","pilot","military","school-uniform","pajamas","traditional","wedding","bohemian","vintage","tech-casual"]},"top":{"type":"string","enum":["t-shirt","blouse","shirt","tank-top","sweater","hoodie","polo","turtleneck","crop-top","jersey","dress","mini-dress","midi-dress","maxi-dress","shirt-dress","jumpsuit"]},"bottom":{"type":"string","enum":["jeans","trousers","chinos","wide-leg-pants","cargo-pants","flared-pants","leggings","shorts","high-waisted-shorts","skirt","mini-skirt","midi-skirt","maxi-skirt","pencil-skirt","pleated-skirt","joggers"]},"outerwear":{"type":"string","enum":["none","blazer","suit-jacket","denim-jacket","leather-jacket","bomber-jacket","trench-coat","pea-coat","parka","puffer-jacket","cardigan","raincoat","vest"]},"footwear":{"type":"string","enum":["sneakers","boots","sandals","heels","flats","dress-shoes","loafers","oxfords","platform-shoes","running-shoes","barefoot"]},"clothing_style":{"type":"string","enum":["casual","formal","business","smart-casual","streetwear","athleisure","sporty","bohemian","vintage","retro","preppy","minimalist","gothic","punk","rock","glamorous","elegant","romantic","hipster","edgy","classic","chic","artsy","country","rugged","high-fashion","avant-garde","tomboy","ethnic"]},"clothing_color":{"type":"string","enum":["black","white","grey","navy","blue","teal","green","olive","yellow","orange","red","pink","purple","brown","beige","cream","burgundy","mustard","lavender","mint","coral","gold","pastel","earth-tones","neutral-tones","muted","metallic","colorful"]},"view":{"type":"string","enum":["front","three-quarter","profile","back"]},"framing":{"type":"string","enum":["full-body","three-quarter","half-body"]},"age_years":{"type":"integer"},"seed":{"type":"integer"},"count":{"type":"integer","default":1,"maximum":8},"quality":{"type":"string","enum":["fast","standard","hd"],"default":"standard","description":"fast: same model at 640 px (humans 576 x 832), private by default, about 1 quota unit; standard: 1024 px (humans 832 x 1216); hd: FLUX.2 klein 9B at 1536 x 1536 (humans 1024 x 1536), including reference images, 3 quota units"},"width":{"type":"integer"},"height":{"type":"integer"},"prompt":{"type":"string","description":"Extra free text appended to the attribute prompt"},"public":{"type":"boolean","default":true,"description":"Add the result to the public library"},"reference_image":{"type":"string","description":"multipart file or base64; keeps this face on the generated person"}}}}}},"responses":{"200":{"description":"Generated people"}}}},"/api/v1/faces/similar":{"post":{"summary":"Anonymizer: upload a photo, get synthetic lookalikes that are not that person","security":[{"ApiKey":[]}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"image":{"type":"string","format":"binary"},"limit":{"type":"integer","default":24},"generate":{"type":"integer","default":0,"description":"Also generate this many brand new lookalikes"}}}},"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"image_base64":{"type":"string"},"limit":{"type":"integer"},"generate":{"type":"integer"}}}}}},"responses":{"200":{"description":"analysis, matches, generated"}}}},"/api/v1/analyze":{"post":{"summary":"Describe the person in a photo as attributes (photo is processed in memory, never stored)","security":[{"ApiKey":[]}],"responses":{"200":{"description":"OK"}}}},"/api/v1/identities":{"get":{"summary":"List identities (consistent synthetic people); filter by sex, age_group, ethnicity, nationality, hair_color, eye_color, skin_tone; with a key, your private ones are included","parameters":[{"name":"sex","in":"query","schema":{"type":"string"}},{"name":"age_group","in":"query","schema":{"type":"string"}},{"name":"ethnicity","in":"query","schema":{"type":"string"}},{"name":"nationality","in":"query","schema":{"type":"string"}},{"name":"hair_color","in":"query","schema":{"type":"string"}},{"name":"eye_color","in":"query","schema":{"type":"string"}},{"name":"skin_tone","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}},"post":{"summary":"Create an identity: an anchor portrait every variation will match","security":[{"ApiKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"sex":{"type":"string","enum":["female","male","nonbinary"]},"age_group":{"type":"string","enum":["infant","child","teen","young-adult","adult","middle-aged","elderly"]},"ethnicity":{"type":"string","enum":["white","black","east-asian","south-asian","southeast-asian","latino","middle-eastern","pacific-islander","indigenous-american","mixed"]},"nationality":{"type":"string","enum":["american","british","irish","german","french","italian","spanish","portuguese","dutch","belgian","swedish","norwegian","danish","finnish","polish","czech","hungarian","romanian","greek","russian","ukrainian","australian","canadian","austrian","swiss","serbian","croatian","bulgarian","lithuanian","icelandic","nigerian","ghanaian","kenyan","ethiopian","senegalese","south-african","tanzanian","ugandan","somali","jamaican","african-american","haitian","congolese","cameroonian","sudanese","malian","zimbabwean","afro-brazilian","black-british","chinese","japanese","korean","taiwanese","mongolian","hong-konger","indian","pakistani","bangladeshi","sri-lankan","nepalese","bhutanese","filipino","vietnamese","thai","indonesian","malaysian","cambodian","burmese","singaporean","laotian","mexican","brazilian","colombian","argentine","peruvian","chilean","cuban","dominican","puerto-rican","venezuelan","guatemalan","ecuadorian","bolivian","honduran","uruguayan","paraguayan","costa-rican","salvadoran","nicaraguan","panamanian","turkish","iranian","egyptian","lebanese","saudi","emirati","iraqi","syrian","jordanian","moroccan","israeli","algerian","tunisian","kuwaiti","qatari","omani","yemeni","libyan","armenian","georgian","azerbaijani","palestinian","kurdish","samoan","tongan","fijian","native-hawaiian","maori","papuan","tahitian","navajo","lakota","cherokee","quechua","mapuche","inuit","maya","aymara","ojibwe","cree"]},"skin_tone":{"type":"string","enum":["very-light","light","medium-light","medium","medium-dark","dark","very-dark"]},"eye_color":{"type":"string","enum":["brown","dark-brown","hazel","amber","green","blue","grey"]},"hair_color":{"type":"string","enum":["black","dark-brown","brown","light-brown","blond","platinum","red","auburn","grey","white","dyed"]},"hair_length":{"type":"string","enum":["bald","receding","buzz","short","medium","long","very-long"]},"hair_style":{"type":"string","enum":["straight","wavy","curly","coily","afro","braids","locs","updo","ponytail","bob","bangs","undercut","top-knot","mohawk","pompadour","shag","slicked-back","messy"]},"facial_hair":{"type":"string","enum":["none","stubble","mustache","goatee","short-beard","full-beard"]},"emotion":{"type":"string","enum":["neutral","joy","laughing","serene","surprise","sadness","anger","fear","disgust","contempt","confident"]},"head_pose":{"type":"string","enum":["front","left-quarter","right-quarter","left-half","right-half","left-profile","right-profile","tilt-up","tilt-down","tilt-left","tilt-right"]},"accessories":{"type":"array","items":{"type":"string","enum":["glasses","reading-glasses","sunglasses","goggles","earrings","necklace","hat","beanie","cap","headscarf","hijab","turban","headphones","nose-ring","bow-tie","scarf","face-mask"]}},"makeup":{"type":"string","enum":["none","natural","light","bold","glam"]},"background":{"type":"string","enum":["studio-grey","studio-white","studio-black","studio-gradient","studio-color","chroma-green","office","home","cafe","city-street","park","beach","nature","brick-wall","concrete-wall","bokeh-lights","forest","rooftop","graffiti-wall","library","desert","countryside","mountains","sunset","warehouse","botanical-garden","floral-wallpaper","urban-alley","rustic-barn","gym","hospital","classroom","kitchen","stage"]},"lighting":{"type":"string","enum":["studio-soft","rembrandt","butterfly","window","golden-hour","overcast","ring-light","hard-flash","dramatic"]},"style":{"type":"string","enum":["natural","beautified","editorial","candid","corporate","passport"]},"top":{"type":"string","enum":["t-shirt","blouse","shirt","tank-top","sweater","hoodie","polo","turtleneck","crop-top","jersey","dress","mini-dress","midi-dress","maxi-dress","shirt-dress","jumpsuit"]},"outerwear":{"type":"string","enum":["none","blazer","suit-jacket","denim-jacket","leather-jacket","bomber-jacket","trench-coat","pea-coat","parka","puffer-jacket","cardigan","raincoat","vest"]},"clothing_color":{"type":"string","enum":["black","white","grey","navy","blue","teal","green","olive","yellow","orange","red","pink","purple","brown","beige","cream","burgundy","mustard","lavender","mint","coral","gold","pastel","earth-tones","neutral-tones","muted","metallic","colorful"]},"name":{"type":"string"},"seed":{"type":"integer"},"source_id":{"type":"string","description":"a library image id: that exact person becomes the identity"},"reference_image":{"type":"string","description":"optional base64 photo to base the identity on (private)"}}}}}},"responses":{"200":{"description":"OK"}}}},"/api/v1/identities/grid":{"get":{"summary":"Demographic coverage: one identity per ethnicity, sex and age band cell (10 x 2 x 5 = 100 cells)","responses":{"200":{"description":"cells with identity ids"}}}},"/api/v1/identities/{id}":{"get":{"summary":"Identity with all its variations","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/identities/{id}/variations":{"post":{"summary":"Generate more photos of the same person (expression, pose, outfit, scene, full body)","security":[{"ApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","default":4,"maximum":8},"kind":{"type":"string","enum":["face","human"],"default":"face"},"sex":{"type":"string","enum":["female","male","nonbinary"]},"age_group":{"type":"string","enum":["infant","child","teen","young-adult","adult","middle-aged","elderly"]},"ethnicity":{"type":"string","enum":["white","black","east-asian","south-asian","southeast-asian","latino","middle-eastern","pacific-islander","indigenous-american","mixed"]},"nationality":{"type":"string","enum":["american","british","irish","german","french","italian","spanish","portuguese","dutch","belgian","swedish","norwegian","danish","finnish","polish","czech","hungarian","romanian","greek","russian","ukrainian","australian","canadian","austrian","swiss","serbian","croatian","bulgarian","lithuanian","icelandic","nigerian","ghanaian","kenyan","ethiopian","senegalese","south-african","tanzanian","ugandan","somali","jamaican","african-american","haitian","congolese","cameroonian","sudanese","malian","zimbabwean","afro-brazilian","black-british","chinese","japanese","korean","taiwanese","mongolian","hong-konger","indian","pakistani","bangladeshi","sri-lankan","nepalese","bhutanese","filipino","vietnamese","thai","indonesian","malaysian","cambodian","burmese","singaporean","laotian","mexican","brazilian","colombian","argentine","peruvian","chilean","cuban","dominican","puerto-rican","venezuelan","guatemalan","ecuadorian","bolivian","honduran","uruguayan","paraguayan","costa-rican","salvadoran","nicaraguan","panamanian","turkish","iranian","egyptian","lebanese","saudi","emirati","iraqi","syrian","jordanian","moroccan","israeli","algerian","tunisian","kuwaiti","qatari","omani","yemeni","libyan","armenian","georgian","azerbaijani","palestinian","kurdish","samoan","tongan","fijian","native-hawaiian","maori","papuan","tahitian","navajo","lakota","cherokee","quechua","mapuche","inuit","maya","aymara","ojibwe","cree"]},"skin_tone":{"type":"string","enum":["very-light","light","medium-light","medium","medium-dark","dark","very-dark"]},"eye_color":{"type":"string","enum":["brown","dark-brown","hazel","amber","green","blue","grey"]},"hair_color":{"type":"string","enum":["black","dark-brown","brown","light-brown","blond","platinum","red","auburn","grey","white","dyed"]},"hair_length":{"type":"string","enum":["bald","receding","buzz","short","medium","long","very-long"]},"hair_style":{"type":"string","enum":["straight","wavy","curly","coily","afro","braids","locs","updo","ponytail","bob","bangs","undercut","top-knot","mohawk","pompadour","shag","slicked-back","messy"]},"facial_hair":{"type":"string","enum":["none","stubble","mustache","goatee","short-beard","full-beard"]},"emotion":{"type":"string","enum":["neutral","joy","laughing","serene","surprise","sadness","anger","fear","disgust","contempt","confident"]},"head_pose":{"type":"string","enum":["front","left-quarter","right-quarter","left-half","right-half","left-profile","right-profile","tilt-up","tilt-down","tilt-left","tilt-right"]},"accessories":{"type":"array","items":{"type":"string","enum":["glasses","reading-glasses","sunglasses","goggles","earrings","necklace","hat","beanie","cap","headscarf","hijab","turban","headphones","nose-ring","bow-tie","scarf","face-mask"]}},"makeup":{"type":"string","enum":["none","natural","light","bold","glam"]},"background":{"type":"string","enum":["studio-grey","studio-white","studio-black","studio-gradient","studio-color","chroma-green","office","home","cafe","city-street","park","beach","nature","brick-wall","concrete-wall","bokeh-lights","forest","rooftop","graffiti-wall","library","desert","countryside","mountains","sunset","warehouse","botanical-garden","floral-wallpaper","urban-alley","rustic-barn","gym","hospital","classroom","kitchen","stage"]},"lighting":{"type":"string","enum":["studio-soft","rembrandt","butterfly","window","golden-hour","overcast","ring-light","hard-flash","dramatic"]},"style":{"type":"string","enum":["natural","beautified","editorial","candid","corporate","passport"]},"body_type":{"type":"string","enum":["very-slim","slim","athletic","average","curvy","plus-size","muscular","petite","tall"]},"pose":{"type":"string","enum":["standing","standing-relaxed","arms-crossed","hands-on-hips","hands-in-pockets","waving","pointing","thumbs-up","walking","running","jumping","sitting","sitting-floor","leaning","holding-phone","holding-laptop","holding-coffee","holding-bag","thinking","presenting","dancing","stretching"]},"outfit":{"type":"string","enum":["business-suit","business-casual","casual","streetwear","sportswear","athleisure","dress","formal-gown","tuxedo","hoodie","denim","winter-coat","raincoat","medical-scrubs","lab-coat","chef","construction","police","firefighter","pilot","military","school-uniform","pajamas","traditional","wedding","bohemian","vintage","tech-casual"]},"top":{"type":"string","enum":["t-shirt","blouse","shirt","tank-top","sweater","hoodie","polo","turtleneck","crop-top","jersey","dress","mini-dress","midi-dress","maxi-dress","shirt-dress","jumpsuit"]},"bottom":{"type":"string","enum":["jeans","trousers","chinos","wide-leg-pants","cargo-pants","flared-pants","leggings","shorts","high-waisted-shorts","skirt","mini-skirt","midi-skirt","maxi-skirt","pencil-skirt","pleated-skirt","joggers"]},"outerwear":{"type":"string","enum":["none","blazer","suit-jacket","denim-jacket","leather-jacket","bomber-jacket","trench-coat","pea-coat","parka","puffer-jacket","cardigan","raincoat","vest"]},"footwear":{"type":"string","enum":["sneakers","boots","sandals","heels","flats","dress-shoes","loafers","oxfords","platform-shoes","running-shoes","barefoot"]},"clothing_style":{"type":"string","enum":["casual","formal","business","smart-casual","streetwear","athleisure","sporty","bohemian","vintage","retro","preppy","minimalist","gothic","punk","rock","glamorous","elegant","romantic","hipster","edgy","classic","chic","artsy","country","rugged","high-fashion","avant-garde","tomboy","ethnic"]},"clothing_color":{"type":"string","enum":["black","white","grey","navy","blue","teal","green","olive","yellow","orange","red","pink","purple","brown","beige","cream","burgundy","mustard","lavender","mint","coral","gold","pastel","earth-tones","neutral-tones","muted","metallic","colorful"]},"view":{"type":"string","enum":["front","three-quarter","profile","back"]},"framing":{"type":"string","enum":["full-body","three-quarter","half-body"]},"prompt":{"type":"string"},"quality":{"type":"string","enum":["standard","hd"]}}}}}},"responses":{"200":{"description":"OK"}}}},"/api/v1/identities/{id}/performer-pack":{"get":{"summary":"Export the identity as a performer pack (performer-pack/1): one deterministic zip with performer.json, face stills (one per view, at least three views), optional full-body stills, bible.md and recipe.json. Owner key or admin only. Refused with 409 when fewer than three face views qualify; the error names the missing views and POST /identities/{id}/variations as the way to generate them. With plan=1 returns the views it would hold and the missing ones as JSON.","security":[{"ApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"plan","in":"query","schema":{"type":"string","enum":["1"]},"description":"Return the plan as JSON instead of the archive"}],"responses":{"200":{"description":"application/zip, or JSON with plan=1","content":{"application/zip":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"API key required"},"403":{"description":"Not the owner"},"404":{"description":"Identity not found"},"409":{"description":"Fewer than three face views; have_views and missing_views name them"}}}},"/api/v1/identities/{id}/sheet":{"post":{"summary":"Contact sheet of one identity across a dimension: emotion, head_pose, age, lighting, background, looks (quiet-luxury, street-style, business, vintage-1970s, renaissance, astronaut, superhero, cyberpunk, festival, black-and-white), robustness (id-photo, glasses, hat, face-mask, occluded, cctv, low-light, phone-selfie) or outfit, pose, looks_body (full body)","security":[{"ApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"dimension":{"type":"string","enum":["emotion","head_pose","age","lighting","background","outfit","pose","looks","looks_body","robustness"],"default":"emotion"},"values":{"type":"array","items":{"type":"string"},"description":"override the default six values, up to eight"}}}}}},"responses":{"200":{"description":"cells in order, each with its person"}}}},"/api/v1/backdrop":{"post":{"summary":"Backdrop: an empty photographic setting with room for a person, for placing a cutout in a scene. Costs one generation, returns the image bytes (never stored) with the seed in x-backdrop-seed","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"the setting, e.g. a bright loft with a brick wall and plants"},"shape":{"type":"string","enum":["landscape","portrait","square","wide"],"default":"landscape"},"seed":{"type":"integer"}}}}}},"responses":{"200":{"description":"image/jpeg or image/png"}}}},"/api/v1/studio":{"post":{"summary":"Studio: a new photo of the person in an uploaded selfie in a preset style (headshot, casual, outdoor, black and white, speaker, full body, avatar, oil painting, street style, 1920s, astronaut, superhero, medieval, cyberpunk, chef, athlete). Returns the JPEG directly; neither the upload nor the result is stored.","security":[{"ApiKey":[]}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"image":{"type":"string","format":"binary"},"style":{"type":"string"}},"required":["image","style"]}}}},"responses":{"200":{"description":"image/jpeg"}}}},"/api/v1/studio/styles":{"get":{"summary":"Studio style keys and labels","responses":{"200":{"description":"OK"}}}},"/api/v1/people":{"get":{"summary":"Images by id (ids=a,b,c, up to 200, public only, in that order), e.g. a shared Saved list","parameters":[{"name":"ids","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/edit":{"post":{"summary":"Edit any image in plain language, keeping the person: \"add round glasses\", \"make the hair silver\", \"put them in a yellow raincoat\"","security":[{"ApiKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"library image id"},"image":{"type":"string","description":"or a base64 upload"},"instruction":{"type":"string"},"changes":{"type":"object","description":"attribute changes, e.g. {\"hair_color\":\"red\",\"emotion\":\"joy\",\"age_years\":60}; phrased for the model and written into the result tags"},"count":{"type":"integer","default":1,"maximum":4},"quality":{"type":"string","enum":["fast","standard","hd"],"description":"Preserves source proportions, rounded to 64 pixels. Standard keeps the source size up to 1536 px; fast uses a 640 px long edge (humans 832); hd uses a 1536 px long edge and costs 3 units per image."},"seed":{"type":"integer"}},"required":[]}},"multipart/form-data":{"schema":{"type":"object","properties":{"image":{"type":"string","format":"binary"},"instruction":{"type":"string"}}}}}},"responses":{"200":{"description":"results"}}}},"/api/v1/enhance":{"post":{"summary":"HD re-render of an existing image at 1536 px with the 9B model (costs 3 generations)","security":[{"ApiKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]}}}},"responses":{"200":{"description":"source and result"}}}},"/api/v1/identities/{id}/set":{"post":{"summary":"Full identity set in one call: expression, age and head-pose sheets (18 images)","security":[{"ApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"sheets"}}}},"/api/v1/download.zip":{"get":{"summary":"Bulk download: a zip of images plus metadata.json and metadata.csv matching the filters; identity zips add annotations.jsonl and an LFW-style pairs.txt","parameters":[{"name":"preview","in":"query","schema":{"type":"boolean","default":false},"description":"Use preview=1 for JSON with the selected count, sample photos and a reproducible download_url, without streaming the zip."},{"name":"seed","in":"query","schema":{"type":"integer"},"description":"Stable random shuffle across every page, preview and download"},{"name":"kind","in":"query","schema":{"type":"string","enum":["face","human","identity"],"default":"face"},"description":"identity zips every photo of the most complete public identities, one folder per person (use identities=N)"},{"name":"identities","in":"query","schema":{"type":"integer","default":20,"maximum":200}},{"name":"balanced","in":"query","schema":{"type":"string"},"description":"attribute to balance across, e.g. emotion; one folder per value"},{"name":"per","in":"query","schema":{"type":"integer","default":30,"maximum":200},"description":"images per value when balanced"},{"name":"size","in":"query","schema":{"type":"integer","enum":[256,512,1024],"default":1024}},{"name":"cutout","in":"query","schema":{"type":"boolean"},"description":"transparent PNG cutouts for images generated on the chroma-green background"},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"maximum":2000},"description":"up to 2000 at 256 or 512 px, 1000 originals, 600 cutouts per request"},{"name":"ids","in":"query","schema":{"type":"string"},"description":"comma separated ids instead of filters"},{"name":"split","in":"query","schema":{"type":"string"},"description":"train/validation/test split: 1 for 80,10,10 or percentages such as 70,15,15. Images go under train/, validation/ and test/, metadata gains a split column and splits.json lists the counts. All photos of one identity share a split, stable across downloads"},{"name":"split_seed","in":"query","schema":{"type":"integer","default":42},"description":"reshuffles which identities land in which split"},{"name":"name","in":"query","schema":{"type":"string"},"description":"names the zip file, e.g. after a collection"},{"name":"sex","in":"query","schema":{"type":"string","enum":["female","male","nonbinary"]},"description":"Sex"},{"name":"age_group","in":"query","schema":{"type":"string","enum":["infant","child","teen","young-adult","adult","middle-aged","elderly"]},"description":"Age"},{"name":"ethnicity","in":"query","schema":{"type":"string","enum":["white","black","east-asian","south-asian","southeast-asian","latino","middle-eastern","pacific-islander","indigenous-american","mixed"]},"description":"Ethnicity"},{"name":"nationality","in":"query","schema":{"type":"string","enum":["american","british","irish","german","french","italian","spanish","portuguese","dutch","belgian","swedish","norwegian","danish","finnish","polish","czech","hungarian","romanian","greek","russian","ukrainian","australian","canadian","austrian","swiss","serbian","croatian","bulgarian","lithuanian","icelandic","nigerian","ghanaian","kenyan","ethiopian","senegalese","south-african","tanzanian","ugandan","somali","jamaican","african-american","haitian","congolese","cameroonian","sudanese","malian","zimbabwean","afro-brazilian","black-british","chinese","japanese","korean","taiwanese","mongolian","hong-konger","indian","pakistani","bangladeshi","sri-lankan","nepalese","bhutanese","filipino","vietnamese","thai","indonesian","malaysian","cambodian","burmese","singaporean","laotian","mexican","brazilian","colombian","argentine","peruvian","chilean","cuban","dominican","puerto-rican","venezuelan","guatemalan","ecuadorian","bolivian","honduran","uruguayan","paraguayan","costa-rican","salvadoran","nicaraguan","panamanian","turkish","iranian","egyptian","lebanese","saudi","emirati","iraqi","syrian","jordanian","moroccan","israeli","algerian","tunisian","kuwaiti","qatari","omani","yemeni","libyan","armenian","georgian","azerbaijani","palestinian","kurdish","samoan","tongan","fijian","native-hawaiian","maori","papuan","tahitian","navajo","lakota","cherokee","quechua","mapuche","inuit","maya","aymara","ojibwe","cree"]},"description":"Nationality or heritage"},{"name":"skin_tone","in":"query","schema":{"type":"string","enum":["very-light","light","medium-light","medium","medium-dark","dark","very-dark"]},"description":"Skin tone"},{"name":"eye_color","in":"query","schema":{"type":"string","enum":["brown","dark-brown","hazel","amber","green","blue","grey"]},"description":"Eye color"},{"name":"hair_color","in":"query","schema":{"type":"string","enum":["black","dark-brown","brown","light-brown","blond","platinum","red","auburn","grey","white","dyed"]},"description":"Hair color"},{"name":"hair_length","in":"query","schema":{"type":"string","enum":["bald","receding","buzz","short","medium","long","very-long"]},"description":"Hair length"},{"name":"hair_style","in":"query","schema":{"type":"string","enum":["straight","wavy","curly","coily","afro","braids","locs","updo","ponytail","bob","bangs","undercut","top-knot","mohawk","pompadour","shag","slicked-back","messy"]},"description":"Hair style"},{"name":"facial_hair","in":"query","schema":{"type":"string","enum":["none","stubble","mustache","goatee","short-beard","full-beard"]},"description":"Facial hair"},{"name":"emotion","in":"query","schema":{"type":"string","enum":["neutral","joy","laughing","serene","surprise","sadness","anger","fear","disgust","contempt","confident"]},"description":"Emotion"},{"name":"head_pose","in":"query","schema":{"type":"string","enum":["front","left-quarter","right-quarter","left-half","right-half","left-profile","right-profile","tilt-up","tilt-down","tilt-left","tilt-right"]},"description":"Head pose"},{"name":"accessories","in":"query","schema":{"type":"string","description":"comma separated"},"description":"Accessories"},{"name":"makeup","in":"query","schema":{"type":"string","enum":["none","natural","light","bold","glam"]},"description":"Makeup"},{"name":"background","in":"query","schema":{"type":"string","enum":["studio-grey","studio-white","studio-black","studio-gradient","studio-color","chroma-green","office","home","cafe","city-street","park","beach","nature","brick-wall","concrete-wall","bokeh-lights","forest","rooftop","graffiti-wall","library","desert","countryside","mountains","sunset","warehouse","botanical-garden","floral-wallpaper","urban-alley","rustic-barn","gym","hospital","classroom","kitchen","stage"]},"description":"Background"},{"name":"lighting","in":"query","schema":{"type":"string","enum":["studio-soft","rembrandt","butterfly","window","golden-hour","overcast","ring-light","hard-flash","dramatic"]},"description":"Lighting"},{"name":"style","in":"query","schema":{"type":"string","enum":["natural","beautified","editorial","candid","corporate","passport"]},"description":"Style"},{"name":"body_type","in":"query","schema":{"type":"string","enum":["very-slim","slim","athletic","average","curvy","plus-size","muscular","petite","tall"]},"description":"Body type"},{"name":"pose","in":"query","schema":{"type":"string","enum":["standing","standing-relaxed","arms-crossed","hands-on-hips","hands-in-pockets","waving","pointing","thumbs-up","walking","running","jumping","sitting","sitting-floor","leaning","holding-phone","holding-laptop","holding-coffee","holding-bag","thinking","presenting","dancing","stretching"]},"description":"Pose"},{"name":"outfit","in":"query","schema":{"type":"string","enum":["business-suit","business-casual","casual","streetwear","sportswear","athleisure","dress","formal-gown","tuxedo","hoodie","denim","winter-coat","raincoat","medical-scrubs","lab-coat","chef","construction","police","firefighter","pilot","military","school-uniform","pajamas","traditional","wedding","bohemian","vintage","tech-casual"]},"description":"Outfit"},{"name":"top","in":"query","schema":{"type":"string","enum":["t-shirt","blouse","shirt","tank-top","sweater","hoodie","polo","turtleneck","crop-top","jersey","dress","mini-dress","midi-dress","maxi-dress","shirt-dress","jumpsuit"]},"description":"Top"},{"name":"bottom","in":"query","schema":{"type":"string","enum":["jeans","trousers","chinos","wide-leg-pants","cargo-pants","flared-pants","leggings","shorts","high-waisted-shorts","skirt","mini-skirt","midi-skirt","maxi-skirt","pencil-skirt","pleated-skirt","joggers"]},"description":"Bottom"},{"name":"outerwear","in":"query","schema":{"type":"string","enum":["none","blazer","suit-jacket","denim-jacket","leather-jacket","bomber-jacket","trench-coat","pea-coat","parka","puffer-jacket","cardigan","raincoat","vest"]},"description":"Outerwear"},{"name":"footwear","in":"query","schema":{"type":"string","enum":["sneakers","boots","sandals","heels","flats","dress-shoes","loafers","oxfords","platform-shoes","running-shoes","barefoot"]},"description":"Footwear"},{"name":"clothing_style","in":"query","schema":{"type":"string","enum":["casual","formal","business","smart-casual","streetwear","athleisure","sporty","bohemian","vintage","retro","preppy","minimalist","gothic","punk","rock","glamorous","elegant","romantic","hipster","edgy","classic","chic","artsy","country","rugged","high-fashion","avant-garde","tomboy","ethnic"]},"description":"Clothing style"},{"name":"clothing_color","in":"query","schema":{"type":"string","enum":["black","white","grey","navy","blue","teal","green","olive","yellow","orange","red","pink","purple","brown","beige","cream","burgundy","mustard","lavender","mint","coral","gold","pastel","earth-tones","neutral-tones","muted","metallic","colorful"]},"description":"Clothing color"},{"name":"view","in":"query","schema":{"type":"string","enum":["front","three-quarter","profile","back"]},"description":"View"},{"name":"framing","in":"query","schema":{"type":"string","enum":["full-body","three-quarter","half-body"]},"description":"Framing"}],"responses":{"200":{"description":"application/zip stream"}}}},"/api/v1/report":{"post":{"summary":"Report an image. Three reports from different addresses hide it pending review; a report that it looks like a real person keeps it hidden until a person decides.","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"reason":{"type":"string","enum":["likeness","offensive","broken","other"],"description":"likeness: resembles a real person. Anything else is filed as other."},"note":{"type":"string","description":"Optional free text, 300 characters."}},"required":["id"]}}}},"responses":{"200":{"description":"ok"}}}},"/api/v1/admin/likeness-holds":{"get":{"summary":"Admin: likeness reports held for a person, with the count of distinct reporters. Restore one with POST /api/v1/admin/unhide-review {\"ids\": [...]}. The app shows the same list at #/admin.","responses":{"200":{"description":"total and holds"},"403":{"description":"Admin token required"}}}},"/api/v1/admin/audit-unjudged":{"post":{"summary":"Admin: score public identity photos that neither a passing identity_gate event nor an identity_audit judged list covers; hides drift and records judged/failed so performer packs can trust them. Bounded by limit; dry_run reports without hiding.","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","default":40,"maximum":120},"threshold":{"type":"integer","default":5},"dry_run":{"type":"boolean","default":false}}}}}},"responses":{"200":{"description":"photos, identities, checked, hidden, failed, verdicts"},"403":{"description":"Admin token required"}}}},"/api/v1/admin/audit-anchors":{"post":{"summary":"Admin: recheck public identity anchors for one clean face. Two hard failures hide the anchor and make its identity private; a passing recheck clears it. Bounded by limit; dry_run reports without writing.","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"type":"integer","default":40,"maximum":120},"dry_run":{"type":"boolean","default":false}}}}}},"responses":{"200":{"description":"checked, passed, failed, hidden, verdicts"},"403":{"description":"Admin token required"}}}},"/api/v1/admin/gate-stats":{"get":{"summary":"Admin: the identity gate pass rate and grouped failure reasons over the last days, for tuning the threshold from data","parameters":[{"name":"days","in":"query","schema":{"type":"integer","default":7,"minimum":1,"maximum":90}}],"responses":{"200":{"description":"since, days, events, passed, failed, pass_rate, reasons"},"403":{"description":"Admin token required"}}}},"/api/v1/stats":{"get":{"summary":"Library counts and attribute taxonomy","responses":{"200":{"description":"OK"}}}},"/api/v1/taxonomy":{"get":{"summary":"Every attribute and its allowed values","responses":{"200":{"description":"OK"}}}},"/api/v1/keys":{"post":{"summary":"Create a free API key (returned once)","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string"}}}}}},"responses":{"200":{"description":"key"}}}},"/api/v1/keys/me/people":{"get":{"summary":"Search all photos generated with the calling key, newest first, including private photos","security":[{"ApiKey":[]}],"parameters":[{"name":"q","in":"query","schema":{"type":"string","maxLength":200},"description":"Up to 20 words, all matched literally across descriptions, attributes, seeds, IDs and creation dates."},{"name":"kind","in":"query","schema":{"type":"string","enum":["face","human"]}},{"name":"page","in":"query","schema":{"type":"integer","minimum":1},"description":"Clamped to the final matching page."},{"name":"per_page","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"Matching photos with total, page, pages and per_page"}}}},"/api/v1/keys/me":{"get":{"summary":"Usage for the calling key","security":[{"ApiKey":[]}],"responses":{"200":{"description":"OK"}}}},"/p/{id}":{"get":{"summary":"Shareable HTML page for one image with Open Graph tags; redirects browsers into the app","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"text/html"}}}},"/i/{id}/{size}.jpg":{"get":{"summary":"Image file. size is 64, 128, 256, 512, the original dimension, or cutout (transparent PNG, for chroma-green images). Add ?download=1 for a Content-Disposition attachment.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"size","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"image/jpeg"}}}}}}