Securing an application programming interface (“API”) during the build of a software development kit (“SDK”)

    公开(公告)号:US12293170B1

    公开(公告)日:2025-05-06

    申请号:US18315411

    申请日:2023-05-10

    Applicant: Snap Inc.

    Abstract: Described is a technique for securing a private secret key during a software build process for a software development kit (SDK) that includes a code implementation for an application programming interface (API), where the private secret key is for use in signing the payload of an API request for the API. Consistent with examples, a keychain service stores a private secret key. In at least one source code file for a SDK, the source code includes a macro definition, which, upon executing by a compiler, obtains a value for the private secret key. In a programming shell environment, a shell script is executed. Execution of the shell script results in executing a nested script, which queries the keychain service for the private secret key. The shell script then passes the private secret key to a build script of an automated software build tool/system, which injects the private secret key into the source code file at compile time by execution of the macro, resulting in a software product capable of using the private secret key to sign or encrypt the payload of one or more API requests.

    REAL-TIME GARMENT EXCHANGE
    12.
    发明申请

    公开(公告)号:US20250139813A1

    公开(公告)日:2025-05-01

    申请号:US19010631

    申请日:2025-01-06

    Applicant: Snap Inc.

    Abstract: Methods and systems are disclosed for performing operations for transferring garments in a video from one real-world object to another in real time. The operations comprise receiving a first video that includes a depiction of a first person wearing a first garment in a first pose and obtaining a second video that includes a depiction of a second person wearing a second garment in a second pose. The operations comprise modifying a pose of the second person to match the first pose of the first person depicted in the first video. The operations comprise generating a whole-body segmentation of the second garment which the second person is wearing in the second video and changing an appearance of the first person from wearing the first garment to wearing the second garment based on the whole-body segmentation of the second garment which the second person is wearing in the second video.

    REAL-TIME ANONYMIZATION OF IMAGES AND AUDIO

    公开(公告)号:US20250139303A1

    公开(公告)日:2025-05-01

    申请号:US18496703

    申请日:2023-10-27

    Applicant: Snap Inc.

    Abstract: Systems and methods are provided. A system includes a display and camera. The system additionally includes a secure data vault system. The secure data vault system includes a sandbox system operatively coupled to the camera and configured to receive camera data from the camera, wherein in operation of the sandbox system, the camera only sends camera data to the sandbox system, and wherein the sandbox system comprises an execution environment configured to restrict execution of instructions to a predefined memory address range. The secure data vault system additionally includes a display and rendering system operatively coupled to the sandbox system and configured to render an image based on the camera data processed via the instructions and to display the image via the display, wherein the display and rendering system is configured to blur sections of the image based on private information derived from the image.

    GESTURE CONTROL ON AN EYEWEAR DEVICE

    公开(公告)号:US20250138645A1

    公开(公告)日:2025-05-01

    申请号:US19004261

    申请日:2024-12-28

    Applicant: Snap Inc.

    Abstract: Systems and methods are provided for performing operations comprising: displaying one or more virtual objects on an eyewear device; detecting, by a camera of the eyewear device, a hand within view of the eyewear device; determining that a first finger of the hand is oriented along a same direction as the one or more virtual objects that are displayed; detecting movement of a second finger of the hand relative to the first finger; and controlling the display of the one or more virtual objects in response to detecting movement of the second finger to the first finger.

    CAMERA EFFECTS SHORTCUT WITH AUDIO TRACK SELECTION OPTION

    公开(公告)号:US20250133181A1

    公开(公告)日:2025-04-24

    申请号:US18987380

    申请日:2024-12-19

    Applicant: Snap Inc.

    Abstract: Disclosed is a method for providing custom visual settings on a device including a display and a camera. The method comprises displaying an existing video that includes data specifying augmentation effects that were applied to the existing video, and an effects indicator. Selection of the effects indicator applies the augmentation effects to a video feed from the camera. Also displayed with the existing video is an audio context indicator identifying an audio track playing with the existing video. Selection of the audio context indicator provides a user interface option to capture a new video with the audio track accompanying the new video.

    GEO-FENCE AUTHORIZATION PROVISIONING

    公开(公告)号:US20250133088A1

    公开(公告)日:2025-04-24

    申请号:US19005414

    申请日:2024-12-30

    Applicant: Snap Inc.

    Abstract: A system includes a communication module that receives a request to post content to an event gallery associated with an event. The request in turn includes geo-location data for a device sending the content, and identification data identifying the device or a user of the device. The system further has an event gallery module to perform a first authorization operation that includes determining that the geo-location data corresponds to a geo-location fence associated with an event. The event gallery module also performs a second authorization operation that includes using the identification data to verify an attribute of the user. Finally, based on the first and second authorization operations, the event gallery module may selectively authorize the device to post the content to the event gallery.

    AUTOMATICALLY INCREMENTED READ-WATERMARK

    公开(公告)号:US20250133050A1

    公开(公告)日:2025-04-24

    申请号:US18940030

    申请日:2024-11-07

    Applicant: Snap Inc.

    Abstract: A system to automatically increment read-watermarks based on a set of predefined rules and criteria and configured to perform operations that include: accessing a message thread that comprises a plurality of messages; detecting a display of a message from among the plurality of messages at a client device, the message corresponding with an identification number from among a plurality of sequentially assigned identification numbers associated with the plurality of messages; applying the identification number that corresponds with the message from among the plurality of messages to a data object within a database associated with the message thread, the data object indicating a most recent message read by a user of the client device based on the identification number; detecting a trigger event; and automatically incrementing the identification number associated with the data object within the database responsive to the trigger event.

    GENERATING IMAGE SCENARIOS BASED ON LLM PROMPTS

    公开(公告)号:US20250131624A1

    公开(公告)日:2025-04-24

    申请号:US18634588

    申请日:2024-04-12

    Applicant: Snap Inc.

    Abstract: Methods and systems are disclosed for suggesting scenarios for an image using one or more machine learning models based on an output of an LLM. The methods and systems generate, by a device of a user, a first prompt comprising a demographic of a person and a date, and process the first prompt by a large language model (LLM) to generate a plurality of ideas relevant to the person on that date, each idea comprising a respective description and vibe. The methods and systems generate a second prompt comprising a selected idea from the plurality of ideas and a request for a plurality of scenarios that are relevant to the selected idea, process the second prompt by the LLM to generate the plurality of scenarios that are relevant to the selected idea, and present an individual content item corresponding to an individual scenario of the plurality of scenarios.

    MIRROR-BASED AUGMENTED REALITY EXPERIENCE

    公开(公告)号:US20250131584A1

    公开(公告)日:2025-04-24

    申请号:US19006543

    申请日:2024-12-31

    Applicant: Snap Inc.

    Abstract: Aspects of the present disclosure involve a system comprising a computer-readable storage medium storing at least one program, and a method for performing operations comprising: receiving a video that depicts a person. The operations further include identifying a set of skeletal joints of the person. The operations further include identifying a pose of the person depicted in the video based on positioning of the set of skeletal joints (or detecting a hand pose, detecting a mirror frame, or detecting a mobile device). The operations further include determining, based on the pose of the person (or detecting a hand pose, detecting a mirror frame, or detecting a mobile device), that the video comprises a mirror reflection of the person. The operations further include, in response to determining that the video comprises the mirror reflection of the person, causing display of a 3D virtual object in the video.

Patent Agency Ranking