suno 0.5.7

Generate AI music from your terminal — Suno v5.5 with tags, exclude, vocal control, and all generation features
use serde_json::json;

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

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