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
use super::SunoClient;
use super::types::BillingInfo;
use crate::errors::CliError;

impl SunoClient {
    pub async fn billing_info(&self) -> Result<BillingInfo, CliError> {
        let resp = self.get("/api/billing/info/").send().await?;
        let resp = self.check_response(resp).await?;
        Ok(resp.json().await?)
    }
}