Skip to main content

FUZZ 2.0

Billing Rules

Each generate requestion returns 1 task id, and each task id can be used to query 2 songs and 2 cover images.
Each generate requestion costs $0.035

Basic Configuration

Base URL: https://api.foxaihub.com/api/v2/fuzz

Headers Parameters

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

Submit the songs generation task

Endpoint: /task

Method: POST

Content-Type: application/json

HTTP Body, you can generate songs via these methods.

You can set lyrics to "", or "[Instrumental]".

{
"lyrics": "",
"tags": "jazz"
}

if your params is no problem, it always response this

{
"success": true,
"task_id": "0196bd75-edf7-7000-841c-c24752207636"
}

Query Results

Endpoint: /task?ids=

You can query not more than 25 task ids at once, split theme by comma, like this

/task?ids=0196bd6d-57a4-7000-96c6-f74ee7998e5f,0196bd6d-acc0-7000-81ae-a56d8b0631b6

Method: GET

HTTP Response

Here is response data struction

[
{
"status": "pending",
"task_id": "0196bdae-7fa9-7000-b8d7-987519774a05",
"gen_params": {
"topic": "a good song",
"instrumental": "false"
},
"data": {},
"created_at": "2025-05-11T04:50:51.000Z"
}
]

field

  • status, enum type, pending, processing, queued, completed, failed