gcui-art / suno-api

Use API to call the music generation AI of suno.ai, and easily integrate it into agents like GPTs.
https://suno.gcui.ai
GNU Lesser General Public License v3.0
872 stars 194 forks source link

Add get clip route #75

Closed alifhughes closed 1 month ago

alifhughes commented 1 month ago

Would be accessed by api like

async def get_clip(clip_id):
    url = f"{BASE_URL}/api/clip?id={clip_id}"
    async with httpx.AsyncClient() as client:
        response = await client.get(url, headers={'Content-Type': 'application/json'}, timeout=100)
    return response.json()
vercel[bot] commented 1 month ago

@alifhughes is attempting to deploy a commit to the Linkly AI LLC's projects Team on Vercel.

A member of the Team first needs to authorize it.

swumagic commented 1 month ago

hei,guys. i updata 75+79 have many bug-deployment to vercel(#75 Add get clip route and #79 Add concat endpoint to "get whole song" from an extension )#81 https://github.com/gcui-art/suno-api/issues/81, How to fix it, thank you !