GET
/
search
/
model
import { ComfyDeploy } from "comfydeploy";

const comfyDeploy = new ComfyDeploy({
  bearer: "<YOUR_BEARER_TOKEN_HERE>",
});

async function run() {
  const result = await comfyDeploy.search.searchSearchModelGet({
    query: "<value>",
  });

  // Handle the result
  console.log(result);
}

run();
{
  "models": [
    {
      "name": "<string>",
      "type": "<string>",
      "provider": "<string>",
      "filename": "<string>",
      "save_path": "<string>",
      "size": 123,
      "download_url": "<string>",
      "reference_url": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

query
string
required
provider
string
default:all

Response

200
application/json
Successful Response
models
object[]
required