postInternalExtractPhotoFacts
postInternalExtractPhotoFacts<
ThrowOnError>(options:Options<PostInternalExtractPhotoFactsData,ThrowOnError>):RequestResult<PostInternalExtractPhotoFactsResponses,PostInternalExtractPhotoFactsErrors,ThrowOnError>
Defined in: src/client/sdk.gen.ts:1820Â
Extract user facts from a photo (internal)
Internal service-to-service endpoint used by the nearby service to turn one photo into durable facts about the user. Takes a public image URL plus an optional caption (grounding context, treated as untrusted data). The prompt, vision model, output bounds and sampling parameters are pinned server-side; no credit gate, no moderation (the caller must moderate the photo and the returned text before displaying it). Returns an ordered, de-duplicated, bounded list of fact strings, the sha of the prompt used, and usage. Gated behind the shared X-Service-Key.
Type Parameters
| Type Parameter | Default type |
|---|---|
|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
RequestResult<PostInternalExtractPhotoFactsResponses, PostInternalExtractPhotoFactsErrors, ThrowOnError>