Skip to main content

Sync/Upload Models

To start using your dedicated server, based on your requirements you'll need to

Sync models from our existing model list

To sync **exisitng models, use our sync endpoint

ENDPOINT:

https://api.imagepipeline.io/sync_model/v1

AUTHORIZATION: API-Key

JSON BODY:

{
"model_id": "Model ID",
"server_id": "Your Server ID",
}

Upload your own models

You can also upload models that are not available in our database by using the load_model endpoint. You can either load models as public models (accessible by all) or private models (accessible only by you).

ENDPOINT:

https://api.imagepipeline.io/load_model/v1

AUTHORIZATION: API-Key

JSON BODY:

{
"server_id": "Your Server ID",
"model_name": "Add more details",
"model_url": "Provide model url - must be a publicly available link",
"base_model": "sd1.5 or sdxl",
"model_type": "Provide model type",
"description": "Provide description",
"sample_images": ["add image address for identification - must be publicly available"],
"nsfw": false/true,
"revision: "fp16/fp32",
"model_extension": "ckpt/safetensor",
"trigger_words": "Provide trigger words if any",
"visibility": "private/public"
}

Response

You will receive a model_id that you will then need to pass when generating images. Please pass it in the correct parameter depending on the model type. You will also find the model details on your Dashboard

Multiple Servers

If you have multiple servers and want to use both to balance your load, you can provide any for server_id