gcui-art/suno-api

Missing Fields duration

laxidou opened this issue · 0 comments

/api/get

The interface defines the field in the code, but it is not found after the request.

Defined in suno-api/src/lib/SunoApi.ts lin:371
duration: audio.metadata.duration_formatted

response:

[
{
"id": "4f087ff4-88e2-4306-bb2c-43982fd91cfd",
"title": "Lost in Translation",
"image_url": "https://cdn1.suno.ai/image_4f087ff4-88e2-4306-bb2c-43982fd91cfd.png",
"lyric": "[Verse]\nWords don't mean a thing\nLetters rearrange\n[Verse 2]\nSpaces in between\nLines that never change\n[Chorus]\nLost in translation\nWords without sensation\nBouncing through the air\nNever taking shape\n[Verse 3]\nHidden messages\nClues in every rhyme\n[Verse 4]\nSearch for meaning here\nWeaving through the time\n[Chorus]\nLost in translation\nWords without sensation\nBouncing through the air\nNever taking shape",
"audio_url": "https://cdn1.suno.ai/4f087ff4-88e2-4306-bb2c-43982fd91cfd.mp3",
"video_url": "https://cdn1.suno.ai/4f087ff4-88e2-4306-bb2c-43982fd91cfd.mp4",
"created_at": "2024-06-11T08:23:21.355Z",
"model_name": "chirp-v3.5",
"status": "complete",
"gpt_description_prompt": "ametwdsx epteuesslr idwdddn",
"prompt": "[Verse]\nWords don't mean a thing\nLetters rearrange\n\n[Verse 2]\nSpaces in between\nLines that never change\n\n[Chorus]\nLost in translation\nWords without sensation\nBouncing through the air\nNever taking shape\n\n[Verse 3]\nHidden messages\nClues in every rhyme\n\n[Verse 4]\nSearch for meaning here\nWeaving through the time\n\n[Chorus]\nLost in translation\nWords without sensation\nBouncing through the air\nNever taking shape",
"type": "gen",
"tags": "rhythmic pop playful",
"error_message": null
}
]

But the field is not found in the returned json