Search
Describe the job rather than naming a model. Search is semantic, so “product photo on white” finds the models that do that.
ts
const models = await sequel.search({ query: 'product photo on a white background', type: 'image', }); // [{ id, name, provider, modality, capabilities, price, rates }]
Browsing
Omit the query to get the catalogue, optionally narrowed by modality.
ts
await sequel.search(); // everything await sequel.search({ type: 'audio' }); // just audio
Then the schema
Search tells you a model exists. The schema tells you what it takes — call it before a run whenever you are unsure of a field name, rather than guessing and reading the error.
ts
const schema = await sequel.schema('black-forest-labs/flux-1-schnell'); Object.keys(schema.inputSchema.properties); // ['prompt', 'steps']
No key needed
Search and schema are open. An agent can look at the catalogue before anyone has signed up; only running a model needs a credential.