Artist images
Upload a profile image Uploads a PNG, JPEG or WebP of at most 5 MB as the artist's profile photo and returns its public URL. The file's bytes must match its declared type.
POST / api/ artist/ profile-image
Try it Endpoint POST Check health Read stored artist Latest Read the Update Latest request Request an Update Latest check Advance research Run the research scheduler Look again Request question research Read question research Continue question research Review queue Review a discovery Read research original Chat about an artist Start the claim build Onboarding state Reset the claim build Onboarding chat turn Artist brief List artist sources Search original evidence Read an original source Interview history Research status Recover missing source text Read mandatory interview memory List active interview boundaries Save an explicit interview boundary Retract an interview boundary Restore saved interview Start interview sitting Read question preparation Prepare or offer the next question Save prepared question Save exact interview answer Finish interview sitting Restore the interview Run an interview action List saved interview responses Read an exact response Revise a saved response Review response versions Find an artist by Spotify ID Find an artist by Instagram handle Find an artist's X handle Search artists Find a track on other services Read the contributor leaderboard Redirect to an artist's image Send an MCP message MCP resource metadata Authorization server metadata Register a client Start authorization Get a token Read a connection request Approve or deny an agent List connected agents Disconnect an agent Check a team member Read the signed-in account Read your account Set your user name Record the user-name prompt Your approved claim Your profile photo Upload your profile photo Your artists Your contribution summary Updates from your artists Claim an artist profile Approve a claim Reject a claim Revoke a claim Link a wallet Read the About Save or regenerate the About Report a problem with the About Suggest a Lore source Directory discovery status Export the Lore document Activity feed Recently edited artists Profile edit history Submission count Submitted links Save the artist's link order Set or clear an artist link Remove an artist link Check a profile link is live List platform URL patterns List link suggestions Review a link suggestion Artist data Review an About correction report Read the About for a report Save the About for a report Pending UGC count Photo choices Choose a provider photo Upload a profile image Set the header position Sign an upload Complete an upload Upload a file directly POST / api/ artist/ profile-image
Uploads a PNG, JPEG or WebP of at most 5 MB as the artist's profile photo and returns its public URL. The file's bytes must match its declared type.
This one can’t run in the browser. Copy the curl and run it from a terminal.
Authorization Body bodymultipart/form-data
curl --request POST \
--url 'https://musicnerd-api.vercel.app/api/artist/profile-image' \
--header 'Content-Type: multipart/form-data' \
--data '{
"artistId": "aab92f80-f9e1-4299-aa33-7dd85c8de5d3"
}'
Send the request to see the live response here.
curl --request POST \
--url 'https://musicnerd-api.vercel.app/api/artist/profile-image' \
--header 'Authorization: Bearer YOUR_TOKEN' \
--form 'file=@YOUR_FILE_PATH' \
--form 'artistId=aab92f80-f9e1-4299-aa33-7dd85c8de5d3'
{
"status" : "ok" ,
"success" : true ,
"imagePath" : "https://example.supabase.co/storage/v1/object/public/vault-files/profile-images/aab92f80-f9e1-4299-aa33-7dd85c8de5d3_1761000000000.png"
}
Authorizations Authorizationstring header required
Bearer authentication header of the form Bearer <token>. The signed-in user's access token. Copy it at https://musicnerd.net/access after signing in. The user must be the artist's approved claimant or a Music Nerd admin.
Body multipart/form-data required filestring required
The image: image/png, image/jpeg or image/webp, at most 5 MB.
format: binary
artistIdstring required
The artist's ID (a UUID).
format: uuid
Response Status 200 400 401 403 500 503 application/json The image is stored and the artist's photo points at it.
statusstring · enum required
Values: "ok"
successboolean · enum required
Values: true
imagePathstring required
The stored image's public URL, now the artist's customImage.
format: uri