{
  "x402Version": 2,
  "id": 6575,
  "slug": "6575",
  "resource": "https://api.havenagent.ai/x402/api/v1/music",
  "description": "Generate a music track. Poll statusUrl, download at resultUrl. SFW only.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xa8f73f2fDFDa46f6591759458614BC2883529d77",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "100000",
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "durationSeconds": 20,
            "prompt": "warm lo-fi piano loop with vinyl crackle, relaxed tempo"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "etaSeconds": 60,
            "jobId": "00000000-0000-0000-0000-000000000000",
            "kind": "music",
            "pollBudgetSeconds": 900,
            "resultUrl": "https://api.havenagent.ai/x402/api/v1/music/jobs/00000000-0000-0000-0000-000000000000/result",
            "status": "queued",
            "statusUrl": "https://api.havenagent.ai/x402/api/v1/music/jobs/00000000-0000-0000-0000-000000000000"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "durationSeconds": {
                    "default": 20,
                    "maximum": 60,
                    "minimum": 1,
                    "type": "number"
                  },
                  "lyrics": {
                    "maxLength": 5000,
                    "type": "string"
                  },
                  "prompt": {
                    "maxLength": 2000,
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "prompt"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "aiDisclosure": {
                    "properties": {
                      "aiGenerated": {
                        "type": "boolean"
                      },
                      "embeddedIn": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "statement": {
                        "type": "string"
                      },
                      "termsUrl": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "aiGenerated",
                      "statement",
                      "termsUrl"
                    ],
                    "type": "object"
                  },
                  "etaSeconds": {
                    "type": "number"
                  },
                  "jobId": {
                    "type": "string"
                  },
                  "kind": {
                    "enum": [
                      "music",
                      "music_premium",
                      "image_generate",
                      "image_edit",
                      "image_upscale",
                      "image_restore",
                      "video",
                      "video_sound",
                      "world",
                      "phone_call"
                    ],
                    "type": "string"
                  },
                  "pollBudgetSeconds": {
                    "type": "number"
                  },
                  "resultUrl": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "statusUrl": {
                    "type": "string"
                  }
                },
                "required": [
                  "jobId",
                  "status",
                  "statusUrl",
                  "resultUrl",
                  "etaSeconds",
                  "pollBudgetSeconds"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.havenagent.ai",
  "lastUpdated": "2026-09-15T06:29:40.054Z",
  "quality": {
    "calls30d": 13,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-15T06:29:39.716Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.havenagent.ai",
    "manifest_name": "api.havenagent.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}