Upload Music
Upload a music file to be later used for inpainting. Price for uploading is the same as the one for song generation. All uploaded content gets inspected for copyright infringement. If copyrighted content is detected, half of the request cost is still charged.
Headers
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Response
Successfully uploaded music file with optional composition plan
Example response
{
"song_id": "jR4Xz8kL2mNpQ9wVtY1b"
}Changes
Changed in 2 of the 30 revisions of this API.53
- ○
added the new optional request property
new-optional-request-property
- ○
added the optional property
to the response with the statusresponse-optional-property-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
removed
subschema #2from therequest propertyanyOflistrequest-property-any-of-removed
- ▲
removed the enum value
falseof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
music_v1of the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
music_v2of the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
trueof the request propertyrequest-property-enum-value-removed
- ○
added to the
request propertyanyOflistrequest-property-any-of-added
- ▲