suno-cli 0.5.0

Generate AI music from your terminal — Suno v5.5 with tags, exclude, vocal control, and all generation features
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde_json::json;

use super::SunoClient;
use crate::errors::CliError;

impl SunoClient {
    pub async fn delete_clips(&self, ids: &[String]) -> Result<(), CliError> {
        let resp = self
            .post("/api/feed/trash")
            .json(&json!({ "ids": ids }))
            .send()
            .await?;
        self.check_response(resp).await?;
        Ok(())
    }
}