Skip to main content

ltx_2_5/
lib.rs

1/// Returns the official LTX 2.5 website URL.
2pub const fn homepage() -> &'static str {
3    "https://www.seedance2ai.app/tools/ltx-2-5"
4}
5
6/// Short product description used by downstream examples and tests.
7pub const fn summary() -> &'static str {
8    "LTX 2.5 is an AI image generator for prompt-based and image editing workflows."
9}
10
11#[cfg(test)]
12mod tests {
13    use super::{homepage, summary};
14
15    #[test]
16    fn homepage_uses_https() {
17        assert!(homepage().starts_with("https://"));
18    }
19
20    #[test]
21    fn summary_mentions_image() {
22        assert!(summary().contains("image"));
23    }
24}