suno 0.5.6

Generate AI music from your terminal — Suno v5.5 with tags, exclude, vocal control, and all generation features
use super::SunoClient;
use super::types::{Clip, GenerateRequest};
use crate::errors::CliError;

impl SunoClient {
    /// Remaster a clip with a different model version.
    /// Posts to `/api/generate/v2-web/` with the remaster model key and
    /// `cover_clip_id` pointing to the original. As with `cover()`, this is
    /// a best-guess port pending a real captured remaster request.
    pub async fn remaster(
        &self,
        clip_id: &str,
        remaster_model_key: &str,
    ) -> Result<Vec<Clip>, CliError> {
        let mut req = GenerateRequest::new(remaster_model_key, "remaster");
        req.cover_clip_id = Some(clip_id.to_string());
        self.generate(&req).await
    }
}