suno-api
suno-api copied to clipboard
Add get clip route
- Added route to get information of a clip (an extension) via an ID
- I think I've added to all the necessary places in the docs, but let me know if I've missed somewhere
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()