Hydra by Rightsify - AI Music Generator

Hydra by Rightsify - AI Music Generator · Actions GPT

Hydra Music Generation

Generate Music using Promot

  • POST /generate_musicgeneratemusic

    Generate Music using Promot

Schéma original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "Hydra Music Generation",
    "description": "Generate Music using Promot",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://musicdatasets.com"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "components": {
    "schemas": {},
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "token"
      }
    }
  },
  "paths": {
    "/generate_music": {
      "post": {
        "description": "Generate Music using Promot",
        "operationId": "generatemusic",
        "requestBody": {
          "description": "Prompt and duration to be sent",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "prompt": {
                    "type": "string",
                    "description": "The prompt text",
                    "example": "Your prompt text here"
                  },
                  "duration": {
                    "type": "integer",
                    "description": "The duration in seconds",
                    "default": 10
                  }
                },
                "required": [
                  "prompt"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "example": {
                  "url": "https://dddd"
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    }
  }
}