anotherjesse
/
add-weights
build & push a new replicate cog model, adding zip files to existing image
- Public
- 52 runs
- GitHub
Run anotherjesse/add-weights 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 |
---|---|---|---|
weights |
string
|
Input weight zip
|
|
auth_token |
string
|
your replicate auth token
|
|
dest_image |
string
|
dest image: r8.im/username/template
|
|
base_image |
string
|
base image: r8.im/username/new_image
|
|
path_base |
string
|
/src/weights
|
path base: /src/weights
|
{
"type": "object",
"title": "Input",
"required": [
"weights",
"auth_token",
"dest_image",
"base_image"
],
"properties": {
"weights": {
"type": "string",
"title": "Weights",
"x-order": 0,
"description": "Input weight zip"
},
"path_base": {
"type": "string",
"title": "Path Base",
"default": "/src/weights",
"x-order": 4,
"description": "path base: /src/weights"
},
"auth_token": {
"type": "string",
"title": "Auth Token",
"x-order": 1,
"description": "your replicate auth token"
},
"base_image": {
"type": "string",
"title": "Base Image",
"x-order": 3,
"description": "base image: r8.im/username/new_image"
},
"dest_image": {
"type": "string",
"title": "Dest Image",
"x-order": 2,
"description": "dest image: r8.im/username/template"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output"
}