dannypostma
/
safetensors-to-diffusers
Converts .safetensors to diffusers and uploads it to a Huggingface repo.
- Public
- 151 runs
Run dannypostma/safetensors-to-diffusers with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
checkpoint_src |
string
|
External download URL to .safetensor model to download and convert.
|
|
huggingface_repo_id |
string
|
Model repo ID i.e. 'dannypostma/mycoolmodel'
|
|
huggingface_token |
string
|
Huggingface write token
|
|
devMode |
boolean
|
False
|
Dev mode, makes it easier to test things. Default = False
|
prediction_type |
string
|
epsilon
|
pndm, episolon
|
{
"type": "object",
"title": "Input",
"required": [
"checkpoint_src",
"huggingface_repo_id",
"huggingface_token"
],
"properties": {
"devMode": {
"type": "boolean",
"title": "Devmode",
"default": false,
"x-order": 3,
"description": "Dev mode, makes it easier to test things. Default = False"
},
"checkpoint_src": {
"type": "string",
"title": "Checkpoint Src",
"x-order": 0,
"description": "External download URL to .safetensor model to download and convert."
},
"prediction_type": {
"type": "string",
"title": "Prediction Type",
"default": "epsilon",
"x-order": 4,
"description": "pndm, episolon"
},
"huggingface_token": {
"type": "string",
"title": "Huggingface Token",
"x-order": 2,
"description": "Huggingface write token"
},
"huggingface_repo_id": {
"type": "string",
"title": "Huggingface Repo Id",
"x-order": 1,
"description": "Model repo ID i.e. 'dannypostma/mycoolmodel'"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"title": "Output"
}