UNPKG

replicate-api

Version:

A typed client library for the replicate.com API

9 lines (8 loc) 292 B
/** Converts a single string in the form of `owner/model` to an object with `owner` and `model` properties. * * @param ownerModel A string like `stability-ai/stable-diffusion` */ export declare const extractModelAndOwner: (ownerModel: string) => { owner: string; model: string; };