# InstantID Cog Model [![Replicate](https://replicate.com/zsxkib/instant-id/badge)](https://replicate.com/zsxkib/instant-id) ## Overview This repository contains the implementation of [InstantID](https://github.com/InstantID/InstantID) as a [Cog](https://github.com/replicate/cog) model. Using [Cog](https://github.com/replicate/cog) allows any users with a GPU to run the model locally easily, without the hassle of downloading weights, installing libraries, or managing CUDA versions. Everything just works. ## Development To push your own fork of InstantID to [Replicate](https://replicate.com), follow the [Model Pushing Guide](https://replicate.com/docs/guides/push-a-model). ## Basic Usage To make predictions using the model, execute the following command from the root of this project: ```bash cog predict \ -i image=@examples/sam_resize.png \ -i prompt="analog film photo of a man. faded film, desaturated, 35mm photo, grainy, vignette, vintage, Kodachrome, Lomography, stained, highly detailed, found footage, masterpiece, best quality" \ -i negative_prompt="nsfw" \ -i width=680 \ -i height=680 \ -i ip_adapter_scale=0.8 \ -i controlnet_conditioning_scale=0.8 \ -i num_inference_steps=30 \ -i guidance_scale=5 ```
Input |
Output |