tripo-api 0.1.4

Unofficial async Rust client for the Tripo 3D Generation API
Documentation
1
2
3
4
5
6
7
8
9
10
11
#![cfg(feature = "schemars")]

use schemars::schema_for;
use tripo_api::TextToModelRequest;

#[test]
fn text_to_model_request_has_schema() {
    let schema = schema_for!(TextToModelRequest);
    let v = serde_json::to_value(&schema).unwrap();
    assert!(v["properties"]["prompt"].is_object());
}