What is a Clip
Overview
In the context of Suno AI, the main generation feature is a clip. A clip is a generated song with the following structure:
idA unique UUID of the clip.titleA custom user-friendly title for the clip.statusA unique state of the clip. Can bequeued,submitted,streaming,errororcomplete. Based on this status, returned fields and their values can differ. These differences are described below.audio_urlContains the URL to the audio. The value can be in various forms:If the clip is in
submittedorqueuedstatus, then the value can be an empty string.If the clip is in
streamingstatus, then the value can be a URL to the currently streaming audio file, not the completed one.If the clip is in
errorstatus, then the URL can be set to "None.mp3," indicating that generation was not completed successfully and the generated file is empty.If the clip is in
completestatus, then clip generation is fully completed and it is ready to be downloaded.
image_urlContains the URL to the generated image cover for the clip. In early stages of generation (queued/submitted statuses), this value can be an empty string.video_urlContains the video for the clip. The video is available only when song generation reaches complete status; otherwise, it will be an empty string.model_nameContains information about which model was used for generating this clip. List of available models you can find in the model database.created_atAn ISO string containing datetime when a clip generation request was sent and registered in the generation queue.metadataAn object containing initial data for clip generation:durationThe duration of a clip in seconds. This value remains undefined until reaching complete status.promptLyrics for a clip generated by GPT or custom ones.gpt_description_promptA prompt for GPT based on which titles, tags, and prompts can be generated automatically.tagsKeywords describing style elements related to this particular clip.taskThe name of task suited for generating this clip. It can remain undefined if this is a first-time generation. For extended versions of any other clips,extendis used. Other tasks such ascoverorconcatare not currently supported by our API.historyRepresents an operation history performed with respect towards any given project at hand: This includes extensions made over time with relevant timecodes & IDs detailing such extended versions created thereof. Each item/object included inside array follows below format notation specifics:idThe extended clip UUIDcontinue_atTimecode in seconds.
最后更新于