AI Music API
    AI Music API
    • Introduction
    • Credits Usage Guide
    • Error handling
    • suno
      • Suno Instructions
      • create music
        POST
      • extend music
        POST
      • concat music
        POST
      • cover music
        POST
      • create persona
        POST
      • create music with persona
        POST
      • upload music
        POST
      • get music
        GET
    • riffusion
      • Riffusion instructions
      • create music (with lyrics)
        POST
      • create music (with description)
        POST
      • cover music
        POST
      • extend music
        POST
      • replace music section
        POST
      • swap music sound
        POST
      • swap music vocals
        POST
      • upload
        POST
      • get music
        GET
    • nuro
      • Nuro Instruction
      • Error handling
      • create vocal music
        POST
      • create instrument music
        POST
      • get music
        GET
    • lyrics generation
      • Make Lyrics
    • get-credits
      GET

      get-credits

      GET
      /api/v1/get-credits
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET 'https://api.sunoapi.com/api/v1/get-credits'
      Response Response Example
      {
          "credits": 50,
          "extra_credits": 0
      }

      Request

      Authorization
      Provide your bearer token in the
      Authorization
      header when making requests to protected resources.
      Example:
      Authorization: Bearer ********************

      Responses

      🟢200success
      application/json
      Body
      object {0}
      Modified at 2025-07-15 15:01:45
      Previous
      Make Lyrics
      Built with