1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! # replicate-rs
//!
//! A Rust client library for [Replicate](https://replicate.com), allowing you to run AI models,
//! create predictions, stream outputs, and manage various Replicate resources.
//!
//! ## Quick Start
//!
//! ```no_run
//! use replicate_client::{Client, Error};
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Error> {
//! // Initialize the client with your API token
//! let client = Client::new("your-api-token")?;
//!
//! // Run a simple prediction
//! let prediction = client
//! .create_prediction("stability-ai/sdxl:version-id")
//! .input("prompt", "A futuristic city skyline")
//! .send()
//! .await?;
//!
//! println!("Prediction ID: {}", prediction.id);
//! Ok(())
//! }
//! ```
// Re-export main types for convenience
pub use ;
pub use Client;
pub use ;
pub use ;
pub use ;
// Version information
pub const VERSION: &str = env!;