headshots-from-photos
Headshots from photos
Produce the requested professional portraits of the supplied person with Astria. Preserve identity and natural features while changing the requested wardrobe, background, lighting, or framing. Do not replace them with an invented face.
Use astria-api for schemas, reference syntax, HTTPS inputs, workspace scope, model discovery, idempotency, and checking completed results.
Establish the identity reference
Use an explicit saved reference; resolve a named identity with list_references
and inspect it using get_reference. Otherwise create one identity reference
with create_reference from the supplied usable HTTPS photo URLs, using a
subject class appropriate to the supplied brief. Use the returned ID and class
name on every portrait. Do not create a new reference for each background.