Lyrics Generation

API Basic Configuration

Base URL: https://api.foxai.me/api/v1

Headers parameters:

{
  "api-key": "Your API Key",
}

Attention:

In the headers, the parameter is api-key, not api_key.

Lyrics Generation

This endpoint is used for free lyrics generation, supports multiple languages.

It's powered by GPT, the prompt length reaches 4k tokens.

Path: /music/lyrics

Method: POST

Content-Type: application/json

Body:

{
  "gpt_description": "A song about love",
}

gpt_description is the description of the lyrics, supports multiple languages. The length should not exceed 200 characters.

Response:

{
    'title': "Love's Embrace", 
    'tags': 'Pop, Romantic, Emotional',
    'lyrics': "..."
}