Module model

Source
Expand description

§Used to interact with the Model Endpoints.

The model module contains all the functionality for interacting with the model endpoints of the Replicate API. Currently supports the following endpoint:

§Example

use replicate_rust::{Replicate, config::Config};

let config = Config::default();
let replicate = Replicate::new(config);

let model = replicate.models.get("replicate", "hello-world")?;
println!("Model : {:?}", model);

Structs§

Model
Used to interact with the Model Endpoints.