Model reference · open weights
InstantID is an open-weight image model from InstantX, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.
About
InstantID Model Card Project Page | Paper | Code | 🤗 Gradio demo Introduction InstantID is a new state-of-the-art tuning-free method to achieve ID-Preserving generation with only single image, supporting various downstream tasks. Usage You can directly download the model in this repository. You also can download the model in python script: For face encoder, you need to manutally download via this URL to models/antelopev2. Then, you can customized your own face images For more details, please follow the instructions in our GitHub repository. Usage Tips 1. If you're not satisfied with the similarity, try to increase the weight of "IdentityNet Strength" and "Adapter Strength". 2. If you feel that the saturation is too high, first decrease the Adapter strength. If it is still too high, then decrease the IdentityNet strength. 3. If you find that text control is not as expected, decrease Adapter strength. 4. If you find that realistic style is not good enough, go for our Github repo and use a more realistic base model. Demos Disclaimer This project is released under Apache License and aims to positively impact the field of AI-driven image generation. Users are granted the freedom to create images using this tool, but they are obligated to comply with local laws and utilize it responsibly. The developers will not assume any responsibility for potential misuse by users. Citation
Summarised from the published model card. Read the full card on the HuggingFace links below.
Specifications
| Maker | InstantX |
|---|---|
| Type | Image models |
| Variants | 1 |
| Runs with | diffusers |
| Released | 2024-01-19 |
| Popularity | 62k downloads / month |
| Likes | 874 |
| Licence | Open weights |
How it works
Variants
Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.
| Variant | Params | Precision | VRAM | Fits 16 GB | Weights |
|---|---|---|---|---|---|
| InstantID | — | BF16 | — | — | Weights ↗ |
Using it via the API
Once AxForge deploys instantid for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (instantid below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/images/generations \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"instantid","prompt":"a red bicycle","size":"1024x1024"}'
Licence
Open weights under apache-2.0 — commercial use is permitted. Deploy it on AxForge EU hardware on request. Read the licence ↗