Compose

只做代码校验,不调模型(免费)/ Validate a spec without calling a model (free)

post/v1/prompts/lint

Request

  • Base URL: https://api.musicsforyou.com
  • URL: https://api.musicsforyou.com/v1/prompts/lint
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://www.musicsforyou.com/oauth/authorize, token URL https://api.musicsforyou.com/oauth/token, scopes: music)
    • none

Request body

Example request

{
  "spec": {
    "composition": {
      "sections": [
        {
          "label": "Verse 1"
        }
      ]
    }
  }
}

Response

OK

successboolean required
readyboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.