InstantX / SD3.5-Large-IP-Adapter

huggingface.co
Total runs: 7.5K
24-hour runs: 0
7-day runs: 1.8K
30-day runs: 1.8K
Model's Last Updated: December 06 2024
text-to-image

Introduction of SD3.5-Large-IP-Adapter

Model Details of SD3.5-Large-IP-Adapter

SD3.5-Large-IP-Adapter

This repository contains a IP-Adapter for SD3.5-Large model released by researchers from InstantX Team , where image work just like text, so it may not be responsive or interfere with other text, but we do hope you enjoy this model, have fun and share your creative works with us on Twitter .

Model Card

This is a regular IP-Adapter, where the new layers are added into all 38 blocks. We use google/siglip-so400m-patch14-384 to encode image for its superior performance, and adopt a TimeResampler to project. The image token number is set to 64.

Showcases

Inference

The code has not been integrated into diffusers yet, please use our local files at this moment.

import torch
from PIL import Image

from models.transformer_sd3 import SD3Transformer2DModel
from pipeline_stable_diffusion_3_ipa import StableDiffusion3Pipeline

model_path = 'stabilityai/stable-diffusion-3.5-large'
ip_adapter_path = './ip-adapter.bin'
image_encoder_path = "google/siglip-so400m-patch14-384"

transformer = SD3Transformer2DModel.from_pretrained(
    model_path, subfolder="transformer", torch_dtype=torch.bfloat16
)

pipe = StableDiffusion3Pipeline.from_pretrained(
    model_path, transformer=transformer, torch_dtype=torch.bfloat16
).to("cuda")

pipe.init_ipadapter(
    ip_adapter_path=ip_adapter_path, 
    image_encoder_path=image_encoder_path, 
    nb_token=64, 
)

ref_img = Image.open('./assets/1.jpg').convert('RGB')

# please note that SD3.5 Large is sensitive to highres generation like 1536x1536
image = pipe(
    width=1024,
    height=1024,
    prompt='a cat',
    negative_prompt="lowres, low quality, worst quality",
    num_inference_steps=24, 
    guidance_scale=5.0,
    generator=torch.Generator("cuda").manual_seed(42),
    clip_image=ref_img,
    ipadapter_scale=0.5,
).images[0]
image.save('./result.jpg')

License

The model is released under stabilityai-ai-community . All copyright reserved.

Acknowledgements

This project is sponsored by HuggingFace and fal.ai .

Citation

If you find this project useful in your research, please cite us via

@misc{sd35-large-ipa,
    author = {InstantX Team},
    title = {InstantX SD3.5-Large IP-Adapter Page},
    year = {2024},
}

Runs of InstantX SD3.5-Large-IP-Adapter on huggingface.co

7.5K
Total runs
0
24-hour runs
1.6K
3-day runs
1.8K
7-day runs
1.8K
30-day runs

More Information About SD3.5-Large-IP-Adapter huggingface.co Model

More SD3.5-Large-IP-Adapter license Visit here:

https://choosealicense.com/licenses/stabilityai-ai-community

SD3.5-Large-IP-Adapter huggingface.co

SD3.5-Large-IP-Adapter huggingface.co is an AI model on huggingface.co that provides SD3.5-Large-IP-Adapter's model effect (), which can be used instantly with this InstantX SD3.5-Large-IP-Adapter model. huggingface.co supports a free trial of the SD3.5-Large-IP-Adapter model, and also provides paid use of the SD3.5-Large-IP-Adapter. Support call SD3.5-Large-IP-Adapter model through api, including Node.js, Python, http.

SD3.5-Large-IP-Adapter huggingface.co Url

https://huggingface.co/InstantX/SD3.5-Large-IP-Adapter

InstantX SD3.5-Large-IP-Adapter online free

SD3.5-Large-IP-Adapter huggingface.co is an online trial and call api platform, which integrates SD3.5-Large-IP-Adapter's modeling effects, including api services, and provides a free online trial of SD3.5-Large-IP-Adapter, you can try SD3.5-Large-IP-Adapter online for free by clicking the link below.

InstantX SD3.5-Large-IP-Adapter online free url in huggingface.co:

https://huggingface.co/InstantX/SD3.5-Large-IP-Adapter

SD3.5-Large-IP-Adapter install

SD3.5-Large-IP-Adapter is an open source model from GitHub that offers a free installation service, and any user can find SD3.5-Large-IP-Adapter on GitHub to install. At the same time, huggingface.co provides the effect of SD3.5-Large-IP-Adapter install, users can directly use SD3.5-Large-IP-Adapter installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

SD3.5-Large-IP-Adapter install url in huggingface.co:

https://huggingface.co/InstantX/SD3.5-Large-IP-Adapter

Url of SD3.5-Large-IP-Adapter

SD3.5-Large-IP-Adapter huggingface.co Url

Provider of SD3.5-Large-IP-Adapter huggingface.co

InstantX
ORGANIZATIONS

Other API from InstantX

huggingface.co

Total runs: 51.3K
Run Growth: -9.6K
Growth Rate: -18.74%
Updated:January 22 2024
huggingface.co

Total runs: 184
Run Growth: -111
Growth Rate: -60.33%
Updated:September 18 2024
huggingface.co

Total runs: 4
Run Growth: 0
Growth Rate: 0.00%
Updated:November 07 2024