Query Result

Feed API

If the parameters you provided do not include callback_url and disable_callback is set to true, you can obtain the generated result using the following method.

Endpoint: GET /api/feed
Description: The query parameter is workId.

curl -X POST "https://udioapi.pro/api/feed?workId=123456"

Feed Response Sample

{
    "type": "complete",
    "request_body": {
        "prompt": "test",
        "title": "test",
        "customMode": false,
        "instrumental": false
    },
    "response_data": [
        {
            "audio_url": "https://xxx.mp3",
            "createTime": 1717587606036,
            "duration": 146.08,
            "id": "59001af3-845d-47af-9e23-625adb0c6505",
            "image_url": "https://xxx.png",
            "model_name": "chirp-v3.5",
            "prompt": "[Verse]xxx[Verse 2]xxx[Chorus]xxx[Verse 3]xxx[Bridge]xxx[Chorus]xxx",
            "tags": "melodic pop piano",
            "title": "xxx"
        },
        {
            "audio_url": "https://xxx.mp3",
            "createTime": 1717587606036,
            "duration": 240,
            "id": "b0fa4b03-89d2-4c6d-82ea-28aa2604fee6",
            "image_url": "https://xxx.png",
            "model_name": "chirp-v3.5",
            "prompt": "[Verse]xxx[Verse 2]xxx[Chorus]xxx[Verse 3]xxx[Bridge]xxx[Chorus]xxx",
            "tags": "melodic pop piano",
            "title": "xxx"
        }
    ],
    "created_at": "2024-09-05 13:09:01"
}

Explanation of type

    1. new: This result is returned after submitting a generation task.
    1. text: The lyrics have been generated.
    1. first: The audio file for the first song has been generated.
    1. complete: All audio files have been generated.